ERC-721
Overview
Max Total Supply
4,200 KEK
Holders
617
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
43 KEKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Kekverse
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.4; import "./ERC721A.sol"; import {DefaultOperatorFilterer} from "./DefaultOperatorFilterer.sol"; // .,,,.. // .,,,,,,,,7 .,,,. // .,,.,,,,.,. I,,,,,,,I // .,,,,,,,,.,. ,,.,,,.,. // ?,,.,,,,.=IIIIIIIII. 7.IIIIII~..,,,,,, // .,,..IIIIIIIIIIIIIII, 7.IIIIIIIIIIIII.,.,: // .IIIIIIIIIIIIIIIIIII.?IIIIIIIIIIIIIII. // 7IIIIIIIIIIIIIIIIIIIIII.?IIIIIIIIIIIIIII, // IIIIIIIIIIIIIIIIIIIIIIII.??IIIIIIIIIIIII.~.? // .IIIIII??=...,,,,,,,,,,,,..??IIIIIIIIIIIIIIIII? // .IIIII:,,,,,,,.,,,,,,,,,..,,????..,,,,,,,,..~??II // 7IIIIII+,,,,,.,,,,,....,,,,,,,.,,,,,,.......,,,,,,,,. // IIIIII.,,,,,,,.~~.....=~77I+..,.?7~=....7.=.777II..,,7 // .IIIIIIII:.....7~==...7?.7777777,I7.~=.?.7..777777777. // :IIIIIIIIIIIIIIIIIII.....=I77?..I.,,,.................. // .IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII:........,IIIIIIIII7 // 7IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII~ // 7?IIIIIIIIIIIIIIIIIIIIIIIIIIIIIII?......IIIIIIIIIIIIII. // .?IIIIIIIIIIIIIIIIIIIIIIIIIIIII.,,:....::,.IIIIIIIIII.7 // .?IIIIIIIIIIIIIIIIIIIIIIIIIIII.,::,....,::,.IIIIIIIII. // .??IIIIIIIIIIIIIIIIIIIIIIIIII.,::::,,,:::::,.IIIII??. // .???IIIIIIIIIIIIIIIIIIIIIIIIII,:::.,,,,::::,.IIIII?I // 7???IIIIIIIIIIIIIIIIIIIIIIIIII,,::::::::::,.IIIIII?I // ????IIIIIIIIIIIIIIIIIIIIIIIIIII.,,:,,,,,.~IIIIIII?. // II????IIIIIIIIIIIIIIIIIIIIIIIIIIIIII?IIIIIIIIIII?I7 // II????IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII?I. // 7.?????IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII?. // 7.??+.I???????IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII~ // 7.???????????~..........+IIIIIIIIIIIIIIIIIII?.7 // 7:IIIIIIIIIII???????????????????????~......????I. // .IIIIIIIIIIIIIIIIIIIIIIIIII?????????????????IIIII~ // .IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII~ // IIIIIIII?IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII. // .IIIIIII?:?IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII??IIIIIII7 // ,IIIIIII?.?IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII?.?IIIIII.7 // .IIIIII??+?IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII???IIIIII.7 // ___ ____ ________ ___ ____ ____ ____ ________ _______ ______ ________ // |_ ||_ _| |_ __ ||_ ||_ _||_ _| |_ _||_ __ ||_ __ \ .' ____ \ |_ __ | // | |_/ / | |_ \_| | |_/ / \ \ / / | |_ \_| | |__) | | (___ \_| | |_ \_| // | __'. | _| _ | __'. \ \ / / | _| _ | __ / _.____`. | _| _ // _| | \ \_ _| |__/ | _| | \ \_ \ ' / _| |__/ | _| | \ \_| \____) | _| |__/ | // |____||____||________||____||____| \_/ |________||____| |___|\______.'|________| v 1.1 // // https://kekverse.io/ // Created and drawn by Based Pleb - https://twitter.com/Based_Pleb // Tech stuff by Mr F - https://twitter.com/MrFwashere // Reluctantly redeployed thanks to OpenSea... contract Kekverse is ERC721A, DefaultOperatorFilterer { string public baseURI; uint128 public offsetBlock; uint128 public offset; uint constant supply = 4200; uint constant kekPrice = 0.02 ether; uint constant plebPrice = 0.025 ether; uint publicPrice = 0.03 ether; // might be lowered uint public immutable publicMint; address immutable basedPleb; address immutable mrF; bool public airdropUsed; mapping(address => bool) public earlyMinted; constructor(string memory _uri, address _pleb, address _mrF) ERC721A("Kekverse", "KEK") { baseURI = _uri; basedPleb = _pleb; mrF = _mrF; publicMint = block.timestamp + 72 hours; // WL mint begins at deployment, public 72h later } function airdrop(address _oldKek) public { require(!airdropUsed); require(msg.sender == mrF); uint num = IERC721A(_oldKek).totalSupply(); uint count = 1; address owner = IERC721A(_oldKek).ownerOf(1); for (uint i = 2; i <= num; i++) { address oldOwner = IERC721A(_oldKek).ownerOf(i); if (oldOwner != owner) { _mint(owner, count); earlyMinted[owner] = true; count = 0; owner = oldOwner; } count = count + 1; } _mint(owner, count); earlyMinted[owner] = true; airdropUsed = true; } function lowerPrice(uint _price) public { // LAST RESORT require(msg.sender == basedPleb); require(_price < publicPrice); // price cannot go up require(block.timestamp > publicMint + 120 hours); // 7 days after deployment, 5 days after public publicPrice = _price; } function withdraw() public { uint bal = address(this).balance; uint pleb = bal * 84 / 100; basedPleb.call{value: pleb}(""); mrF.call{value: bal - pleb}(""); } function setBaseURI(string memory _uri) external { require(msg.sender == basedPleb); baseURI = _uri; } function initOffset() public { require(msg.sender == basedPleb || msg.sender == mrF); require(super.totalSupply() == supply); offsetBlock = uint128(block.number) + 1; } function finalizeOffset() external { uint128 _offset = offset; require(_offset == 0, "Starting index is already set"); require(offsetBlock != 0, "Starting index block must be set"); require(block.number - offsetBlock < 255, "Must re-init"); _offset = uint128(uint256(blockhash(offsetBlock)) % supply); // Prevent default sequence if (_offset == 0) { _offset = 1; } offset = _offset; } // minting logic function mint(uint num) public payable { require(msg.value == publicPrice * num); require(block.timestamp >= publicMint); uint tokenId = super.totalSupply(); require(tokenId <= supply); if (tokenId + num > supply) { uint remaining = supply - tokenId; uint excess = num - remaining; _mint(msg.sender, remaining); payable(msg.sender).transfer(excess * publicPrice); // refund } else { _mint(msg.sender, num); } } function mintKeklist(uint num, uint8 _v, bytes32 _r, bytes32 _s) public payable { require(airdropUsed); require(super.totalSupply() < 3000); // reserve some for public require(msg.value == kekPrice * num); require(!earlyMinted[msg.sender]); require(block.timestamp < publicMint); require(num <= 7); verify("Keklist ", _v, _r, _s); // will revert tx if fails _mint(msg.sender, num + 1); earlyMinted[msg.sender] = true; } function mintPleblist(uint num, uint8 _v, bytes32 _r, bytes32 _s) public payable { require(airdropUsed); require(super.totalSupply() < 3000); // reserve some for public require(msg.value == plebPrice * num); require(!earlyMinted[msg.sender]); require(block.timestamp < publicMint); require(num <= 5); verify("Pleblist ", _v, _r, _s); // will revert tx if fails if (num >= 3) { _mint(msg.sender, num + 1); } else { _mint(msg.sender, num); } earlyMinted[msg.sender] = true; } function verify(string memory _type, uint8 _v, bytes32 _r, bytes32 _s) internal view { // Confirm the hash was signed by admin bytes memory prefix = "\x19Ethereum Signed Message:\n32"; string memory checkMessage = string(abi.encodePacked(_type, toString(msg.sender))); bytes32 checkHash = keccak256(abi.encodePacked(checkMessage)); bytes memory message = abi.encodePacked(prefix, checkHash); bytes32 prefixedHash = keccak256(message); address recoveredAddress = ecrecover(prefixedHash, _v, _r, _s); require(recoveredAddress == mrF, string(abi.encodePacked("Recovered address was ", recoveredAddress))); } // ERC712 things function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); if (offset == 0) { return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(0))) : ''; // token 0 is unrevealed metadata } return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(((tokenId + offset) % supply) + 1))) : ''; } function _baseURI() internal view override returns (string memory) { return baseURI; } // token id should start at 1, obviously function _startTokenId() internal pure override returns (uint256) { return 1; } // misc function toString(address account) public pure returns (string memory) { return toString(abi.encodePacked(account)); } function toString(uint256 value) public pure returns (string memory) { return toString(abi.encodePacked(value)); } function toString(bytes memory data) public pure returns (string memory) { bytes memory alphabet = "0123456789abcdef"; bytes memory str = new bytes(2 + data.length * 2); str[0] = "0"; str[1] = "x"; for (uint i = 0; i < data.length; i++) { str[2 + i * 2] = alphabet[uint(uint8(data[i] >> 4))]; str[3 + i * 2] = alphabet[uint(uint8(data[i] & 0x0f))]; } return string(str); } // opensea garbage function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // 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 bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID 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` // - [232..255] `extraData` 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 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual 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 auxiliary 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 auxiliary 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 virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ 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: [ERC165](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. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ 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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) revert OwnerQueryForNonexistentToken(); // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; return packed; } } // Otherwise, the data exists and is not burned. We can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. return packed; } } revert OwnerQueryForNonexistentToken(); } /** * @dev 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; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // 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 `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns 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)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @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 for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, 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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck) if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @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)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // 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++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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 _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @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 virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * 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(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @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() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 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`, * 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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` 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 payable; /** * @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 payable; /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"_pleb","type":"address"},{"internalType":"address","name":"_mrF","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_oldKek","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"airdropUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"earlyMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalizeOffset","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":[],"name":"initOffset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"lowerPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"}],"name":"mintKeklist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"}],"name":"mintPleblist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offset","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offsetBlock","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"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":"publicMint","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":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","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":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"toString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"toString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"toString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052666a94d74f430000600a553480156200001c57600080fd5b5060405162004e8438038062004e848339818101604052810190620000429190620004f0565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600881526020017f4b656b76657273650000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4b454b00000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000dd929190620003b7565b508060039080519060200190620000f6929190620003b7565b5062000107620003ae60201b60201c565b600081905550505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111562000304578015620001ca576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001909291906200058d565b600060405180830381600087803b158015620001ab57600080fd5b505af1158015620001c0573d6000803e3d6000fd5b5050505062000303565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000284576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200024a9291906200058d565b600060405180830381600087803b1580156200026557600080fd5b505af11580156200027a573d6000803e3d6000fd5b5050505062000302565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002cd919062000570565b600060405180830381600087803b158015620002e857600080fd5b505af1158015620002fd573d6000803e3d6000fd5b505050505b5b5b505082600890805190602001906200031e929190620003b7565b508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b815250506203f480426200039e919062000619565b608081815250505050506200080e565b60006001905090565b828054620003c590620006ea565b90600052602060002090601f016020900481019282620003e9576000855562000435565b82601f106200040457805160ff191683800117855562000435565b8280016001018555821562000435579182015b828111156200043457825182559160200191906001019062000417565b5b50905062000444919062000448565b5090565b5b808211156200046357600081600090555060010162000449565b5090565b60006200047e6200047884620005e3565b620005ba565b9050828152602081018484840111156200049757600080fd5b620004a4848285620006b4565b509392505050565b600081519050620004bd81620007f4565b92915050565b600082601f830112620004d557600080fd5b8151620004e784826020860162000467565b91505092915050565b6000806000606084860312156200050657600080fd5b600084015167ffffffffffffffff8111156200052157600080fd5b6200052f86828701620004c3565b93505060206200054286828701620004ac565b92505060406200055586828701620004ac565b9150509250925092565b6200056a8162000676565b82525050565b60006020820190506200058760008301846200055f565b92915050565b6000604082019050620005a460008301856200055f565b620005b360208301846200055f565b9392505050565b6000620005c6620005d9565b9050620005d4828262000720565b919050565b6000604051905090565b600067ffffffffffffffff821115620006015762000600620007b4565b5b6200060c82620007e3565b9050602081019050919050565b60006200062682620006aa565b91506200063383620006aa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200066b576200066a62000756565b5b828201905092915050565b600062000683826200068a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620006d4578082015181840152602081019050620006b7565b83811115620006e4576000848401525b50505050565b600060028204905060018216806200070357607f821691505b602082108114156200071a576200071962000785565b5b50919050565b6200072b82620007e3565b810181811067ffffffffffffffff821117156200074d576200074c620007b4565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620007ff8162000676565b81146200080b57600080fd5b50565b60805160a05160601c60c05160601c6145fa6200088a60003960008181610b1e015281816110bc015281816119980152612dbb015260008181610a4301528181611033015281816112c60152611943015260008181610aad01528181610fcb01528181611af001528181611ca201526120b401526145fa6000f3fe6080604052600436106101ee5760003560e01c80636900a3ae1161010d578063a22cb465116100a0578063d55565441161006f578063d55565441461069e578063e10e9e5f146106c9578063e985e9c5146106e0578063f2ec899f1461071d578063fd5f0deb1461075a576101ee565b8063a22cb46514610600578063b88d4fde14610629578063bb1043f614610645578063c87b56dd14610661576101ee565b80637f89b5ce116100dc5780637f89b5ce1461058657806381515a491461059d57806395d89b41146105b9578063a0712d68146105e4576101ee565b80636900a3ae146104a45780636c0360eb146104e157806370a082311461050c57806371aad10d14610549576101ee565b806326092b831161018557806342842e0e1161015457806342842e0e146103e557806355f804b31461040157806356ca623e1461042a5780636352211e14610467576101ee565b806326092b831461034d57806333712143146103785780633ccfd60b146103a357806341f43434146103ba576101ee565b80630c3986e2116101c15780630c3986e2146102b457806318160ddd146102dd57806321860a051461030857806323b872dd14610331576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613822565b610785565b6040516102279190613df2565b60405180910390f35b34801561023c57600080fd5b50610245610817565b6040516102529190613e88565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d91906138f6565b6108a9565b60405161028f9190613d62565b60405180910390f35b6102b260048036038101906102ad91906137bd565b610928565b005b3480156102c057600080fd5b506102db60048036038101906102d691906138f6565b610a41565b005b3480156102e957600080fd5b506102f2610aeb565b6040516102ff9190613f25565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190613629565b610b02565b005b61034b600480360381019061034691906136b7565b610e69565b005b34801561035957600080fd5b50610362610fc9565b60405161036f9190613f25565b60405180910390f35b34801561038457600080fd5b5061038d610fed565b60405161039a9190613f0a565b60405180910390f35b3480156103af57600080fd5b506103b861100f565b005b3480156103c657600080fd5b506103cf611152565b6040516103dc9190613e52565b60405180910390f35b6103ff60048036038101906103fa91906136b7565b611164565b005b34801561040d57600080fd5b50610428600480360381019061042391906138b5565b6112c4565b005b34801561043657600080fd5b50610451600480360381019061044c9190613629565b611336565b60405161045e9190613e88565b60405180910390f35b34801561047357600080fd5b5061048e600480360381019061048991906138f6565b611367565b60405161049b9190613d62565b60405180910390f35b3480156104b057600080fd5b506104cb60048036038101906104c691906138f6565b611379565b6040516104d89190613e88565b60405180910390f35b3480156104ed57600080fd5b506104f66113aa565b6040516105039190613e88565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e9190613629565b611438565b6040516105409190613f25565b60405180910390f35b34801561055557600080fd5b50610570600480360381019061056b9190613874565b6114f1565b60405161057d9190613e88565b60405180910390f35b34801561059257600080fd5b5061059b611941565b005b6105b760048036038101906105b29190613948565b611a4b565b005b3480156105c557600080fd5b506105ce611bf5565b6040516105db9190613e88565b60405180910390f35b6105fe60048036038101906105f991906138f6565b611c87565b005b34801561060c57600080fd5b5061062760048036038101906106229190613781565b611d93565b005b610643600480360381019061063e9190613706565b611eac565b005b61065f600480360381019061065a9190613948565b61200f565b005b34801561066d57600080fd5b50610688600480360381019061068391906138f6565b6121a1565b6040516106959190613e88565b60405180910390f35b3480156106aa57600080fd5b506106b361232f565b6040516106c09190613f0a565b60405180910390f35b3480156106d557600080fd5b506106de612351565b005b3480156106ec57600080fd5b506107076004803603810190610702919061367b565b61255b565b6040516107149190613df2565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f9190613629565b6125ef565b6040516107519190613df2565b60405180910390f35b34801561076657600080fd5b5061076f61260f565b60405161077c9190613df2565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107e057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108105750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610826906142a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610852906142a4565b801561089f5780601f106108745761010080835404028352916020019161089f565b820191906000526020600020905b81548152906001019060200180831161088257829003601f168201915b5050505050905090565b60006108b482612622565b6108ea576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610a32576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016109a0929190613d7d565b60206040518083038186803b1580156109b857600080fd5b505afa1580156109cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f091906137f9565b610a3157806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610a289190613d62565b60405180910390fd5b5b610a3c8383612681565b505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a9957600080fd5b600a548110610aa757600080fd5b620697807f0000000000000000000000000000000000000000000000000000000000000000610ad69190614070565b4211610ae157600080fd5b80600a8190555050565b6000610af5612691565b6001546000540303905090565b600b60009054906101000a900460ff1615610b1c57600080fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b7457600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610bbc57600080fd5b505afa158015610bd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf4919061391f565b905060006001905060008373ffffffffffffffffffffffffffffffffffffffff16636352211e60016040518263ffffffff1660e01b8152600401610c389190613e6d565b60206040518083038186803b158015610c5057600080fd5b505afa158015610c64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c889190613652565b90506000600290505b838111610de55760008573ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610cd39190613f25565b60206040518083038186803b158015610ceb57600080fd5b505afa158015610cff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d239190613652565b90508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dc257610d62838561269a565b6001600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600093508092505b600184610dcf9190614070565b9350508080610ddd90614307565b915050610c91565b50610df0818361269a565b6001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60006101000a81548160ff02191690831515021790555050505050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610fb7573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610edc57610ed7848484612857565b610fc3565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f25929190613d7d565b60206040518083038186803b158015610f3d57600080fd5b505afa158015610f51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7591906137f9565b610fb657336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610fad9190613d62565b60405180910390fd5b5b610fc2848484612857565b5b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600960009054906101000a90046fffffffffffffffffffffffffffffffff1681565b60004790506000606460548361102591906140f7565b61102f91906140c6565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168160405161107590613d32565b60006040518083038185875af1925050503d80600081146110b2576040519150601f19603f3d011682016040523d82523d6000602084013e6110b7565b606091505b5050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1681836110fd9190614151565b60405161110990613d32565b60006040518083038185875af1925050503d8060008114611146576040519150601f19603f3d011682016040523d82523d6000602084013e61114b565b606091505b5050505050565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156112b2573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111d7576111d2848484612b7c565b6112be565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611220929190613d7d565b60206040518083038186803b15801561123857600080fd5b505afa15801561124c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127091906137f9565b6112b157336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016112a89190613d62565b60405180910390fd5b5b6112bd848484612b7c565b5b50505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461131c57600080fd5b80600890805190602001906113329291906133e4565b5050565b60606113608260405160200161134c9190613c6a565b6040516020818303038152906040526114f1565b9050919050565b600061137282612b9c565b9050919050565b60606113a38260405160200161138f9190613d47565b6040516020818303038152906040526114f1565b9050919050565b600880546113b7906142a4565b80601f01602080910402602001604051908101604052809291908181526020018280546113e3906142a4565b80156114305780601f1061140557610100808354040283529160200191611430565b820191906000526020600020905b81548152906001019060200180831161141357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114a0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b606060006040518060400160405280601081526020017f3031323334353637383961626364656600000000000000000000000000000000815250905060006002845161153d91906140f7565b60026115499190614070565b67ffffffffffffffff811115611588577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115ba5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611618577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106116a2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b845181101561193657826004868381518110611719577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c60ff1681518110611785577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b8260028361179e91906140f7565b60026117aa9190614070565b815181106117e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082600f60f81b86838151811061184f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b1660f81c60ff1681518110611898577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b826002836118b191906140f7565b60036118bd9190614070565b815181106118f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350808061192e90614307565b9150506116d4565b508092505050919050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119e657507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6119ef57600080fd5b6110686119fa610aeb565b14611a0457600080fd5b600143611a11919061402a565b600960006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550565b600b60009054906101000a900460ff16611a6457600080fd5b610bb8611a6f610aeb565b10611a7957600080fd5b836658d15e17628000611a8c91906140f7565b3414611a9757600080fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611aee57600080fd5b7f00000000000000000000000000000000000000000000000000000000000000004210611b1a57600080fd5b6005841115611b2857600080fd5b611b696040518060400160405280600981526020017f506c65626c697374200000000000000000000000000000000000000000000000815250848484612ca1565b60038410611b8c57611b8733600186611b829190614070565b61269a565b611b97565b611b96338561269a565b5b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b606060038054611c04906142a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611c30906142a4565b8015611c7d5780601f10611c5257610100808354040283529160200191611c7d565b820191906000526020600020905b815481529060010190602001808311611c6057829003601f168201915b5050505050905090565b80600a54611c9591906140f7565b3414611ca057600080fd5b7f0000000000000000000000000000000000000000000000000000000000000000421015611ccd57600080fd5b6000611cd7610aeb565b9050611068811115611ce857600080fd5b6110688282611cf79190614070565b1115611d8457600081611068611d0d9190614151565b905060008184611d1d9190614151565b9050611d29338361269a565b3373ffffffffffffffffffffffffffffffffffffffff166108fc600a5483611d5191906140f7565b9081150290604051600060405180830381858888f19350505050158015611d7c573d6000803e3d6000fd5b505050611d8f565b611d8e338361269a565b5b5050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611e9d576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611e0b929190613d7d565b60206040518083038186803b158015611e2357600080fd5b505afa158015611e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5b91906137f9565b611e9c57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611e939190613d62565b60405180910390fd5b5b611ea78383612e76565b505050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611ffb573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f2057611f1b85858585612f81565b612008565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611f69929190613d7d565b60206040518083038186803b158015611f8157600080fd5b505afa158015611f95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb991906137f9565b611ffa57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611ff19190613d62565b60405180910390fd5b5b61200785858585612f81565b5b5050505050565b600b60009054906101000a900460ff1661202857600080fd5b610bb8612033610aeb565b1061203d57600080fd5b8366470de4df82000061205091906140f7565b341461205b57600080fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156120b257600080fd5b7f000000000000000000000000000000000000000000000000000000000000000042106120de57600080fd5b60078411156120ec57600080fd5b61212d6040518060400160405280600881526020017f4b656b6c69737420000000000000000000000000000000000000000000000000815250848484612ca1565b6121433360018661213e9190614070565b61269a565b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b60606121ac82612622565b6121e2576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600960109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16141561227b5760006008805461222a906142a4565b905014156122475760405180602001604052806000815250612274565b60086122536000612ff4565b604051602001612264929190613ce8565b6040516020818303038152906040525b905061232a565b60006008805461228a906142a4565b905014156122a75760405180602001604052806000815250612327565b60086123066001611068600960109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16866122ed9190614070565b6122f79190614388565b6123019190614070565b612ff4565b604051602001612317929190613ce8565b6040516020818303038152906040525b90505b919050565b600960109054906101000a90046fffffffffffffffffffffffffffffffff1681565b6000600960109054906101000a90046fffffffffffffffffffffffffffffffff1690506000816fffffffffffffffffffffffffffffffff16146123c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c090613eaa565b60405180910390fd5b6000600960009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16141561243d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243490613eea565b60405180910390fd5b60ff600960009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff164361247b9190614151565b106124bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b290613eca565b60405180910390fd5b611068600960009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff164060001c6124fd9190614388565b90506000816fffffffffffffffffffffffffffffffff16141561251f57600190505b80600960106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c6020528060005260406000206000915054906101000a900460ff1681565b600b60009054906101000a900460ff1681565b60008161262d612691565b1115801561263c575060005482105b801561267a575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b61268d8282600161304d565b5050565b60006001905090565b60008054905060008214156126db576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126e86000848385613199565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061275f83612750600086600061319f565b612759856131c7565b176131d7565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461280057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506127c5565b50600082141561283c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506128526000848385613202565b505050565b600061286282612b9c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146128c9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806128d584613208565b915091506128eb81876128e661322f565b613237565b61293757612900866128fb61322f565b61255b565b612936576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561299e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129ab8686866001613199565b80156129b657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612a8485612a6088888761319f565b7c0200000000000000000000000000000000000000000000000000000000176131d7565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415612b0c576000600185019050600060046000838152602001908152602001600020541415612b0a576000548114612b09578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b748686866001613202565b505050505050565b612b9783838360405180602001604052806000815250611eac565b505050565b600081612ba7612691565b11612c6a576004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612c69576000811415612c64576000548210612c2e576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b60046000836001900393508381526020019081526020016000205490506000811415612c5a57612c5f565b612c9c565b612c2f565b612c9c565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60006040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152509050600085612ce733611336565b604051602001612cf8929190613cc4565b6040516020818303038152906040529050600081604051602001612d1c9190613cad565b60405160208183030381529060405280519060200120905060008382604051602001612d49929190613c85565b604051602081830303815290604052905060008180519060200120905060006001828a8a8a60405160008152602001604052604051612d8b9493929190613e0d565b6020604051602081039080840390855afa158015612dad573d6000803e3d6000fd5b5050506020604051035190507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161481604051602001612e199190613d0c565b60405160208183030381529060405290612e69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e609190613e88565b60405180910390fd5b5050505050505050505050565b8060076000612e8361322f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612f3061322f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f759190613df2565b60405180910390a35050565b612f8c848484610e69565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612fee57612fb78484848461327b565b612fed576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606060a060405101806040526020810391506000825281835b60011561303857600184039350600a81066030018453600a810490508061303357613038565b61300d565b50828103602084039350808452505050919050565b600061305883611367565b905081156130e3578073ffffffffffffffffffffffffffffffffffffffff1661307f61322f565b73ffffffffffffffffffffffffffffffffffffffff16146130e2576130ab816130a661322f565b61255b565b6130e1576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b50505050565b60008060e883901c905060e86131b68686846133db565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132a161322f565b8786866040518563ffffffff1660e01b81526004016132c39493929190613da6565b602060405180830381600087803b1580156132dd57600080fd5b505af192505050801561330e57506040513d601f19601f8201168201806040525081019061330b919061384b565b60015b613388573d806000811461333e576040519150601f19603f3d011682016040523d82523d6000602084013e613343565b606091505b50600081511415613380576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b8280546133f0906142a4565b90600052602060002090601f0160209004810192826134125760008555613459565b82601f1061342b57805160ff1916838001178555613459565b82800160010185558215613459579182015b8281111561345857825182559160200191906001019061343d565b5b509050613466919061346a565b5090565b5b8082111561348357600081600090555060010161346b565b5090565b600061349a61349584613f65565b613f40565b9050828152602081018484840111156134b257600080fd5b6134bd848285614262565b509392505050565b60006134d86134d384613f96565b613f40565b9050828152602081018484840111156134f057600080fd5b6134fb848285614262565b509392505050565b6000813590506135128161453a565b92915050565b6000815190506135278161453a565b92915050565b60008135905061353c81614551565b92915050565b60008151905061355181614551565b92915050565b60008135905061356681614568565b92915050565b60008135905061357b8161457f565b92915050565b6000815190506135908161457f565b92915050565b600082601f8301126135a757600080fd5b81356135b7848260208601613487565b91505092915050565b600082601f8301126135d157600080fd5b81356135e18482602086016134c5565b91505092915050565b6000813590506135f981614596565b92915050565b60008151905061360e81614596565b92915050565b600081359050613623816145ad565b92915050565b60006020828403121561363b57600080fd5b600061364984828501613503565b91505092915050565b60006020828403121561366457600080fd5b600061367284828501613518565b91505092915050565b6000806040838503121561368e57600080fd5b600061369c85828601613503565b92505060206136ad85828601613503565b9150509250929050565b6000806000606084860312156136cc57600080fd5b60006136da86828701613503565b93505060206136eb86828701613503565b92505060406136fc868287016135ea565b9150509250925092565b6000806000806080858703121561371c57600080fd5b600061372a87828801613503565b945050602061373b87828801613503565b935050604061374c878288016135ea565b925050606085013567ffffffffffffffff81111561376957600080fd5b61377587828801613596565b91505092959194509250565b6000806040838503121561379457600080fd5b60006137a285828601613503565b92505060206137b38582860161352d565b9150509250929050565b600080604083850312156137d057600080fd5b60006137de85828601613503565b92505060206137ef858286016135ea565b9150509250929050565b60006020828403121561380b57600080fd5b600061381984828501613542565b91505092915050565b60006020828403121561383457600080fd5b60006138428482850161356c565b91505092915050565b60006020828403121561385d57600080fd5b600061386b84828501613581565b91505092915050565b60006020828403121561388657600080fd5b600082013567ffffffffffffffff8111156138a057600080fd5b6138ac84828501613596565b91505092915050565b6000602082840312156138c757600080fd5b600082013567ffffffffffffffff8111156138e157600080fd5b6138ed848285016135c0565b91505092915050565b60006020828403121561390857600080fd5b6000613916848285016135ea565b91505092915050565b60006020828403121561393157600080fd5b600061393f848285016135ff565b91505092915050565b6000806000806080858703121561395e57600080fd5b600061396c878288016135ea565b945050602061397d87828801613614565b935050604061398e87828801613557565b925050606061399f87828801613557565b91505092959194509250565b6139b481614185565b82525050565b6139cb6139c682614185565b614350565b82525050565b6139da81614197565b82525050565b6139e9816141a3565b82525050565b613a006139fb826141a3565b614362565b82525050565b6000613a1182613fdc565b613a1b8185613ff2565b9350613a2b818560208601614271565b613a3481614475565b840191505092915050565b6000613a4a82613fdc565b613a548185614003565b9350613a64818560208601614271565b80840191505092915050565b613a798161422c565b82525050565b613a8881614250565b82525050565b6000613a9982613fe7565b613aa3818561400e565b9350613ab3818560208601614271565b613abc81614475565b840191505092915050565b6000613ad282613fe7565b613adc818561401f565b9350613aec818560208601614271565b80840191505092915050565b60008154613b05816142a4565b613b0f818661401f565b94506001821660008114613b2a5760018114613b3b57613b6e565b60ff19831686528186019350613b6e565b613b4485613fc7565b60005b83811015613b6657815481890152600182019150602081019050613b47565b838801955050505b50505092915050565b6000613b84601d8361400e565b9150613b8f82614493565b602082019050919050565b6000613ba760168361401f565b9150613bb2826144bc565b601682019050919050565b6000613bca600c8361400e565b9150613bd5826144e5565b602082019050919050565b6000613bed60208361400e565b9150613bf88261450e565b602082019050919050565b6000613c10600083614003565b9150613c1b82614537565b600082019050919050565b613c2f816141d9565b82525050565b613c3e81614215565b82525050565b613c55613c5082614215565b61437e565b82525050565b613c648161421f565b82525050565b6000613c7682846139ba565b60148201915081905092915050565b6000613c918285613a3f565b9150613c9d82846139ef565b6020820191508190509392505050565b6000613cb98284613ac7565b915081905092915050565b6000613cd08285613ac7565b9150613cdc8284613ac7565b91508190509392505050565b6000613cf48285613af8565b9150613d008284613ac7565b91508190509392505050565b6000613d1782613b9a565b9150613d2382846139ba565b60148201915081905092915050565b6000613d3d82613c03565b9150819050919050565b6000613d538284613c44565b60208201915081905092915050565b6000602082019050613d7760008301846139ab565b92915050565b6000604082019050613d9260008301856139ab565b613d9f60208301846139ab565b9392505050565b6000608082019050613dbb60008301876139ab565b613dc860208301866139ab565b613dd56040830185613c35565b8181036060830152613de78184613a06565b905095945050505050565b6000602082019050613e0760008301846139d1565b92915050565b6000608082019050613e2260008301876139e0565b613e2f6020830186613c5b565b613e3c60408301856139e0565b613e4960608301846139e0565b95945050505050565b6000602082019050613e676000830184613a70565b92915050565b6000602082019050613e826000830184613a7f565b92915050565b60006020820190508181036000830152613ea28184613a8e565b905092915050565b60006020820190508181036000830152613ec381613b77565b9050919050565b60006020820190508181036000830152613ee381613bbd565b9050919050565b60006020820190508181036000830152613f0381613be0565b9050919050565b6000602082019050613f1f6000830184613c26565b92915050565b6000602082019050613f3a6000830184613c35565b92915050565b6000613f4a613f5b565b9050613f5682826142d6565b919050565b6000604051905090565b600067ffffffffffffffff821115613f8057613f7f614446565b5b613f8982614475565b9050602081019050919050565b600067ffffffffffffffff821115613fb157613fb0614446565b5b613fba82614475565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614035826141d9565b9150614040836141d9565b9250826fffffffffffffffffffffffffffffffff03821115614065576140646143b9565b5b828201905092915050565b600061407b82614215565b915061408683614215565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140bb576140ba6143b9565b5b828201905092915050565b60006140d182614215565b91506140dc83614215565b9250826140ec576140eb6143e8565b5b828204905092915050565b600061410282614215565b915061410d83614215565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614146576141456143b9565b5b828202905092915050565b600061415c82614215565b915061416783614215565b92508282101561417a576141796143b9565b5b828203905092915050565b6000614190826141f5565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006142378261423e565b9050919050565b6000614249826141f5565b9050919050565b600061425b82614215565b9050919050565b82818337600083830152505050565b60005b8381101561428f578082015181840152602081019050614274565b8381111561429e576000848401525b50505050565b600060028204905060018216806142bc57607f821691505b602082108114156142d0576142cf614417565b5b50919050565b6142df82614475565b810181811067ffffffffffffffff821117156142fe576142fd614446565b5b80604052505050565b600061431282614215565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614345576143446143b9565b5b600182019050919050565b600061435b8261436c565b9050919050565b6000819050919050565b600061437782614486565b9050919050565b6000819050919050565b600061439382614215565b915061439e83614215565b9250826143ae576143ad6143e8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f5265636f76657265642061646472657373207761732000000000000000000000600082015250565b7f4d7573742072652d696e69740000000000000000000000000000000000000000600082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b50565b61454381614185565b811461454e57600080fd5b50565b61455a81614197565b811461456557600080fd5b50565b614571816141a3565b811461457c57600080fd5b50565b614588816141ad565b811461459357600080fd5b50565b61459f81614215565b81146145aa57600080fd5b50565b6145b68161421f565b81146145c157600080fd5b5056fea26469706673582212207df057d83cc5ced8e7e533dda4d5ccb78736a47979ce7caa1ac00b5dcce2417164736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000600000000000000000000000001d2df18f8d2b1877ceb452851cba9d91512a9efb00000000000000000000000038857ed3a8fc5951289e58e20fb56a00e88f0bbd000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d4e784a3445355835385855674d514e466a393142335a50703234564d6b53694b726b507541703469644848692f00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c80636900a3ae1161010d578063a22cb465116100a0578063d55565441161006f578063d55565441461069e578063e10e9e5f146106c9578063e985e9c5146106e0578063f2ec899f1461071d578063fd5f0deb1461075a576101ee565b8063a22cb46514610600578063b88d4fde14610629578063bb1043f614610645578063c87b56dd14610661576101ee565b80637f89b5ce116100dc5780637f89b5ce1461058657806381515a491461059d57806395d89b41146105b9578063a0712d68146105e4576101ee565b80636900a3ae146104a45780636c0360eb146104e157806370a082311461050c57806371aad10d14610549576101ee565b806326092b831161018557806342842e0e1161015457806342842e0e146103e557806355f804b31461040157806356ca623e1461042a5780636352211e14610467576101ee565b806326092b831461034d57806333712143146103785780633ccfd60b146103a357806341f43434146103ba576101ee565b80630c3986e2116101c15780630c3986e2146102b457806318160ddd146102dd57806321860a051461030857806323b872dd14610331576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613822565b610785565b6040516102279190613df2565b60405180910390f35b34801561023c57600080fd5b50610245610817565b6040516102529190613e88565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d91906138f6565b6108a9565b60405161028f9190613d62565b60405180910390f35b6102b260048036038101906102ad91906137bd565b610928565b005b3480156102c057600080fd5b506102db60048036038101906102d691906138f6565b610a41565b005b3480156102e957600080fd5b506102f2610aeb565b6040516102ff9190613f25565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190613629565b610b02565b005b61034b600480360381019061034691906136b7565b610e69565b005b34801561035957600080fd5b50610362610fc9565b60405161036f9190613f25565b60405180910390f35b34801561038457600080fd5b5061038d610fed565b60405161039a9190613f0a565b60405180910390f35b3480156103af57600080fd5b506103b861100f565b005b3480156103c657600080fd5b506103cf611152565b6040516103dc9190613e52565b60405180910390f35b6103ff60048036038101906103fa91906136b7565b611164565b005b34801561040d57600080fd5b50610428600480360381019061042391906138b5565b6112c4565b005b34801561043657600080fd5b50610451600480360381019061044c9190613629565b611336565b60405161045e9190613e88565b60405180910390f35b34801561047357600080fd5b5061048e600480360381019061048991906138f6565b611367565b60405161049b9190613d62565b60405180910390f35b3480156104b057600080fd5b506104cb60048036038101906104c691906138f6565b611379565b6040516104d89190613e88565b60405180910390f35b3480156104ed57600080fd5b506104f66113aa565b6040516105039190613e88565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e9190613629565b611438565b6040516105409190613f25565b60405180910390f35b34801561055557600080fd5b50610570600480360381019061056b9190613874565b6114f1565b60405161057d9190613e88565b60405180910390f35b34801561059257600080fd5b5061059b611941565b005b6105b760048036038101906105b29190613948565b611a4b565b005b3480156105c557600080fd5b506105ce611bf5565b6040516105db9190613e88565b60405180910390f35b6105fe60048036038101906105f991906138f6565b611c87565b005b34801561060c57600080fd5b5061062760048036038101906106229190613781565b611d93565b005b610643600480360381019061063e9190613706565b611eac565b005b61065f600480360381019061065a9190613948565b61200f565b005b34801561066d57600080fd5b50610688600480360381019061068391906138f6565b6121a1565b6040516106959190613e88565b60405180910390f35b3480156106aa57600080fd5b506106b361232f565b6040516106c09190613f0a565b60405180910390f35b3480156106d557600080fd5b506106de612351565b005b3480156106ec57600080fd5b506107076004803603810190610702919061367b565b61255b565b6040516107149190613df2565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f9190613629565b6125ef565b6040516107519190613df2565b60405180910390f35b34801561076657600080fd5b5061076f61260f565b60405161077c9190613df2565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107e057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108105750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610826906142a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610852906142a4565b801561089f5780601f106108745761010080835404028352916020019161089f565b820191906000526020600020905b81548152906001019060200180831161088257829003601f168201915b5050505050905090565b60006108b482612622565b6108ea576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610a32576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016109a0929190613d7d565b60206040518083038186803b1580156109b857600080fd5b505afa1580156109cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f091906137f9565b610a3157806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610a289190613d62565b60405180910390fd5b5b610a3c8383612681565b505050565b7f0000000000000000000000001d2df18f8d2b1877ceb452851cba9d91512a9efb73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a9957600080fd5b600a548110610aa757600080fd5b620697807f000000000000000000000000000000000000000000000000000000006380cbaf610ad69190614070565b4211610ae157600080fd5b80600a8190555050565b6000610af5612691565b6001546000540303905090565b600b60009054906101000a900460ff1615610b1c57600080fd5b7f00000000000000000000000038857ed3a8fc5951289e58e20fb56a00e88f0bbd73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b7457600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610bbc57600080fd5b505afa158015610bd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf4919061391f565b905060006001905060008373ffffffffffffffffffffffffffffffffffffffff16636352211e60016040518263ffffffff1660e01b8152600401610c389190613e6d565b60206040518083038186803b158015610c5057600080fd5b505afa158015610c64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c889190613652565b90506000600290505b838111610de55760008573ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610cd39190613f25565b60206040518083038186803b158015610ceb57600080fd5b505afa158015610cff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d239190613652565b90508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dc257610d62838561269a565b6001600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600093508092505b600184610dcf9190614070565b9350508080610ddd90614307565b915050610c91565b50610df0818361269a565b6001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60006101000a81548160ff02191690831515021790555050505050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610fb7573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610edc57610ed7848484612857565b610fc3565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f25929190613d7d565b60206040518083038186803b158015610f3d57600080fd5b505afa158015610f51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7591906137f9565b610fb657336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610fad9190613d62565b60405180910390fd5b5b610fc2848484612857565b5b50505050565b7f000000000000000000000000000000000000000000000000000000006380cbaf81565b600960009054906101000a90046fffffffffffffffffffffffffffffffff1681565b60004790506000606460548361102591906140f7565b61102f91906140c6565b90507f0000000000000000000000001d2df18f8d2b1877ceb452851cba9d91512a9efb73ffffffffffffffffffffffffffffffffffffffff168160405161107590613d32565b60006040518083038185875af1925050503d80600081146110b2576040519150601f19603f3d011682016040523d82523d6000602084013e6110b7565b606091505b5050507f00000000000000000000000038857ed3a8fc5951289e58e20fb56a00e88f0bbd73ffffffffffffffffffffffffffffffffffffffff1681836110fd9190614151565b60405161110990613d32565b60006040518083038185875af1925050503d8060008114611146576040519150601f19603f3d011682016040523d82523d6000602084013e61114b565b606091505b5050505050565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156112b2573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111d7576111d2848484612b7c565b6112be565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611220929190613d7d565b60206040518083038186803b15801561123857600080fd5b505afa15801561124c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127091906137f9565b6112b157336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016112a89190613d62565b60405180910390fd5b5b6112bd848484612b7c565b5b50505050565b7f0000000000000000000000001d2df18f8d2b1877ceb452851cba9d91512a9efb73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461131c57600080fd5b80600890805190602001906113329291906133e4565b5050565b60606113608260405160200161134c9190613c6a565b6040516020818303038152906040526114f1565b9050919050565b600061137282612b9c565b9050919050565b60606113a38260405160200161138f9190613d47565b6040516020818303038152906040526114f1565b9050919050565b600880546113b7906142a4565b80601f01602080910402602001604051908101604052809291908181526020018280546113e3906142a4565b80156114305780601f1061140557610100808354040283529160200191611430565b820191906000526020600020905b81548152906001019060200180831161141357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114a0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b606060006040518060400160405280601081526020017f3031323334353637383961626364656600000000000000000000000000000000815250905060006002845161153d91906140f7565b60026115499190614070565b67ffffffffffffffff811115611588577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115ba5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611618577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106116a2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b845181101561193657826004868381518110611719577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c60ff1681518110611785577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b8260028361179e91906140f7565b60026117aa9190614070565b815181106117e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082600f60f81b86838151811061184f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b1660f81c60ff1681518110611898577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b826002836118b191906140f7565b60036118bd9190614070565b815181106118f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350808061192e90614307565b9150506116d4565b508092505050919050565b7f0000000000000000000000001d2df18f8d2b1877ceb452851cba9d91512a9efb73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119e657507f00000000000000000000000038857ed3a8fc5951289e58e20fb56a00e88f0bbd73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6119ef57600080fd5b6110686119fa610aeb565b14611a0457600080fd5b600143611a11919061402a565b600960006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550565b600b60009054906101000a900460ff16611a6457600080fd5b610bb8611a6f610aeb565b10611a7957600080fd5b836658d15e17628000611a8c91906140f7565b3414611a9757600080fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611aee57600080fd5b7f000000000000000000000000000000000000000000000000000000006380cbaf4210611b1a57600080fd5b6005841115611b2857600080fd5b611b696040518060400160405280600981526020017f506c65626c697374200000000000000000000000000000000000000000000000815250848484612ca1565b60038410611b8c57611b8733600186611b829190614070565b61269a565b611b97565b611b96338561269a565b5b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b606060038054611c04906142a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611c30906142a4565b8015611c7d5780601f10611c5257610100808354040283529160200191611c7d565b820191906000526020600020905b815481529060010190602001808311611c6057829003601f168201915b5050505050905090565b80600a54611c9591906140f7565b3414611ca057600080fd5b7f000000000000000000000000000000000000000000000000000000006380cbaf421015611ccd57600080fd5b6000611cd7610aeb565b9050611068811115611ce857600080fd5b6110688282611cf79190614070565b1115611d8457600081611068611d0d9190614151565b905060008184611d1d9190614151565b9050611d29338361269a565b3373ffffffffffffffffffffffffffffffffffffffff166108fc600a5483611d5191906140f7565b9081150290604051600060405180830381858888f19350505050158015611d7c573d6000803e3d6000fd5b505050611d8f565b611d8e338361269a565b5b5050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611e9d576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611e0b929190613d7d565b60206040518083038186803b158015611e2357600080fd5b505afa158015611e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5b91906137f9565b611e9c57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611e939190613d62565b60405180910390fd5b5b611ea78383612e76565b505050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611ffb573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f2057611f1b85858585612f81565b612008565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611f69929190613d7d565b60206040518083038186803b158015611f8157600080fd5b505afa158015611f95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb991906137f9565b611ffa57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611ff19190613d62565b60405180910390fd5b5b61200785858585612f81565b5b5050505050565b600b60009054906101000a900460ff1661202857600080fd5b610bb8612033610aeb565b1061203d57600080fd5b8366470de4df82000061205091906140f7565b341461205b57600080fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156120b257600080fd5b7f000000000000000000000000000000000000000000000000000000006380cbaf42106120de57600080fd5b60078411156120ec57600080fd5b61212d6040518060400160405280600881526020017f4b656b6c69737420000000000000000000000000000000000000000000000000815250848484612ca1565b6121433360018661213e9190614070565b61269a565b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b60606121ac82612622565b6121e2576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600960109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16141561227b5760006008805461222a906142a4565b905014156122475760405180602001604052806000815250612274565b60086122536000612ff4565b604051602001612264929190613ce8565b6040516020818303038152906040525b905061232a565b60006008805461228a906142a4565b905014156122a75760405180602001604052806000815250612327565b60086123066001611068600960109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16866122ed9190614070565b6122f79190614388565b6123019190614070565b612ff4565b604051602001612317929190613ce8565b6040516020818303038152906040525b90505b919050565b600960109054906101000a90046fffffffffffffffffffffffffffffffff1681565b6000600960109054906101000a90046fffffffffffffffffffffffffffffffff1690506000816fffffffffffffffffffffffffffffffff16146123c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c090613eaa565b60405180910390fd5b6000600960009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16141561243d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243490613eea565b60405180910390fd5b60ff600960009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff164361247b9190614151565b106124bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b290613eca565b60405180910390fd5b611068600960009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff164060001c6124fd9190614388565b90506000816fffffffffffffffffffffffffffffffff16141561251f57600190505b80600960106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c6020528060005260406000206000915054906101000a900460ff1681565b600b60009054906101000a900460ff1681565b60008161262d612691565b1115801561263c575060005482105b801561267a575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b61268d8282600161304d565b5050565b60006001905090565b60008054905060008214156126db576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126e86000848385613199565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061275f83612750600086600061319f565b612759856131c7565b176131d7565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461280057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506127c5565b50600082141561283c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506128526000848385613202565b505050565b600061286282612b9c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146128c9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806128d584613208565b915091506128eb81876128e661322f565b613237565b61293757612900866128fb61322f565b61255b565b612936576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561299e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129ab8686866001613199565b80156129b657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612a8485612a6088888761319f565b7c0200000000000000000000000000000000000000000000000000000000176131d7565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415612b0c576000600185019050600060046000838152602001908152602001600020541415612b0a576000548114612b09578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b748686866001613202565b505050505050565b612b9783838360405180602001604052806000815250611eac565b505050565b600081612ba7612691565b11612c6a576004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612c69576000811415612c64576000548210612c2e576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b60046000836001900393508381526020019081526020016000205490506000811415612c5a57612c5f565b612c9c565b612c2f565b612c9c565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60006040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152509050600085612ce733611336565b604051602001612cf8929190613cc4565b6040516020818303038152906040529050600081604051602001612d1c9190613cad565b60405160208183030381529060405280519060200120905060008382604051602001612d49929190613c85565b604051602081830303815290604052905060008180519060200120905060006001828a8a8a60405160008152602001604052604051612d8b9493929190613e0d565b6020604051602081039080840390855afa158015612dad573d6000803e3d6000fd5b5050506020604051035190507f00000000000000000000000038857ed3a8fc5951289e58e20fb56a00e88f0bbd73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161481604051602001612e199190613d0c565b60405160208183030381529060405290612e69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e609190613e88565b60405180910390fd5b5050505050505050505050565b8060076000612e8361322f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612f3061322f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f759190613df2565b60405180910390a35050565b612f8c848484610e69565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612fee57612fb78484848461327b565b612fed576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606060a060405101806040526020810391506000825281835b60011561303857600184039350600a81066030018453600a810490508061303357613038565b61300d565b50828103602084039350808452505050919050565b600061305883611367565b905081156130e3578073ffffffffffffffffffffffffffffffffffffffff1661307f61322f565b73ffffffffffffffffffffffffffffffffffffffff16146130e2576130ab816130a661322f565b61255b565b6130e1576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b50505050565b60008060e883901c905060e86131b68686846133db565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132a161322f565b8786866040518563ffffffff1660e01b81526004016132c39493929190613da6565b602060405180830381600087803b1580156132dd57600080fd5b505af192505050801561330e57506040513d601f19601f8201168201806040525081019061330b919061384b565b60015b613388573d806000811461333e576040519150601f19603f3d011682016040523d82523d6000602084013e613343565b606091505b50600081511415613380576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b8280546133f0906142a4565b90600052602060002090601f0160209004810192826134125760008555613459565b82601f1061342b57805160ff1916838001178555613459565b82800160010185558215613459579182015b8281111561345857825182559160200191906001019061343d565b5b509050613466919061346a565b5090565b5b8082111561348357600081600090555060010161346b565b5090565b600061349a61349584613f65565b613f40565b9050828152602081018484840111156134b257600080fd5b6134bd848285614262565b509392505050565b60006134d86134d384613f96565b613f40565b9050828152602081018484840111156134f057600080fd5b6134fb848285614262565b509392505050565b6000813590506135128161453a565b92915050565b6000815190506135278161453a565b92915050565b60008135905061353c81614551565b92915050565b60008151905061355181614551565b92915050565b60008135905061356681614568565b92915050565b60008135905061357b8161457f565b92915050565b6000815190506135908161457f565b92915050565b600082601f8301126135a757600080fd5b81356135b7848260208601613487565b91505092915050565b600082601f8301126135d157600080fd5b81356135e18482602086016134c5565b91505092915050565b6000813590506135f981614596565b92915050565b60008151905061360e81614596565b92915050565b600081359050613623816145ad565b92915050565b60006020828403121561363b57600080fd5b600061364984828501613503565b91505092915050565b60006020828403121561366457600080fd5b600061367284828501613518565b91505092915050565b6000806040838503121561368e57600080fd5b600061369c85828601613503565b92505060206136ad85828601613503565b9150509250929050565b6000806000606084860312156136cc57600080fd5b60006136da86828701613503565b93505060206136eb86828701613503565b92505060406136fc868287016135ea565b9150509250925092565b6000806000806080858703121561371c57600080fd5b600061372a87828801613503565b945050602061373b87828801613503565b935050604061374c878288016135ea565b925050606085013567ffffffffffffffff81111561376957600080fd5b61377587828801613596565b91505092959194509250565b6000806040838503121561379457600080fd5b60006137a285828601613503565b92505060206137b38582860161352d565b9150509250929050565b600080604083850312156137d057600080fd5b60006137de85828601613503565b92505060206137ef858286016135ea565b9150509250929050565b60006020828403121561380b57600080fd5b600061381984828501613542565b91505092915050565b60006020828403121561383457600080fd5b60006138428482850161356c565b91505092915050565b60006020828403121561385d57600080fd5b600061386b84828501613581565b91505092915050565b60006020828403121561388657600080fd5b600082013567ffffffffffffffff8111156138a057600080fd5b6138ac84828501613596565b91505092915050565b6000602082840312156138c757600080fd5b600082013567ffffffffffffffff8111156138e157600080fd5b6138ed848285016135c0565b91505092915050565b60006020828403121561390857600080fd5b6000613916848285016135ea565b91505092915050565b60006020828403121561393157600080fd5b600061393f848285016135ff565b91505092915050565b6000806000806080858703121561395e57600080fd5b600061396c878288016135ea565b945050602061397d87828801613614565b935050604061398e87828801613557565b925050606061399f87828801613557565b91505092959194509250565b6139b481614185565b82525050565b6139cb6139c682614185565b614350565b82525050565b6139da81614197565b82525050565b6139e9816141a3565b82525050565b613a006139fb826141a3565b614362565b82525050565b6000613a1182613fdc565b613a1b8185613ff2565b9350613a2b818560208601614271565b613a3481614475565b840191505092915050565b6000613a4a82613fdc565b613a548185614003565b9350613a64818560208601614271565b80840191505092915050565b613a798161422c565b82525050565b613a8881614250565b82525050565b6000613a9982613fe7565b613aa3818561400e565b9350613ab3818560208601614271565b613abc81614475565b840191505092915050565b6000613ad282613fe7565b613adc818561401f565b9350613aec818560208601614271565b80840191505092915050565b60008154613b05816142a4565b613b0f818661401f565b94506001821660008114613b2a5760018114613b3b57613b6e565b60ff19831686528186019350613b6e565b613b4485613fc7565b60005b83811015613b6657815481890152600182019150602081019050613b47565b838801955050505b50505092915050565b6000613b84601d8361400e565b9150613b8f82614493565b602082019050919050565b6000613ba760168361401f565b9150613bb2826144bc565b601682019050919050565b6000613bca600c8361400e565b9150613bd5826144e5565b602082019050919050565b6000613bed60208361400e565b9150613bf88261450e565b602082019050919050565b6000613c10600083614003565b9150613c1b82614537565b600082019050919050565b613c2f816141d9565b82525050565b613c3e81614215565b82525050565b613c55613c5082614215565b61437e565b82525050565b613c648161421f565b82525050565b6000613c7682846139ba565b60148201915081905092915050565b6000613c918285613a3f565b9150613c9d82846139ef565b6020820191508190509392505050565b6000613cb98284613ac7565b915081905092915050565b6000613cd08285613ac7565b9150613cdc8284613ac7565b91508190509392505050565b6000613cf48285613af8565b9150613d008284613ac7565b91508190509392505050565b6000613d1782613b9a565b9150613d2382846139ba565b60148201915081905092915050565b6000613d3d82613c03565b9150819050919050565b6000613d538284613c44565b60208201915081905092915050565b6000602082019050613d7760008301846139ab565b92915050565b6000604082019050613d9260008301856139ab565b613d9f60208301846139ab565b9392505050565b6000608082019050613dbb60008301876139ab565b613dc860208301866139ab565b613dd56040830185613c35565b8181036060830152613de78184613a06565b905095945050505050565b6000602082019050613e0760008301846139d1565b92915050565b6000608082019050613e2260008301876139e0565b613e2f6020830186613c5b565b613e3c60408301856139e0565b613e4960608301846139e0565b95945050505050565b6000602082019050613e676000830184613a70565b92915050565b6000602082019050613e826000830184613a7f565b92915050565b60006020820190508181036000830152613ea28184613a8e565b905092915050565b60006020820190508181036000830152613ec381613b77565b9050919050565b60006020820190508181036000830152613ee381613bbd565b9050919050565b60006020820190508181036000830152613f0381613be0565b9050919050565b6000602082019050613f1f6000830184613c26565b92915050565b6000602082019050613f3a6000830184613c35565b92915050565b6000613f4a613f5b565b9050613f5682826142d6565b919050565b6000604051905090565b600067ffffffffffffffff821115613f8057613f7f614446565b5b613f8982614475565b9050602081019050919050565b600067ffffffffffffffff821115613fb157613fb0614446565b5b613fba82614475565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614035826141d9565b9150614040836141d9565b9250826fffffffffffffffffffffffffffffffff03821115614065576140646143b9565b5b828201905092915050565b600061407b82614215565b915061408683614215565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140bb576140ba6143b9565b5b828201905092915050565b60006140d182614215565b91506140dc83614215565b9250826140ec576140eb6143e8565b5b828204905092915050565b600061410282614215565b915061410d83614215565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614146576141456143b9565b5b828202905092915050565b600061415c82614215565b915061416783614215565b92508282101561417a576141796143b9565b5b828203905092915050565b6000614190826141f5565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006142378261423e565b9050919050565b6000614249826141f5565b9050919050565b600061425b82614215565b9050919050565b82818337600083830152505050565b60005b8381101561428f578082015181840152602081019050614274565b8381111561429e576000848401525b50505050565b600060028204905060018216806142bc57607f821691505b602082108114156142d0576142cf614417565b5b50919050565b6142df82614475565b810181811067ffffffffffffffff821117156142fe576142fd614446565b5b80604052505050565b600061431282614215565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614345576143446143b9565b5b600182019050919050565b600061435b8261436c565b9050919050565b6000819050919050565b600061437782614486565b9050919050565b6000819050919050565b600061439382614215565b915061439e83614215565b9250826143ae576143ad6143e8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f5265636f76657265642061646472657373207761732000000000000000000000600082015250565b7f4d7573742072652d696e69740000000000000000000000000000000000000000600082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b50565b61454381614185565b811461454e57600080fd5b50565b61455a81614197565b811461456557600080fd5b50565b614571816141a3565b811461457c57600080fd5b50565b614588816141ad565b811461459357600080fd5b50565b61459f81614215565b81146145aa57600080fd5b50565b6145b68161421f565b81146145c157600080fd5b5056fea26469706673582212207df057d83cc5ced8e7e533dda4d5ccb78736a47979ce7caa1ac00b5dcce2417164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000600000000000000000000000001d2df18f8d2b1877ceb452851cba9d91512a9efb00000000000000000000000038857ed3a8fc5951289e58e20fb56a00e88f0bbd000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d4e784a3445355835385855674d514e466a393142335a50703234564d6b53694b726b507541703469644848692f00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): https://ipfs.io/ipfs/QmNxJ4E5X58XUgMQNFj91B3ZPp24VMkSiKrkPuAp4idHHi/
Arg [1] : _pleb (address): 0x1d2df18F8D2B1877CeB452851cBa9d91512a9Efb
Arg [2] : _mrF (address): 0x38857Ed3a8fC5951289E58e20fB56A00e88f0BBD
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000001d2df18f8d2b1877ceb452851cba9d91512a9efb
Arg [2] : 00000000000000000000000038857ed3a8fc5951289e58e20fb56a00e88f0bbd
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [4] : 68747470733a2f2f697066732e696f2f697066732f516d4e784a344535583538
Arg [5] : 5855674d514e466a393142335a50703234564d6b53694b726b50754170346964
Arg [6] : 4848692f00000000000000000000000000000000000000000000000000000000
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.