ERC-721
NFT
Overview
Max Total Supply
5,000 asspls
Holders
2,210
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 assplsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Assplosion
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.6; import "@openzeppelin/contracts/access/Ownable.sol"; import "erc721a/contracts/ERC721A.sol"; import "./Administration.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract Assplosion is ERC721A, Ownable, Administration { uint public price = 0.03 ether; uint public maxSupply = 5000; uint public maxTx = 20; bool private mintOpen = false; bool private presaleOpen = false; address private _signer; mapping(address => uint[]) private ownership; string internal baseTokenURI = 'https://us-central1-crypto-2bf22.cloudfunctions.net/api/asset/'; constructor() ERC721A("Assplosion", "asspls") {} function toggleMint() external onlyOwner { mintOpen = !mintOpen; } function togglePresale() external onlyOwner { presaleOpen = !presaleOpen; } function setSigner(address newSigner) public onlyOwner { _signer = newSigner; } function setPrice(uint newPrice) external onlyOwner { price = newPrice; } function setBaseTokenURI(string calldata _uri) external onlyOwner { baseTokenURI = _uri; } function setMaxSupply(uint newSupply) external onlyOwner { maxSupply = newSupply; } function setMaxTx(uint newMax) external onlyOwner { maxTx = newMax; } function _baseURI() internal override view returns (string memory) { return baseTokenURI; } function buyTo(address to, uint qty) external onlyAdmin { _mintTo(to, qty); } function buy(uint qty, bytes calldata signature_) external payable { require(presaleOpen, "store closed"); require(isInWhitelist(signature_), "address not in whitelist"); _buy(qty); } function buy(uint qty) external payable { require(mintOpen, "store closed"); _buy(qty); } function _buy(uint qty) internal { require(qty <= maxTx && qty > 0, "TRANSACTION: qty of mints not alowed"); uint free = balanceOf(_msgSender()) == 0 ? 1 : 0; require(msg.value >= price * (qty - free), "PAYMENT: invalid value"); _mintTo(_msgSender(), qty); } function _mintTo(address to, uint qty) internal { require(qty + totalSupply() <= maxSupply, "SUPPLY: Value exceeds totalSupply"); _mint(to, qty); } function withdraw() external onlyOwner { payable(_msgSender()).transfer(address(this).balance); } function isInWhitelist(bytes calldata signature_) private view returns (bool) { return ECDSA.recover(ECDSA.toEthSignedMessageHash(abi.encodePacked(_msgSender())), signature_) == _signer; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.6; import "@openzeppelin/contracts/access/Ownable.sol"; contract Administration is Ownable { event SetAdmin(address indexed admin, bool active); mapping (address => bool) private admins; modifier onlyAdmin(){ require(admins[_msgSender()] || owner() == _msgSender(), "Admin: caller is not an admin"); _; } function setAdmin(address admin, bool active) external onlyOwner { admins[admin] = active; emit SetAdmin(admin, active); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); 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; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @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`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); // ============================== // IERC721Metadata // ============================== /** * @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 // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _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 `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // 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. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * 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) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @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, _toString(tokenId))) : ''; } /** * @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 Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev 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) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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 (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); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "berlin", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"SetAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes","name":"signature_","type":"bytes"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"buyTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"},{"internalType":"bool","name":"active","type":"bool"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052666a94d74f430000600a55611388600b556014600c556000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff0219169083151502179055506040518060600160405280603e81526020016200413b603e9139600f9080519060200190620000819291906200023f565b503480156200008f57600080fd5b506040518060400160405280600a81526020017f417373706c6f73696f6e000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f617373706c7300000000000000000000000000000000000000000000000000008152508160029080519060200190620001149291906200023f565b5080600390805190602001906200012d9291906200023f565b506200013e6200016c60201b60201c565b6000819055505050620001666200015a6200017160201b60201c565b6200017960201b60201c565b62000354565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024d90620002ef565b90600052602060002090601f016020900481019282620002715760008555620002bd565b82601f106200028c57805160ff1916838001178555620002bd565b82800160010185558215620002bd579182015b82811115620002bc5782518255916020019190600101906200029f565b5b509050620002cc9190620002d0565b5090565b5b80821115620002eb576000816000905550600101620002d1565b5090565b600060028204905060018216806200030857607f821691505b602082108114156200031f576200031e62000325565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613dd780620003646000396000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063b88d4fde11610095578063d5abeb0111610064578063d5abeb011461067f578063d96a094a146106aa578063e985e9c5146106c6578063f2fde38b14610703576101e3565b8063b88d4fde146105d9578063bc33718214610602578063c87b56dd1461062b578063d3dd5fe014610668576101e3565b806391b7f5ed116100d157806391b7f5ed1461053157806395d89b411461055a578063a035b1fe14610585578063a22cb465146105b0576101e3565b8063715018a6146104a85780637437681e146104bf57806382189551146104ea5780638da5cb5b14610506576101e3565b8063343937431161017a5780636352211e116101495780636352211e146103dc5780636c19e783146104195780636f8b44b01461044257806370a082311461046b576101e3565b8063343937431461035c5780633ccfd60b1461037357806342842e0e1461038a5780634b0bddd2146103b3576101e3565b806309bd4c31116101b657806309bd4c31146102b657806318160ddd146102df57806323b872dd1461030a57806330176e1314610333576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612e72565b61072c565b60405161021c9190613378565b60405180910390f35b34801561023157600080fd5b5061023a6107be565b60405161024791906133d8565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612f19565b610850565b6040516102849190613311565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612e32565b6108cc565b005b3480156102c257600080fd5b506102dd60048036038101906102d89190612e32565b610a73565b005b3480156102eb57600080fd5b506102f4610b58565b604051610301919061357a565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c9190612d1c565b610b6f565b005b34801561033f57600080fd5b5061035a60048036038101906103559190612ecc565b610b7f565b005b34801561036857600080fd5b50610371610c11565b005b34801561037f57600080fd5b50610388610cb9565b005b34801561039657600080fd5b506103b160048036038101906103ac9190612d1c565b610d85565b005b3480156103bf57600080fd5b506103da60048036038101906103d59190612df2565b610da5565b005b3480156103e857600080fd5b5061040360048036038101906103fe9190612f19565b610eca565b6040516104109190613311565b60405180910390f35b34801561042557600080fd5b50610440600480360381019061043b9190612caf565b610edc565b005b34801561044e57600080fd5b5061046960048036038101906104649190612f19565b610f9c565b005b34801561047757600080fd5b50610492600480360381019061048d9190612caf565b611022565b60405161049f919061357a565b60405180910390f35b3480156104b457600080fd5b506104bd6110db565b005b3480156104cb57600080fd5b506104d4611163565b6040516104e1919061357a565b60405180910390f35b61050460048036038101906104ff9190612f46565b611169565b005b34801561051257600080fd5b5061051b61120f565b6040516105289190613311565b60405180910390f35b34801561053d57600080fd5b5061055860048036038101906105539190612f19565b611239565b005b34801561056657600080fd5b5061056f6112bf565b60405161057c91906133d8565b60405180910390f35b34801561059157600080fd5b5061059a611351565b6040516105a7919061357a565b60405180910390f35b3480156105bc57600080fd5b506105d760048036038101906105d29190612df2565b611357565b005b3480156105e557600080fd5b5061060060048036038101906105fb9190612d6f565b6114cf565b005b34801561060e57600080fd5b5061062960048036038101906106249190612f19565b611542565b005b34801561063757600080fd5b50610652600480360381019061064d9190612f19565b6115c8565b60405161065f91906133d8565b60405180910390f35b34801561067457600080fd5b5061067d611667565b005b34801561068b57600080fd5b5061069461170f565b6040516106a1919061357a565b60405180910390f35b6106c460048036038101906106bf9190612f19565b611715565b005b3480156106d257600080fd5b506106ed60048036038101906106e89190612cdc565b611770565b6040516106fa9190613378565b60405180910390f35b34801561070f57600080fd5b5061072a60048036038101906107259190612caf565b611804565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107b75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107cd9061381b565b80601f01602080910402602001604051908101604052809291908181526020018280546107f99061381b565b80156108465780601f1061081b57610100808354040283529160200191610846565b820191906000526020600020905b81548152906001019060200180831161082957829003601f168201915b5050505050905090565b600061085b826118fc565b610891576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d78261195b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561093f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661095e611a29565b73ffffffffffffffffffffffffffffffffffffffff16146109c15761098a81610985611a29565b611770565b6109c0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60096000610a7f611a31565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610b0b5750610ad5611a31565b73ffffffffffffffffffffffffffffffffffffffff16610af361120f565b73ffffffffffffffffffffffffffffffffffffffff16145b610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b419061355a565b60405180910390fd5b610b548282611a39565b5050565b6000610b62611a9e565b6001546000540303905090565b610b7a838383611aa3565b505050565b610b87611a31565b73ffffffffffffffffffffffffffffffffffffffff16610ba561120f565b73ffffffffffffffffffffffffffffffffffffffff1614610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf29061351a565b60405180910390fd5b8181600f9190610c0c929190612a87565b505050565b610c19611a31565b73ffffffffffffffffffffffffffffffffffffffff16610c3761120f565b73ffffffffffffffffffffffffffffffffffffffff1614610c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c849061351a565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b610cc1611a31565b73ffffffffffffffffffffffffffffffffffffffff16610cdf61120f565b73ffffffffffffffffffffffffffffffffffffffff1614610d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2c9061351a565b60405180910390fd5b610d3d611a31565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610d82573d6000803e3d6000fd5b50565b610da0838383604051806020016040528060008152506114cf565b505050565b610dad611a31565b73ffffffffffffffffffffffffffffffffffffffff16610dcb61120f565b73ffffffffffffffffffffffffffffffffffffffff1614610e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e189061351a565b60405180910390fd5b80600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f55a5194bc0174fcaf12b2978bef43911466bf63b34db8d1dd1a0d5dcd5c41bea82604051610ebe9190613378565b60405180910390a25050565b6000610ed58261195b565b9050919050565b610ee4611a31565b73ffffffffffffffffffffffffffffffffffffffff16610f0261120f565b73ffffffffffffffffffffffffffffffffffffffff1614610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f9061351a565b60405180910390fd5b80600d60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610fa4611a31565b73ffffffffffffffffffffffffffffffffffffffff16610fc261120f565b73ffffffffffffffffffffffffffffffffffffffff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f9061351a565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561108a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6110e3611a31565b73ffffffffffffffffffffffffffffffffffffffff1661110161120f565b73ffffffffffffffffffffffffffffffffffffffff1614611157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114e9061351a565b60405180910390fd5b6111616000611e4d565b565b600c5481565b600d60019054906101000a900460ff166111b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111af906134ba565b60405180910390fd5b6111c28282611f13565b611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f8906134fa565b60405180910390fd5b61120a83611fe9565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611241611a31565b73ffffffffffffffffffffffffffffffffffffffff1661125f61120f565b73ffffffffffffffffffffffffffffffffffffffff16146112b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ac9061351a565b60405180910390fd5b80600a8190555050565b6060600380546112ce9061381b565b80601f01602080910402602001604051908101604052809291908181526020018280546112fa9061381b565b80156113475780601f1061131c57610100808354040283529160200191611347565b820191906000526020600020905b81548152906001019060200180831161132a57829003601f168201915b5050505050905090565b600a5481565b61135f611a29565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113c4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006113d1611a29565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661147e611a29565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114c39190613378565b60405180910390a35050565b6114da848484611aa3565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461153c57611505848484846120d1565b61153b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61154a611a31565b73ffffffffffffffffffffffffffffffffffffffff1661156861120f565b73ffffffffffffffffffffffffffffffffffffffff16146115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b59061351a565b60405180910390fd5b80600c8190555050565b60606115d3826118fc565b611609576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611613612231565b9050600081511415611634576040518060200160405280600081525061165f565b8061163e846122c3565b60405160200161164f9291906132be565b6040516020818303038152906040525b915050919050565b61166f611a31565b73ffffffffffffffffffffffffffffffffffffffff1661168d61120f565b73ffffffffffffffffffffffffffffffffffffffff16146116e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116da9061351a565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b600b5481565b600d60009054906101000a900460ff16611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b906134ba565b60405180910390fd5b61176d81611fe9565b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61180c611a31565b73ffffffffffffffffffffffffffffffffffffffff1661182a61120f565b73ffffffffffffffffffffffffffffffffffffffff1614611880576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118779061351a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e79061343a565b60405180910390fd5b6118f981611e4d565b50565b600081611907611a9e565b11158015611916575060005482105b8015611954575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061196a611a9e565b116119f2576000548110156119f15760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156119ef575b60008114156119e55760046000836001900393508381526020019081526020016000205490506119ba565b8092505050611a24565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b600b54611a44610b58565b82611a4f9190613639565b1115611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a879061353a565b60405180910390fd5b611a9a828261231d565b5050565b600090565b6000611aae8261195b565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b15576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611b36611a29565b73ffffffffffffffffffffffffffffffffffffffff161480611b655750611b6485611b5f611a29565b611770565b5b80611baa5750611b73611a29565b73ffffffffffffffffffffffffffffffffffffffff16611b9284610850565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611be3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c4a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c5785858560016124f1565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611d54866124f7565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611dde576000600184019050600060046000838152602001908152602001600020541415611ddc576000548114611ddb578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e468585856001612501565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611fca611f80611f5c611a31565b604051602001611f6c91906132a3565b604051602081830303815290604052612507565b85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612542565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600c548111158015611ffb5750600081115b61203a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120319061345a565b60405180910390fd5b60008061204d612048611a31565b611022565b1461205957600061205c565b60015b60ff169050808261206d919061371a565b600a5461207a91906136c0565b3410156120bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b39061347a565b60405180910390fd5b6120cd6120c7611a31565b83611a39565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120f7611a29565b8786866040518563ffffffff1660e01b8152600401612119949392919061332c565b602060405180830381600087803b15801561213357600080fd5b505af192505050801561216457506040513d601f19601f820116820180604052508101906121619190612e9f565b60015b6121de573d8060008114612194576040519150601f19603f3d011682016040523d82523d6000602084013e612199565b606091505b506000815114156121d6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f80546122409061381b565b80601f016020809104026020016040519081016040528092919081815260200182805461226c9061381b565b80156122b95780601f1061228e576101008083540402835291602001916122b9565b820191906000526020600020905b81548152906001019060200180831161229c57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561230957600183039250600a81066030018353600a810490506122e9565b508181036020830392508083525050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561238a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156123c5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123d260008483856124f1565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161243760018414612569565b901b60a042901b612447856124f7565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061246d578160008190555050506124ec6000848385612501565b505050565b50505050565b6000819050919050565b50505050565b60006125138251612573565b826040516020016125259291906132e2565b604051602081830303815290604052805190602001209050919050565b600080600061255185856126d4565b9150915061255e81612757565b819250505092915050565b6000819050919050565b606060008214156125bb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126cf565b600082905060005b600082146125ed5780806125d69061387e565b915050600a826125e6919061368f565b91506125c3565b60008167ffffffffffffffff81111561260957612608613a07565b5b6040519080825280601f01601f19166020018201604052801561263b5781602001600182028036833780820191505090505b5090505b600085146126c857600182612654919061371a565b9150600a8561266391906138eb565b603061266f9190613639565b60f81b818381518110612685576126846139d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126c1919061368f565b945061263f565b8093505050505b919050565b6000806041835114156127165760008060006020860151925060408601519150606086015160001a905061270a8782858561292c565b94509450505050612750565b60408351141561274757600080602085015191506040850151905061273c868383612a39565b935093505050612750565b60006002915091505b9250929050565b6000600481111561276b5761276a61397a565b5b81600481111561277e5761277d61397a565b5b141561278957612929565b6001600481111561279d5761279c61397a565b5b8160048111156127b0576127af61397a565b5b14156127f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e8906133fa565b60405180910390fd5b600260048111156128055761280461397a565b5b8160048111156128185761281761397a565b5b1415612859576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128509061341a565b60405180910390fd5b6003600481111561286d5761286c61397a565b5b8160048111156128805761287f61397a565b5b14156128c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b89061349a565b60405180910390fd5b6004808111156128d4576128d361397a565b5b8160048111156128e7576128e661397a565b5b1415612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291f906134da565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612967576000600391509150612a30565b601b8560ff161415801561297f5750601c8560ff1614155b15612991576000600491509150612a30565b6000600187878787604051600081526020016040526040516129b69493929190613393565b6020604051602081039080840390855afa1580156129d8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a2757600060019250925050612a30565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612a798782888561292c565b935093505050935093915050565b828054612a939061381b565b90600052602060002090601f016020900481019282612ab55760008555612afc565b82601f10612ace57803560ff1916838001178555612afc565b82800160010185558215612afc579182015b82811115612afb578235825591602001919060010190612ae0565b5b509050612b099190612b0d565b5090565b5b80821115612b26576000816000905550600101612b0e565b5090565b6000612b3d612b38846135ba565b613595565b905082815260208101848484011115612b5957612b58613a45565b5b612b648482856137d9565b509392505050565b600081359050612b7b81613d45565b92915050565b600081359050612b9081613d5c565b92915050565b600081359050612ba581613d73565b92915050565b600081519050612bba81613d73565b92915050565b60008083601f840112612bd657612bd5613a3b565b5b8235905067ffffffffffffffff811115612bf357612bf2613a36565b5b602083019150836001820283011115612c0f57612c0e613a40565b5b9250929050565b600082601f830112612c2b57612c2a613a3b565b5b8135612c3b848260208601612b2a565b91505092915050565b60008083601f840112612c5a57612c59613a3b565b5b8235905067ffffffffffffffff811115612c7757612c76613a36565b5b602083019150836001820283011115612c9357612c92613a40565b5b9250929050565b600081359050612ca981613d8a565b92915050565b600060208284031215612cc557612cc4613a4f565b5b6000612cd384828501612b6c565b91505092915050565b60008060408385031215612cf357612cf2613a4f565b5b6000612d0185828601612b6c565b9250506020612d1285828601612b6c565b9150509250929050565b600080600060608486031215612d3557612d34613a4f565b5b6000612d4386828701612b6c565b9350506020612d5486828701612b6c565b9250506040612d6586828701612c9a565b9150509250925092565b60008060008060808587031215612d8957612d88613a4f565b5b6000612d9787828801612b6c565b9450506020612da887828801612b6c565b9350506040612db987828801612c9a565b925050606085013567ffffffffffffffff811115612dda57612dd9613a4a565b5b612de687828801612c16565b91505092959194509250565b60008060408385031215612e0957612e08613a4f565b5b6000612e1785828601612b6c565b9250506020612e2885828601612b81565b9150509250929050565b60008060408385031215612e4957612e48613a4f565b5b6000612e5785828601612b6c565b9250506020612e6885828601612c9a565b9150509250929050565b600060208284031215612e8857612e87613a4f565b5b6000612e9684828501612b96565b91505092915050565b600060208284031215612eb557612eb4613a4f565b5b6000612ec384828501612bab565b91505092915050565b60008060208385031215612ee357612ee2613a4f565b5b600083013567ffffffffffffffff811115612f0157612f00613a4a565b5b612f0d85828601612c44565b92509250509250929050565b600060208284031215612f2f57612f2e613a4f565b5b6000612f3d84828501612c9a565b91505092915050565b600080600060408486031215612f5f57612f5e613a4f565b5b6000612f6d86828701612c9a565b935050602084013567ffffffffffffffff811115612f8e57612f8d613a4a565b5b612f9a86828701612bc0565b92509250509250925092565b612faf8161374e565b82525050565b612fc6612fc18261374e565b6138c7565b82525050565b612fd581613760565b82525050565b612fe48161376c565b82525050565b6000612ff5826135eb565b612fff8185613601565b935061300f8185602086016137e8565b61301881613a54565b840191505092915050565b600061302e826135eb565b6130388185613612565b93506130488185602086016137e8565b80840191505092915050565b600061305f826135f6565b613069818561361d565b93506130798185602086016137e8565b61308281613a54565b840191505092915050565b6000613098826135f6565b6130a2818561362e565b93506130b28185602086016137e8565b80840191505092915050565b60006130cb60188361361d565b91506130d682613a72565b602082019050919050565b60006130ee601f8361361d565b91506130f982613a9b565b602082019050919050565b600061311160268361361d565b915061311c82613ac4565b604082019050919050565b600061313460248361361d565b915061313f82613b13565b604082019050919050565b600061315760168361361d565b915061316282613b62565b602082019050919050565b600061317a60228361361d565b915061318582613b8b565b604082019050919050565b600061319d600c8361361d565b91506131a882613bda565b602082019050919050565b60006131c060228361361d565b91506131cb82613c03565b604082019050919050565b60006131e360188361361d565b91506131ee82613c52565b602082019050919050565b600061320660208361361d565b915061321182613c7b565b602082019050919050565b6000613229601a8361362e565b915061323482613ca4565b601a82019050919050565b600061324c60218361361d565b915061325782613ccd565b604082019050919050565b600061326f601d8361361d565b915061327a82613d1c565b602082019050919050565b61328e816137c2565b82525050565b61329d816137cc565b82525050565b60006132af8284612fb5565b60148201915081905092915050565b60006132ca828561308d565b91506132d6828461308d565b91508190509392505050565b60006132ed8261321c565b91506132f9828561308d565b91506133058284613023565b91508190509392505050565b60006020820190506133266000830184612fa6565b92915050565b60006080820190506133416000830187612fa6565b61334e6020830186612fa6565b61335b6040830185613285565b818103606083015261336d8184612fea565b905095945050505050565b600060208201905061338d6000830184612fcc565b92915050565b60006080820190506133a86000830187612fdb565b6133b56020830186613294565b6133c26040830185612fdb565b6133cf6060830184612fdb565b95945050505050565b600060208201905081810360008301526133f28184613054565b905092915050565b60006020820190508181036000830152613413816130be565b9050919050565b60006020820190508181036000830152613433816130e1565b9050919050565b6000602082019050818103600083015261345381613104565b9050919050565b6000602082019050818103600083015261347381613127565b9050919050565b600060208201905081810360008301526134938161314a565b9050919050565b600060208201905081810360008301526134b38161316d565b9050919050565b600060208201905081810360008301526134d381613190565b9050919050565b600060208201905081810360008301526134f3816131b3565b9050919050565b60006020820190508181036000830152613513816131d6565b9050919050565b60006020820190508181036000830152613533816131f9565b9050919050565b600060208201905081810360008301526135538161323f565b9050919050565b6000602082019050818103600083015261357381613262565b9050919050565b600060208201905061358f6000830184613285565b92915050565b600061359f6135b0565b90506135ab828261384d565b919050565b6000604051905090565b600067ffffffffffffffff8211156135d5576135d4613a07565b5b6135de82613a54565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613644826137c2565b915061364f836137c2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136845761368361391c565b5b828201905092915050565b600061369a826137c2565b91506136a5836137c2565b9250826136b5576136b461394b565b5b828204905092915050565b60006136cb826137c2565b91506136d6836137c2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561370f5761370e61391c565b5b828202905092915050565b6000613725826137c2565b9150613730836137c2565b9250828210156137435761374261391c565b5b828203905092915050565b6000613759826137a2565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156138065780820151818401526020810190506137eb565b83811115613815576000848401525b50505050565b6000600282049050600182168061383357607f821691505b60208210811415613847576138466139a9565b5b50919050565b61385682613a54565b810181811067ffffffffffffffff8211171561387557613874613a07565b5b80604052505050565b6000613889826137c2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138bc576138bb61391c565b5b600182019050919050565b60006138d2826138d9565b9050919050565b60006138e482613a65565b9050919050565b60006138f6826137c2565b9150613901836137c2565b9250826139115761391061394b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5452414e53414354494f4e3a20717479206f66206d696e7473206e6f7420616c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f73746f726520636c6f7365640000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f61646472657373206e6f7420696e2077686974656c6973740000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a000000000000600082015250565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b7f41646d696e3a2063616c6c6572206973206e6f7420616e2061646d696e000000600082015250565b613d4e8161374e565b8114613d5957600080fd5b50565b613d6581613760565b8114613d7057600080fd5b50565b613d7c81613776565b8114613d8757600080fd5b50565b613d93816137c2565b8114613d9e57600080fd5b5056fea264697066735822122096574d4eefb250592c823ee0aea0c6cd37dfce1eabd68e2cbad15f07a048565864736f6c6343000806003368747470733a2f2f75732d63656e7472616c312d63727970746f2d32626632322e636c6f756466756e6374696f6e732e6e65742f6170692f61737365742f
Deployed Bytecode
0x6080604052600436106101e35760003560e01c8063715018a611610102578063b88d4fde11610095578063d5abeb0111610064578063d5abeb011461067f578063d96a094a146106aa578063e985e9c5146106c6578063f2fde38b14610703576101e3565b8063b88d4fde146105d9578063bc33718214610602578063c87b56dd1461062b578063d3dd5fe014610668576101e3565b806391b7f5ed116100d157806391b7f5ed1461053157806395d89b411461055a578063a035b1fe14610585578063a22cb465146105b0576101e3565b8063715018a6146104a85780637437681e146104bf57806382189551146104ea5780638da5cb5b14610506576101e3565b8063343937431161017a5780636352211e116101495780636352211e146103dc5780636c19e783146104195780636f8b44b01461044257806370a082311461046b576101e3565b8063343937431461035c5780633ccfd60b1461037357806342842e0e1461038a5780634b0bddd2146103b3576101e3565b806309bd4c31116101b657806309bd4c31146102b657806318160ddd146102df57806323b872dd1461030a57806330176e1314610333576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612e72565b61072c565b60405161021c9190613378565b60405180910390f35b34801561023157600080fd5b5061023a6107be565b60405161024791906133d8565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612f19565b610850565b6040516102849190613311565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612e32565b6108cc565b005b3480156102c257600080fd5b506102dd60048036038101906102d89190612e32565b610a73565b005b3480156102eb57600080fd5b506102f4610b58565b604051610301919061357a565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c9190612d1c565b610b6f565b005b34801561033f57600080fd5b5061035a60048036038101906103559190612ecc565b610b7f565b005b34801561036857600080fd5b50610371610c11565b005b34801561037f57600080fd5b50610388610cb9565b005b34801561039657600080fd5b506103b160048036038101906103ac9190612d1c565b610d85565b005b3480156103bf57600080fd5b506103da60048036038101906103d59190612df2565b610da5565b005b3480156103e857600080fd5b5061040360048036038101906103fe9190612f19565b610eca565b6040516104109190613311565b60405180910390f35b34801561042557600080fd5b50610440600480360381019061043b9190612caf565b610edc565b005b34801561044e57600080fd5b5061046960048036038101906104649190612f19565b610f9c565b005b34801561047757600080fd5b50610492600480360381019061048d9190612caf565b611022565b60405161049f919061357a565b60405180910390f35b3480156104b457600080fd5b506104bd6110db565b005b3480156104cb57600080fd5b506104d4611163565b6040516104e1919061357a565b60405180910390f35b61050460048036038101906104ff9190612f46565b611169565b005b34801561051257600080fd5b5061051b61120f565b6040516105289190613311565b60405180910390f35b34801561053d57600080fd5b5061055860048036038101906105539190612f19565b611239565b005b34801561056657600080fd5b5061056f6112bf565b60405161057c91906133d8565b60405180910390f35b34801561059157600080fd5b5061059a611351565b6040516105a7919061357a565b60405180910390f35b3480156105bc57600080fd5b506105d760048036038101906105d29190612df2565b611357565b005b3480156105e557600080fd5b5061060060048036038101906105fb9190612d6f565b6114cf565b005b34801561060e57600080fd5b5061062960048036038101906106249190612f19565b611542565b005b34801561063757600080fd5b50610652600480360381019061064d9190612f19565b6115c8565b60405161065f91906133d8565b60405180910390f35b34801561067457600080fd5b5061067d611667565b005b34801561068b57600080fd5b5061069461170f565b6040516106a1919061357a565b60405180910390f35b6106c460048036038101906106bf9190612f19565b611715565b005b3480156106d257600080fd5b506106ed60048036038101906106e89190612cdc565b611770565b6040516106fa9190613378565b60405180910390f35b34801561070f57600080fd5b5061072a60048036038101906107259190612caf565b611804565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107b75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107cd9061381b565b80601f01602080910402602001604051908101604052809291908181526020018280546107f99061381b565b80156108465780601f1061081b57610100808354040283529160200191610846565b820191906000526020600020905b81548152906001019060200180831161082957829003601f168201915b5050505050905090565b600061085b826118fc565b610891576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d78261195b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561093f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661095e611a29565b73ffffffffffffffffffffffffffffffffffffffff16146109c15761098a81610985611a29565b611770565b6109c0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60096000610a7f611a31565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610b0b5750610ad5611a31565b73ffffffffffffffffffffffffffffffffffffffff16610af361120f565b73ffffffffffffffffffffffffffffffffffffffff16145b610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b419061355a565b60405180910390fd5b610b548282611a39565b5050565b6000610b62611a9e565b6001546000540303905090565b610b7a838383611aa3565b505050565b610b87611a31565b73ffffffffffffffffffffffffffffffffffffffff16610ba561120f565b73ffffffffffffffffffffffffffffffffffffffff1614610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf29061351a565b60405180910390fd5b8181600f9190610c0c929190612a87565b505050565b610c19611a31565b73ffffffffffffffffffffffffffffffffffffffff16610c3761120f565b73ffffffffffffffffffffffffffffffffffffffff1614610c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c849061351a565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b610cc1611a31565b73ffffffffffffffffffffffffffffffffffffffff16610cdf61120f565b73ffffffffffffffffffffffffffffffffffffffff1614610d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2c9061351a565b60405180910390fd5b610d3d611a31565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610d82573d6000803e3d6000fd5b50565b610da0838383604051806020016040528060008152506114cf565b505050565b610dad611a31565b73ffffffffffffffffffffffffffffffffffffffff16610dcb61120f565b73ffffffffffffffffffffffffffffffffffffffff1614610e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e189061351a565b60405180910390fd5b80600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f55a5194bc0174fcaf12b2978bef43911466bf63b34db8d1dd1a0d5dcd5c41bea82604051610ebe9190613378565b60405180910390a25050565b6000610ed58261195b565b9050919050565b610ee4611a31565b73ffffffffffffffffffffffffffffffffffffffff16610f0261120f565b73ffffffffffffffffffffffffffffffffffffffff1614610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f9061351a565b60405180910390fd5b80600d60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610fa4611a31565b73ffffffffffffffffffffffffffffffffffffffff16610fc261120f565b73ffffffffffffffffffffffffffffffffffffffff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f9061351a565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561108a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6110e3611a31565b73ffffffffffffffffffffffffffffffffffffffff1661110161120f565b73ffffffffffffffffffffffffffffffffffffffff1614611157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114e9061351a565b60405180910390fd5b6111616000611e4d565b565b600c5481565b600d60019054906101000a900460ff166111b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111af906134ba565b60405180910390fd5b6111c28282611f13565b611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f8906134fa565b60405180910390fd5b61120a83611fe9565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611241611a31565b73ffffffffffffffffffffffffffffffffffffffff1661125f61120f565b73ffffffffffffffffffffffffffffffffffffffff16146112b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ac9061351a565b60405180910390fd5b80600a8190555050565b6060600380546112ce9061381b565b80601f01602080910402602001604051908101604052809291908181526020018280546112fa9061381b565b80156113475780601f1061131c57610100808354040283529160200191611347565b820191906000526020600020905b81548152906001019060200180831161132a57829003601f168201915b5050505050905090565b600a5481565b61135f611a29565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113c4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006113d1611a29565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661147e611a29565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114c39190613378565b60405180910390a35050565b6114da848484611aa3565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461153c57611505848484846120d1565b61153b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61154a611a31565b73ffffffffffffffffffffffffffffffffffffffff1661156861120f565b73ffffffffffffffffffffffffffffffffffffffff16146115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b59061351a565b60405180910390fd5b80600c8190555050565b60606115d3826118fc565b611609576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611613612231565b9050600081511415611634576040518060200160405280600081525061165f565b8061163e846122c3565b60405160200161164f9291906132be565b6040516020818303038152906040525b915050919050565b61166f611a31565b73ffffffffffffffffffffffffffffffffffffffff1661168d61120f565b73ffffffffffffffffffffffffffffffffffffffff16146116e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116da9061351a565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b600b5481565b600d60009054906101000a900460ff16611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b906134ba565b60405180910390fd5b61176d81611fe9565b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61180c611a31565b73ffffffffffffffffffffffffffffffffffffffff1661182a61120f565b73ffffffffffffffffffffffffffffffffffffffff1614611880576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118779061351a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e79061343a565b60405180910390fd5b6118f981611e4d565b50565b600081611907611a9e565b11158015611916575060005482105b8015611954575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061196a611a9e565b116119f2576000548110156119f15760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156119ef575b60008114156119e55760046000836001900393508381526020019081526020016000205490506119ba565b8092505050611a24565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b600b54611a44610b58565b82611a4f9190613639565b1115611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a879061353a565b60405180910390fd5b611a9a828261231d565b5050565b600090565b6000611aae8261195b565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b15576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611b36611a29565b73ffffffffffffffffffffffffffffffffffffffff161480611b655750611b6485611b5f611a29565b611770565b5b80611baa5750611b73611a29565b73ffffffffffffffffffffffffffffffffffffffff16611b9284610850565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611be3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c4a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c5785858560016124f1565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611d54866124f7565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611dde576000600184019050600060046000838152602001908152602001600020541415611ddc576000548114611ddb578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e468585856001612501565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611fca611f80611f5c611a31565b604051602001611f6c91906132a3565b604051602081830303815290604052612507565b85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612542565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600c548111158015611ffb5750600081115b61203a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120319061345a565b60405180910390fd5b60008061204d612048611a31565b611022565b1461205957600061205c565b60015b60ff169050808261206d919061371a565b600a5461207a91906136c0565b3410156120bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b39061347a565b60405180910390fd5b6120cd6120c7611a31565b83611a39565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120f7611a29565b8786866040518563ffffffff1660e01b8152600401612119949392919061332c565b602060405180830381600087803b15801561213357600080fd5b505af192505050801561216457506040513d601f19601f820116820180604052508101906121619190612e9f565b60015b6121de573d8060008114612194576040519150601f19603f3d011682016040523d82523d6000602084013e612199565b606091505b506000815114156121d6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f80546122409061381b565b80601f016020809104026020016040519081016040528092919081815260200182805461226c9061381b565b80156122b95780601f1061228e576101008083540402835291602001916122b9565b820191906000526020600020905b81548152906001019060200180831161229c57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561230957600183039250600a81066030018353600a810490506122e9565b508181036020830392508083525050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561238a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156123c5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123d260008483856124f1565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161243760018414612569565b901b60a042901b612447856124f7565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061246d578160008190555050506124ec6000848385612501565b505050565b50505050565b6000819050919050565b50505050565b60006125138251612573565b826040516020016125259291906132e2565b604051602081830303815290604052805190602001209050919050565b600080600061255185856126d4565b9150915061255e81612757565b819250505092915050565b6000819050919050565b606060008214156125bb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126cf565b600082905060005b600082146125ed5780806125d69061387e565b915050600a826125e6919061368f565b91506125c3565b60008167ffffffffffffffff81111561260957612608613a07565b5b6040519080825280601f01601f19166020018201604052801561263b5781602001600182028036833780820191505090505b5090505b600085146126c857600182612654919061371a565b9150600a8561266391906138eb565b603061266f9190613639565b60f81b818381518110612685576126846139d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126c1919061368f565b945061263f565b8093505050505b919050565b6000806041835114156127165760008060006020860151925060408601519150606086015160001a905061270a8782858561292c565b94509450505050612750565b60408351141561274757600080602085015191506040850151905061273c868383612a39565b935093505050612750565b60006002915091505b9250929050565b6000600481111561276b5761276a61397a565b5b81600481111561277e5761277d61397a565b5b141561278957612929565b6001600481111561279d5761279c61397a565b5b8160048111156127b0576127af61397a565b5b14156127f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e8906133fa565b60405180910390fd5b600260048111156128055761280461397a565b5b8160048111156128185761281761397a565b5b1415612859576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128509061341a565b60405180910390fd5b6003600481111561286d5761286c61397a565b5b8160048111156128805761287f61397a565b5b14156128c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b89061349a565b60405180910390fd5b6004808111156128d4576128d361397a565b5b8160048111156128e7576128e661397a565b5b1415612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291f906134da565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612967576000600391509150612a30565b601b8560ff161415801561297f5750601c8560ff1614155b15612991576000600491509150612a30565b6000600187878787604051600081526020016040526040516129b69493929190613393565b6020604051602081039080840390855afa1580156129d8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a2757600060019250925050612a30565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612a798782888561292c565b935093505050935093915050565b828054612a939061381b565b90600052602060002090601f016020900481019282612ab55760008555612afc565b82601f10612ace57803560ff1916838001178555612afc565b82800160010185558215612afc579182015b82811115612afb578235825591602001919060010190612ae0565b5b509050612b099190612b0d565b5090565b5b80821115612b26576000816000905550600101612b0e565b5090565b6000612b3d612b38846135ba565b613595565b905082815260208101848484011115612b5957612b58613a45565b5b612b648482856137d9565b509392505050565b600081359050612b7b81613d45565b92915050565b600081359050612b9081613d5c565b92915050565b600081359050612ba581613d73565b92915050565b600081519050612bba81613d73565b92915050565b60008083601f840112612bd657612bd5613a3b565b5b8235905067ffffffffffffffff811115612bf357612bf2613a36565b5b602083019150836001820283011115612c0f57612c0e613a40565b5b9250929050565b600082601f830112612c2b57612c2a613a3b565b5b8135612c3b848260208601612b2a565b91505092915050565b60008083601f840112612c5a57612c59613a3b565b5b8235905067ffffffffffffffff811115612c7757612c76613a36565b5b602083019150836001820283011115612c9357612c92613a40565b5b9250929050565b600081359050612ca981613d8a565b92915050565b600060208284031215612cc557612cc4613a4f565b5b6000612cd384828501612b6c565b91505092915050565b60008060408385031215612cf357612cf2613a4f565b5b6000612d0185828601612b6c565b9250506020612d1285828601612b6c565b9150509250929050565b600080600060608486031215612d3557612d34613a4f565b5b6000612d4386828701612b6c565b9350506020612d5486828701612b6c565b9250506040612d6586828701612c9a565b9150509250925092565b60008060008060808587031215612d8957612d88613a4f565b5b6000612d9787828801612b6c565b9450506020612da887828801612b6c565b9350506040612db987828801612c9a565b925050606085013567ffffffffffffffff811115612dda57612dd9613a4a565b5b612de687828801612c16565b91505092959194509250565b60008060408385031215612e0957612e08613a4f565b5b6000612e1785828601612b6c565b9250506020612e2885828601612b81565b9150509250929050565b60008060408385031215612e4957612e48613a4f565b5b6000612e5785828601612b6c565b9250506020612e6885828601612c9a565b9150509250929050565b600060208284031215612e8857612e87613a4f565b5b6000612e9684828501612b96565b91505092915050565b600060208284031215612eb557612eb4613a4f565b5b6000612ec384828501612bab565b91505092915050565b60008060208385031215612ee357612ee2613a4f565b5b600083013567ffffffffffffffff811115612f0157612f00613a4a565b5b612f0d85828601612c44565b92509250509250929050565b600060208284031215612f2f57612f2e613a4f565b5b6000612f3d84828501612c9a565b91505092915050565b600080600060408486031215612f5f57612f5e613a4f565b5b6000612f6d86828701612c9a565b935050602084013567ffffffffffffffff811115612f8e57612f8d613a4a565b5b612f9a86828701612bc0565b92509250509250925092565b612faf8161374e565b82525050565b612fc6612fc18261374e565b6138c7565b82525050565b612fd581613760565b82525050565b612fe48161376c565b82525050565b6000612ff5826135eb565b612fff8185613601565b935061300f8185602086016137e8565b61301881613a54565b840191505092915050565b600061302e826135eb565b6130388185613612565b93506130488185602086016137e8565b80840191505092915050565b600061305f826135f6565b613069818561361d565b93506130798185602086016137e8565b61308281613a54565b840191505092915050565b6000613098826135f6565b6130a2818561362e565b93506130b28185602086016137e8565b80840191505092915050565b60006130cb60188361361d565b91506130d682613a72565b602082019050919050565b60006130ee601f8361361d565b91506130f982613a9b565b602082019050919050565b600061311160268361361d565b915061311c82613ac4565b604082019050919050565b600061313460248361361d565b915061313f82613b13565b604082019050919050565b600061315760168361361d565b915061316282613b62565b602082019050919050565b600061317a60228361361d565b915061318582613b8b565b604082019050919050565b600061319d600c8361361d565b91506131a882613bda565b602082019050919050565b60006131c060228361361d565b91506131cb82613c03565b604082019050919050565b60006131e360188361361d565b91506131ee82613c52565b602082019050919050565b600061320660208361361d565b915061321182613c7b565b602082019050919050565b6000613229601a8361362e565b915061323482613ca4565b601a82019050919050565b600061324c60218361361d565b915061325782613ccd565b604082019050919050565b600061326f601d8361361d565b915061327a82613d1c565b602082019050919050565b61328e816137c2565b82525050565b61329d816137cc565b82525050565b60006132af8284612fb5565b60148201915081905092915050565b60006132ca828561308d565b91506132d6828461308d565b91508190509392505050565b60006132ed8261321c565b91506132f9828561308d565b91506133058284613023565b91508190509392505050565b60006020820190506133266000830184612fa6565b92915050565b60006080820190506133416000830187612fa6565b61334e6020830186612fa6565b61335b6040830185613285565b818103606083015261336d8184612fea565b905095945050505050565b600060208201905061338d6000830184612fcc565b92915050565b60006080820190506133a86000830187612fdb565b6133b56020830186613294565b6133c26040830185612fdb565b6133cf6060830184612fdb565b95945050505050565b600060208201905081810360008301526133f28184613054565b905092915050565b60006020820190508181036000830152613413816130be565b9050919050565b60006020820190508181036000830152613433816130e1565b9050919050565b6000602082019050818103600083015261345381613104565b9050919050565b6000602082019050818103600083015261347381613127565b9050919050565b600060208201905081810360008301526134938161314a565b9050919050565b600060208201905081810360008301526134b38161316d565b9050919050565b600060208201905081810360008301526134d381613190565b9050919050565b600060208201905081810360008301526134f3816131b3565b9050919050565b60006020820190508181036000830152613513816131d6565b9050919050565b60006020820190508181036000830152613533816131f9565b9050919050565b600060208201905081810360008301526135538161323f565b9050919050565b6000602082019050818103600083015261357381613262565b9050919050565b600060208201905061358f6000830184613285565b92915050565b600061359f6135b0565b90506135ab828261384d565b919050565b6000604051905090565b600067ffffffffffffffff8211156135d5576135d4613a07565b5b6135de82613a54565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613644826137c2565b915061364f836137c2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136845761368361391c565b5b828201905092915050565b600061369a826137c2565b91506136a5836137c2565b9250826136b5576136b461394b565b5b828204905092915050565b60006136cb826137c2565b91506136d6836137c2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561370f5761370e61391c565b5b828202905092915050565b6000613725826137c2565b9150613730836137c2565b9250828210156137435761374261391c565b5b828203905092915050565b6000613759826137a2565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156138065780820151818401526020810190506137eb565b83811115613815576000848401525b50505050565b6000600282049050600182168061383357607f821691505b60208210811415613847576138466139a9565b5b50919050565b61385682613a54565b810181811067ffffffffffffffff8211171561387557613874613a07565b5b80604052505050565b6000613889826137c2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138bc576138bb61391c565b5b600182019050919050565b60006138d2826138d9565b9050919050565b60006138e482613a65565b9050919050565b60006138f6826137c2565b9150613901836137c2565b9250826139115761391061394b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5452414e53414354494f4e3a20717479206f66206d696e7473206e6f7420616c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f73746f726520636c6f7365640000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f61646472657373206e6f7420696e2077686974656c6973740000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a000000000000600082015250565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b7f41646d696e3a2063616c6c6572206973206e6f7420616e2061646d696e000000600082015250565b613d4e8161374e565b8114613d5957600080fd5b50565b613d6581613760565b8114613d7057600080fd5b50565b613d7c81613776565b8114613d8757600080fd5b50565b613d93816137c2565b8114613d9e57600080fd5b5056fea264697066735822122096574d4eefb250592c823ee0aea0c6cd37dfce1eabd68e2cbad15f07a048565864736f6c63430008060033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.