Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 12 from a total of 12 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Contract URI | 14337972 | 1451 days ago | IN | 0 ETH | 0.00183741 | ||||
| Withdraw | 14337625 | 1451 days ago | IN | 0 ETH | 0.00104619 | ||||
| Mint Sale1 | 14337619 | 1451 days ago | IN | 0.0001 ETH | 0.00091243 | ||||
| Mint Sale1 | 14337619 | 1451 days ago | IN | 0.0001 ETH | 0.00091243 | ||||
| Mint Sale1 | 14337619 | 1451 days ago | IN | 0.0001 ETH | 0.00186318 | ||||
| Mint Sale1 | 14337618 | 1451 days ago | IN | 0.0001 ETH | 0.00171707 | ||||
| Mint Sale1 | 14337618 | 1451 days ago | IN | 0.0001 ETH | 0.00171707 | ||||
| Mint Sale1 | 14337618 | 1451 days ago | IN | 0.0001 ETH | 0.00171707 | ||||
| Mint Sale1 | 14337613 | 1451 days ago | IN | 0.0001 ETH | 0.00354828 | ||||
| Mint Sale1 | 14337612 | 1451 days ago | IN | 0.0001 ETH | 0.00393366 | ||||
| Mint Sale1 | 14337609 | 1451 days ago | IN | 0.0001 ETH | 0.0019609 | ||||
| Mint Sale1 | 14337608 | 1451 days ago | IN | 0.0001 ETH | 0.00304667 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 14337625 | 1451 days ago | 0.0008 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
NFTContract
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//"SPDX-License-Identifier: UNLICENSED"
pragma solidity ^0.8.4;
import '@openzeppelin/contracts/utils/Strings.sol';
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
import "./Whitelist.sol";
contract NFTContract is ERC721A, Ownable {
using Strings for uint256;
uint256 MAX_SALE_2_3 = 2;
uint256 MAX_SALE_1 = 3;
uint256 MAX_DAO_POOL = 100;
uint256 MAX_SUPPLY = 7777;
uint256 public mintRate = 0.0001 ether;
address MULTISIG1 = 0xdaBaCC1692A968d38010D6df14d8ae531bd4d9CB;
address MULTISIG2 = 0x95aE15b6e37B7b095b8e191dA799a6411aa0A688;
address MULTISIG3 = 0xC5B7f74be02c393856bB1FCdB56A4349dD5137a0;
address BACKUP = 0xDAd656165173A0D5A044110c269F1045Fa315baf;
address DAO_POOL = 0xC41F90fcf3dCBC092Ca97813dC58BdA11FDb6513;
//uint256 BEGIN_SALE1 = 1646636400;
uint256 BEGIN_SALE1 = 1646627058;
uint256 BEGIN_SALE2 = 1646809200;
uint256 BEGIN_SALE3 = 1646982000;
struct BuyerData {
uint64 numberMintedSale1;
uint64 numberMintedSale2;
uint64 numberMintedSale3;
}
string private contractUri = "";
string public baseURI = "";
mapping(address => BuyerData) public buyerData;
constructor() ERC721A("Smol Boyz", "SMOLBOYZ") {}
modifier onlyDAO(){
require(msg.sender == DAO_POOL, "Only DAO Address is able to use this function!");
_;
}
function mintSale1(uint256 quantity) external payable {
require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough tokens left");
require(msg.value == (mintRate * quantity), "Not enough ether sent");
require(
((block.timestamp > BEGIN_SALE1) && (block.timestamp < (BEGIN_SALE1 + 86400))),
"Sale is not currently ongoing"
);
require(quantity + _numberMintedSale1(msg.sender) <= MAX_SALE_1, "Exceeded the limit");
_safeMint(msg.sender, quantity);
buyerData[msg.sender].numberMintedSale1++;
}
function mintSale2(uint256 quantity) external payable {
require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough tokens left");
require(msg.value == (mintRate * quantity), "Not enough ether sent");
require(
((block.timestamp > BEGIN_SALE2) && (block.timestamp < (BEGIN_SALE2 + 86400))),
"Sale is not currently ongoing"
);
require(quantity + _numberMintedSale2(msg.sender) <= MAX_SALE_2_3, "Exceeded the limit");
_safeMint(msg.sender, quantity);
buyerData[msg.sender].numberMintedSale2++;
}
function mintSale3(uint256 quantity) external payable {
require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough tokens left");
require(msg.value == (mintRate * quantity), "Not enough ether sent");
require(
((block.timestamp > BEGIN_SALE3) && (block.timestamp < (BEGIN_SALE3 + 86400))),
"Sale is not currently ongoing"
);
require(quantity + _numberMintedSale3(msg.sender) <= MAX_SALE_2_3, "Exceeded the limit");
_safeMint(msg.sender, quantity);
buyerData[msg.sender].numberMintedSale3++;
}
function mintDAO(uint256 quantity) external payable onlyDAO {
require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough tokens left");
require(msg.value == (mintRate * quantity), "Not enough ether sent");
require(quantity + _numberMinted(msg.sender) <= MAX_DAO_POOL, "Exceeded the limit");
_safeMint(msg.sender, quantity);
}
function _numberMintedSale1(address owner) internal view returns (uint256) {
if (owner == address(0)) revert MintedQueryForZeroAddress();
return uint256(buyerData[owner].numberMintedSale1);
}
function _numberMintedSale2(address owner) internal view returns (uint256) {
if (owner == address(0)) revert MintedQueryForZeroAddress();
return uint256(buyerData[owner].numberMintedSale2);
}
function _numberMintedSale3(address owner) internal view returns (uint256) {
if (owner == address(0)) revert MintedQueryForZeroAddress();
return uint256(buyerData[owner].numberMintedSale3);
}
function withdraw(uint8 _safeIndex) external onlyOwner {
require(address(this).balance > 0, "no balance");
bool success = false;
if(_safeIndex == 1) (success, ) = (payable(MULTISIG1)).call{value: address(this).balance}("");
if(_safeIndex == 2) (success, ) = (payable(MULTISIG2)).call{value: address(this).balance}("");
if(_safeIndex == 3) (success, ) = (payable(MULTISIG3)).call{value: address(this).balance}("");
if(_safeIndex == 4) (success, ) = (payable(BACKUP)).call{value: address(this).balance}("");
require(success, "withdraw failed");
}
function _baseURI() internal view override returns (string memory) {
return baseURI;
}
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
}
function reveal(string memory _newBaseURI) external onlyOwner {
baseURI = _newBaseURI;
}
function setContractURI(string memory newContractUri) external onlyOwner {
contractUri = newContractUri;
}
function contractURI() external view returns (string memory) {
return contractUri;
}
function setSale3(uint256 _timestamp) external onlyOwner {
BEGIN_SALE3 = _timestamp;
}
function setDaoPool(address _addr) external onlyOwner {
DAO_POOL = _addr;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';
error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
*
* Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
*
* Assumes that the maximum token id cannot exceed 2**128 - 1 (max value of uint128).
*/
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
using Address for address;
using Strings for uint256;
// Compiler will pack this into a single 256bit word.
struct TokenOwnership {
// The address of the owner.
address addr;
// Keeps track of the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
}
// Compiler will pack this into a single 256bit word.
struct AddressData {
// Realistically, 2**64-1 is more than enough.
uint64 balance;
// Keeps track of mint count with minimal overhead for tokenomics.
uint64 numberMinted;
// Keeps track of burn count with minimal overhead for tokenomics.
uint64 numberBurned;
}
// Compiler will pack the following
// _currentIndex and _burnCounter into a single 256bit word.
// The tokenId of the next token to be minted.
uint128 internal _currentIndex;
// The number of tokens burned.
uint128 internal _burnCounter;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
mapping(uint256 => TokenOwnership) internal _ownerships;
// Mapping owner address to address data
mapping(address => AddressData) private _addressData;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than _currentIndex times
unchecked {
return _currentIndex - _burnCounter;
}
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
* This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
* It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
*/
function tokenByIndex(uint256 index) public view override returns (uint256) {
uint256 numMintedSoFar = _currentIndex;
uint256 tokenIdsIdx;
// Counter overflow is impossible as the loop breaks when
// uint256 i is equal to another uint256 numMintedSoFar.
unchecked {
for (uint256 i; i < numMintedSoFar; i++) {
TokenOwnership memory ownership = _ownerships[i];
if (!ownership.burned) {
if (tokenIdsIdx == index) {
return i;
}
tokenIdsIdx++;
}
}
}
revert TokenIndexOutOfBounds();
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
* This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
* It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
uint256 numMintedSoFar = _currentIndex;
uint256 tokenIdsIdx;
address currOwnershipAddr;
// Counter overflow is impossible as the loop breaks when
// uint256 i is equal to another uint256 numMintedSoFar.
unchecked {
for (uint256 i; i < numMintedSoFar; i++) {
TokenOwnership memory ownership = _ownerships[i];
if (ownership.burned) {
continue;
}
if (ownership.addr != address(0)) {
currOwnershipAddr = ownership.addr;
}
if (currOwnershipAddr == owner) {
if (tokenIdsIdx == index) {
return i;
}
tokenIdsIdx++;
}
}
}
// Execution should never reach this point.
revert();
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
interfaceId == type(IERC721Enumerable).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return uint256(_addressData[owner].balance);
}
function _numberMinted(address owner) internal view returns (uint256) {
if (owner == address(0)) revert MintedQueryForZeroAddress();
return uint256(_addressData[owner].numberMinted);
}
function _numberBurned(address owner) internal view returns (uint256) {
if (owner == address(0)) revert BurnedQueryForZeroAddress();
return uint256(_addressData[owner].numberBurned);
}
/**
* Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around in the collection over time.
*/
function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
uint256 curr = tokenId;
unchecked {
if (curr < _currentIndex) {
TokenOwnership memory ownership = _ownerships[curr];
if (!ownership.burned) {
if (ownership.addr != address(0)) {
return ownership;
}
// Invariant:
// There will always be an ownership that has an address and is not burned
// before an ownership that does not have an address and is not burned.
// Hence, curr will not underflow.
while (true) {
curr--;
ownership = _ownerships[curr];
if (ownership.addr != address(0)) {
return ownership;
}
}
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return ownershipOf(tokenId).addr;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return '';
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public override {
address owner = ERC721A.ownerOf(tokenId);
if (to == owner) revert ApprovalToCurrentOwner();
if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_approve(to, tokenId, owner);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public override {
if (operator == _msgSender()) revert ApproveToCaller();
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, '');
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
_transfer(from, to, tokenId);
if (!_checkOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return tokenId < _currentIndex && !_ownerships[tokenId].burned;
}
function _safeMint(address to, uint256 quantity) internal {
_safeMint(to, quantity, '');
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal {
_mint(to, quantity, _data, true);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _mint(
address to,
uint256 quantity,
bytes memory _data,
bool safe
) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
// updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
for (uint256 i; i < quantity; i++) {
emit Transfer(address(0), to, updatedIndex);
if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
updatedIndex++;
}
_currentIndex = uint128(updatedIndex);
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) private {
TokenOwnership memory prevOwnership = ownershipOf(tokenId);
bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
isApprovedForAll(prevOwnership.addr, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, prevOwnership.addr);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
unchecked {
_addressData[from].balance -= 1;
_addressData[to].balance += 1;
_ownerships[tokenId].addr = to;
_ownerships[tokenId].startTimestamp = uint64(block.timestamp);
// If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
if (_ownerships[nextTokenId].addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId < _currentIndex) {
_ownerships[nextTokenId].addr = prevOwnership.addr;
_ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
TokenOwnership memory prevOwnership = ownershipOf(tokenId);
_beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, prevOwnership.addr);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
unchecked {
_addressData[prevOwnership.addr].balance -= 1;
_addressData[prevOwnership.addr].numberBurned += 1;
// Keep track of who burned the token, and the timestamp of burning.
_ownerships[tokenId].addr = prevOwnership.addr;
_ownerships[tokenId].startTimestamp = uint64(block.timestamp);
_ownerships[tokenId].burned = true;
// If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
if (_ownerships[nextTokenId].addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId < _currentIndex) {
_ownerships[nextTokenId].addr = prevOwnership.addr;
_ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(prevOwnership.addr, address(0), tokenId);
_afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(
address to,
uint256 tokenId,
address owner
) private {
_tokenApprovals[tokenId] = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
* And also called before burning one token.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
* minting.
* And also called after one token has been burned.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
}//"SPDX-License-Identifier: UNLICENSED"
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
contract Whitelist is Ownable {
mapping(address => bool) public whitelist;
function addAddressToWhitelist(address addr) onlyOwner public {
whitelist[addr] = true;
}
function addAddressesToWhitelist(address[] calldata addrs) onlyOwner public {
for (uint256 i = 0; i < addrs.length; i++) {
addAddressToWhitelist(addrs[i]);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"buyerData","outputs":[{"internalType":"uint64","name":"numberMintedSale1","type":"uint64"},{"internalType":"uint64","name":"numberMintedSale2","type":"uint64"},{"internalType":"uint64","name":"numberMintedSale3","type":"uint64"}],"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":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintDAO","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintSale1","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintSale2","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintSale3","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"reveal","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":"newContractUri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setDaoPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"setSale3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_safeIndex","type":"uint8"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052600260085560036009556064600a55611e61600b55655af3107a4000600c5573dabacc1692a968d38010d6df14d8ae531bd4d9cb600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507395ae15b6e37b7b095b8e191da799a6411aa0a688600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073c5b7f74be02c393856bb1fcdb56a4349dd5137a0600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073dad656165173a0d5a044110c269f1045fa315baf601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073c41f90fcf3dcbc092ca97813dc58bda11fdb6513601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555063622588f2601255636228507060135563622af37060145560405180602001604052806000815250601590805190602001906200020b929190620003d6565b50604051806020016040528060008152506016908051906020019062000233929190620003d6565b503480156200024157600080fd5b506040518060400160405280600981526020017f536d6f6c20426f797a00000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f534d4f4c424f595a0000000000000000000000000000000000000000000000008152508160019080519060200190620002c6929190620003d6565b508060029080519060200190620002df929190620003d6565b50505062000302620002f66200030860201b60201c565b6200031060201b60201c565b620004eb565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003e49062000486565b90600052602060002090601f01602090048101928262000408576000855562000454565b82601f106200042357805160ff191683800117855562000454565b8280016001018555821562000454579182015b828111156200045357825182559160200191906001019062000436565b5b50905062000463919062000467565b5090565b5b808211156200048257600081600090555060010162000468565b5090565b600060028204905060018216806200049f57607f821691505b60208210811415620004b657620004b5620004bc565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61496280620004fb6000396000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063b88d4fde11610095578063de60cc5f11610064578063de60cc5f146106d9578063e8a3d485146106f5578063e985e9c514610720578063f2fde38b1461075d576101e3565b8063b88d4fde1461061f578063c6ab5d9014610648578063c87b56dd14610671578063ca0dcf16146106ae576101e3565b8063938e3d7b116100d1578063938e3d7b1461057957806395d89b41146105a25780639e91edad146105cd578063a22cb465146105f6576101e3565b8063715018a6146104ff578063787afca514610516578063883af5c0146105325780638da5cb5b1461054e576101e3565b80632f745c591161017a5780634f6ccce7116101495780634f6ccce71461041d5780636352211e1461045a5780636c0360eb1461049757806370a08231146104c2576101e3565b80632f745c591461034f5780633b17a3201461038c57806342842e0e146103cb5780634c261247146103f4576101e3565b806318160ddd116101b657806318160ddd146102b65780631af45920146102e157806323b872dd1461030a578063270b108914610333576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190613c58565b610786565b60405161021c9190614099565b60405180910390f35b34801561023157600080fd5b5061023a6108d0565b60405161024791906140b4565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190613ceb565b610962565b6040516102849190614032565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190613c1c565b6109de565b005b3480156102c257600080fd5b506102cb610ae9565b6040516102d891906141f6565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190613ab1565b610b3e565b005b34801561031657600080fd5b50610331600480360381019061032c9190613b16565b610bfe565b005b61034d60048036038101906103489190613ceb565b610c0e565b005b34801561035b57600080fd5b5061037660048036038101906103719190613c1c565b610e05565b60405161038391906141f6565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae9190613ab1565b61100c565b6040516103c293929190614211565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613b16565b611072565b005b34801561040057600080fd5b5061041b60048036038101906104169190613caa565b611092565b005b34801561042957600080fd5b50610444600480360381019061043f9190613ceb565b611128565b60405161045191906141f6565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190613ceb565b611299565b60405161048e9190614032565b60405180910390f35b3480156104a357600080fd5b506104ac6112af565b6040516104b991906140b4565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190613ab1565b61133d565b6040516104f691906141f6565b60405180910390f35b34801561050b57600080fd5b5061051461140d565b005b610530600480360381019061052b9190613ceb565b611495565b005b61054c60048036038101906105479190613ceb565b61168c565b005b34801561055a57600080fd5b50610563611883565b6040516105709190614032565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613caa565b6118ad565b005b3480156105ae57600080fd5b506105b7611943565b6040516105c491906140b4565b60405180910390f35b3480156105d957600080fd5b506105f460048036038101906105ef9190613ceb565b6119d5565b005b34801561060257600080fd5b5061061d60048036038101906106189190613be0565b611a5b565b005b34801561062b57600080fd5b5061064660048036038101906106419190613b65565b611bd3565b005b34801561065457600080fd5b5061066f600480360381019061066a9190613d14565b611c26565b005b34801561067d57600080fd5b5061069860048036038101906106939190613ceb565b611f97565b6040516106a591906140b4565b60405180910390f35b3480156106ba57600080fd5b506106c3612037565b6040516106d091906141f6565b60405180910390f35b6106f360048036038101906106ee9190613ceb565b61203d565b005b34801561070157600080fd5b5061070a6121d8565b60405161071791906140b4565b60405180910390f35b34801561072c57600080fd5b5061074760048036038101906107429190613ada565b61226a565b6040516107549190614099565b60405180910390f35b34801561076957600080fd5b50610784600480360381019061077f9190613ab1565b6122fe565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061085157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108c957506108c8826123f6565b5b9050919050565b6060600180546108df9061451e565b80601f016020809104026020016040519081016040528092919081815260200182805461090b9061451e565b80156109585780601f1061092d57610100808354040283529160200191610958565b820191906000526020600020905b81548152906001019060200180831161093b57829003601f168201915b5050505050905090565b600061096d82612460565b6109a3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109e982611299565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a51576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a706124c8565b73ffffffffffffffffffffffffffffffffffffffff1614158015610aa25750610aa081610a9b6124c8565b61226a565b155b15610ad9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ae48383836124d0565b505050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610b466124c8565b73ffffffffffffffffffffffffffffffffffffffff16610b64611883565b73ffffffffffffffffffffffffffffffffffffffff1614610bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb190614176565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c09838383612582565b505050565b600b5481610c1a610ae9565b610c249190614332565b1115610c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5c90614136565b60405180910390fd5b80600c54610c7391906143b9565b3414610cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cab90614196565b60405180910390fd5b60125442118015610cd4575062015180601254610cd19190614332565b42105b610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0a906141d6565b60405180910390fd5b600954610d1f33612a9f565b82610d2a9190614332565b1115610d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6290614116565b60405180910390fd5b610d753382612b6f565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001600081819054906101000a900467ffffffffffffffff1680929190610ddb906145ca565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b6000610e108361133d565b8210610e48576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015611000576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115610f5f5750610ff3565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610f9f57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ff15786841415610fe8578195505050505050611006565b83806001019450505b505b8080600101915050610e82565b50600080fd5b92915050565b60176020528060005260406000206000915090508060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900467ffffffffffffffff16908060000160109054906101000a900467ffffffffffffffff16905083565b61108d83838360405180602001604052806000815250611bd3565b505050565b61109a6124c8565b73ffffffffffffffffffffffffffffffffffffffff166110b8611883565b73ffffffffffffffffffffffffffffffffffffffff161461110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110590614176565b60405180910390fd5b806016908051906020019061112492919061387d565b5050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b82811015611261576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611253578583141561124a5781945050505050611294565b82806001019350505b508080600101915050611160565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60006112a482612b8d565b600001519050919050565b601680546112bc9061451e565b80601f01602080910402602001604051908101604052809291908181526020018280546112e89061451e565b80156113355780601f1061130a57610100808354040283529160200191611335565b820191906000526020600020905b81548152906001019060200180831161131857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113a5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6114156124c8565b73ffffffffffffffffffffffffffffffffffffffff16611433611883565b73ffffffffffffffffffffffffffffffffffffffff1614611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148090614176565b60405180910390fd5b6114936000612e35565b565b600b54816114a1610ae9565b6114ab9190614332565b11156114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e390614136565b60405180910390fd5b80600c546114fa91906143b9565b341461153b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153290614196565b60405180910390fd5b6014544211801561155b5750620151806014546115589190614332565b42105b61159a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611591906141d6565b60405180910390fd5b6008546115a633612efb565b826115b19190614332565b11156115f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e990614116565b60405180910390fd5b6115fc3382612b6f565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001601081819054906101000a900467ffffffffffffffff1680929190611662906145ca565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b600b5481611698610ae9565b6116a29190614332565b11156116e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116da90614136565b60405180910390fd5b80600c546116f191906143b9565b3414611732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172990614196565b60405180910390fd5b6013544211801561175257506201518060135461174f9190614332565b42105b611791576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611788906141d6565b60405180910390fd5b60085461179d33612fcb565b826117a89190614332565b11156117e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e090614116565b60405180910390fd5b6117f33382612b6f565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001600881819054906101000a900467ffffffffffffffff1680929190611859906145ca565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118b56124c8565b73ffffffffffffffffffffffffffffffffffffffff166118d3611883565b73ffffffffffffffffffffffffffffffffffffffff1614611929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192090614176565b60405180910390fd5b806015908051906020019061193f92919061387d565b5050565b6060600280546119529061451e565b80601f016020809104026020016040519081016040528092919081815260200182805461197e9061451e565b80156119cb5780601f106119a0576101008083540402835291602001916119cb565b820191906000526020600020905b8154815290600101906020018083116119ae57829003601f168201915b5050505050905090565b6119dd6124c8565b73ffffffffffffffffffffffffffffffffffffffff166119fb611883565b73ffffffffffffffffffffffffffffffffffffffff1614611a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4890614176565b60405180910390fd5b8060148190555050565b611a636124c8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ac8576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611ad56124c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b826124c8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bc79190614099565b60405180910390a35050565b611bde848484612582565b611bea8484848461309b565b611c20576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611c2e6124c8565b73ffffffffffffffffffffffffffffffffffffffff16611c4c611883565b73ffffffffffffffffffffffffffffffffffffffff1614611ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9990614176565b60405180910390fd5b60004711611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc906140f6565b60405180910390fd5b600060018260ff161415611d8257600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611d399061401d565b60006040518083038185875af1925050503d8060008114611d76576040519150601f19603f3d011682016040523d82523d6000602084013e611d7b565b606091505b5050809150505b60028260ff161415611e1d57600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611dd49061401d565b60006040518083038185875af1925050503d8060008114611e11576040519150601f19603f3d011682016040523d82523d6000602084013e611e16565b606091505b5050809150505b60038260ff161415611eb857600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611e6f9061401d565b60006040518083038185875af1925050503d8060008114611eac576040519150601f19603f3d011682016040523d82523d6000602084013e611eb1565b606091505b5050809150505b60048260ff161415611f5357601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611f0a9061401d565b60006040518083038185875af1925050503d8060008114611f47576040519150601f19603f3d011682016040523d82523d6000602084013e611f4c565b606091505b5050809150505b80611f93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8a906141b6565b60405180910390fd5b5050565b6060611fa282612460565b611fd8576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060168054611fe79061451e565b905014156120045760405180602001604052806000815250612030565b601661200f83613229565b604051602001612020929190613ff9565b6040516020818303038152906040525b9050919050565b600c5481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c490614156565b60405180910390fd5b600b54816120d9610ae9565b6120e39190614332565b1115612124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211b90614136565b60405180910390fd5b80600c5461213291906143b9565b3414612173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216a90614196565b60405180910390fd5b600a5461217f336133d6565b8261218a9190614332565b11156121cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c290614116565b60405180910390fd5b6121d53382612b6f565b50565b6060601580546121e79061451e565b80601f01602080910402602001604051908101604052809291908181526020018280546122139061451e565b80156122605780601f1061223557610100808354040283529160200191612260565b820191906000526020600020905b81548152906001019060200180831161224357829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123066124c8565b73ffffffffffffffffffffffffffffffffffffffff16612324611883565b73ffffffffffffffffffffffffffffffffffffffff161461237a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237190614176565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e1906140d6565b60405180910390fd5b6123f381612e35565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16821080156124c1575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061258d82612b8d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166125b46124c8565b73ffffffffffffffffffffffffffffffffffffffff1614806125e757506125e682600001516125e16124c8565b61226a565b5b8061262c57506125f56124c8565b73ffffffffffffffffffffffffffffffffffffffff1661261484610962565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612665576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146126ce576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612735576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61274285858560016134a6565b61275260008484600001516124d0565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a2f5760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612a2e5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a9885858560016134ac565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b07576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b612b898282604051806020016040528060008152506134b2565b5050565b612b95613903565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612dfe576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612dfc57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ce0578092505050612e30565b5b600115612dfb57818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612df6578092505050612e30565b612ce1565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f63576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613033576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60006130bc8473ffffffffffffffffffffffffffffffffffffffff166134c4565b1561321c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130e56124c8565b8786866040518563ffffffff1660e01b8152600401613107949392919061404d565b602060405180830381600087803b15801561312157600080fd5b505af192505050801561315257506040513d601f19601f8201168201806040525081019061314f9190613c81565b60015b6131cc573d8060008114613182576040519150601f19603f3d011682016040523d82523d6000602084013e613187565b606091505b506000815114156131c4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613221565b600190505b949350505050565b60606000821415613271576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506133d1565b600082905060005b600082146132a357808061328c90614581565b915050600a8261329c9190614388565b9150613279565b60008167ffffffffffffffff8111156132e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133175781602001600182028036833780820191505090505b5090505b600085146133ca576001826133309190614413565b9150600a8561333f91906145fb565b603061334b9190614332565b60f81b818381518110613387577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133c39190614388565b945061331b565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561343e576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b6134bf83838360016134e7565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613582576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156135bd576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6135ca60008683876134a6565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561382f57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48380156137e357506137e1600088848861309b565b155b1561381a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613768565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505061387660008683876134ac565b5050505050565b8280546138899061451e565b90600052602060002090601f0160209004810192826138ab57600085556138f2565b82601f106138c457805160ff19168380011785556138f2565b828001600101855582156138f2579182015b828111156138f15782518255916020019190600101906138d6565b5b5090506138ff9190613946565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561395f576000816000905550600101613947565b5090565b60006139766139718461426d565b614248565b90508281526020810184848401111561398e57600080fd5b6139998482856144dc565b509392505050565b60006139b46139af8461429e565b614248565b9050828152602081018484840111156139cc57600080fd5b6139d78482856144dc565b509392505050565b6000813590506139ee816148b9565b92915050565b600081359050613a03816148d0565b92915050565b600081359050613a18816148e7565b92915050565b600081519050613a2d816148e7565b92915050565b600082601f830112613a4457600080fd5b8135613a54848260208601613963565b91505092915050565b600082601f830112613a6e57600080fd5b8135613a7e8482602086016139a1565b91505092915050565b600081359050613a96816148fe565b92915050565b600081359050613aab81614915565b92915050565b600060208284031215613ac357600080fd5b6000613ad1848285016139df565b91505092915050565b60008060408385031215613aed57600080fd5b6000613afb858286016139df565b9250506020613b0c858286016139df565b9150509250929050565b600080600060608486031215613b2b57600080fd5b6000613b39868287016139df565b9350506020613b4a868287016139df565b9250506040613b5b86828701613a87565b9150509250925092565b60008060008060808587031215613b7b57600080fd5b6000613b89878288016139df565b9450506020613b9a878288016139df565b9350506040613bab87828801613a87565b925050606085013567ffffffffffffffff811115613bc857600080fd5b613bd487828801613a33565b91505092959194509250565b60008060408385031215613bf357600080fd5b6000613c01858286016139df565b9250506020613c12858286016139f4565b9150509250929050565b60008060408385031215613c2f57600080fd5b6000613c3d858286016139df565b9250506020613c4e85828601613a87565b9150509250929050565b600060208284031215613c6a57600080fd5b6000613c7884828501613a09565b91505092915050565b600060208284031215613c9357600080fd5b6000613ca184828501613a1e565b91505092915050565b600060208284031215613cbc57600080fd5b600082013567ffffffffffffffff811115613cd657600080fd5b613ce284828501613a5d565b91505092915050565b600060208284031215613cfd57600080fd5b6000613d0b84828501613a87565b91505092915050565b600060208284031215613d2657600080fd5b6000613d3484828501613a9c565b91505092915050565b613d4681614447565b82525050565b613d5581614459565b82525050565b6000613d66826142e4565b613d7081856142fa565b9350613d808185602086016144eb565b613d89816146e8565b840191505092915050565b6000613d9f826142ef565b613da98185614316565b9350613db98185602086016144eb565b613dc2816146e8565b840191505092915050565b6000613dd8826142ef565b613de28185614327565b9350613df28185602086016144eb565b80840191505092915050565b60008154613e0b8161451e565b613e158186614327565b94506001821660008114613e305760018114613e4157613e74565b60ff19831686528186019350613e74565b613e4a856142cf565b60005b83811015613e6c57815481890152600182019150602081019050613e4d565b838801955050505b50505092915050565b6000613e8a602683614316565b9150613e95826146f9565b604082019050919050565b6000613ead600a83614316565b9150613eb882614748565b602082019050919050565b6000613ed0601283614316565b9150613edb82614771565b602082019050919050565b6000613ef3601683614316565b9150613efe8261479a565b602082019050919050565b6000613f16602e83614316565b9150613f21826147c3565b604082019050919050565b6000613f39602083614316565b9150613f4482614812565b602082019050919050565b6000613f5c60008361430b565b9150613f678261483b565b600082019050919050565b6000613f7f601583614316565b9150613f8a8261483e565b602082019050919050565b6000613fa2600f83614316565b9150613fad82614867565b602082019050919050565b6000613fc5601d83614316565b9150613fd082614890565b602082019050919050565b613fe4816144b1565b82525050565b613ff3816144bb565b82525050565b60006140058285613dfe565b91506140118284613dcd565b91508190509392505050565b600061402882613f4f565b9150819050919050565b60006020820190506140476000830184613d3d565b92915050565b60006080820190506140626000830187613d3d565b61406f6020830186613d3d565b61407c6040830185613fdb565b818103606083015261408e8184613d5b565b905095945050505050565b60006020820190506140ae6000830184613d4c565b92915050565b600060208201905081810360008301526140ce8184613d94565b905092915050565b600060208201905081810360008301526140ef81613e7d565b9050919050565b6000602082019050818103600083015261410f81613ea0565b9050919050565b6000602082019050818103600083015261412f81613ec3565b9050919050565b6000602082019050818103600083015261414f81613ee6565b9050919050565b6000602082019050818103600083015261416f81613f09565b9050919050565b6000602082019050818103600083015261418f81613f2c565b9050919050565b600060208201905081810360008301526141af81613f72565b9050919050565b600060208201905081810360008301526141cf81613f95565b9050919050565b600060208201905081810360008301526141ef81613fb8565b9050919050565b600060208201905061420b6000830184613fdb565b92915050565b60006060820190506142266000830186613fea565b6142336020830185613fea565b6142406040830184613fea565b949350505050565b6000614252614263565b905061425e8282614550565b919050565b6000604051905090565b600067ffffffffffffffff821115614288576142876146b9565b5b614291826146e8565b9050602081019050919050565b600067ffffffffffffffff8211156142b9576142b86146b9565b5b6142c2826146e8565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061433d826144b1565b9150614348836144b1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561437d5761437c61462c565b5b828201905092915050565b6000614393826144b1565b915061439e836144b1565b9250826143ae576143ad61465b565b5b828204905092915050565b60006143c4826144b1565b91506143cf836144b1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144085761440761462c565b5b828202905092915050565b600061441e826144b1565b9150614429836144b1565b92508282101561443c5761443b61462c565b5b828203905092915050565b600061445282614491565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156145095780820151818401526020810190506144ee565b83811115614518576000848401525b50505050565b6000600282049050600182168061453657607f821691505b6020821081141561454a5761454961468a565b5b50919050565b614559826146e8565b810181811067ffffffffffffffff82111715614578576145776146b9565b5b80604052505050565b600061458c826144b1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145bf576145be61462c565b5b600182019050919050565b60006145d5826144bb565b915067ffffffffffffffff8214156145f0576145ef61462c565b5b600182019050919050565b6000614606826144b1565b9150614611836144b1565b9250826146215761462061465b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f2062616c616e636500000000000000000000000000000000000000000000600082015250565b7f457863656564656420746865206c696d69740000000000000000000000000000600082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b7f4f6e6c792044414f20416464726573732069732061626c6520746f207573652060008201527f746869732066756e6374696f6e21000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b7f7769746864726177206661696c65640000000000000000000000000000000000600082015250565b7f53616c65206973206e6f742063757272656e746c79206f6e676f696e67000000600082015250565b6148c281614447565b81146148cd57600080fd5b50565b6148d981614459565b81146148e457600080fd5b50565b6148f081614465565b81146148fb57600080fd5b50565b614907816144b1565b811461491257600080fd5b50565b61491e816144cf565b811461492957600080fd5b5056fea2646970667358221220d4a7dc0d8bf90c68bf6aa105385f94c29c893026a63d866f7ce3f10b50e38e8264736f6c63430008040033
Deployed Bytecode
0x6080604052600436106101e35760003560e01c8063715018a611610102578063b88d4fde11610095578063de60cc5f11610064578063de60cc5f146106d9578063e8a3d485146106f5578063e985e9c514610720578063f2fde38b1461075d576101e3565b8063b88d4fde1461061f578063c6ab5d9014610648578063c87b56dd14610671578063ca0dcf16146106ae576101e3565b8063938e3d7b116100d1578063938e3d7b1461057957806395d89b41146105a25780639e91edad146105cd578063a22cb465146105f6576101e3565b8063715018a6146104ff578063787afca514610516578063883af5c0146105325780638da5cb5b1461054e576101e3565b80632f745c591161017a5780634f6ccce7116101495780634f6ccce71461041d5780636352211e1461045a5780636c0360eb1461049757806370a08231146104c2576101e3565b80632f745c591461034f5780633b17a3201461038c57806342842e0e146103cb5780634c261247146103f4576101e3565b806318160ddd116101b657806318160ddd146102b65780631af45920146102e157806323b872dd1461030a578063270b108914610333576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190613c58565b610786565b60405161021c9190614099565b60405180910390f35b34801561023157600080fd5b5061023a6108d0565b60405161024791906140b4565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190613ceb565b610962565b6040516102849190614032565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190613c1c565b6109de565b005b3480156102c257600080fd5b506102cb610ae9565b6040516102d891906141f6565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190613ab1565b610b3e565b005b34801561031657600080fd5b50610331600480360381019061032c9190613b16565b610bfe565b005b61034d60048036038101906103489190613ceb565b610c0e565b005b34801561035b57600080fd5b5061037660048036038101906103719190613c1c565b610e05565b60405161038391906141f6565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae9190613ab1565b61100c565b6040516103c293929190614211565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613b16565b611072565b005b34801561040057600080fd5b5061041b60048036038101906104169190613caa565b611092565b005b34801561042957600080fd5b50610444600480360381019061043f9190613ceb565b611128565b60405161045191906141f6565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190613ceb565b611299565b60405161048e9190614032565b60405180910390f35b3480156104a357600080fd5b506104ac6112af565b6040516104b991906140b4565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190613ab1565b61133d565b6040516104f691906141f6565b60405180910390f35b34801561050b57600080fd5b5061051461140d565b005b610530600480360381019061052b9190613ceb565b611495565b005b61054c60048036038101906105479190613ceb565b61168c565b005b34801561055a57600080fd5b50610563611883565b6040516105709190614032565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613caa565b6118ad565b005b3480156105ae57600080fd5b506105b7611943565b6040516105c491906140b4565b60405180910390f35b3480156105d957600080fd5b506105f460048036038101906105ef9190613ceb565b6119d5565b005b34801561060257600080fd5b5061061d60048036038101906106189190613be0565b611a5b565b005b34801561062b57600080fd5b5061064660048036038101906106419190613b65565b611bd3565b005b34801561065457600080fd5b5061066f600480360381019061066a9190613d14565b611c26565b005b34801561067d57600080fd5b5061069860048036038101906106939190613ceb565b611f97565b6040516106a591906140b4565b60405180910390f35b3480156106ba57600080fd5b506106c3612037565b6040516106d091906141f6565b60405180910390f35b6106f360048036038101906106ee9190613ceb565b61203d565b005b34801561070157600080fd5b5061070a6121d8565b60405161071791906140b4565b60405180910390f35b34801561072c57600080fd5b5061074760048036038101906107429190613ada565b61226a565b6040516107549190614099565b60405180910390f35b34801561076957600080fd5b50610784600480360381019061077f9190613ab1565b6122fe565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061085157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108c957506108c8826123f6565b5b9050919050565b6060600180546108df9061451e565b80601f016020809104026020016040519081016040528092919081815260200182805461090b9061451e565b80156109585780601f1061092d57610100808354040283529160200191610958565b820191906000526020600020905b81548152906001019060200180831161093b57829003601f168201915b5050505050905090565b600061096d82612460565b6109a3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109e982611299565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a51576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a706124c8565b73ffffffffffffffffffffffffffffffffffffffff1614158015610aa25750610aa081610a9b6124c8565b61226a565b155b15610ad9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ae48383836124d0565b505050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610b466124c8565b73ffffffffffffffffffffffffffffffffffffffff16610b64611883565b73ffffffffffffffffffffffffffffffffffffffff1614610bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb190614176565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c09838383612582565b505050565b600b5481610c1a610ae9565b610c249190614332565b1115610c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5c90614136565b60405180910390fd5b80600c54610c7391906143b9565b3414610cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cab90614196565b60405180910390fd5b60125442118015610cd4575062015180601254610cd19190614332565b42105b610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0a906141d6565b60405180910390fd5b600954610d1f33612a9f565b82610d2a9190614332565b1115610d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6290614116565b60405180910390fd5b610d753382612b6f565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001600081819054906101000a900467ffffffffffffffff1680929190610ddb906145ca565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b6000610e108361133d565b8210610e48576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015611000576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115610f5f5750610ff3565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610f9f57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ff15786841415610fe8578195505050505050611006565b83806001019450505b505b8080600101915050610e82565b50600080fd5b92915050565b60176020528060005260406000206000915090508060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900467ffffffffffffffff16908060000160109054906101000a900467ffffffffffffffff16905083565b61108d83838360405180602001604052806000815250611bd3565b505050565b61109a6124c8565b73ffffffffffffffffffffffffffffffffffffffff166110b8611883565b73ffffffffffffffffffffffffffffffffffffffff161461110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110590614176565b60405180910390fd5b806016908051906020019061112492919061387d565b5050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b82811015611261576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611253578583141561124a5781945050505050611294565b82806001019350505b508080600101915050611160565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60006112a482612b8d565b600001519050919050565b601680546112bc9061451e565b80601f01602080910402602001604051908101604052809291908181526020018280546112e89061451e565b80156113355780601f1061130a57610100808354040283529160200191611335565b820191906000526020600020905b81548152906001019060200180831161131857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113a5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6114156124c8565b73ffffffffffffffffffffffffffffffffffffffff16611433611883565b73ffffffffffffffffffffffffffffffffffffffff1614611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148090614176565b60405180910390fd5b6114936000612e35565b565b600b54816114a1610ae9565b6114ab9190614332565b11156114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e390614136565b60405180910390fd5b80600c546114fa91906143b9565b341461153b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153290614196565b60405180910390fd5b6014544211801561155b5750620151806014546115589190614332565b42105b61159a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611591906141d6565b60405180910390fd5b6008546115a633612efb565b826115b19190614332565b11156115f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e990614116565b60405180910390fd5b6115fc3382612b6f565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001601081819054906101000a900467ffffffffffffffff1680929190611662906145ca565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b600b5481611698610ae9565b6116a29190614332565b11156116e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116da90614136565b60405180910390fd5b80600c546116f191906143b9565b3414611732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172990614196565b60405180910390fd5b6013544211801561175257506201518060135461174f9190614332565b42105b611791576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611788906141d6565b60405180910390fd5b60085461179d33612fcb565b826117a89190614332565b11156117e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e090614116565b60405180910390fd5b6117f33382612b6f565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001600881819054906101000a900467ffffffffffffffff1680929190611859906145ca565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118b56124c8565b73ffffffffffffffffffffffffffffffffffffffff166118d3611883565b73ffffffffffffffffffffffffffffffffffffffff1614611929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192090614176565b60405180910390fd5b806015908051906020019061193f92919061387d565b5050565b6060600280546119529061451e565b80601f016020809104026020016040519081016040528092919081815260200182805461197e9061451e565b80156119cb5780601f106119a0576101008083540402835291602001916119cb565b820191906000526020600020905b8154815290600101906020018083116119ae57829003601f168201915b5050505050905090565b6119dd6124c8565b73ffffffffffffffffffffffffffffffffffffffff166119fb611883565b73ffffffffffffffffffffffffffffffffffffffff1614611a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4890614176565b60405180910390fd5b8060148190555050565b611a636124c8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ac8576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611ad56124c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b826124c8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bc79190614099565b60405180910390a35050565b611bde848484612582565b611bea8484848461309b565b611c20576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611c2e6124c8565b73ffffffffffffffffffffffffffffffffffffffff16611c4c611883565b73ffffffffffffffffffffffffffffffffffffffff1614611ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9990614176565b60405180910390fd5b60004711611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc906140f6565b60405180910390fd5b600060018260ff161415611d8257600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611d399061401d565b60006040518083038185875af1925050503d8060008114611d76576040519150601f19603f3d011682016040523d82523d6000602084013e611d7b565b606091505b5050809150505b60028260ff161415611e1d57600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611dd49061401d565b60006040518083038185875af1925050503d8060008114611e11576040519150601f19603f3d011682016040523d82523d6000602084013e611e16565b606091505b5050809150505b60038260ff161415611eb857600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611e6f9061401d565b60006040518083038185875af1925050503d8060008114611eac576040519150601f19603f3d011682016040523d82523d6000602084013e611eb1565b606091505b5050809150505b60048260ff161415611f5357601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611f0a9061401d565b60006040518083038185875af1925050503d8060008114611f47576040519150601f19603f3d011682016040523d82523d6000602084013e611f4c565b606091505b5050809150505b80611f93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8a906141b6565b60405180910390fd5b5050565b6060611fa282612460565b611fd8576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060168054611fe79061451e565b905014156120045760405180602001604052806000815250612030565b601661200f83613229565b604051602001612020929190613ff9565b6040516020818303038152906040525b9050919050565b600c5481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c490614156565b60405180910390fd5b600b54816120d9610ae9565b6120e39190614332565b1115612124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211b90614136565b60405180910390fd5b80600c5461213291906143b9565b3414612173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216a90614196565b60405180910390fd5b600a5461217f336133d6565b8261218a9190614332565b11156121cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c290614116565b60405180910390fd5b6121d53382612b6f565b50565b6060601580546121e79061451e565b80601f01602080910402602001604051908101604052809291908181526020018280546122139061451e565b80156122605780601f1061223557610100808354040283529160200191612260565b820191906000526020600020905b81548152906001019060200180831161224357829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123066124c8565b73ffffffffffffffffffffffffffffffffffffffff16612324611883565b73ffffffffffffffffffffffffffffffffffffffff161461237a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237190614176565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e1906140d6565b60405180910390fd5b6123f381612e35565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16821080156124c1575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061258d82612b8d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166125b46124c8565b73ffffffffffffffffffffffffffffffffffffffff1614806125e757506125e682600001516125e16124c8565b61226a565b5b8061262c57506125f56124c8565b73ffffffffffffffffffffffffffffffffffffffff1661261484610962565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612665576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146126ce576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612735576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61274285858560016134a6565b61275260008484600001516124d0565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a2f5760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612a2e5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a9885858560016134ac565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b07576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b612b898282604051806020016040528060008152506134b2565b5050565b612b95613903565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612dfe576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612dfc57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ce0578092505050612e30565b5b600115612dfb57818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612df6578092505050612e30565b612ce1565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f63576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613033576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60006130bc8473ffffffffffffffffffffffffffffffffffffffff166134c4565b1561321c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130e56124c8565b8786866040518563ffffffff1660e01b8152600401613107949392919061404d565b602060405180830381600087803b15801561312157600080fd5b505af192505050801561315257506040513d601f19601f8201168201806040525081019061314f9190613c81565b60015b6131cc573d8060008114613182576040519150601f19603f3d011682016040523d82523d6000602084013e613187565b606091505b506000815114156131c4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613221565b600190505b949350505050565b60606000821415613271576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506133d1565b600082905060005b600082146132a357808061328c90614581565b915050600a8261329c9190614388565b9150613279565b60008167ffffffffffffffff8111156132e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133175781602001600182028036833780820191505090505b5090505b600085146133ca576001826133309190614413565b9150600a8561333f91906145fb565b603061334b9190614332565b60f81b818381518110613387577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133c39190614388565b945061331b565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561343e576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b6134bf83838360016134e7565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613582576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156135bd576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6135ca60008683876134a6565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561382f57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48380156137e357506137e1600088848861309b565b155b1561381a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613768565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505061387660008683876134ac565b5050505050565b8280546138899061451e565b90600052602060002090601f0160209004810192826138ab57600085556138f2565b82601f106138c457805160ff19168380011785556138f2565b828001600101855582156138f2579182015b828111156138f15782518255916020019190600101906138d6565b5b5090506138ff9190613946565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561395f576000816000905550600101613947565b5090565b60006139766139718461426d565b614248565b90508281526020810184848401111561398e57600080fd5b6139998482856144dc565b509392505050565b60006139b46139af8461429e565b614248565b9050828152602081018484840111156139cc57600080fd5b6139d78482856144dc565b509392505050565b6000813590506139ee816148b9565b92915050565b600081359050613a03816148d0565b92915050565b600081359050613a18816148e7565b92915050565b600081519050613a2d816148e7565b92915050565b600082601f830112613a4457600080fd5b8135613a54848260208601613963565b91505092915050565b600082601f830112613a6e57600080fd5b8135613a7e8482602086016139a1565b91505092915050565b600081359050613a96816148fe565b92915050565b600081359050613aab81614915565b92915050565b600060208284031215613ac357600080fd5b6000613ad1848285016139df565b91505092915050565b60008060408385031215613aed57600080fd5b6000613afb858286016139df565b9250506020613b0c858286016139df565b9150509250929050565b600080600060608486031215613b2b57600080fd5b6000613b39868287016139df565b9350506020613b4a868287016139df565b9250506040613b5b86828701613a87565b9150509250925092565b60008060008060808587031215613b7b57600080fd5b6000613b89878288016139df565b9450506020613b9a878288016139df565b9350506040613bab87828801613a87565b925050606085013567ffffffffffffffff811115613bc857600080fd5b613bd487828801613a33565b91505092959194509250565b60008060408385031215613bf357600080fd5b6000613c01858286016139df565b9250506020613c12858286016139f4565b9150509250929050565b60008060408385031215613c2f57600080fd5b6000613c3d858286016139df565b9250506020613c4e85828601613a87565b9150509250929050565b600060208284031215613c6a57600080fd5b6000613c7884828501613a09565b91505092915050565b600060208284031215613c9357600080fd5b6000613ca184828501613a1e565b91505092915050565b600060208284031215613cbc57600080fd5b600082013567ffffffffffffffff811115613cd657600080fd5b613ce284828501613a5d565b91505092915050565b600060208284031215613cfd57600080fd5b6000613d0b84828501613a87565b91505092915050565b600060208284031215613d2657600080fd5b6000613d3484828501613a9c565b91505092915050565b613d4681614447565b82525050565b613d5581614459565b82525050565b6000613d66826142e4565b613d7081856142fa565b9350613d808185602086016144eb565b613d89816146e8565b840191505092915050565b6000613d9f826142ef565b613da98185614316565b9350613db98185602086016144eb565b613dc2816146e8565b840191505092915050565b6000613dd8826142ef565b613de28185614327565b9350613df28185602086016144eb565b80840191505092915050565b60008154613e0b8161451e565b613e158186614327565b94506001821660008114613e305760018114613e4157613e74565b60ff19831686528186019350613e74565b613e4a856142cf565b60005b83811015613e6c57815481890152600182019150602081019050613e4d565b838801955050505b50505092915050565b6000613e8a602683614316565b9150613e95826146f9565b604082019050919050565b6000613ead600a83614316565b9150613eb882614748565b602082019050919050565b6000613ed0601283614316565b9150613edb82614771565b602082019050919050565b6000613ef3601683614316565b9150613efe8261479a565b602082019050919050565b6000613f16602e83614316565b9150613f21826147c3565b604082019050919050565b6000613f39602083614316565b9150613f4482614812565b602082019050919050565b6000613f5c60008361430b565b9150613f678261483b565b600082019050919050565b6000613f7f601583614316565b9150613f8a8261483e565b602082019050919050565b6000613fa2600f83614316565b9150613fad82614867565b602082019050919050565b6000613fc5601d83614316565b9150613fd082614890565b602082019050919050565b613fe4816144b1565b82525050565b613ff3816144bb565b82525050565b60006140058285613dfe565b91506140118284613dcd565b91508190509392505050565b600061402882613f4f565b9150819050919050565b60006020820190506140476000830184613d3d565b92915050565b60006080820190506140626000830187613d3d565b61406f6020830186613d3d565b61407c6040830185613fdb565b818103606083015261408e8184613d5b565b905095945050505050565b60006020820190506140ae6000830184613d4c565b92915050565b600060208201905081810360008301526140ce8184613d94565b905092915050565b600060208201905081810360008301526140ef81613e7d565b9050919050565b6000602082019050818103600083015261410f81613ea0565b9050919050565b6000602082019050818103600083015261412f81613ec3565b9050919050565b6000602082019050818103600083015261414f81613ee6565b9050919050565b6000602082019050818103600083015261416f81613f09565b9050919050565b6000602082019050818103600083015261418f81613f2c565b9050919050565b600060208201905081810360008301526141af81613f72565b9050919050565b600060208201905081810360008301526141cf81613f95565b9050919050565b600060208201905081810360008301526141ef81613fb8565b9050919050565b600060208201905061420b6000830184613fdb565b92915050565b60006060820190506142266000830186613fea565b6142336020830185613fea565b6142406040830184613fea565b949350505050565b6000614252614263565b905061425e8282614550565b919050565b6000604051905090565b600067ffffffffffffffff821115614288576142876146b9565b5b614291826146e8565b9050602081019050919050565b600067ffffffffffffffff8211156142b9576142b86146b9565b5b6142c2826146e8565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061433d826144b1565b9150614348836144b1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561437d5761437c61462c565b5b828201905092915050565b6000614393826144b1565b915061439e836144b1565b9250826143ae576143ad61465b565b5b828204905092915050565b60006143c4826144b1565b91506143cf836144b1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144085761440761462c565b5b828202905092915050565b600061441e826144b1565b9150614429836144b1565b92508282101561443c5761443b61462c565b5b828203905092915050565b600061445282614491565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156145095780820151818401526020810190506144ee565b83811115614518576000848401525b50505050565b6000600282049050600182168061453657607f821691505b6020821081141561454a5761454961468a565b5b50919050565b614559826146e8565b810181811067ffffffffffffffff82111715614578576145776146b9565b5b80604052505050565b600061458c826144b1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145bf576145be61462c565b5b600182019050919050565b60006145d5826144bb565b915067ffffffffffffffff8214156145f0576145ef61462c565b5b600182019050919050565b6000614606826144b1565b9150614611836144b1565b9250826146215761462061465b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f2062616c616e636500000000000000000000000000000000000000000000600082015250565b7f457863656564656420746865206c696d69740000000000000000000000000000600082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b7f4f6e6c792044414f20416464726573732069732061626c6520746f207573652060008201527f746869732066756e6374696f6e21000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b7f7769746864726177206661696c65640000000000000000000000000000000000600082015250565b7f53616c65206973206e6f742063757272656e746c79206f6e676f696e67000000600082015250565b6148c281614447565b81146148cd57600080fd5b50565b6148d981614459565b81146148e457600080fd5b50565b6148f081614465565b81146148fb57600080fd5b50565b614907816144b1565b811461491257600080fd5b50565b61491e816144cf565b811461492957600080fd5b5056fea2646970667358221220d4a7dc0d8bf90c68bf6aa105385f94c29c893026a63d866f7ce3f10b50e38e8264736f6c63430008040033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 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.