Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,535,500,000 FT
Holders
219
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
4,500,000 FTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FlyToken
Compiler Version
v0.8.15+commit.e14f2714
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/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import 'erc721a/contracts/ERC721A.sol'; contract FlyToken is ERC20, Pausable, Ownable { IERC721A public immutable dirty; IERC721A public immutable human; uint public immutable cap = 57880000000 ether; uint public immutable dirtyRewards = 500000; uint public immutable humanOgRewards = 2000000; uint public immutable humanRewards = 1500000; uint private immutable invalidTokenId = 999999; mapping(uint => bool) public dirtyClaimTokenIdsMap; mapping(uint => bool) public humanClaimTokenIdsMap; address public immutable deadAddr = 0x000000000000000000000000000000000000dEaD; constructor() ERC20("Fly Token", "FT") { dirty = IERC721A(0x9984bD85adFEF02Cea2C28819aF81A6D17a3Cb96); human = IERC721A(0x01A75Fb1A4b1A8f699fd00ad051f9100EbEcec42); pause(); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function claimableTokenIdsForDirty(address msgSender) public view returns (uint[] memory _tokenIds) { uint length = dirty.balanceOf(msgSender); uint j = 0; _tokenIds = new uint[](length); for (uint i = 0; i < dirty.totalSupply(); i++) { if (dirty.ownerOf(i) == msgSender && !dirtyClaimTokenIdsMap[i]) { _tokenIds[j++] = i; } } for (uint i = j; i < length; i++) { _tokenIds[i] = invalidTokenId; } } function claimableTokenIdsForHumanOg(address msgSender) public view returns (uint[] memory _tokenIds) { uint length = human.balanceOf(msgSender); uint j = 0; _tokenIds = new uint[](length); for (uint i = 0; i < human.totalSupply() && i < 726; i++) { if (human.ownerOf(i) == msgSender && !humanClaimTokenIdsMap[i]) { _tokenIds[j++] = i; } } for (uint i = j; i < length; i++) { _tokenIds[i] = invalidTokenId; } } function claimableTokenIdsForHuman(address msgSender) public view returns (uint[] memory _tokenIds) { uint length = human.balanceOf(msgSender); uint j = 0; _tokenIds = new uint[](length); for (uint i = 726; i < human.totalSupply(); i++) { if (human.ownerOf(i) == msgSender && !humanClaimTokenIdsMap[i]) { _tokenIds[j++] = i; } } for (uint i = j; i < length; i++) { _tokenIds[i] = invalidTokenId; } } function claim(uint[] memory dirtyTokenIds, uint[] memory humanOgTokenIds, uint[] memory humanTokenIds) external whenNotPaused { address msgSender = msg.sender; require(dirtyTokenIds.length != 0 || humanOgTokenIds.length != 0 || humanTokenIds.length != 0, "No tokens can claim."); for (uint i = 0; i < dirtyTokenIds.length; i++) { uint tokenId = dirtyTokenIds[i]; require(dirty.ownerOf(tokenId) == msgSender && !dirtyClaimTokenIdsMap[tokenId], 'tokenId invalid'); dirtyClaimTokenIdsMap[tokenId] = true; } for (uint i = 0; i < humanOgTokenIds.length; i++) { uint tokenId = humanOgTokenIds[i]; require(human.ownerOf(tokenId) == msgSender && !humanClaimTokenIdsMap[tokenId], 'tokenId invalid'); humanClaimTokenIdsMap[tokenId] = true; } for (uint i = 0; i < humanTokenIds.length; i++) { uint tokenId = humanTokenIds[i]; require(human.ownerOf(tokenId) == msgSender && !humanClaimTokenIdsMap[tokenId], 'tokenId invalid'); humanClaimTokenIdsMap[tokenId] = true; } uint amount = dirtyTokenIds.length * dirtyRewards + humanOgTokenIds.length * humanOgRewards + humanTokenIds.length * humanRewards; _mint(msgSender, amount * 1e18); } function mint(address to, uint256 amount) public onlyOwner { require(to != address(0), "Cannot have a non-address as reserve."); require(totalSupply() + amount <= cap, "total supply of tokens cannot exceed the cap"); _mint(to, amount); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override { super._beforeTokenTransfer(from, to, amount); } }
// 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 // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"dirtyTokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"humanOgTokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"humanTokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"msgSender","type":"address"}],"name":"claimableTokenIdsForDirty","outputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"msgSender","type":"address"}],"name":"claimableTokenIdsForHuman","outputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"msgSender","type":"address"}],"name":"claimableTokenIdsForHumanOg","outputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dirty","outputs":[{"internalType":"contract IERC721A","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dirtyClaimTokenIdsMap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dirtyRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"human","outputs":[{"internalType":"contract IERC721A","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"humanClaimTokenIdsMap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"humanOgRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"humanRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101806040526bbb0536bf2c4cfe691800000060c0908152506207a12060e090815250621e8480610100908152506216e36061012090815250620f423f6101409081525061dead73ffffffffffffffffffffffffffffffffffffffff166101609073ffffffffffffffffffffffffffffffffffffffff168152503480156200008657600080fd5b506040518060400160405280600981526020017f466c7920546f6b656e00000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f46540000000000000000000000000000000000000000000000000000000000008152508160039081620001049190620006ee565b508060049081620001169190620006ee565b5050506000600560006101000a81548160ff0219169083151502179055506200015462000148620001fa60201b60201c565b6200020260201b60201c565b739984bd85adfef02cea2c28819af81a6d17a3cb9673ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250507301a75fb1a4b1a8f699fd00ad051f9100ebecec4273ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1681525050620001f4620002c860201b60201c565b6200092c565b600033905090565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002d8620001fa60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002fe6200036960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000357576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200034e9062000836565b60405180910390fd5b620003676200039360201b60201c565b565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620003a36200040860201b60201c565b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620003ef620001fa60201b60201c565b604051620003fe91906200089d565b60405180910390a1565b620004186200045d60201b60201c565b156200045b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000452906200090a565b60405180910390fd5b565b6000600560009054906101000a900460ff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004f657607f821691505b6020821081036200050c576200050b620004ae565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005767fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000537565b62000582868362000537565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005cf620005c9620005c3846200059a565b620005a4565b6200059a565b9050919050565b6000819050919050565b620005eb83620005ae565b62000603620005fa82620005d6565b84845462000544565b825550505050565b600090565b6200061a6200060b565b62000627818484620005e0565b505050565b5b818110156200064f576200064360008262000610565b6001810190506200062d565b5050565b601f8211156200069e57620006688162000512565b620006738462000527565b8101602085101562000683578190505b6200069b620006928562000527565b8301826200062c565b50505b505050565b600082821c905092915050565b6000620006c360001984600802620006a3565b1980831691505092915050565b6000620006de8383620006b0565b9150826002028217905092915050565b620006f98262000474565b67ffffffffffffffff8111156200071557620007146200047f565b5b620007218254620004dd565b6200072e82828562000653565b600060209050601f83116001811462000766576000841562000751578287015190505b6200075d8582620006d0565b865550620007cd565b601f198416620007768662000512565b60005b82811015620007a05784890151825560018201915060208501945060208101905062000779565b86831015620007c05784890151620007bc601f891682620006b0565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200081e602083620007d5565b91506200082b82620007e6565b602082019050919050565b6000602082019050818103600083015262000851816200080f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008858262000858565b9050919050565b620008978162000878565b82525050565b6000602082019050620008b460008301846200088c565b92915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000620008f2601083620007d5565b9150620008ff82620008ba565b602082019050919050565b600060208201905081810360008301526200092581620008e3565b9050919050565b60805160a05160c05160e051610100516101205161014051610160516137ea62000a1060003960006115f90152600081816109de01528181610d3701526112ad01526000818161155e0152611ba9015260008181611bd60152611e2c015260008181611c030152611d11015260008181610a420152610f3a015260008181610a6a01528181610b5b01528181610c0801528181610fd8015281816110c40152818161117e01528181611640015281816118af0152611a4c01526000818161071601528181610802015281816108af015281816113d8015261171201526137ea6000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80637dce0fd01161010f578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e1461059a578063efc258e6146105ca578063f2fde38b146105e8578063fb77133f14610604576101e5565b8063a9059cbb14610500578063c1e18d1514610530578063c9684a8d1461054e578063cacd0c641461056a576101e5565b80639ffd3d9c116100de5780639ffd3d9c14610464578063a0ea496014610494578063a457c2d7146104b2578063a5962524146104e2576101e5565b80637dce0fd0146104005780638456cb591461041e5780638da5cb5b1461042857806395d89b4114610446576101e5565b806336678f78116101875780635c975abb116101565780635c975abb146103785780636868d9d31461039657806370a08231146103c6578063715018a6146103f6576101e5565b806336678f78146102f257806339509351146103225780633f4ba83a1461035257806340c10f191461035c576101e5565b806323b872dd116101c357806323b872dd1461025657806326082d0a14610286578063313ce567146102b6578063355274ea146102d4576101e5565b806306fdde03146101ea578063095ea7b31461020857806318160ddd14610238575b600080fd5b6101f2610622565b6040516101ff9190612763565b60405180910390f35b610222600480360381019061021d919061282d565b6106b4565b60405161022f9190612888565b60405180910390f35b6102406106d7565b60405161024d91906128b2565b60405180910390f35b610270600480360381019061026b91906128cd565b6106e1565b60405161027d9190612888565b60405180910390f35b6102a0600480360381019061029b9190612920565b610710565b6040516102ad9190612a0b565b60405180910390f35b6102be610a37565b6040516102cb9190612a49565b60405180910390f35b6102dc610a40565b6040516102e991906128b2565b60405180910390f35b61030c60048036038101906103079190612920565b610a64565b6040516103199190612a0b565b60405180910390f35b61033c6004803603810190610337919061282d565b610d90565b6040516103499190612888565b60405180910390f35b61035a610dc7565b005b6103766004803603810190610371919061282d565b610e4d565b005b610380610fbb565b60405161038d9190612888565b60405180910390f35b6103b060048036038101906103ab9190612920565b610fd2565b6040516103bd9190612a0b565b60405180910390f35b6103e060048036038101906103db9190612920565b611306565b6040516103ed91906128b2565b60405180910390f35b6103fe61134e565b005b6104086113d6565b6040516104159190612ac3565b60405180910390f35b6104266113fa565b005b610430611480565b60405161043d9190612aed565b60405180910390f35b61044e6114aa565b60405161045b9190612763565b60405180910390f35b61047e60048036038101906104799190612b08565b61153c565b60405161048b9190612888565b60405180910390f35b61049c61155c565b6040516104a991906128b2565b60405180910390f35b6104cc60048036038101906104c7919061282d565b611580565b6040516104d99190612888565b60405180910390f35b6104ea6115f7565b6040516104f79190612aed565b60405180910390f35b61051a6004803603810190610515919061282d565b61161b565b6040516105279190612888565b60405180910390f35b61053861163e565b6040516105459190612ac3565b60405180910390f35b61056860048036038101906105639190612c7d565b611662565b005b610584600480360381019061057f9190612b08565b611c68565b6040516105919190612888565b60405180910390f35b6105b460048036038101906105af9190612d24565b611c88565b6040516105c191906128b2565b60405180910390f35b6105d2611d0f565b6040516105df91906128b2565b60405180910390f35b61060260048036038101906105fd9190612920565b611d33565b005b61060c611e2a565b60405161061991906128b2565b60405180910390f35b60606003805461063190612d93565b80601f016020809104026020016040519081016040528092919081815260200182805461065d90612d93565b80156106aa5780601f1061067f576101008083540402835291602001916106aa565b820191906000526020600020905b81548152906001019060200180831161068d57829003601f168201915b5050505050905090565b6000806106bf611e4e565b90506106cc818585611e56565b600191505092915050565b6000600254905090565b6000806106ec611e4e565b90506106f985828561201f565b6107048585856120ab565b60019150509392505050565b606060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161076d9190612aed565b602060405180830381865afa15801561078a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ae9190612dd9565b905060008167ffffffffffffffff8111156107cc576107cb612b3a565b5b6040519080825280602002602001820160405280156107fa5781602001602082028036833780820191505090505b50925060005b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190612dd9565b8110156109cd578473ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161090691906128b2565b602060405180830381865afa158015610923573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109479190612e1b565b73ffffffffffffffffffffffffffffffffffffffff1614801561098857506006600082815260200190815260200160002060009054906101000a900460ff16155b156109ba578084838061099a90612e77565b9450815181106109ad576109ac612ebf565b5b6020026020010181815250505b80806109c590612e77565b915050610800565b5060008190505b82811015610a2f577f0000000000000000000000000000000000000000000000000000000000000000848281518110610a1057610a0f612ebf565b5b6020026020010181815250508080610a2790612e77565b9150506109d4565b505050919050565b60006012905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b606060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610ac19190612aed565b602060405180830381865afa158015610ade573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b029190612dd9565b905060008167ffffffffffffffff811115610b2057610b1f612b3a565b5b604051908082528060200260200182016040528015610b4e5781602001602082028036833780820191505090505b50925060006102d690505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be89190612dd9565b811015610d26578473ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610c5f91906128b2565b602060405180830381865afa158015610c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca09190612e1b565b73ffffffffffffffffffffffffffffffffffffffff16148015610ce157506007600082815260200190815260200160002060009054906101000a900460ff16155b15610d135780848380610cf390612e77565b945081518110610d0657610d05612ebf565b5b6020026020010181815250505b8080610d1e90612e77565b915050610b59565b5060008190505b82811015610d88577f0000000000000000000000000000000000000000000000000000000000000000848281518110610d6957610d68612ebf565b5b6020026020010181815250508080610d8090612e77565b915050610d2d565b505050919050565b600080610d9b611e4e565b9050610dbc818585610dad8589611c88565b610db79190612eee565b611e56565b600191505092915050565b610dcf611e4e565b73ffffffffffffffffffffffffffffffffffffffff16610ded611480565b73ffffffffffffffffffffffffffffffffffffffff1614610e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3a90612f90565b60405180910390fd5b610e4b61232a565b565b610e55611e4e565b73ffffffffffffffffffffffffffffffffffffffff16610e73611480565b73ffffffffffffffffffffffffffffffffffffffff1614610ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec090612f90565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f90613022565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081610f626106d7565b610f6c9190612eee565b1115610fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa4906130b4565b60405180910390fd5b610fb7828261238d565b5050565b6000600560009054906101000a900460ff16905090565b606060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161102f9190612aed565b602060405180830381865afa15801561104c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110709190612dd9565b905060008167ffffffffffffffff81111561108e5761108d612b3a565b5b6040519080825280602002602001820160405280156110bc5781602001602082028036833780820191505090505b50925060005b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561112d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111519190612dd9565b8110801561116057506102d681105b1561129c578473ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016111d591906128b2565b602060405180830381865afa1580156111f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112169190612e1b565b73ffffffffffffffffffffffffffffffffffffffff1614801561125757506007600082815260200190815260200160002060009054906101000a900460ff16155b15611289578084838061126990612e77565b94508151811061127c5761127b612ebf565b5b6020026020010181815250505b808061129490612e77565b9150506110c2565b5060008190505b828110156112fe577f00000000000000000000000000000000000000000000000000000000000000008482815181106112df576112de612ebf565b5b60200260200101818152505080806112f690612e77565b9150506112a3565b505050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611356611e4e565b73ffffffffffffffffffffffffffffffffffffffff16611374611480565b73ffffffffffffffffffffffffffffffffffffffff16146113ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c190612f90565b60405180910390fd5b6113d460006124ec565b565b7f000000000000000000000000000000000000000000000000000000000000000081565b611402611e4e565b73ffffffffffffffffffffffffffffffffffffffff16611420611480565b73ffffffffffffffffffffffffffffffffffffffff1614611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d90612f90565b60405180910390fd5b61147e6125b2565b565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546114b990612d93565b80601f01602080910402602001604051908101604052809291908181526020018280546114e590612d93565b80156115325780601f1061150757610100808354040283529160200191611532565b820191906000526020600020905b81548152906001019060200180831161151557829003601f168201915b5050505050905090565b60066020528060005260406000206000915054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008061158b611e4e565b905060006115998286611c88565b9050838110156115de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d590613146565b60405180910390fd5b6115eb8286868403611e56565b60019250505092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080611626611e4e565b90506116338185856120ab565b600191505092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61166a612615565b60003390506000845114158061168257506000835114155b8061168f57506000825114155b6116ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c5906131b2565b60405180910390fd5b60005b845181101561186a5760008582815181106116ef576116ee612ebf565b5b602002602001015190508273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161176991906128b2565b602060405180830381865afa158015611786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117aa9190612e1b565b73ffffffffffffffffffffffffffffffffffffffff161480156117eb57506006600082815260200190815260200160002060009054906101000a900460ff16155b61182a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118219061321e565b60405180910390fd5b60016006600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050808061186290612e77565b9150506116d1565b5060005b8351811015611a0757600084828151811061188c5761188b612ebf565b5b602002602001015190508273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161190691906128b2565b602060405180830381865afa158015611923573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119479190612e1b565b73ffffffffffffffffffffffffffffffffffffffff1614801561198857506007600082815260200190815260200160002060009054906101000a900460ff16155b6119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be9061321e565b60405180910390fd5b60016007600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505080806119ff90612e77565b91505061186e565b5060005b8251811015611ba4576000838281518110611a2957611a28612ebf565b5b602002602001015190508273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611aa391906128b2565b602060405180830381865afa158015611ac0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae49190612e1b565b73ffffffffffffffffffffffffffffffffffffffff16148015611b2557506007600082815260200190815260200160002060009054906101000a900460ff16155b611b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5b9061321e565b60405180910390fd5b60016007600083815260200190815260200160002060006101000a81548160ff021916908315150217905550508080611b9c90612e77565b915050611a0b565b5060007f00000000000000000000000000000000000000000000000000000000000000008351611bd4919061323e565b7f00000000000000000000000000000000000000000000000000000000000000008551611c01919061323e565b7f00000000000000000000000000000000000000000000000000000000000000008751611c2e919061323e565b611c389190612eee565b611c429190612eee565b9050611c6182670de0b6b3a764000083611c5c919061323e565b61238d565b5050505050565b60076020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b611d3b611e4e565b73ffffffffffffffffffffffffffffffffffffffff16611d59611480565b73ffffffffffffffffffffffffffffffffffffffff1614611daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da690612f90565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e159061330a565b60405180910390fd5b611e27816124ec565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc9061339c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2b9061342e565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161201291906128b2565b60405180910390a3505050565b600061202b8484611c88565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146120a55781811015612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208e9061349a565b60405180910390fd5b6120a48484848403611e56565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361211a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121119061352c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612189576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612180906135be565b60405180910390fd5b61219483838361265f565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561221a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221190613650565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122ad9190612eee565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161231191906128b2565b60405180910390a3612324848484612677565b50505050565b61233261267c565b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612376611e4e565b6040516123839190612aed565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f3906136bc565b60405180910390fd5b6124086000838361265f565b806002600082825461241a9190612eee565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461246f9190612eee565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516124d491906128b2565b60405180910390a36124e860008383612677565b5050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125ba612615565b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125fe611e4e565b60405161260b9190612aed565b60405180910390a1565b61261d610fbb565b1561265d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265490613728565b60405180910390fd5b565b612667612615565b6126728383836126c5565b505050565b505050565b612684610fbb565b6126c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ba90613794565b60405180910390fd5b565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127045780820151818401526020810190506126e9565b83811115612713576000848401525b50505050565b6000601f19601f8301169050919050565b6000612735826126ca565b61273f81856126d5565b935061274f8185602086016126e6565b61275881612719565b840191505092915050565b6000602082019050818103600083015261277d818461272a565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006127c482612799565b9050919050565b6127d4816127b9565b81146127df57600080fd5b50565b6000813590506127f1816127cb565b92915050565b6000819050919050565b61280a816127f7565b811461281557600080fd5b50565b60008135905061282781612801565b92915050565b600080604083850312156128445761284361278f565b5b6000612852858286016127e2565b925050602061286385828601612818565b9150509250929050565b60008115159050919050565b6128828161286d565b82525050565b600060208201905061289d6000830184612879565b92915050565b6128ac816127f7565b82525050565b60006020820190506128c760008301846128a3565b92915050565b6000806000606084860312156128e6576128e561278f565b5b60006128f4868287016127e2565b9350506020612905868287016127e2565b925050604061291686828701612818565b9150509250925092565b6000602082840312156129365761293561278f565b5b6000612944848285016127e2565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612982816127f7565b82525050565b60006129948383612979565b60208301905092915050565b6000602082019050919050565b60006129b88261294d565b6129c28185612958565b93506129cd83612969565b8060005b838110156129fe5781516129e58882612988565b97506129f0836129a0565b9250506001810190506129d1565b5085935050505092915050565b60006020820190508181036000830152612a2581846129ad565b905092915050565b600060ff82169050919050565b612a4381612a2d565b82525050565b6000602082019050612a5e6000830184612a3a565b92915050565b6000819050919050565b6000612a89612a84612a7f84612799565b612a64565b612799565b9050919050565b6000612a9b82612a6e565b9050919050565b6000612aad82612a90565b9050919050565b612abd81612aa2565b82525050565b6000602082019050612ad86000830184612ab4565b92915050565b612ae7816127b9565b82525050565b6000602082019050612b026000830184612ade565b92915050565b600060208284031215612b1e57612b1d61278f565b5b6000612b2c84828501612818565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b7282612719565b810181811067ffffffffffffffff82111715612b9157612b90612b3a565b5b80604052505050565b6000612ba4612785565b9050612bb08282612b69565b919050565b600067ffffffffffffffff821115612bd057612bcf612b3a565b5b602082029050602081019050919050565b600080fd5b6000612bf9612bf484612bb5565b612b9a565b90508083825260208201905060208402830185811115612c1c57612c1b612be1565b5b835b81811015612c455780612c318882612818565b845260208401935050602081019050612c1e565b5050509392505050565b600082601f830112612c6457612c63612b35565b5b8135612c74848260208601612be6565b91505092915050565b600080600060608486031215612c9657612c9561278f565b5b600084013567ffffffffffffffff811115612cb457612cb3612794565b5b612cc086828701612c4f565b935050602084013567ffffffffffffffff811115612ce157612ce0612794565b5b612ced86828701612c4f565b925050604084013567ffffffffffffffff811115612d0e57612d0d612794565b5b612d1a86828701612c4f565b9150509250925092565b60008060408385031215612d3b57612d3a61278f565b5b6000612d49858286016127e2565b9250506020612d5a858286016127e2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612dab57607f821691505b602082108103612dbe57612dbd612d64565b5b50919050565b600081519050612dd381612801565b92915050565b600060208284031215612def57612dee61278f565b5b6000612dfd84828501612dc4565b91505092915050565b600081519050612e15816127cb565b92915050565b600060208284031215612e3157612e3061278f565b5b6000612e3f84828501612e06565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e82826127f7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612eb457612eb3612e48565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612ef9826127f7565b9150612f04836127f7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f3957612f38612e48565b5b828201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612f7a6020836126d5565b9150612f8582612f44565b602082019050919050565b60006020820190508181036000830152612fa981612f6d565b9050919050565b7f43616e6e6f7420686176652061206e6f6e2d616464726573732061732072657360008201527f657276652e000000000000000000000000000000000000000000000000000000602082015250565b600061300c6025836126d5565b915061301782612fb0565b604082019050919050565b6000602082019050818103600083015261303b81612fff565b9050919050565b7f746f74616c20737570706c79206f6620746f6b656e732063616e6e6f7420657860008201527f6365656420746865206361700000000000000000000000000000000000000000602082015250565b600061309e602c836126d5565b91506130a982613042565b604082019050919050565b600060208201905081810360008301526130cd81613091565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006131306025836126d5565b915061313b826130d4565b604082019050919050565b6000602082019050818103600083015261315f81613123565b9050919050565b7f4e6f20746f6b656e732063616e20636c61696d2e000000000000000000000000600082015250565b600061319c6014836126d5565b91506131a782613166565b602082019050919050565b600060208201905081810360008301526131cb8161318f565b9050919050565b7f746f6b656e496420696e76616c69640000000000000000000000000000000000600082015250565b6000613208600f836126d5565b9150613213826131d2565b602082019050919050565b60006020820190508181036000830152613237816131fb565b9050919050565b6000613249826127f7565b9150613254836127f7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561328d5761328c612e48565b5b828202905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006132f46026836126d5565b91506132ff82613298565b604082019050919050565b60006020820190508181036000830152613323816132e7565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006133866024836126d5565b91506133918261332a565b604082019050919050565b600060208201905081810360008301526133b581613379565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006134186022836126d5565b9150613423826133bc565b604082019050919050565b600060208201905081810360008301526134478161340b565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613484601d836126d5565b915061348f8261344e565b602082019050919050565b600060208201905081810360008301526134b381613477565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006135166025836126d5565b9150613521826134ba565b604082019050919050565b6000602082019050818103600083015261354581613509565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006135a86023836126d5565b91506135b38261354c565b604082019050919050565b600060208201905081810360008301526135d78161359b565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061363a6026836126d5565b9150613645826135de565b604082019050919050565b600060208201905081810360008301526136698161362d565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006136a6601f836126d5565b91506136b182613670565b602082019050919050565b600060208201905081810360008301526136d581613699565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006137126010836126d5565b915061371d826136dc565b602082019050919050565b6000602082019050818103600083015261374181613705565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061377e6014836126d5565b915061378982613748565b602082019050919050565b600060208201905081810360008301526137ad81613771565b905091905056fea2646970667358221220a19ce1de75b2f419d88450a4baa84e6841ed95013aae37d7d913d10de1af441664736f6c634300080f0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80637dce0fd01161010f578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e1461059a578063efc258e6146105ca578063f2fde38b146105e8578063fb77133f14610604576101e5565b8063a9059cbb14610500578063c1e18d1514610530578063c9684a8d1461054e578063cacd0c641461056a576101e5565b80639ffd3d9c116100de5780639ffd3d9c14610464578063a0ea496014610494578063a457c2d7146104b2578063a5962524146104e2576101e5565b80637dce0fd0146104005780638456cb591461041e5780638da5cb5b1461042857806395d89b4114610446576101e5565b806336678f78116101875780635c975abb116101565780635c975abb146103785780636868d9d31461039657806370a08231146103c6578063715018a6146103f6576101e5565b806336678f78146102f257806339509351146103225780633f4ba83a1461035257806340c10f191461035c576101e5565b806323b872dd116101c357806323b872dd1461025657806326082d0a14610286578063313ce567146102b6578063355274ea146102d4576101e5565b806306fdde03146101ea578063095ea7b31461020857806318160ddd14610238575b600080fd5b6101f2610622565b6040516101ff9190612763565b60405180910390f35b610222600480360381019061021d919061282d565b6106b4565b60405161022f9190612888565b60405180910390f35b6102406106d7565b60405161024d91906128b2565b60405180910390f35b610270600480360381019061026b91906128cd565b6106e1565b60405161027d9190612888565b60405180910390f35b6102a0600480360381019061029b9190612920565b610710565b6040516102ad9190612a0b565b60405180910390f35b6102be610a37565b6040516102cb9190612a49565b60405180910390f35b6102dc610a40565b6040516102e991906128b2565b60405180910390f35b61030c60048036038101906103079190612920565b610a64565b6040516103199190612a0b565b60405180910390f35b61033c6004803603810190610337919061282d565b610d90565b6040516103499190612888565b60405180910390f35b61035a610dc7565b005b6103766004803603810190610371919061282d565b610e4d565b005b610380610fbb565b60405161038d9190612888565b60405180910390f35b6103b060048036038101906103ab9190612920565b610fd2565b6040516103bd9190612a0b565b60405180910390f35b6103e060048036038101906103db9190612920565b611306565b6040516103ed91906128b2565b60405180910390f35b6103fe61134e565b005b6104086113d6565b6040516104159190612ac3565b60405180910390f35b6104266113fa565b005b610430611480565b60405161043d9190612aed565b60405180910390f35b61044e6114aa565b60405161045b9190612763565b60405180910390f35b61047e60048036038101906104799190612b08565b61153c565b60405161048b9190612888565b60405180910390f35b61049c61155c565b6040516104a991906128b2565b60405180910390f35b6104cc60048036038101906104c7919061282d565b611580565b6040516104d99190612888565b60405180910390f35b6104ea6115f7565b6040516104f79190612aed565b60405180910390f35b61051a6004803603810190610515919061282d565b61161b565b6040516105279190612888565b60405180910390f35b61053861163e565b6040516105459190612ac3565b60405180910390f35b61056860048036038101906105639190612c7d565b611662565b005b610584600480360381019061057f9190612b08565b611c68565b6040516105919190612888565b60405180910390f35b6105b460048036038101906105af9190612d24565b611c88565b6040516105c191906128b2565b60405180910390f35b6105d2611d0f565b6040516105df91906128b2565b60405180910390f35b61060260048036038101906105fd9190612920565b611d33565b005b61060c611e2a565b60405161061991906128b2565b60405180910390f35b60606003805461063190612d93565b80601f016020809104026020016040519081016040528092919081815260200182805461065d90612d93565b80156106aa5780601f1061067f576101008083540402835291602001916106aa565b820191906000526020600020905b81548152906001019060200180831161068d57829003601f168201915b5050505050905090565b6000806106bf611e4e565b90506106cc818585611e56565b600191505092915050565b6000600254905090565b6000806106ec611e4e565b90506106f985828561201f565b6107048585856120ab565b60019150509392505050565b606060007f0000000000000000000000009984bd85adfef02cea2c28819af81a6d17a3cb9673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161076d9190612aed565b602060405180830381865afa15801561078a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ae9190612dd9565b905060008167ffffffffffffffff8111156107cc576107cb612b3a565b5b6040519080825280602002602001820160405280156107fa5781602001602082028036833780820191505090505b50925060005b7f0000000000000000000000009984bd85adfef02cea2c28819af81a6d17a3cb9673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190612dd9565b8110156109cd578473ffffffffffffffffffffffffffffffffffffffff167f0000000000000000000000009984bd85adfef02cea2c28819af81a6d17a3cb9673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161090691906128b2565b602060405180830381865afa158015610923573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109479190612e1b565b73ffffffffffffffffffffffffffffffffffffffff1614801561098857506006600082815260200190815260200160002060009054906101000a900460ff16155b156109ba578084838061099a90612e77565b9450815181106109ad576109ac612ebf565b5b6020026020010181815250505b80806109c590612e77565b915050610800565b5060008190505b82811015610a2f577f00000000000000000000000000000000000000000000000000000000000f423f848281518110610a1057610a0f612ebf565b5b6020026020010181815250508080610a2790612e77565b9150506109d4565b505050919050565b60006012905090565b7f0000000000000000000000000000000000000000bb0536bf2c4cfe691800000081565b606060007f00000000000000000000000001a75fb1a4b1a8f699fd00ad051f9100ebecec4273ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610ac19190612aed565b602060405180830381865afa158015610ade573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b029190612dd9565b905060008167ffffffffffffffff811115610b2057610b1f612b3a565b5b604051908082528060200260200182016040528015610b4e5781602001602082028036833780820191505090505b50925060006102d690505b7f00000000000000000000000001a75fb1a4b1a8f699fd00ad051f9100ebecec4273ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be89190612dd9565b811015610d26578473ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000001a75fb1a4b1a8f699fd00ad051f9100ebecec4273ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610c5f91906128b2565b602060405180830381865afa158015610c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca09190612e1b565b73ffffffffffffffffffffffffffffffffffffffff16148015610ce157506007600082815260200190815260200160002060009054906101000a900460ff16155b15610d135780848380610cf390612e77565b945081518110610d0657610d05612ebf565b5b6020026020010181815250505b8080610d1e90612e77565b915050610b59565b5060008190505b82811015610d88577f00000000000000000000000000000000000000000000000000000000000f423f848281518110610d6957610d68612ebf565b5b6020026020010181815250508080610d8090612e77565b915050610d2d565b505050919050565b600080610d9b611e4e565b9050610dbc818585610dad8589611c88565b610db79190612eee565b611e56565b600191505092915050565b610dcf611e4e565b73ffffffffffffffffffffffffffffffffffffffff16610ded611480565b73ffffffffffffffffffffffffffffffffffffffff1614610e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3a90612f90565b60405180910390fd5b610e4b61232a565b565b610e55611e4e565b73ffffffffffffffffffffffffffffffffffffffff16610e73611480565b73ffffffffffffffffffffffffffffffffffffffff1614610ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec090612f90565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f90613022565b60405180910390fd5b7f0000000000000000000000000000000000000000bb0536bf2c4cfe691800000081610f626106d7565b610f6c9190612eee565b1115610fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa4906130b4565b60405180910390fd5b610fb7828261238d565b5050565b6000600560009054906101000a900460ff16905090565b606060007f00000000000000000000000001a75fb1a4b1a8f699fd00ad051f9100ebecec4273ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161102f9190612aed565b602060405180830381865afa15801561104c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110709190612dd9565b905060008167ffffffffffffffff81111561108e5761108d612b3a565b5b6040519080825280602002602001820160405280156110bc5781602001602082028036833780820191505090505b50925060005b7f00000000000000000000000001a75fb1a4b1a8f699fd00ad051f9100ebecec4273ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561112d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111519190612dd9565b8110801561116057506102d681105b1561129c578473ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000001a75fb1a4b1a8f699fd00ad051f9100ebecec4273ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016111d591906128b2565b602060405180830381865afa1580156111f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112169190612e1b565b73ffffffffffffffffffffffffffffffffffffffff1614801561125757506007600082815260200190815260200160002060009054906101000a900460ff16155b15611289578084838061126990612e77565b94508151811061127c5761127b612ebf565b5b6020026020010181815250505b808061129490612e77565b9150506110c2565b5060008190505b828110156112fe577f00000000000000000000000000000000000000000000000000000000000f423f8482815181106112df576112de612ebf565b5b60200260200101818152505080806112f690612e77565b9150506112a3565b505050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611356611e4e565b73ffffffffffffffffffffffffffffffffffffffff16611374611480565b73ffffffffffffffffffffffffffffffffffffffff16146113ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c190612f90565b60405180910390fd5b6113d460006124ec565b565b7f0000000000000000000000009984bd85adfef02cea2c28819af81a6d17a3cb9681565b611402611e4e565b73ffffffffffffffffffffffffffffffffffffffff16611420611480565b73ffffffffffffffffffffffffffffffffffffffff1614611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d90612f90565b60405180910390fd5b61147e6125b2565b565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546114b990612d93565b80601f01602080910402602001604051908101604052809291908181526020018280546114e590612d93565b80156115325780601f1061150757610100808354040283529160200191611532565b820191906000526020600020905b81548152906001019060200180831161151557829003601f168201915b5050505050905090565b60066020528060005260406000206000915054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000016e36081565b60008061158b611e4e565b905060006115998286611c88565b9050838110156115de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d590613146565b60405180910390fd5b6115eb8286868403611e56565b60019250505092915050565b7f000000000000000000000000000000000000000000000000000000000000dead81565b600080611626611e4e565b90506116338185856120ab565b600191505092915050565b7f00000000000000000000000001a75fb1a4b1a8f699fd00ad051f9100ebecec4281565b61166a612615565b60003390506000845114158061168257506000835114155b8061168f57506000825114155b6116ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c5906131b2565b60405180910390fd5b60005b845181101561186a5760008582815181106116ef576116ee612ebf565b5b602002602001015190508273ffffffffffffffffffffffffffffffffffffffff167f0000000000000000000000009984bd85adfef02cea2c28819af81a6d17a3cb9673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161176991906128b2565b602060405180830381865afa158015611786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117aa9190612e1b565b73ffffffffffffffffffffffffffffffffffffffff161480156117eb57506006600082815260200190815260200160002060009054906101000a900460ff16155b61182a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118219061321e565b60405180910390fd5b60016006600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050808061186290612e77565b9150506116d1565b5060005b8351811015611a0757600084828151811061188c5761188b612ebf565b5b602002602001015190508273ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000001a75fb1a4b1a8f699fd00ad051f9100ebecec4273ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161190691906128b2565b602060405180830381865afa158015611923573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119479190612e1b565b73ffffffffffffffffffffffffffffffffffffffff1614801561198857506007600082815260200190815260200160002060009054906101000a900460ff16155b6119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be9061321e565b60405180910390fd5b60016007600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505080806119ff90612e77565b91505061186e565b5060005b8251811015611ba4576000838281518110611a2957611a28612ebf565b5b602002602001015190508273ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000001a75fb1a4b1a8f699fd00ad051f9100ebecec4273ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611aa391906128b2565b602060405180830381865afa158015611ac0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae49190612e1b565b73ffffffffffffffffffffffffffffffffffffffff16148015611b2557506007600082815260200190815260200160002060009054906101000a900460ff16155b611b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5b9061321e565b60405180910390fd5b60016007600083815260200190815260200160002060006101000a81548160ff021916908315150217905550508080611b9c90612e77565b915050611a0b565b5060007f000000000000000000000000000000000000000000000000000000000016e3608351611bd4919061323e565b7f00000000000000000000000000000000000000000000000000000000001e84808551611c01919061323e565b7f000000000000000000000000000000000000000000000000000000000007a1208751611c2e919061323e565b611c389190612eee565b611c429190612eee565b9050611c6182670de0b6b3a764000083611c5c919061323e565b61238d565b5050505050565b60076020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f000000000000000000000000000000000000000000000000000000000007a12081565b611d3b611e4e565b73ffffffffffffffffffffffffffffffffffffffff16611d59611480565b73ffffffffffffffffffffffffffffffffffffffff1614611daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da690612f90565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e159061330a565b60405180910390fd5b611e27816124ec565b50565b7f00000000000000000000000000000000000000000000000000000000001e848081565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc9061339c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2b9061342e565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161201291906128b2565b60405180910390a3505050565b600061202b8484611c88565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146120a55781811015612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208e9061349a565b60405180910390fd5b6120a48484848403611e56565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361211a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121119061352c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612189576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612180906135be565b60405180910390fd5b61219483838361265f565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561221a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221190613650565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122ad9190612eee565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161231191906128b2565b60405180910390a3612324848484612677565b50505050565b61233261267c565b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612376611e4e565b6040516123839190612aed565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f3906136bc565b60405180910390fd5b6124086000838361265f565b806002600082825461241a9190612eee565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461246f9190612eee565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516124d491906128b2565b60405180910390a36124e860008383612677565b5050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125ba612615565b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125fe611e4e565b60405161260b9190612aed565b60405180910390a1565b61261d610fbb565b1561265d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265490613728565b60405180910390fd5b565b612667612615565b6126728383836126c5565b505050565b505050565b612684610fbb565b6126c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ba90613794565b60405180910390fd5b565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127045780820151818401526020810190506126e9565b83811115612713576000848401525b50505050565b6000601f19601f8301169050919050565b6000612735826126ca565b61273f81856126d5565b935061274f8185602086016126e6565b61275881612719565b840191505092915050565b6000602082019050818103600083015261277d818461272a565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006127c482612799565b9050919050565b6127d4816127b9565b81146127df57600080fd5b50565b6000813590506127f1816127cb565b92915050565b6000819050919050565b61280a816127f7565b811461281557600080fd5b50565b60008135905061282781612801565b92915050565b600080604083850312156128445761284361278f565b5b6000612852858286016127e2565b925050602061286385828601612818565b9150509250929050565b60008115159050919050565b6128828161286d565b82525050565b600060208201905061289d6000830184612879565b92915050565b6128ac816127f7565b82525050565b60006020820190506128c760008301846128a3565b92915050565b6000806000606084860312156128e6576128e561278f565b5b60006128f4868287016127e2565b9350506020612905868287016127e2565b925050604061291686828701612818565b9150509250925092565b6000602082840312156129365761293561278f565b5b6000612944848285016127e2565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612982816127f7565b82525050565b60006129948383612979565b60208301905092915050565b6000602082019050919050565b60006129b88261294d565b6129c28185612958565b93506129cd83612969565b8060005b838110156129fe5781516129e58882612988565b97506129f0836129a0565b9250506001810190506129d1565b5085935050505092915050565b60006020820190508181036000830152612a2581846129ad565b905092915050565b600060ff82169050919050565b612a4381612a2d565b82525050565b6000602082019050612a5e6000830184612a3a565b92915050565b6000819050919050565b6000612a89612a84612a7f84612799565b612a64565b612799565b9050919050565b6000612a9b82612a6e565b9050919050565b6000612aad82612a90565b9050919050565b612abd81612aa2565b82525050565b6000602082019050612ad86000830184612ab4565b92915050565b612ae7816127b9565b82525050565b6000602082019050612b026000830184612ade565b92915050565b600060208284031215612b1e57612b1d61278f565b5b6000612b2c84828501612818565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b7282612719565b810181811067ffffffffffffffff82111715612b9157612b90612b3a565b5b80604052505050565b6000612ba4612785565b9050612bb08282612b69565b919050565b600067ffffffffffffffff821115612bd057612bcf612b3a565b5b602082029050602081019050919050565b600080fd5b6000612bf9612bf484612bb5565b612b9a565b90508083825260208201905060208402830185811115612c1c57612c1b612be1565b5b835b81811015612c455780612c318882612818565b845260208401935050602081019050612c1e565b5050509392505050565b600082601f830112612c6457612c63612b35565b5b8135612c74848260208601612be6565b91505092915050565b600080600060608486031215612c9657612c9561278f565b5b600084013567ffffffffffffffff811115612cb457612cb3612794565b5b612cc086828701612c4f565b935050602084013567ffffffffffffffff811115612ce157612ce0612794565b5b612ced86828701612c4f565b925050604084013567ffffffffffffffff811115612d0e57612d0d612794565b5b612d1a86828701612c4f565b9150509250925092565b60008060408385031215612d3b57612d3a61278f565b5b6000612d49858286016127e2565b9250506020612d5a858286016127e2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612dab57607f821691505b602082108103612dbe57612dbd612d64565b5b50919050565b600081519050612dd381612801565b92915050565b600060208284031215612def57612dee61278f565b5b6000612dfd84828501612dc4565b91505092915050565b600081519050612e15816127cb565b92915050565b600060208284031215612e3157612e3061278f565b5b6000612e3f84828501612e06565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e82826127f7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612eb457612eb3612e48565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612ef9826127f7565b9150612f04836127f7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f3957612f38612e48565b5b828201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612f7a6020836126d5565b9150612f8582612f44565b602082019050919050565b60006020820190508181036000830152612fa981612f6d565b9050919050565b7f43616e6e6f7420686176652061206e6f6e2d616464726573732061732072657360008201527f657276652e000000000000000000000000000000000000000000000000000000602082015250565b600061300c6025836126d5565b915061301782612fb0565b604082019050919050565b6000602082019050818103600083015261303b81612fff565b9050919050565b7f746f74616c20737570706c79206f6620746f6b656e732063616e6e6f7420657860008201527f6365656420746865206361700000000000000000000000000000000000000000602082015250565b600061309e602c836126d5565b91506130a982613042565b604082019050919050565b600060208201905081810360008301526130cd81613091565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006131306025836126d5565b915061313b826130d4565b604082019050919050565b6000602082019050818103600083015261315f81613123565b9050919050565b7f4e6f20746f6b656e732063616e20636c61696d2e000000000000000000000000600082015250565b600061319c6014836126d5565b91506131a782613166565b602082019050919050565b600060208201905081810360008301526131cb8161318f565b9050919050565b7f746f6b656e496420696e76616c69640000000000000000000000000000000000600082015250565b6000613208600f836126d5565b9150613213826131d2565b602082019050919050565b60006020820190508181036000830152613237816131fb565b9050919050565b6000613249826127f7565b9150613254836127f7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561328d5761328c612e48565b5b828202905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006132f46026836126d5565b91506132ff82613298565b604082019050919050565b60006020820190508181036000830152613323816132e7565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006133866024836126d5565b91506133918261332a565b604082019050919050565b600060208201905081810360008301526133b581613379565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006134186022836126d5565b9150613423826133bc565b604082019050919050565b600060208201905081810360008301526134478161340b565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613484601d836126d5565b915061348f8261344e565b602082019050919050565b600060208201905081810360008301526134b381613477565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006135166025836126d5565b9150613521826134ba565b604082019050919050565b6000602082019050818103600083015261354581613509565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006135a86023836126d5565b91506135b38261354c565b604082019050919050565b600060208201905081810360008301526135d78161359b565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061363a6026836126d5565b9150613645826135de565b604082019050919050565b600060208201905081810360008301526136698161362d565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006136a6601f836126d5565b91506136b182613670565b602082019050919050565b600060208201905081810360008301526136d581613699565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006137126010836126d5565b915061371d826136dc565b602082019050919050565b6000602082019050818103600083015261374181613705565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061377e6014836126d5565b915061378982613748565b602082019050919050565b600060208201905081810360008301526137ad81613771565b905091905056fea2646970667358221220a19ce1de75b2f419d88450a4baa84e6841ed95013aae37d7d913d10de1af441664736f6c634300080f0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.