NFT
Overview
TokenID
3165
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Lumens
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /*** __ __ _______ _____ _ _ _ _ \ \ / / |__ __| | __ \(_) (_) | | | \ \ /\ / /_ _ _ _| | ___ ___ | | | |_ __ _ _| |_ __ _| | \ \/ \/ / _` | | | | |/ _ \ / _ \| | | | |/ _` | | __/ _` | | \ /\ / (_| | |_| | | (_) | (_) | |__| | | (_| | | || (_| | | \/ \/ \__,_|\__, |_|\___/ \___/|_____/|_|\__, |_|\__\__,_|_| __/ | __/ | |___/ |___/ ***/ pragma solidity ^0.8.4; import "@openzeppelin/contracts/utils/Strings.sol"; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; contract Lumens is ERC721A, Ownable, PaymentSplitter { using MerkleProof for bytes32[]; using Strings for uint256; bytes32[4] public merkleRoot; mapping(address => uint8) public alreadyMinted; uint16 public reservedNFTsAmount; // 0 - VIP NFTs // 1 - Tier 1 NFTs // 2 - Tier 2 NFTs // 3 - Public Minting NFTs (and Premint) uint8[] public nftAmountByStage = [6, 4, 2, 6]; uint16 private constant maxNFTSupply = 8888; uint16 private constant reservedNFTs = 219; bool public preReveal = true; bool public saleStarted = false; bool public publicSaleStarted = false; string private baseURI; string private preRevealBaseURI; uint256 public nftPrice = 0.04444 ether; //The below addresses are for example purposes only. Please modify them. address[] private payees = [ 0xDbD10Ff27EA8c4d8ea6795397996361862091410, 0x38198ee928400Cd81ED4B72Aa0c550eF1c9ebE28, 0x78F2268fEe6dd5ab3e30Ef1F040C62777b5DF42e, 0x5dF768b522b341E5caf2CB5ef47eA3424BEb4a4D, 0x8c540BFb73D39CcCb59A2d48907091C19F191F55, 0x2f508BE8Ac24d694b796411B35330aaB7c40E913, 0xa16231D4DA9d49968D2191328102F6731Ef78FCA, 0x30d6B3497e967B72013e921aAf5d5ee9915B1010, 0x2B11D45ea9f7d133B7b3deDd5fd884cF6385CA7B ]; //The below percentages are for example purposes only. Please modify them. uint256[] private payeesShares = [14, 5, 4, 2, 5, 1, 1, 5, 63]; function _baseURI() internal view virtual override returns (string memory) { return baseURI; } constructor(string memory name, string memory symbol) ERC721A(name, symbol) PaymentSplitter(payees, payeesShares) { reservedNFTsAmount = 0; } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal pure override returns (uint256) { return 1; } function setPreRevealBaseURI(string memory _preRevealBaseUri) public onlyOwner { preRevealBaseURI = _preRevealBaseUri; } function setBaseURI(string memory _baseUri) public onlyOwner { baseURI = _baseUri; } function mint( bytes32[] memory proof, bytes32 leaf, uint8 amount, uint8 stage ) public payable { if (stage != 3) { require(keccak256(abi.encodePacked(msg.sender)) == leaf, "This leaf does not belong to the sender"); require(proof.verify(merkleRoot[stage], leaf), "You are not in the list"); } else { require(publicSaleStarted, "The public sale is paused"); } _internalMint(msg.sender, amount, stage); } function _internalMint( address to, uint8 amount, uint8 stage ) internal { require(saleStarted, "The sale is paused"); require(msg.value == nftPrice * amount, "The price is invalid"); unchecked { require(totalSupply() + amount <= maxNFTSupply, "Mint limit reached"); require( alreadyMinted[msg.sender] + amount <= nftAmountByStage[stage], "Amount requested is over max amount per wallet" ); alreadyMinted[to] += amount; } _mint(msg.sender, amount); } function reserveNFT(address to, uint16 amount) public onlyOwner { unchecked { require(reservedNFTsAmount + amount <= reservedNFTs, "Out of stock"); reservedNFTsAmount += amount; } _mint(to, amount); } function setMerkleRoot(bytes32 _root, uint8 stage) public onlyOwner { merkleRoot[stage] = _root; } function reveal() public onlyOwner { preReveal = false; } function withdraw() external onlyOwner { (bool os, ) = payable(msg.sender).call{value: address(this).balance}(""); require(os, "Ether transfer failed"); } function withdrawPaymentSplitter() external onlyOwner { for (uint256 i = 0; i < payees.length; i++) { address payable wallet = payable(payees[i]); release(wallet); } } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "URI query for nonexistent token"); if (preReveal == true) return string(abi.encodePacked(preRevealBaseURI, tokenId.toString())); else return string(abi.encodePacked(baseURI, tokenId.toString())); } function setNFTPrice(uint256 price) public onlyOwner { nftPrice = price; } function startSale() public onlyOwner { saleStarted = true; } function pauseSale() public onlyOwner { saleStarted = false; } function togglePublicSale() public onlyOwner { publicSaleStarted = !publicSaleStarted; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The 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 tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the 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 { 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; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev 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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @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)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _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 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` 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 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _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 { 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 Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { 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 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; } /** * @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 Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 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.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alreadyMinted","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"uint8","name":"amount","type":"uint8"},{"internalType":"uint8","name":"stage","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftAmountByStage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preReveal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"reserveNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedNFTsAmount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"uint8","name":"stage","type":"uint8"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setNFTPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_preRevealBaseUri","type":"string"}],"name":"setPreRevealBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawPaymentSplitter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526040518060800160405280600660ff168152602001600460ff168152602001600260ff168152602001600660ff16815250601490600462000047929190620009a8565b506001601560006101000a81548160ff0219169083151502179055506000601560016101000a81548160ff0219169083151502179055506000601560026101000a81548160ff021916908315150217905550669de1f1cdd1800060185560405180610120016040528073dbd10ff27ea8c4d8ea679539799636186209141073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017338198ee928400cd81ed4b72aa0c550ef1c9ebe2873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017378f2268fee6dd5ab3e30ef1f040c62777b5df42e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001735df768b522b341e5caf2cb5ef47ea3424beb4a4d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001738c540bfb73d39cccb59a2d48907091c19f191f5573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001732f508be8ac24d694b796411b35330aab7c40e91373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173a16231d4da9d49968d2191328102f6731ef78fca73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017330d6b3497e967b72013e921aaf5d5ee9915b101073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001732b11d45ea9f7d133b7b3dedd5fd884cf6385ca7b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525060199060096200033692919062000a56565b50604051806101200160405280600e60ff168152602001600560ff168152602001600460ff168152602001600260ff168152602001600560ff168152602001600160ff168152602001600160ff168152602001600560ff168152602001603f60ff16815250601a906009620003ad92919062000ae5565b50348015620003bb57600080fd5b5060405162005ac538038062005ac58339818101604052810190620003e1919062000c5e565b60198054806020026020016040519081016040528092919081815260200182805480156200046557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116200041a575b5050505050601a805480602002602001604051908101604052809291908181526020018280548015620004b857602002820191906000526020600020905b815481526020019060010190808311620004a3575b505050505083838160029080519060200190620004d792919062000b3c565b508060039080519060200190620004f092919062000b3c565b50620005016200069760201b60201c565b6000819055505050620005296200051d620006a060201b60201c565b620006a860201b60201c565b805182511462000570576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005679062000e05565b60405180910390fd5b6000825111620005b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005ae9062000e49565b60405180910390fd5b60005b82518110156200066e576200065883828151811062000602577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183838151811062000644577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516200076e60201b60201c565b808062000665906200103a565b915050620005ba565b5050506000601360006101000a81548161ffff021916908361ffff160217905550505062001265565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620007e1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007d89062000de3565b60405180910390fd5b6000811162000827576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200081e9062000e6b565b60405180910390fd5b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620008ac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008a39062000e27565b60405180910390fd5b600d829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060095462000963919062000efd565b6009819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200099c92919062000db6565b60405180910390a15050565b82805482825590600052602060002090601f0160209004810192821562000a435791602002820160005b8382111562000a1257835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302620009d2565b801562000a415782816101000a81549060ff021916905560010160208160000104928301926001030262000a12565b505b50905062000a52919062000bcd565b5090565b82805482825590600052602060002090810192821562000ad2579160200282015b8281111562000ad15782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000a77565b5b50905062000ae1919062000bcd565b5090565b82805482825590600052602060002090810192821562000b29579160200282015b8281111562000b28578251829060ff1690559160200191906001019062000b06565b5b50905062000b38919062000bcd565b5090565b82805462000b4a9062000fce565b90600052602060002090601f01602090048101928262000b6e576000855562000bba565b82601f1062000b8957805160ff191683800117855562000bba565b8280016001018555821562000bba579182015b8281111562000bb957825182559160200191906001019062000b9c565b5b50905062000bc9919062000bcd565b5090565b5b8082111562000be857600081600090555060010162000bce565b5090565b600062000c0362000bfd8462000eb6565b62000e8d565b90508281526020810184848401111562000c1c57600080fd5b62000c2984828562000f98565b509392505050565b600082601f83011262000c4357600080fd5b815162000c5584826020860162000bec565b91505092915050565b6000806040838503121562000c7257600080fd5b600083015167ffffffffffffffff81111562000c8d57600080fd5b62000c9b8582860162000c31565b925050602083015167ffffffffffffffff81111562000cb957600080fd5b62000cc78582860162000c31565b9150509250929050565b62000cdc8162000f5a565b82525050565b600062000cf1602c8362000eec565b915062000cfe8262001126565b604082019050919050565b600062000d1860328362000eec565b915062000d258262001175565b604082019050919050565b600062000d3f602b8362000eec565b915062000d4c82620011c4565b604082019050919050565b600062000d66601a8362000eec565b915062000d738262001213565b602082019050919050565b600062000d8d601d8362000eec565b915062000d9a826200123c565b602082019050919050565b62000db08162000f8e565b82525050565b600060408201905062000dcd600083018562000cd1565b62000ddc602083018462000da5565b9392505050565b6000602082019050818103600083015262000dfe8162000ce2565b9050919050565b6000602082019050818103600083015262000e208162000d09565b9050919050565b6000602082019050818103600083015262000e428162000d30565b9050919050565b6000602082019050818103600083015262000e648162000d57565b9050919050565b6000602082019050818103600083015262000e868162000d7e565b9050919050565b600062000e9962000eac565b905062000ea7828262001004565b919050565b6000604051905090565b600067ffffffffffffffff82111562000ed45762000ed3620010e6565b5b62000edf8262001115565b9050602081019050919050565b600082825260208201905092915050565b600062000f0a8262000f8e565b915062000f178362000f8e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000f4f5762000f4e62001088565b5b828201905092915050565b600062000f678262000f6e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000fb857808201518184015260208101905062000f9b565b8381111562000fc8576000848401525b50505050565b6000600282049050600182168062000fe757607f821691505b6020821081141562000ffe5762000ffd620010b7565b5b50919050565b6200100f8262001115565b810181811067ffffffffffffffff82111715620010315762001030620010e6565b5b80604052505050565b6000620010478262000f8e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200107d576200107c62001088565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b61485080620012756000396000f3fe6080604052600436106102605760003560e01c806370a0823111610144578063aa4e891a116100b6578063ce7c2ac21161007a578063ce7c2ac2146108fc578063e222c7f914610939578063e33b7de314610950578063e985e9c51461097b578063f2fde38b146109b8578063f38ade9b146109e1576102a7565b8063aa4e891a1461082b578063b66a0e5d14610856578063b74e94cf1461086d578063b88d4fde14610896578063c87b56dd146108bf576102a7565b806395d89b411161010857806395d89b411461073c5780639852595c14610767578063a13b1779146107a4578063a22cb465146107c0578063a2e91477146107e9578063a475b5dd14610814576102a7565b806370a0823114610657578063715018a61461069457806381530b68146106ab5780638b83209b146106d45780638da5cb5b14610711576102a7565b80633c70b357116101dd57806355367ba9116101a157806355367ba91461056f57806355f804b3146105865780635a8dc0d4146105af5780635c474f9e146105c65780636352211e146105f15780636797fdda1461062e576102a7565b80633c70b3571461048a5780633ccfd60b146104c75780633cdc5db2146104de57806342842e0e14610509578063504454ad14610532576102a7565b80630d39fc81116102245780630d39fc81146103b757806318160ddd146103e2578063191655871461040d57806323b872dd146104365780633a98ef391461045f576102a7565b806301ffc9a7146102ac57806306fdde03146102e9578063081812fc14610314578063095ea7b3146103515780630a398b881461037a576102a7565b366102a7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061028e610a0a565b3460405161029d929190613be6565b60405180910390a1005b600080fd5b3480156102b857600080fd5b506102d360048036038101906102ce919061360e565b610a12565b6040516102e09190613c0f565b60405180910390f35b3480156102f557600080fd5b506102fe610aa4565b60405161030b9190613c45565b60405180910390f35b34801561032057600080fd5b5061033b600480360381019061033691906136a1565b610b36565b6040516103489190613b56565b60405180910390f35b34801561035d57600080fd5b506103786004803603810190610373919061351b565b610bb2565b005b34801561038657600080fd5b506103a1600480360381019061039c919061334b565b610cf3565b6040516103ae9190613e9d565b60405180910390f35b3480156103c357600080fd5b506103cc610d13565b6040516103d99190613e82565b60405180910390f35b3480156103ee57600080fd5b506103f7610d19565b6040516104049190613e82565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f9190613374565b610d30565b005b34801561044257600080fd5b5061045d600480360381019061045891906133d9565b610f98565b005b34801561046b57600080fd5b506104746112bd565b6040516104819190613e82565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac91906136a1565b6112c7565b6040516104be9190613c2a565b60405180910390f35b3480156104d357600080fd5b506104dc6112e2565b005b3480156104ea57600080fd5b506104f361140d565b6040516105009190613e67565b60405180910390f35b34801561051557600080fd5b50610530600480360381019061052b91906133d9565b611421565b005b34801561053e57600080fd5b50610559600480360381019061055491906136a1565b611441565b6040516105669190613e9d565b60405180910390f35b34801561057b57600080fd5b50610584611475565b005b34801561059257600080fd5b506105ad60048036038101906105a89190613660565b61150e565b005b3480156105bb57600080fd5b506105c46115a4565b005b3480156105d257600080fd5b506105db6116b9565b6040516105e89190613c0f565b60405180910390f35b3480156105fd57600080fd5b50610618600480360381019061061391906136a1565b6116cc565b6040516106259190613b56565b60405180910390f35b34801561063a57600080fd5b50610655600480360381019061065091906135d2565b6116de565b005b34801561066357600080fd5b5061067e6004803603810190610679919061334b565b6117a1565b60405161068b9190613e82565b60405180910390f35b3480156106a057600080fd5b506106a961185a565b005b3480156106b757600080fd5b506106d260048036038101906106cd91906136a1565b6118e2565b005b3480156106e057600080fd5b506106fb60048036038101906106f691906136a1565b611968565b6040516107089190613b56565b60405180910390f35b34801561071d57600080fd5b506107266119d6565b6040516107339190613b56565b60405180910390f35b34801561074857600080fd5b50610751611a00565b60405161075e9190613c45565b60405180910390f35b34801561077357600080fd5b5061078e6004803603810190610789919061334b565b611a92565b60405161079b9190613e82565b60405180910390f35b6107be60048036038101906107b99190613557565b611adb565b005b3480156107cc57600080fd5b506107e760048036038101906107e291906134a3565b611c46565b005b3480156107f557600080fd5b506107fe611dbe565b60405161080b9190613c0f565b60405180910390f35b34801561082057600080fd5b50610829611dd1565b005b34801561083757600080fd5b50610840611e6a565b60405161084d9190613c0f565b60405180910390f35b34801561086257600080fd5b5061086b611e7d565b005b34801561087957600080fd5b50610894600480360381019061088f91906134df565b611f16565b005b3480156108a257600080fd5b506108bd60048036038101906108b89190613428565b612032565b005b3480156108cb57600080fd5b506108e660048036038101906108e191906136a1565b6120a5565b6040516108f39190613c45565b60405180910390f35b34801561090857600080fd5b50610923600480360381019061091e919061334b565b612170565b6040516109309190613e82565b60405180910390f35b34801561094557600080fd5b5061094e6121b9565b005b34801561095c57600080fd5b50610965612261565b6040516109729190613e82565b60405180910390f35b34801561098757600080fd5b506109a2600480360381019061099d919061339d565b61226b565b6040516109af9190613c0f565b60405180910390f35b3480156109c457600080fd5b506109df60048036038101906109da919061334b565b6122ff565b005b3480156109ed57600080fd5b50610a086004803603810190610a039190613660565b6123f7565b005b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a9d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610ab390614206565b80601f0160208091040260200160405190810160405280929190818152602001828054610adf90614206565b8015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b820191906000526020600020905b815481529060010190602001808311610b0f57829003601f168201915b5050505050905090565b6000610b418261248d565b610b77576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bbd826116cc565b90508073ffffffffffffffffffffffffffffffffffffffff16610bde6124ec565b73ffffffffffffffffffffffffffffffffffffffff1614610c4157610c0a81610c056124ec565b61226b565b610c40576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60126020528060005260406000206000915054906101000a900460ff1681565b60185481565b6000610d236124f4565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990613d07565b60405180910390fd5b6000600a5447610dc29190613fce565b90506000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600954600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610e549190614055565b610e5e9190614024565b610e6891906140af565b90506000811415610eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea590613d87565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ef99190613fce565b600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600a54610f4a9190613fce565b600a81905550610f5a83826124fd565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610f8b929190613b71565b60405180910390a1505050565b6000610fa3826125f1565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461100a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611016846126bf565b9150915061102c81876110276124ec565b6126e1565b611078576110418661103c6124ec565b61226b565b611077576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156110df576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110ec8686866001612725565b80156110f757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506111c5856111a188888761272b565b7c020000000000000000000000000000000000000000000000000000000017612753565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561124d57600060018501905060006004600083815260200190815260200160002054141561124b57600054811461124a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112b5868686600161277e565b505050505050565b6000600954905090565b600e81600481106112d757600080fd5b016000915090505481565b6112ea610a0a565b73ffffffffffffffffffffffffffffffffffffffff166113086119d6565b73ffffffffffffffffffffffffffffffffffffffff161461135e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135590613e07565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff164760405161138490613b41565b60006040518083038185875af1925050503d80600081146113c1576040519150601f19603f3d011682016040523d82523d6000602084013e6113c6565b606091505b505090508061140a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140190613d27565b60405180910390fd5b50565b601360009054906101000a900461ffff1681565b61143c83838360405180602001604052806000815250612032565b505050565b6014818154811061145157600080fd5b9060005260206000209060209182820401919006915054906101000a900460ff1681565b61147d610a0a565b73ffffffffffffffffffffffffffffffffffffffff1661149b6119d6565b73ffffffffffffffffffffffffffffffffffffffff16146114f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e890613e07565b60405180910390fd5b6000601560016101000a81548160ff021916908315150217905550565b611516610a0a565b73ffffffffffffffffffffffffffffffffffffffff166115346119d6565b73ffffffffffffffffffffffffffffffffffffffff161461158a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158190613e07565b60405180910390fd5b80601690805190602001906115a0929190613085565b5050565b6115ac610a0a565b73ffffffffffffffffffffffffffffffffffffffff166115ca6119d6565b73ffffffffffffffffffffffffffffffffffffffff1614611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790613e07565b60405180910390fd5b60005b6019805490508110156116b65760006019828154811061166c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506116a281610d30565b5080806116ae90614269565b915050611623565b50565b601560019054906101000a900460ff1681565b60006116d7826125f1565b9050919050565b6116e6610a0a565b73ffffffffffffffffffffffffffffffffffffffff166117046119d6565b73ffffffffffffffffffffffffffffffffffffffff161461175a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175190613e07565b60405180910390fd5b81600e8260ff1660048110611798577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611809576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611862610a0a565b73ffffffffffffffffffffffffffffffffffffffff166118806119d6565b73ffffffffffffffffffffffffffffffffffffffff16146118d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cd90613e07565b60405180910390fd5b6118e06000612784565b565b6118ea610a0a565b73ffffffffffffffffffffffffffffffffffffffff166119086119d6565b73ffffffffffffffffffffffffffffffffffffffff161461195e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195590613e07565b60405180910390fd5b8060188190555050565b6000600d82815481106119a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611a0f90614206565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3b90614206565b8015611a885780601f10611a5d57610100808354040283529160200191611a88565b820191906000526020600020905b815481529060010190602001808311611a6b57829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60038160ff1614611be5578233604051602001611af89190613ad6565b6040516020818303038152906040528051906020012014611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590613e47565b60405180910390fd5b611ba1600e8260ff1660048110611b8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0154848661284a9092919063ffffffff16565b611be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd790613dc7565b60405180910390fd5b611c35565b601560029054906101000a900460ff16611c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2b90613c87565b60405180910390fd5b5b611c40338383612926565b50505050565b611c4e6124ec565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb3576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611cc06124ec565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d6d6124ec565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db29190613c0f565b60405180910390a35050565b601560029054906101000a900460ff1681565b611dd9610a0a565b73ffffffffffffffffffffffffffffffffffffffff16611df76119d6565b73ffffffffffffffffffffffffffffffffffffffff1614611e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4490613e07565b60405180910390fd5b6000601560006101000a81548160ff021916908315150217905550565b601560009054906101000a900460ff1681565b611e85610a0a565b73ffffffffffffffffffffffffffffffffffffffff16611ea36119d6565b73ffffffffffffffffffffffffffffffffffffffff1614611ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef090613e07565b60405180910390fd5b6001601560016101000a81548160ff021916908315150217905550565b611f1e610a0a565b73ffffffffffffffffffffffffffffffffffffffff16611f3c6119d6565b73ffffffffffffffffffffffffffffffffffffffff1614611f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8990613e07565b60405180910390fd5b60db61ffff1681601360009054906101000a900461ffff160161ffff161115611ff0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe790613da7565b60405180910390fd5b80601360008282829054906101000a900461ffff160192506101000a81548161ffff021916908361ffff16021790555061202e828261ffff16612b8b565b5050565b61203d848484610f98565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461209f5761206884848484612d5f565b61209e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606120b08261248d565b6120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e690613ca7565b60405180910390fd5b60011515601560009054906101000a900460ff161515141561213d57601761211683612ebf565b604051602001612127929190613b1d565b604051602081830303815290604052905061216b565b601661214883612ebf565b604051602001612159929190613b1d565b60405160208183030381529060405290505b919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6121c1610a0a565b73ffffffffffffffffffffffffffffffffffffffff166121df6119d6565b73ffffffffffffffffffffffffffffffffffffffff1614612235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222c90613e07565b60405180910390fd5b601560029054906101000a900460ff1615601560026101000a81548160ff021916908315150217905550565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612307610a0a565b73ffffffffffffffffffffffffffffffffffffffff166123256119d6565b73ffffffffffffffffffffffffffffffffffffffff161461237b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237290613e07565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e290613cc7565b60405180910390fd5b6123f481612784565b50565b6123ff610a0a565b73ffffffffffffffffffffffffffffffffffffffff1661241d6119d6565b73ffffffffffffffffffffffffffffffffffffffff1614612473576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246a90613e07565b60405180910390fd5b8060179080519060200190612489929190613085565b5050565b6000816124986124f4565b111580156124a7575060005482105b80156124e5575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b80471015612540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253790613d67565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161256690613b41565b60006040518083038185875af1925050503d80600081146125a3576040519150601f19603f3d011682016040523d82523d6000602084013e6125a8565b606091505b50509050806125ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e390613d47565b60405180910390fd5b505050565b600080829050806126006124f4565b11612688576000548110156126875760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612685575b600081141561267b576004600083600190039350838152602001908152602001600020549050612650565b80925050506126ba565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861274286868461306c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b8551811015612918576000868281518110612897577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116128d85782816040516020016128bb929190613af1565b604051602081830303815290604052805190602001209250612904565b80836040516020016128eb929190613af1565b6040516020818303038152906040528051906020012092505b50808061291090614269565b915050612853565b508381149150509392505050565b601560019054906101000a900460ff16612975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296c90613de7565b60405180910390fd5b8160ff166018546129869190614055565b34146129c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129be90613e27565b60405180910390fd5b6122b861ffff168260ff166129da610d19565b011115612a1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1390613c67565b60405180910390fd5b60148160ff1681548110612a59577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090602091828204019190069054906101000a900460ff1660ff1682601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff160160ff161115612b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0690613ce7565b60405180910390fd5b81601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff160192506101000a81548160ff021916908360ff160217905550612b86338360ff16612b8b565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bf8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612c33576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c406000848385612725565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612cb783612ca8600086600061272b565b612cb185613075565b17612753565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612cdb57806000819055505050612d5a600084838561277e565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d856124ec565b8786866040518563ffffffff1660e01b8152600401612da79493929190613b9a565b602060405180830381600087803b158015612dc157600080fd5b505af1925050508015612df257506040513d601f19601f82011682018060405250810190612def9190613637565b60015b612e6c573d8060008114612e22576040519150601f19603f3d011682016040523d82523d6000602084013e612e27565b606091505b50600081511415612e64576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612f07576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613067565b600082905060005b60008214612f39578080612f2290614269565b915050600a82612f329190614024565b9150612f0f565b60008167ffffffffffffffff811115612f7b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612fad5781602001600182028036833780820191505090505b5090505b6000851461306057600182612fc691906140af565b9150600a85612fd591906142e0565b6030612fe19190613fce565b60f81b81838151811061301d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130599190614024565b9450612fb1565b8093505050505b919050565b60009392505050565b60006001821460e11b9050919050565b82805461309190614206565b90600052602060002090601f0160209004810192826130b357600085556130fa565b82601f106130cc57805160ff19168380011785556130fa565b828001600101855582156130fa579182015b828111156130f95782518255916020019190600101906130de565b5b509050613107919061310b565b5090565b5b8082111561312457600081600090555060010161310c565b5090565b600061313b61313684613edd565b613eb8565b9050808382526020820190508285602086028201111561315a57600080fd5b60005b8581101561318a57816131708882613279565b84526020840193506020830192505060018101905061315d565b5050509392505050565b60006131a76131a284613f09565b613eb8565b9050828152602081018484840111156131bf57600080fd5b6131ca8482856141c4565b509392505050565b60006131e56131e084613f3a565b613eb8565b9050828152602081018484840111156131fd57600080fd5b6132088482856141c4565b509392505050565b60008135905061321f81614762565b92915050565b60008135905061323481614779565b92915050565b600082601f83011261324b57600080fd5b813561325b848260208601613128565b91505092915050565b60008135905061327381614790565b92915050565b600081359050613288816147a7565b92915050565b60008135905061329d816147be565b92915050565b6000815190506132b2816147be565b92915050565b600082601f8301126132c957600080fd5b81356132d9848260208601613194565b91505092915050565b600082601f8301126132f357600080fd5b81356133038482602086016131d2565b91505092915050565b60008135905061331b816147d5565b92915050565b600081359050613330816147ec565b92915050565b60008135905061334581614803565b92915050565b60006020828403121561335d57600080fd5b600061336b84828501613210565b91505092915050565b60006020828403121561338657600080fd5b600061339484828501613225565b91505092915050565b600080604083850312156133b057600080fd5b60006133be85828601613210565b92505060206133cf85828601613210565b9150509250929050565b6000806000606084860312156133ee57600080fd5b60006133fc86828701613210565b935050602061340d86828701613210565b925050604061341e86828701613321565b9150509250925092565b6000806000806080858703121561343e57600080fd5b600061344c87828801613210565b945050602061345d87828801613210565b935050604061346e87828801613321565b925050606085013567ffffffffffffffff81111561348b57600080fd5b613497878288016132b8565b91505092959194509250565b600080604083850312156134b657600080fd5b60006134c485828601613210565b92505060206134d585828601613264565b9150509250929050565b600080604083850312156134f257600080fd5b600061350085828601613210565b92505060206135118582860161330c565b9150509250929050565b6000806040838503121561352e57600080fd5b600061353c85828601613210565b925050602061354d85828601613321565b9150509250929050565b6000806000806080858703121561356d57600080fd5b600085013567ffffffffffffffff81111561358757600080fd5b6135938782880161323a565b94505060206135a487828801613279565b93505060406135b587828801613336565b92505060606135c687828801613336565b91505092959194509250565b600080604083850312156135e557600080fd5b60006135f385828601613279565b925050602061360485828601613336565b9150509250929050565b60006020828403121561362057600080fd5b600061362e8482850161328e565b91505092915050565b60006020828403121561364957600080fd5b6000613657848285016132a3565b91505092915050565b60006020828403121561367257600080fd5b600082013567ffffffffffffffff81111561368c57600080fd5b613698848285016132e2565b91505092915050565b6000602082840312156136b357600080fd5b60006136c184828501613321565b91505092915050565b6136d38161418e565b82525050565b6136e2816140e3565b82525050565b6136f96136f4826140e3565b6142b2565b82525050565b61370881614107565b82525050565b61371781614113565b82525050565b61372e61372982614113565b6142c4565b82525050565b600061373f82613f80565b6137498185613f96565b93506137598185602086016141d3565b613762816143cd565b840191505092915050565b600061377882613f8b565b6137828185613fb2565b93506137928185602086016141d3565b61379b816143cd565b840191505092915050565b60006137b182613f8b565b6137bb8185613fc3565b93506137cb8185602086016141d3565b80840191505092915050565b600081546137e481614206565b6137ee8186613fc3565b94506001821660008114613809576001811461381a5761384d565b60ff1983168652818601935061384d565b61382385613f6b565b60005b8381101561384557815481890152600182019150602081019050613826565b838801955050505b50505092915050565b6000613863601283613fb2565b915061386e826143eb565b602082019050919050565b6000613886601983613fb2565b915061389182614414565b602082019050919050565b60006138a9601f83613fb2565b91506138b48261443d565b602082019050919050565b60006138cc602683613fb2565b91506138d782614466565b604082019050919050565b60006138ef602e83613fb2565b91506138fa826144b5565b604082019050919050565b6000613912602683613fb2565b915061391d82614504565b604082019050919050565b6000613935601583613fb2565b915061394082614553565b602082019050919050565b6000613958603a83613fb2565b91506139638261457c565b604082019050919050565b600061397b601d83613fb2565b9150613986826145cb565b602082019050919050565b600061399e602b83613fb2565b91506139a9826145f4565b604082019050919050565b60006139c1600c83613fb2565b91506139cc82614643565b602082019050919050565b60006139e4601783613fb2565b91506139ef8261466c565b602082019050919050565b6000613a07601283613fb2565b9150613a1282614695565b602082019050919050565b6000613a2a602083613fb2565b9150613a35826146be565b602082019050919050565b6000613a4d601483613fb2565b9150613a58826146e7565b602082019050919050565b6000613a70602783613fb2565b9150613a7b82614710565b604082019050919050565b6000613a93600083613fa7565b9150613a9e8261475f565b600082019050919050565b613ab281614149565b82525050565b613ac181614177565b82525050565b613ad081614181565b82525050565b6000613ae282846136e8565b60148201915081905092915050565b6000613afd828561371d565b602082019150613b0d828461371d565b6020820191508190509392505050565b6000613b2982856137d7565b9150613b3582846137a6565b91508190509392505050565b6000613b4c82613a86565b9150819050919050565b6000602082019050613b6b60008301846136d9565b92915050565b6000604082019050613b8660008301856136ca565b613b936020830184613ab8565b9392505050565b6000608082019050613baf60008301876136d9565b613bbc60208301866136d9565b613bc96040830185613ab8565b8181036060830152613bdb8184613734565b905095945050505050565b6000604082019050613bfb60008301856136d9565b613c086020830184613ab8565b9392505050565b6000602082019050613c2460008301846136ff565b92915050565b6000602082019050613c3f600083018461370e565b92915050565b60006020820190508181036000830152613c5f818461376d565b905092915050565b60006020820190508181036000830152613c8081613856565b9050919050565b60006020820190508181036000830152613ca081613879565b9050919050565b60006020820190508181036000830152613cc08161389c565b9050919050565b60006020820190508181036000830152613ce0816138bf565b9050919050565b60006020820190508181036000830152613d00816138e2565b9050919050565b60006020820190508181036000830152613d2081613905565b9050919050565b60006020820190508181036000830152613d4081613928565b9050919050565b60006020820190508181036000830152613d608161394b565b9050919050565b60006020820190508181036000830152613d808161396e565b9050919050565b60006020820190508181036000830152613da081613991565b9050919050565b60006020820190508181036000830152613dc0816139b4565b9050919050565b60006020820190508181036000830152613de0816139d7565b9050919050565b60006020820190508181036000830152613e00816139fa565b9050919050565b60006020820190508181036000830152613e2081613a1d565b9050919050565b60006020820190508181036000830152613e4081613a40565b9050919050565b60006020820190508181036000830152613e6081613a63565b9050919050565b6000602082019050613e7c6000830184613aa9565b92915050565b6000602082019050613e976000830184613ab8565b92915050565b6000602082019050613eb26000830184613ac7565b92915050565b6000613ec2613ed3565b9050613ece8282614238565b919050565b6000604051905090565b600067ffffffffffffffff821115613ef857613ef761439e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613f2457613f2361439e565b5b613f2d826143cd565b9050602081019050919050565b600067ffffffffffffffff821115613f5557613f5461439e565b5b613f5e826143cd565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613fd982614177565b9150613fe483614177565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561401957614018614311565b5b828201905092915050565b600061402f82614177565b915061403a83614177565b92508261404a57614049614340565b5b828204905092915050565b600061406082614177565b915061406b83614177565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140a4576140a3614311565b5b828202905092915050565b60006140ba82614177565b91506140c583614177565b9250828210156140d8576140d7614311565b5b828203905092915050565b60006140ee82614157565b9050919050565b600061410082614157565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614199826141a0565b9050919050565b60006141ab826141b2565b9050919050565b60006141bd82614157565b9050919050565b82818337600083830152505050565b60005b838110156141f15780820151818401526020810190506141d6565b83811115614200576000848401525b50505050565b6000600282049050600182168061421e57607f821691505b602082108114156142325761423161436f565b5b50919050565b614241826143cd565b810181811067ffffffffffffffff821117156142605761425f61439e565b5b80604052505050565b600061427482614177565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142a7576142a6614311565b5b600182019050919050565b60006142bd826142ce565b9050919050565b6000819050919050565b60006142d9826143de565b9050919050565b60006142eb82614177565b91506142f683614177565b92508261430657614305614340565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e74206c696d697420726561636865640000000000000000000000000000600082015250565b7f546865207075626c69632073616c652069732070617573656400000000000000600082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e7420726571756573746564206973206f766572206d617820616d6f60008201527f756e74207065722077616c6c6574000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4574686572207472616e73666572206661696c65640000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4f7574206f662073746f636b0000000000000000000000000000000000000000600082015250565b7f596f7520617265206e6f7420696e20746865206c697374000000000000000000600082015250565b7f5468652073616c65206973207061757365640000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520707269636520697320696e76616c6964000000000000000000000000600082015250565b7f54686973206c65616620646f6573206e6f742062656c6f6e6720746f2074686560008201527f2073656e64657200000000000000000000000000000000000000000000000000602082015250565b50565b61476b816140e3565b811461477657600080fd5b50565b614782816140f5565b811461478d57600080fd5b50565b61479981614107565b81146147a457600080fd5b50565b6147b081614113565b81146147bb57600080fd5b50565b6147c78161411d565b81146147d257600080fd5b50565b6147de81614149565b81146147e957600080fd5b50565b6147f581614177565b811461480057600080fd5b50565b61480c81614181565b811461481757600080fd5b5056fea264697066735822122085b32054fdde54bde97639f47245ddd941f9f103b90cb8baa69f0315a075b4c164736f6c634300080400330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000064c756d656e73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054c554d454e000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102605760003560e01c806370a0823111610144578063aa4e891a116100b6578063ce7c2ac21161007a578063ce7c2ac2146108fc578063e222c7f914610939578063e33b7de314610950578063e985e9c51461097b578063f2fde38b146109b8578063f38ade9b146109e1576102a7565b8063aa4e891a1461082b578063b66a0e5d14610856578063b74e94cf1461086d578063b88d4fde14610896578063c87b56dd146108bf576102a7565b806395d89b411161010857806395d89b411461073c5780639852595c14610767578063a13b1779146107a4578063a22cb465146107c0578063a2e91477146107e9578063a475b5dd14610814576102a7565b806370a0823114610657578063715018a61461069457806381530b68146106ab5780638b83209b146106d45780638da5cb5b14610711576102a7565b80633c70b357116101dd57806355367ba9116101a157806355367ba91461056f57806355f804b3146105865780635a8dc0d4146105af5780635c474f9e146105c65780636352211e146105f15780636797fdda1461062e576102a7565b80633c70b3571461048a5780633ccfd60b146104c75780633cdc5db2146104de57806342842e0e14610509578063504454ad14610532576102a7565b80630d39fc81116102245780630d39fc81146103b757806318160ddd146103e2578063191655871461040d57806323b872dd146104365780633a98ef391461045f576102a7565b806301ffc9a7146102ac57806306fdde03146102e9578063081812fc14610314578063095ea7b3146103515780630a398b881461037a576102a7565b366102a7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061028e610a0a565b3460405161029d929190613be6565b60405180910390a1005b600080fd5b3480156102b857600080fd5b506102d360048036038101906102ce919061360e565b610a12565b6040516102e09190613c0f565b60405180910390f35b3480156102f557600080fd5b506102fe610aa4565b60405161030b9190613c45565b60405180910390f35b34801561032057600080fd5b5061033b600480360381019061033691906136a1565b610b36565b6040516103489190613b56565b60405180910390f35b34801561035d57600080fd5b506103786004803603810190610373919061351b565b610bb2565b005b34801561038657600080fd5b506103a1600480360381019061039c919061334b565b610cf3565b6040516103ae9190613e9d565b60405180910390f35b3480156103c357600080fd5b506103cc610d13565b6040516103d99190613e82565b60405180910390f35b3480156103ee57600080fd5b506103f7610d19565b6040516104049190613e82565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f9190613374565b610d30565b005b34801561044257600080fd5b5061045d600480360381019061045891906133d9565b610f98565b005b34801561046b57600080fd5b506104746112bd565b6040516104819190613e82565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac91906136a1565b6112c7565b6040516104be9190613c2a565b60405180910390f35b3480156104d357600080fd5b506104dc6112e2565b005b3480156104ea57600080fd5b506104f361140d565b6040516105009190613e67565b60405180910390f35b34801561051557600080fd5b50610530600480360381019061052b91906133d9565b611421565b005b34801561053e57600080fd5b50610559600480360381019061055491906136a1565b611441565b6040516105669190613e9d565b60405180910390f35b34801561057b57600080fd5b50610584611475565b005b34801561059257600080fd5b506105ad60048036038101906105a89190613660565b61150e565b005b3480156105bb57600080fd5b506105c46115a4565b005b3480156105d257600080fd5b506105db6116b9565b6040516105e89190613c0f565b60405180910390f35b3480156105fd57600080fd5b50610618600480360381019061061391906136a1565b6116cc565b6040516106259190613b56565b60405180910390f35b34801561063a57600080fd5b50610655600480360381019061065091906135d2565b6116de565b005b34801561066357600080fd5b5061067e6004803603810190610679919061334b565b6117a1565b60405161068b9190613e82565b60405180910390f35b3480156106a057600080fd5b506106a961185a565b005b3480156106b757600080fd5b506106d260048036038101906106cd91906136a1565b6118e2565b005b3480156106e057600080fd5b506106fb60048036038101906106f691906136a1565b611968565b6040516107089190613b56565b60405180910390f35b34801561071d57600080fd5b506107266119d6565b6040516107339190613b56565b60405180910390f35b34801561074857600080fd5b50610751611a00565b60405161075e9190613c45565b60405180910390f35b34801561077357600080fd5b5061078e6004803603810190610789919061334b565b611a92565b60405161079b9190613e82565b60405180910390f35b6107be60048036038101906107b99190613557565b611adb565b005b3480156107cc57600080fd5b506107e760048036038101906107e291906134a3565b611c46565b005b3480156107f557600080fd5b506107fe611dbe565b60405161080b9190613c0f565b60405180910390f35b34801561082057600080fd5b50610829611dd1565b005b34801561083757600080fd5b50610840611e6a565b60405161084d9190613c0f565b60405180910390f35b34801561086257600080fd5b5061086b611e7d565b005b34801561087957600080fd5b50610894600480360381019061088f91906134df565b611f16565b005b3480156108a257600080fd5b506108bd60048036038101906108b89190613428565b612032565b005b3480156108cb57600080fd5b506108e660048036038101906108e191906136a1565b6120a5565b6040516108f39190613c45565b60405180910390f35b34801561090857600080fd5b50610923600480360381019061091e919061334b565b612170565b6040516109309190613e82565b60405180910390f35b34801561094557600080fd5b5061094e6121b9565b005b34801561095c57600080fd5b50610965612261565b6040516109729190613e82565b60405180910390f35b34801561098757600080fd5b506109a2600480360381019061099d919061339d565b61226b565b6040516109af9190613c0f565b60405180910390f35b3480156109c457600080fd5b506109df60048036038101906109da919061334b565b6122ff565b005b3480156109ed57600080fd5b50610a086004803603810190610a039190613660565b6123f7565b005b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a9d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610ab390614206565b80601f0160208091040260200160405190810160405280929190818152602001828054610adf90614206565b8015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b820191906000526020600020905b815481529060010190602001808311610b0f57829003601f168201915b5050505050905090565b6000610b418261248d565b610b77576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bbd826116cc565b90508073ffffffffffffffffffffffffffffffffffffffff16610bde6124ec565b73ffffffffffffffffffffffffffffffffffffffff1614610c4157610c0a81610c056124ec565b61226b565b610c40576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60126020528060005260406000206000915054906101000a900460ff1681565b60185481565b6000610d236124f4565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990613d07565b60405180910390fd5b6000600a5447610dc29190613fce565b90506000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600954600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610e549190614055565b610e5e9190614024565b610e6891906140af565b90506000811415610eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea590613d87565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ef99190613fce565b600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600a54610f4a9190613fce565b600a81905550610f5a83826124fd565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610f8b929190613b71565b60405180910390a1505050565b6000610fa3826125f1565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461100a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611016846126bf565b9150915061102c81876110276124ec565b6126e1565b611078576110418661103c6124ec565b61226b565b611077576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156110df576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110ec8686866001612725565b80156110f757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506111c5856111a188888761272b565b7c020000000000000000000000000000000000000000000000000000000017612753565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561124d57600060018501905060006004600083815260200190815260200160002054141561124b57600054811461124a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112b5868686600161277e565b505050505050565b6000600954905090565b600e81600481106112d757600080fd5b016000915090505481565b6112ea610a0a565b73ffffffffffffffffffffffffffffffffffffffff166113086119d6565b73ffffffffffffffffffffffffffffffffffffffff161461135e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135590613e07565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff164760405161138490613b41565b60006040518083038185875af1925050503d80600081146113c1576040519150601f19603f3d011682016040523d82523d6000602084013e6113c6565b606091505b505090508061140a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140190613d27565b60405180910390fd5b50565b601360009054906101000a900461ffff1681565b61143c83838360405180602001604052806000815250612032565b505050565b6014818154811061145157600080fd5b9060005260206000209060209182820401919006915054906101000a900460ff1681565b61147d610a0a565b73ffffffffffffffffffffffffffffffffffffffff1661149b6119d6565b73ffffffffffffffffffffffffffffffffffffffff16146114f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e890613e07565b60405180910390fd5b6000601560016101000a81548160ff021916908315150217905550565b611516610a0a565b73ffffffffffffffffffffffffffffffffffffffff166115346119d6565b73ffffffffffffffffffffffffffffffffffffffff161461158a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158190613e07565b60405180910390fd5b80601690805190602001906115a0929190613085565b5050565b6115ac610a0a565b73ffffffffffffffffffffffffffffffffffffffff166115ca6119d6565b73ffffffffffffffffffffffffffffffffffffffff1614611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790613e07565b60405180910390fd5b60005b6019805490508110156116b65760006019828154811061166c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506116a281610d30565b5080806116ae90614269565b915050611623565b50565b601560019054906101000a900460ff1681565b60006116d7826125f1565b9050919050565b6116e6610a0a565b73ffffffffffffffffffffffffffffffffffffffff166117046119d6565b73ffffffffffffffffffffffffffffffffffffffff161461175a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175190613e07565b60405180910390fd5b81600e8260ff1660048110611798577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611809576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611862610a0a565b73ffffffffffffffffffffffffffffffffffffffff166118806119d6565b73ffffffffffffffffffffffffffffffffffffffff16146118d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cd90613e07565b60405180910390fd5b6118e06000612784565b565b6118ea610a0a565b73ffffffffffffffffffffffffffffffffffffffff166119086119d6565b73ffffffffffffffffffffffffffffffffffffffff161461195e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195590613e07565b60405180910390fd5b8060188190555050565b6000600d82815481106119a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611a0f90614206565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3b90614206565b8015611a885780601f10611a5d57610100808354040283529160200191611a88565b820191906000526020600020905b815481529060010190602001808311611a6b57829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60038160ff1614611be5578233604051602001611af89190613ad6565b6040516020818303038152906040528051906020012014611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590613e47565b60405180910390fd5b611ba1600e8260ff1660048110611b8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0154848661284a9092919063ffffffff16565b611be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd790613dc7565b60405180910390fd5b611c35565b601560029054906101000a900460ff16611c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2b90613c87565b60405180910390fd5b5b611c40338383612926565b50505050565b611c4e6124ec565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb3576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611cc06124ec565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d6d6124ec565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db29190613c0f565b60405180910390a35050565b601560029054906101000a900460ff1681565b611dd9610a0a565b73ffffffffffffffffffffffffffffffffffffffff16611df76119d6565b73ffffffffffffffffffffffffffffffffffffffff1614611e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4490613e07565b60405180910390fd5b6000601560006101000a81548160ff021916908315150217905550565b601560009054906101000a900460ff1681565b611e85610a0a565b73ffffffffffffffffffffffffffffffffffffffff16611ea36119d6565b73ffffffffffffffffffffffffffffffffffffffff1614611ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef090613e07565b60405180910390fd5b6001601560016101000a81548160ff021916908315150217905550565b611f1e610a0a565b73ffffffffffffffffffffffffffffffffffffffff16611f3c6119d6565b73ffffffffffffffffffffffffffffffffffffffff1614611f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8990613e07565b60405180910390fd5b60db61ffff1681601360009054906101000a900461ffff160161ffff161115611ff0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe790613da7565b60405180910390fd5b80601360008282829054906101000a900461ffff160192506101000a81548161ffff021916908361ffff16021790555061202e828261ffff16612b8b565b5050565b61203d848484610f98565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461209f5761206884848484612d5f565b61209e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606120b08261248d565b6120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e690613ca7565b60405180910390fd5b60011515601560009054906101000a900460ff161515141561213d57601761211683612ebf565b604051602001612127929190613b1d565b604051602081830303815290604052905061216b565b601661214883612ebf565b604051602001612159929190613b1d565b60405160208183030381529060405290505b919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6121c1610a0a565b73ffffffffffffffffffffffffffffffffffffffff166121df6119d6565b73ffffffffffffffffffffffffffffffffffffffff1614612235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222c90613e07565b60405180910390fd5b601560029054906101000a900460ff1615601560026101000a81548160ff021916908315150217905550565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612307610a0a565b73ffffffffffffffffffffffffffffffffffffffff166123256119d6565b73ffffffffffffffffffffffffffffffffffffffff161461237b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237290613e07565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e290613cc7565b60405180910390fd5b6123f481612784565b50565b6123ff610a0a565b73ffffffffffffffffffffffffffffffffffffffff1661241d6119d6565b73ffffffffffffffffffffffffffffffffffffffff1614612473576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246a90613e07565b60405180910390fd5b8060179080519060200190612489929190613085565b5050565b6000816124986124f4565b111580156124a7575060005482105b80156124e5575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b80471015612540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253790613d67565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161256690613b41565b60006040518083038185875af1925050503d80600081146125a3576040519150601f19603f3d011682016040523d82523d6000602084013e6125a8565b606091505b50509050806125ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e390613d47565b60405180910390fd5b505050565b600080829050806126006124f4565b11612688576000548110156126875760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612685575b600081141561267b576004600083600190039350838152602001908152602001600020549050612650565b80925050506126ba565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861274286868461306c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b8551811015612918576000868281518110612897577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116128d85782816040516020016128bb929190613af1565b604051602081830303815290604052805190602001209250612904565b80836040516020016128eb929190613af1565b6040516020818303038152906040528051906020012092505b50808061291090614269565b915050612853565b508381149150509392505050565b601560019054906101000a900460ff16612975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296c90613de7565b60405180910390fd5b8160ff166018546129869190614055565b34146129c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129be90613e27565b60405180910390fd5b6122b861ffff168260ff166129da610d19565b011115612a1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1390613c67565b60405180910390fd5b60148160ff1681548110612a59577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090602091828204019190069054906101000a900460ff1660ff1682601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff160160ff161115612b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0690613ce7565b60405180910390fd5b81601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff160192506101000a81548160ff021916908360ff160217905550612b86338360ff16612b8b565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bf8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612c33576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c406000848385612725565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612cb783612ca8600086600061272b565b612cb185613075565b17612753565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612cdb57806000819055505050612d5a600084838561277e565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d856124ec565b8786866040518563ffffffff1660e01b8152600401612da79493929190613b9a565b602060405180830381600087803b158015612dc157600080fd5b505af1925050508015612df257506040513d601f19601f82011682018060405250810190612def9190613637565b60015b612e6c573d8060008114612e22576040519150601f19603f3d011682016040523d82523d6000602084013e612e27565b606091505b50600081511415612e64576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612f07576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613067565b600082905060005b60008214612f39578080612f2290614269565b915050600a82612f329190614024565b9150612f0f565b60008167ffffffffffffffff811115612f7b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612fad5781602001600182028036833780820191505090505b5090505b6000851461306057600182612fc691906140af565b9150600a85612fd591906142e0565b6030612fe19190613fce565b60f81b81838151811061301d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130599190614024565b9450612fb1565b8093505050505b919050565b60009392505050565b60006001821460e11b9050919050565b82805461309190614206565b90600052602060002090601f0160209004810192826130b357600085556130fa565b82601f106130cc57805160ff19168380011785556130fa565b828001600101855582156130fa579182015b828111156130f95782518255916020019190600101906130de565b5b509050613107919061310b565b5090565b5b8082111561312457600081600090555060010161310c565b5090565b600061313b61313684613edd565b613eb8565b9050808382526020820190508285602086028201111561315a57600080fd5b60005b8581101561318a57816131708882613279565b84526020840193506020830192505060018101905061315d565b5050509392505050565b60006131a76131a284613f09565b613eb8565b9050828152602081018484840111156131bf57600080fd5b6131ca8482856141c4565b509392505050565b60006131e56131e084613f3a565b613eb8565b9050828152602081018484840111156131fd57600080fd5b6132088482856141c4565b509392505050565b60008135905061321f81614762565b92915050565b60008135905061323481614779565b92915050565b600082601f83011261324b57600080fd5b813561325b848260208601613128565b91505092915050565b60008135905061327381614790565b92915050565b600081359050613288816147a7565b92915050565b60008135905061329d816147be565b92915050565b6000815190506132b2816147be565b92915050565b600082601f8301126132c957600080fd5b81356132d9848260208601613194565b91505092915050565b600082601f8301126132f357600080fd5b81356133038482602086016131d2565b91505092915050565b60008135905061331b816147d5565b92915050565b600081359050613330816147ec565b92915050565b60008135905061334581614803565b92915050565b60006020828403121561335d57600080fd5b600061336b84828501613210565b91505092915050565b60006020828403121561338657600080fd5b600061339484828501613225565b91505092915050565b600080604083850312156133b057600080fd5b60006133be85828601613210565b92505060206133cf85828601613210565b9150509250929050565b6000806000606084860312156133ee57600080fd5b60006133fc86828701613210565b935050602061340d86828701613210565b925050604061341e86828701613321565b9150509250925092565b6000806000806080858703121561343e57600080fd5b600061344c87828801613210565b945050602061345d87828801613210565b935050604061346e87828801613321565b925050606085013567ffffffffffffffff81111561348b57600080fd5b613497878288016132b8565b91505092959194509250565b600080604083850312156134b657600080fd5b60006134c485828601613210565b92505060206134d585828601613264565b9150509250929050565b600080604083850312156134f257600080fd5b600061350085828601613210565b92505060206135118582860161330c565b9150509250929050565b6000806040838503121561352e57600080fd5b600061353c85828601613210565b925050602061354d85828601613321565b9150509250929050565b6000806000806080858703121561356d57600080fd5b600085013567ffffffffffffffff81111561358757600080fd5b6135938782880161323a565b94505060206135a487828801613279565b93505060406135b587828801613336565b92505060606135c687828801613336565b91505092959194509250565b600080604083850312156135e557600080fd5b60006135f385828601613279565b925050602061360485828601613336565b9150509250929050565b60006020828403121561362057600080fd5b600061362e8482850161328e565b91505092915050565b60006020828403121561364957600080fd5b6000613657848285016132a3565b91505092915050565b60006020828403121561367257600080fd5b600082013567ffffffffffffffff81111561368c57600080fd5b613698848285016132e2565b91505092915050565b6000602082840312156136b357600080fd5b60006136c184828501613321565b91505092915050565b6136d38161418e565b82525050565b6136e2816140e3565b82525050565b6136f96136f4826140e3565b6142b2565b82525050565b61370881614107565b82525050565b61371781614113565b82525050565b61372e61372982614113565b6142c4565b82525050565b600061373f82613f80565b6137498185613f96565b93506137598185602086016141d3565b613762816143cd565b840191505092915050565b600061377882613f8b565b6137828185613fb2565b93506137928185602086016141d3565b61379b816143cd565b840191505092915050565b60006137b182613f8b565b6137bb8185613fc3565b93506137cb8185602086016141d3565b80840191505092915050565b600081546137e481614206565b6137ee8186613fc3565b94506001821660008114613809576001811461381a5761384d565b60ff1983168652818601935061384d565b61382385613f6b565b60005b8381101561384557815481890152600182019150602081019050613826565b838801955050505b50505092915050565b6000613863601283613fb2565b915061386e826143eb565b602082019050919050565b6000613886601983613fb2565b915061389182614414565b602082019050919050565b60006138a9601f83613fb2565b91506138b48261443d565b602082019050919050565b60006138cc602683613fb2565b91506138d782614466565b604082019050919050565b60006138ef602e83613fb2565b91506138fa826144b5565b604082019050919050565b6000613912602683613fb2565b915061391d82614504565b604082019050919050565b6000613935601583613fb2565b915061394082614553565b602082019050919050565b6000613958603a83613fb2565b91506139638261457c565b604082019050919050565b600061397b601d83613fb2565b9150613986826145cb565b602082019050919050565b600061399e602b83613fb2565b91506139a9826145f4565b604082019050919050565b60006139c1600c83613fb2565b91506139cc82614643565b602082019050919050565b60006139e4601783613fb2565b91506139ef8261466c565b602082019050919050565b6000613a07601283613fb2565b9150613a1282614695565b602082019050919050565b6000613a2a602083613fb2565b9150613a35826146be565b602082019050919050565b6000613a4d601483613fb2565b9150613a58826146e7565b602082019050919050565b6000613a70602783613fb2565b9150613a7b82614710565b604082019050919050565b6000613a93600083613fa7565b9150613a9e8261475f565b600082019050919050565b613ab281614149565b82525050565b613ac181614177565b82525050565b613ad081614181565b82525050565b6000613ae282846136e8565b60148201915081905092915050565b6000613afd828561371d565b602082019150613b0d828461371d565b6020820191508190509392505050565b6000613b2982856137d7565b9150613b3582846137a6565b91508190509392505050565b6000613b4c82613a86565b9150819050919050565b6000602082019050613b6b60008301846136d9565b92915050565b6000604082019050613b8660008301856136ca565b613b936020830184613ab8565b9392505050565b6000608082019050613baf60008301876136d9565b613bbc60208301866136d9565b613bc96040830185613ab8565b8181036060830152613bdb8184613734565b905095945050505050565b6000604082019050613bfb60008301856136d9565b613c086020830184613ab8565b9392505050565b6000602082019050613c2460008301846136ff565b92915050565b6000602082019050613c3f600083018461370e565b92915050565b60006020820190508181036000830152613c5f818461376d565b905092915050565b60006020820190508181036000830152613c8081613856565b9050919050565b60006020820190508181036000830152613ca081613879565b9050919050565b60006020820190508181036000830152613cc08161389c565b9050919050565b60006020820190508181036000830152613ce0816138bf565b9050919050565b60006020820190508181036000830152613d00816138e2565b9050919050565b60006020820190508181036000830152613d2081613905565b9050919050565b60006020820190508181036000830152613d4081613928565b9050919050565b60006020820190508181036000830152613d608161394b565b9050919050565b60006020820190508181036000830152613d808161396e565b9050919050565b60006020820190508181036000830152613da081613991565b9050919050565b60006020820190508181036000830152613dc0816139b4565b9050919050565b60006020820190508181036000830152613de0816139d7565b9050919050565b60006020820190508181036000830152613e00816139fa565b9050919050565b60006020820190508181036000830152613e2081613a1d565b9050919050565b60006020820190508181036000830152613e4081613a40565b9050919050565b60006020820190508181036000830152613e6081613a63565b9050919050565b6000602082019050613e7c6000830184613aa9565b92915050565b6000602082019050613e976000830184613ab8565b92915050565b6000602082019050613eb26000830184613ac7565b92915050565b6000613ec2613ed3565b9050613ece8282614238565b919050565b6000604051905090565b600067ffffffffffffffff821115613ef857613ef761439e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613f2457613f2361439e565b5b613f2d826143cd565b9050602081019050919050565b600067ffffffffffffffff821115613f5557613f5461439e565b5b613f5e826143cd565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613fd982614177565b9150613fe483614177565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561401957614018614311565b5b828201905092915050565b600061402f82614177565b915061403a83614177565b92508261404a57614049614340565b5b828204905092915050565b600061406082614177565b915061406b83614177565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140a4576140a3614311565b5b828202905092915050565b60006140ba82614177565b91506140c583614177565b9250828210156140d8576140d7614311565b5b828203905092915050565b60006140ee82614157565b9050919050565b600061410082614157565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614199826141a0565b9050919050565b60006141ab826141b2565b9050919050565b60006141bd82614157565b9050919050565b82818337600083830152505050565b60005b838110156141f15780820151818401526020810190506141d6565b83811115614200576000848401525b50505050565b6000600282049050600182168061421e57607f821691505b602082108114156142325761423161436f565b5b50919050565b614241826143cd565b810181811067ffffffffffffffff821117156142605761425f61439e565b5b80604052505050565b600061427482614177565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142a7576142a6614311565b5b600182019050919050565b60006142bd826142ce565b9050919050565b6000819050919050565b60006142d9826143de565b9050919050565b60006142eb82614177565b91506142f683614177565b92508261430657614305614340565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e74206c696d697420726561636865640000000000000000000000000000600082015250565b7f546865207075626c69632073616c652069732070617573656400000000000000600082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e7420726571756573746564206973206f766572206d617820616d6f60008201527f756e74207065722077616c6c6574000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4574686572207472616e73666572206661696c65640000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4f7574206f662073746f636b0000000000000000000000000000000000000000600082015250565b7f596f7520617265206e6f7420696e20746865206c697374000000000000000000600082015250565b7f5468652073616c65206973207061757365640000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520707269636520697320696e76616c6964000000000000000000000000600082015250565b7f54686973206c65616620646f6573206e6f742062656c6f6e6720746f2074686560008201527f2073656e64657200000000000000000000000000000000000000000000000000602082015250565b50565b61476b816140e3565b811461477657600080fd5b50565b614782816140f5565b811461478d57600080fd5b50565b61479981614107565b81146147a457600080fd5b50565b6147b081614113565b81146147bb57600080fd5b50565b6147c78161411d565b81146147d257600080fd5b50565b6147de81614149565b81146147e957600080fd5b50565b6147f581614177565b811461480057600080fd5b50565b61480c81614181565b811461481757600080fd5b5056fea264697066735822122085b32054fdde54bde97639f47245ddd941f9f103b90cb8baa69f0315a075b4c164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000064c756d656e73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054c554d454e000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Lumens
Arg [1] : symbol (string): LUMEN
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [3] : 4c756d656e730000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 4c554d454e000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.