NFT
Overview
TokenID
2425
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Raccools
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "./ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Raccools is ERC721A, Ownable { uint256 private constant maxSupply = 6969; uint256 private constant amountPerTx = 6; mapping(address => bool) private mintedByAddress; string private baseURI; uint256 private constant teamAllocationAmount = 140; // 2% mapping(address => uint256) private teamAllocation; modifier onlyTeam() { require(teamAllocation[msg.sender] > 0, "Caller has no team allocation"); _; } constructor() ERC721A("Raccools", "RACCOOL") { teamAllocation[0x70B4AbB819570055C60D215F16F2765cEec144c5] = 56; teamAllocation[0x5cc61632E181903cF2f476c420bF781F6ee53059] = 42; teamAllocation[0x0000D385e5DB73289B3F515b65e6cac6707Ac390] = 42; teamAllocation[0xD1688C4BfA1517502172CF0eD50306Ea1813e677] = 1; } function mint() external { require(_totalMinted() >= teamAllocationAmount, "Team allocation not fulfilled yet"); require(_totalMinted() + amountPerTx <= maxSupply, "Would exceed max supply"); require(msg.sender == tx.origin, "Cannot mint from a smart contract"); require(mintedByAddress[msg.sender] == false, "Already minted"); _safeMint(msg.sender, amountPerTx); mintedByAddress[msg.sender] = true; } function mintReserve() external onlyTeam { _safeMint(msg.sender, teamAllocation[msg.sender]); teamAllocation[msg.sender] = 0; } function setBaseURI(string calldata newBaseURI) external onlyOwner { baseURI = newBaseURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "Token not minted"); return string(abi.encodePacked(baseURI, _toString(tokenId), ".json")); } function _startTokenId() internal pure override returns (uint256) { return 1; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 // 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 // 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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintReserve","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040805180820182526008815267526163636f6f6c7360c01b602080830191825283518085019094526007845266149050d0d3d3d360ca1b90840152815191929162000061916002916200018f565b508051620000779060039060208401906200018f565b50506001600055506200008a336200013d565b600b60205260387f1d1333e18d90fc64bbe9426e563ec9c003f789e4b53e5ac8506aa4fb03a4178355602a7f09480ad2895fed6a0d508bf184c09ca6196b0c667a616a7ee234343421975bcc8190557f7743c389819d184f56a76efe6c6050f45e2937af625a7e0952e33c86c2e8964a5573d1688c4bfa1517502172cf0ed50306ea1813e67760005260017f6e0c25b757ed4fd57567bfd0fe804436873d9ba00a496519d02fb5b1b1d230da5562000272565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200019d9062000235565b90600052602060002090601f016020900481019282620001c157600085556200020c565b82601f10620001dc57805160ff19168380011785556200020c565b828001600101855582156200020c579182015b828111156200020c578251825591602001919060010190620001ef565b506200021a9291506200021e565b5090565b5b808211156200021a57600081556001016200021f565b600181811c908216806200024a57607f821691505b602082108114156200026c57634e487b7160e01b600052602260045260246000fd5b50919050565b61147580620002826000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806370a08231116100ad578063a22cb46511610071578063a22cb46514610258578063b88d4fde1461026b578063c87b56dd1461027e578063e985e9c514610291578063f2fde38b146102cd57600080fd5b806370a082311461021c578063715018a61461022f578063890ac366146102375780638da5cb5b1461023f57806395d89b411461025057600080fd5b806318160ddd116100f457806318160ddd146101b657806323b872dd146101d057806342842e0e146101e357806355f804b3146101f65780636352211e1461020957600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b3146101995780631249c58b146101ae575b600080fd5b61014461013f36600461116e565b6102e0565b60405190151581526020015b60405180910390f35b610161610332565b6040516101509190611373565b61018161017c36600461121a565b6103c4565b6040516001600160a01b039091168152602001610150565b6101ac6101a7366004611144565b610408565b005b6101ac6104a8565b60015460005403600019015b604051908152602001610150565b6101ac6101de366004610ff0565b61064f565b6101ac6101f1366004610ff0565b6107e0565b6101ac6102043660046111a8565b610800565b61018161021736600461121a565b610814565b6101c261022a366004610fa2565b61081f565b6101ac61086e565b6101ac610882565b6008546001600160a01b0316610181565b61016161090a565b6101ac610266366004611108565b610919565b6101ac61027936600461102c565b6109af565b61016161028c36600461121a565b6109f9565b61014461029f366004610fbd565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101ac6102db366004610fa2565b610a75565b60006301ffc9a760e01b6001600160e01b03198316148061031157506380ac58cd60e01b6001600160e01b03198316145b8061032c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610341906113d8565b80601f016020809104026020016040519081016040528092919081815260200182805461036d906113d8565b80156103ba5780601f1061038f576101008083540402835291602001916103ba565b820191906000526020600020905b81548152906001019060200180831161039d57829003601f168201915b5050505050905090565b60006103cf82610aee565b6103ec576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061041382610814565b9050336001600160a01b0382161461044c5761042f813361029f565b61044c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b608c6104b76000546000190190565b10156105145760405162461bcd60e51b815260206004820152602160248201527f5465616d20616c6c6f636174696f6e206e6f742066756c66696c6c65642079656044820152601d60fa1b60648201526084015b60405180910390fd5b611b3960066105266000546000190190565b6105309190611386565b111561057e5760405162461bcd60e51b815260206004820152601760248201527f576f756c6420657863656564206d617820737570706c79000000000000000000604482015260640161050b565b3332146105d75760405162461bcd60e51b815260206004820152602160248201527f43616e6e6f74206d696e742066726f6d206120736d61727420636f6e747261636044820152601d60fa1b606482015260840161050b565b3360009081526009602052604090205460ff16156106285760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b604482015260640161050b565b610633336006610b23565b336000908152600960205260409020805460ff19166001179055565b600061065a82610b41565b9050836001600160a01b0316816001600160a01b03161461068d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176106da576106bd863361029f565b6106da57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661070157604051633a954ecd60e21b815260040160405180910390fd5b801561070c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661079757600184016000818152600460205260409020546107955760005481146107955760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6107fb838383604051806020016040528060008152506109af565b505050565b610808610bb1565b6107fb600a8383610eed565b600061032c82610b41565b60006001600160a01b038216610848576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610876610bb1565b6108806000610c0b565b565b336000908152600b60205260409020546108de5760405162461bcd60e51b815260206004820152601d60248201527f43616c6c657220686173206e6f207465616d20616c6c6f636174696f6e000000604482015260640161050b565b336000818152600b60205260409020546108f89190610b23565b336000908152600b6020526040812055565b606060038054610341906113d8565b6001600160a01b0382163314156109435760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109ba84848461064f565b6001600160a01b0383163b156109f3576109d684848484610c5d565b6109f3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a0482610aee565b610a435760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881b9bdd081b5a5b9d195960821b604482015260640161050b565b600a610a4e83610d54565b604051602001610a5f92919061127b565b6040516020818303038152906040529050919050565b610a7d610bb1565b6001600160a01b038116610ae25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161050b565b610aeb81610c0b565b50565b600081600111158015610b02575060005482105b801561032c575050600090815260046020526040902054600160e01b161590565b610b3d828260405180602001604052806000815250610da3565b5050565b60008180600111610b9857600054811015610b9857600081815260046020526040902054600160e01b8116610b96575b80610b8f575060001901600081815260046020526040902054610b71565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146108805760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161050b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610c92903390899088908890600401611336565b602060405180830381600087803b158015610cac57600080fd5b505af1925050508015610cdc575060408051601f3d908101601f19168201909252610cd99181019061118b565b60015b610d37573d808015610d0a576040519150601f19603f3d011682016040523d82523d6000602084013e610d0f565b606091505b508051610d2f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610d9157600183039250600a81066030018353600a9004610d73565b50819003601f19909101908152919050565b610dad8383610e10565b6001600160a01b0383163b156107fb576000548281035b610dd76000868380600101945086610c5d565b610df4576040516368d2bf6b60e11b815260040160405180910390fd5b818110610dc4578160005414610e0957600080fd5b5050505050565b6000546001600160a01b038316610e3957604051622e076360e81b815260040160405180910390fd5b81610e575760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610ea15760005550505050565b828054610ef9906113d8565b90600052602060002090601f016020900481019282610f1b5760008555610f61565b82601f10610f345782800160ff19823516178555610f61565b82800160010185558215610f61579182015b82811115610f61578235825591602001919060010190610f46565b50610f6d929150610f71565b5090565b5b80821115610f6d5760008155600101610f72565b80356001600160a01b0381168114610f9d57600080fd5b919050565b600060208284031215610fb457600080fd5b610b8f82610f86565b60008060408385031215610fd057600080fd5b610fd983610f86565b9150610fe760208401610f86565b90509250929050565b60008060006060848603121561100557600080fd5b61100e84610f86565b925061101c60208501610f86565b9150604084013590509250925092565b6000806000806080858703121561104257600080fd5b61104b85610f86565b935061105960208601610f86565b925060408501359150606085013567ffffffffffffffff8082111561107d57600080fd5b818701915087601f83011261109157600080fd5b8135818111156110a3576110a3611413565b604051601f8201601f19908116603f011681019083821181831017156110cb576110cb611413565b816040528281528a60208487010111156110e457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561111b57600080fd5b61112483610f86565b91506020830135801515811461113957600080fd5b809150509250929050565b6000806040838503121561115757600080fd5b61116083610f86565b946020939093013593505050565b60006020828403121561118057600080fd5b8135610b8f81611429565b60006020828403121561119d57600080fd5b8151610b8f81611429565b600080602083850312156111bb57600080fd5b823567ffffffffffffffff808211156111d357600080fd5b818501915085601f8301126111e757600080fd5b8135818111156111f657600080fd5b86602082850101111561120857600080fd5b60209290920196919550909350505050565b60006020828403121561122c57600080fd5b5035919050565b6000815180845261124b8160208601602086016113ac565b601f01601f19169290920160200192915050565b600081516112718185602086016113ac565b9290920192915050565b600080845481600182811c91508083168061129757607f831692505b60208084108214156112b757634e487b7160e01b86526022600452602486fd5b8180156112cb57600181146112dc57611309565b60ff19861689528489019650611309565b60008b81526020902060005b868110156113015781548b8201529085019083016112e8565b505084890196505b50505050505061132d61131c828661125f565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061136990830184611233565b9695505050505050565b602081526000610b8f6020830184611233565b600082198211156113a757634e487b7160e01b600052601160045260246000fd5b500190565b60005b838110156113c75781810151838201526020016113af565b838111156109f35750506000910152565b600181811c908216806113ec57607f821691505b6020821081141561140d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610aeb57600080fdfea264697066735822122046d81a6417a3dd9f6675c2c4e90abbb7be6f39e63cb1f05234cbe60ea7f165d664736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c806370a08231116100ad578063a22cb46511610071578063a22cb46514610258578063b88d4fde1461026b578063c87b56dd1461027e578063e985e9c514610291578063f2fde38b146102cd57600080fd5b806370a082311461021c578063715018a61461022f578063890ac366146102375780638da5cb5b1461023f57806395d89b411461025057600080fd5b806318160ddd116100f457806318160ddd146101b657806323b872dd146101d057806342842e0e146101e357806355f804b3146101f65780636352211e1461020957600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b3146101995780631249c58b146101ae575b600080fd5b61014461013f36600461116e565b6102e0565b60405190151581526020015b60405180910390f35b610161610332565b6040516101509190611373565b61018161017c36600461121a565b6103c4565b6040516001600160a01b039091168152602001610150565b6101ac6101a7366004611144565b610408565b005b6101ac6104a8565b60015460005403600019015b604051908152602001610150565b6101ac6101de366004610ff0565b61064f565b6101ac6101f1366004610ff0565b6107e0565b6101ac6102043660046111a8565b610800565b61018161021736600461121a565b610814565b6101c261022a366004610fa2565b61081f565b6101ac61086e565b6101ac610882565b6008546001600160a01b0316610181565b61016161090a565b6101ac610266366004611108565b610919565b6101ac61027936600461102c565b6109af565b61016161028c36600461121a565b6109f9565b61014461029f366004610fbd565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101ac6102db366004610fa2565b610a75565b60006301ffc9a760e01b6001600160e01b03198316148061031157506380ac58cd60e01b6001600160e01b03198316145b8061032c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610341906113d8565b80601f016020809104026020016040519081016040528092919081815260200182805461036d906113d8565b80156103ba5780601f1061038f576101008083540402835291602001916103ba565b820191906000526020600020905b81548152906001019060200180831161039d57829003601f168201915b5050505050905090565b60006103cf82610aee565b6103ec576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061041382610814565b9050336001600160a01b0382161461044c5761042f813361029f565b61044c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b608c6104b76000546000190190565b10156105145760405162461bcd60e51b815260206004820152602160248201527f5465616d20616c6c6f636174696f6e206e6f742066756c66696c6c65642079656044820152601d60fa1b60648201526084015b60405180910390fd5b611b3960066105266000546000190190565b6105309190611386565b111561057e5760405162461bcd60e51b815260206004820152601760248201527f576f756c6420657863656564206d617820737570706c79000000000000000000604482015260640161050b565b3332146105d75760405162461bcd60e51b815260206004820152602160248201527f43616e6e6f74206d696e742066726f6d206120736d61727420636f6e747261636044820152601d60fa1b606482015260840161050b565b3360009081526009602052604090205460ff16156106285760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b604482015260640161050b565b610633336006610b23565b336000908152600960205260409020805460ff19166001179055565b600061065a82610b41565b9050836001600160a01b0316816001600160a01b03161461068d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176106da576106bd863361029f565b6106da57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661070157604051633a954ecd60e21b815260040160405180910390fd5b801561070c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661079757600184016000818152600460205260409020546107955760005481146107955760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6107fb838383604051806020016040528060008152506109af565b505050565b610808610bb1565b6107fb600a8383610eed565b600061032c82610b41565b60006001600160a01b038216610848576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610876610bb1565b6108806000610c0b565b565b336000908152600b60205260409020546108de5760405162461bcd60e51b815260206004820152601d60248201527f43616c6c657220686173206e6f207465616d20616c6c6f636174696f6e000000604482015260640161050b565b336000818152600b60205260409020546108f89190610b23565b336000908152600b6020526040812055565b606060038054610341906113d8565b6001600160a01b0382163314156109435760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109ba84848461064f565b6001600160a01b0383163b156109f3576109d684848484610c5d565b6109f3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a0482610aee565b610a435760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881b9bdd081b5a5b9d195960821b604482015260640161050b565b600a610a4e83610d54565b604051602001610a5f92919061127b565b6040516020818303038152906040529050919050565b610a7d610bb1565b6001600160a01b038116610ae25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161050b565b610aeb81610c0b565b50565b600081600111158015610b02575060005482105b801561032c575050600090815260046020526040902054600160e01b161590565b610b3d828260405180602001604052806000815250610da3565b5050565b60008180600111610b9857600054811015610b9857600081815260046020526040902054600160e01b8116610b96575b80610b8f575060001901600081815260046020526040902054610b71565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146108805760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161050b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610c92903390899088908890600401611336565b602060405180830381600087803b158015610cac57600080fd5b505af1925050508015610cdc575060408051601f3d908101601f19168201909252610cd99181019061118b565b60015b610d37573d808015610d0a576040519150601f19603f3d011682016040523d82523d6000602084013e610d0f565b606091505b508051610d2f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610d9157600183039250600a81066030018353600a9004610d73565b50819003601f19909101908152919050565b610dad8383610e10565b6001600160a01b0383163b156107fb576000548281035b610dd76000868380600101945086610c5d565b610df4576040516368d2bf6b60e11b815260040160405180910390fd5b818110610dc4578160005414610e0957600080fd5b5050505050565b6000546001600160a01b038316610e3957604051622e076360e81b815260040160405180910390fd5b81610e575760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610ea15760005550505050565b828054610ef9906113d8565b90600052602060002090601f016020900481019282610f1b5760008555610f61565b82601f10610f345782800160ff19823516178555610f61565b82800160010185558215610f61579182015b82811115610f61578235825591602001919060010190610f46565b50610f6d929150610f71565b5090565b5b80821115610f6d5760008155600101610f72565b80356001600160a01b0381168114610f9d57600080fd5b919050565b600060208284031215610fb457600080fd5b610b8f82610f86565b60008060408385031215610fd057600080fd5b610fd983610f86565b9150610fe760208401610f86565b90509250929050565b60008060006060848603121561100557600080fd5b61100e84610f86565b925061101c60208501610f86565b9150604084013590509250925092565b6000806000806080858703121561104257600080fd5b61104b85610f86565b935061105960208601610f86565b925060408501359150606085013567ffffffffffffffff8082111561107d57600080fd5b818701915087601f83011261109157600080fd5b8135818111156110a3576110a3611413565b604051601f8201601f19908116603f011681019083821181831017156110cb576110cb611413565b816040528281528a60208487010111156110e457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561111b57600080fd5b61112483610f86565b91506020830135801515811461113957600080fd5b809150509250929050565b6000806040838503121561115757600080fd5b61116083610f86565b946020939093013593505050565b60006020828403121561118057600080fd5b8135610b8f81611429565b60006020828403121561119d57600080fd5b8151610b8f81611429565b600080602083850312156111bb57600080fd5b823567ffffffffffffffff808211156111d357600080fd5b818501915085601f8301126111e757600080fd5b8135818111156111f657600080fd5b86602082850101111561120857600080fd5b60209290920196919550909350505050565b60006020828403121561122c57600080fd5b5035919050565b6000815180845261124b8160208601602086016113ac565b601f01601f19169290920160200192915050565b600081516112718185602086016113ac565b9290920192915050565b600080845481600182811c91508083168061129757607f831692505b60208084108214156112b757634e487b7160e01b86526022600452602486fd5b8180156112cb57600181146112dc57611309565b60ff19861689528489019650611309565b60008b81526020902060005b868110156113015781548b8201529085019083016112e8565b505084890196505b50505050505061132d61131c828661125f565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061136990830184611233565b9695505050505050565b602081526000610b8f6020830184611233565b600082198211156113a757634e487b7160e01b600052601160045260246000fd5b500190565b60005b838110156113c75781810151838201526020016113af565b838111156109f35750506000910152565b600181811c908216806113ec57607f821691505b6020821081141561140d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610aeb57600080fdfea264697066735822122046d81a6417a3dd9f6675c2c4e90abbb7be6f39e63cb1f05234cbe60ea7f165d664736f6c63430008070033
Deployed Bytecode Sourcemap
137:1859:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5653:607:2;;;;;;:::i;:::-;;:::i;:::-;;;6763:14:5;;6756:22;6738:41;;6726:2;6711:18;5653:607:2;;;;;;;;11161:98;;;:::i;:::-;;;;;;;:::i;13048:200::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6061:32:5;;;6043:51;;6031:2;6016:18;13048:200:2;5897:203:5;12611:376:2;;;;;;:::i;:::-;;:::i;:::-;;952:454:4;;;:::i;4736:309:2:-;1986:1:4;4998:12:2;4789:7;4982:13;:28;-1:-1:-1;;4982:46:2;4736:309;;;10130:25:5;;;10118:2;10103:18;4736:309:2;9984:177:5;22055:2739:2;;;;;;:::i;:::-;;:::i;13912:179::-;;;;;;:::i;:::-;;:::i;1565:104:4:-;;;;;;:::i;:::-;;:::i;10957:142:2:-;;;;;;:::i;:::-;;:::i;6319:221::-;;;;;;:::i;:::-;;:::i;1831:101:0:-;;;:::i;1412:147:4:-;;;:::i;1201:85:0:-;1273:6;;-1:-1:-1;;;;;1273:6:0;1201:85;;11323:102:2;;;:::i;13315:303::-;;;;;;:::i;:::-;;:::i;14157:388::-;;;;;;:::i;:::-;;:::i;1675:222:4:-;;;;;;:::i;:::-;;:::i;13684:162:2:-;;;;;;:::i;:::-;-1:-1:-1;;;;;13804:25:2;;;13781:4;13804:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;13684:162;2081:198:0;;;;;;:::i;:::-;;:::i;5653:607:2:-;5738:4;-1:-1:-1;;;;;;;;;6033:25:2;;;;:101;;-1:-1:-1;;;;;;;;;;6109:25:2;;;6033:101;:177;;;-1:-1:-1;;;;;;;;;;6185:25:2;;;6033:177;6014:196;5653:607;-1:-1:-1;;5653:607:2:o;11161:98::-;11215:13;11247:5;11240:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11161:98;:::o;13048:200::-;13116:7;13140:16;13148:7;13140;:16::i;:::-;13135:64;;13165:34;;-1:-1:-1;;;13165:34:2;;;;;;;;;;;13135:64;-1:-1:-1;13217:24:2;;;;:15;:24;;;;;;-1:-1:-1;;;;;13217:24:2;;13048:200::o;12611:376::-;12683:13;12699:16;12707:7;12699;:16::i;:::-;12683:32;-1:-1:-1;32960:10:2;-1:-1:-1;;;;;12730:28:2;;;12726:172;;12777:44;12794:5;32960:10;13684:162;:::i;12777:44::-;12772:126;;12848:35;;-1:-1:-1;;;12848:35:2;;;;;;;;;;;12772:126;12908:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;12908:29:2;-1:-1:-1;;;;;12908:29:2;;;;;;;;;12952:28;;12908:24;;12952:28;;;;;;;12673:314;12611:376;;:::o;952:454:4:-;405:3;995:14;5185:7:2;5369:13;-1:-1:-1;;5369:31:2;;5138:279;995:14:4;:38;;987:84;;;;-1:-1:-1;;;987:84:4;;8726:2:5;987:84:4;;;8708:21:5;8765:2;8745:18;;;8738:30;8804:34;8784:18;;;8777:62;-1:-1:-1;;;8855:18:5;;;8848:31;8896:19;;987:84:4;;;;;;;;;218:4;267:1;1089:14;5185:7:2;5369:13;-1:-1:-1;;5369:31:2;;5138:279;1089:14:4;:28;;;;:::i;:::-;:41;;1081:77;;;;-1:-1:-1;;;1081:77:4;;9834:2:5;1081:77:4;;;9816:21:5;9873:2;9853:18;;;9846:30;9912:25;9892:18;;;9885:53;9955:18;;1081:77:4;9632:347:5;1081:77:4;1176:10;1190:9;1176:23;1168:69;;;;-1:-1:-1;;;1168:69:4;;7559:2:5;1168:69:4;;;7541:21:5;7598:2;7578:18;;;7571:30;7637:34;7617:18;;;7610:62;-1:-1:-1;;;7688:18:5;;;7681:31;7729:19;;1168:69:4;7357:397:5;1168:69:4;1271:10;1255:27;;;;:15;:27;;;;;;;;:36;1247:63;;;;-1:-1:-1;;;1247:63:4;;7216:2:5;1247:63:4;;;7198:21:5;7255:2;7235:18;;;7228:30;-1:-1:-1;;;7274:18:5;;;7267:44;7328:18;;1247:63:4;7014:338:5;1247:63:4;1321:34;1331:10;267:1;1321:9;:34::i;:::-;1381:10;1365:27;;;;:15;:27;;;;;:34;;-1:-1:-1;;1365:34:4;1395:4;1365:34;;;952:454::o;22055:2739:2:-;22184:27;22214;22233:7;22214:18;:27::i;:::-;22184:57;;22297:4;-1:-1:-1;;;;;22256:45:2;22272:19;-1:-1:-1;;;;;22256:45:2;;22252:86;;22310:28;;-1:-1:-1;;;22310:28:2;;;;;;;;;;;22252:86;22350:27;20821:21;;;20652:15;20862:4;20855:36;20943:4;20927:21;;21031:26;;32960:10;21766:30;;;-1:-1:-1;;;;;21468:26:2;;21745:19;;;21742:55;22526:173;;22612:43;22629:4;32960:10;13684:162;:::i;22612:43::-;22607:92;;22664:35;;-1:-1:-1;;;22664:35:2;;;;;;;;;;;22607:92;-1:-1:-1;;;;;22714:16:2;;22710:52;;22739:23;;-1:-1:-1;;;22739:23:2;;;;;;;;;;;22710:52;22905:15;22902:157;;;23043:1;23022:19;23015:30;22902:157;-1:-1:-1;;;;;23429:24:2;;;;;;;:18;:24;;;;;;23427:26;;-1:-1:-1;;23427:26:2;;;23497:22;;;;;;;;;23495:24;;-1:-1:-1;23495:24:2;;;10863:11;10839:22;10835:40;10822:62;-1:-1:-1;;;10822:62:2;23783:26;;;;:17;:26;;;;;:171;-1:-1:-1;;;24071:46:2;;24067:616;;24174:1;24164:11;;24142:19;24295:30;;;:17;:30;;;;;;24291:378;;24431:13;;24416:11;:28;24412:239;;24576:30;;;;:17;:30;;;;;:52;;;24412:239;24124:559;24067:616;24727:7;24723:2;-1:-1:-1;;;;;24708:27:2;24717:4;-1:-1:-1;;;;;24708:27:2;;;;;;;;;;;22174:2620;;;22055:2739;;;:::o;13912:179::-;14045:39;14062:4;14068:2;14072:7;14045:39;;;;;;;;;;;;:16;:39::i;:::-;13912:179;;;:::o;1565:104:4:-;1094:13:0;:11;:13::i;:::-;1642:20:4::1;:7;1652:10:::0;;1642:20:::1;:::i;10957:142:2:-:0;11021:7;11063:27;11082:7;11063:18;:27::i;6319:221::-;6383:7;-1:-1:-1;;;;;6406:19:2;;6402:60;;6434:28;;-1:-1:-1;;;6434:28:2;;;;;;;;;;;6402:60;-1:-1:-1;;;;;;6479:25:2;;;;;:18;:25;;;;;;1022:13;6479:54;;6319:221::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;1412:147:4:-;530:10;544:1;515:26;;;:14;:26;;;;;;507:72;;;;-1:-1:-1;;;507:72:4;;8368:2:5;507:72:4;;;8350:21:5;8407:2;8387:18;;;8380:30;8446:31;8426:18;;;8419:59;8495:18;;507:72:4;8166:353:5;507:72:4;1473:10:::1;1485:26;::::0;;;:14:::1;:26;::::0;;;;;1463:49:::1;::::0;1473:10;1463:9:::1;:49::i;:::-;1537:10;1551:1;1522:26:::0;;;:14:::1;:26;::::0;;;;:30;1412:147::o;11323:102:2:-;11379:13;11411:7;11404:14;;;;;:::i;13315:303::-;-1:-1:-1;;;;;13413:31:2;;32960:10;13413:31;13409:61;;;13453:17;;-1:-1:-1;;;13453:17:2;;;;;;;;;;;13409:61;32960:10;13481:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;13481:49:2;;;;;;;;;;;;:60;;-1:-1:-1;;13481:60:2;;;;;;;;;;13556:55;;6738:41:5;;;13481:49:2;;32960:10;13556:55;;6711:18:5;13556:55:2;;;;;;;13315:303;;:::o;14157:388::-;14318:31;14331:4;14337:2;14341:7;14318:12;:31::i;:::-;-1:-1:-1;;;;;14363:14:2;;;:19;14359:180;;14401:56;14432:4;14438:2;14442:7;14451:5;14401:30;:56::i;:::-;14396:143;;14484:40;;-1:-1:-1;;;14484:40:2;;;;;;;;;;;14396:143;14157:388;;;;:::o;1675:222:4:-;1740:13;1773:16;1781:7;1773;:16::i;:::-;1765:45;;;;-1:-1:-1;;;1765:45:4;;9128:2:5;1765:45:4;;;9110:21:5;9167:2;9147:18;;;9140:30;-1:-1:-1;;;9186:18:5;;;9179:46;9242:18;;1765:45:4;8926:340:5;1765:45:4;1852:7;1861:18;1871:7;1861:9;:18::i;:::-;1835:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1821:69;;1675:222;;;:::o;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;7961:2:5;2161:73:0::1;::::0;::::1;7943:21:5::0;8000:2;7980:18;;;7973:30;8039:34;8019:18;;;8012:62;-1:-1:-1;;;8090:18:5;;;8083:36;8136:19;;2161:73:0::1;7759:402:5::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;14791:268:2:-;14848:4;14902:7;1986:1:4;14883:26:2;;:65;;;;;14935:13;;14925:7;:23;14883:65;:150;;;;-1:-1:-1;;14985:26:2;;;;:17;:26;;;;;;-1:-1:-1;;;14985:43:2;:48;;14791:268::o;15138:102::-;15206:27;15216:2;15220:8;15206:27;;;;;;;;;;;;:9;:27::i;:::-;15138:102;;:::o;7949:1105::-;8016:7;8050;;1986:1:4;8096:23:2;8092:898;;8148:13;;8141:4;:20;8137:853;;;8185:14;8202:23;;;:17;:23;;;;;;-1:-1:-1;;;8289:23:2;;8285:687;;8800:111;8807:11;8800:111;;-1:-1:-1;;;8877:6:2;8859:25;;;;:17;:25;;;;;;8800:111;;;8943:6;7949:1105;-1:-1:-1;;;7949:1105:2:o;8285:687::-;8163:827;8137:853;9016:31;;-1:-1:-1;;;9016:31:2;;;;;;;;;;;1359:130:0;1273:6;;-1:-1:-1;;;;;1273:6:0;32960:10:2;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;9473:2:5;1414:68:0;;;9455:21:5;;;9492:18;;;9485:30;9551:34;9531:18;;;9524:62;9603:18;;1414:68:0;9271:356:5;2433:187:0;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;28649:697:2:-;28827:88;;-1:-1:-1;;;28827:88:2;;28807:4;;-1:-1:-1;;;;;28827:45:2;;;;;:88;;32960:10;;28894:4;;28900:7;;28909:5;;28827:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28827:88:2;;;;;;;;-1:-1:-1;;28827:88:2;;;;;;;;;;;;:::i;:::-;;;28823:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29105:13:2;;29101:229;;29150:40;;-1:-1:-1;;;29150:40:2;;;;;;;;;;;29101:229;29290:6;29284:13;29275:6;29271:2;29267:15;29260:38;28823:517;-1:-1:-1;;;;;;28983:64:2;-1:-1:-1;;;28983:64:2;;-1:-1:-1;28649:697:2;;;;;;:::o;33078:1920::-;33541:4;33535:11;;33548:3;33531:21;;33624:17;;;;34307:11;;;34188:5;34437:2;34451;34441:13;;34433:22;34307:11;34420:36;34491:2;34481:13;;34082:682;34509:4;34082:682;;;34695:1;34690:3;34686:11;34679:18;;34745:2;34739:4;34735:13;34731:2;34727:22;34722:3;34714:36;34602:2;34592:13;;34082:682;;;-1:-1:-1;34792:13:2;;;-1:-1:-1;;34905:12:2;;;34963:19;;;34905:12;33078:1920;-1:-1:-1;33078:1920:2:o;15641:661::-;15759:19;15765:2;15769:8;15759:5;:19::i;:::-;-1:-1:-1;;;;;15817:14:2;;;:19;15813:473;;15856:11;15870:13;15917:14;;;15949:229;15979:62;16018:1;16022:2;16026:7;;;;;;16035:5;15979:30;:62::i;:::-;15974:165;;16076:40;;-1:-1:-1;;;16076:40:2;;;;;;;;;;;15974:165;16173:3;16165:5;:11;15949:229;;16258:3;16241:13;;:20;16237:34;;16263:8;;;16237:34;15838:448;;15641:661;;;:::o;16563:1492::-;16627:20;16650:13;-1:-1:-1;;;;;16677:16:2;;16673:48;;16702:19;;-1:-1:-1;;;16702:19:2;;;;;;;;;;;16673:48;16735:13;16731:44;;16757:18;;-1:-1:-1;;;16757:18:2;;;;;;;;;;;16731:44;-1:-1:-1;;;;;17250:22:2;;;;;;:18;:22;;1156:2;17250:22;;:70;;17288:31;17276:44;;17250:70;;;10863:11;10839:22;10835:40;-1:-1:-1;12522:15:2;;12497:23;12493:45;10832:51;10822:62;17556:31;;;;:17;:31;;;;;:170;17574:12;17799:23;;;17836:99;17862:35;;17887:9;;;;;-1:-1:-1;;;;;17862:35:2;;;17879:1;;17862:35;;17879:1;;17862:35;17930:3;17920:7;:13;17836:99;;17949:13;:19;-1:-1:-1;13912:179:2;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:5;82:20;;-1:-1:-1;;;;;131:31:5;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:5;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:347::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2415:5;2408:13;2401:21;2394:5;2391:32;2381:60;;2437:1;2434;2427:12;2381:60;2460:5;2450:15;;;2124:347;;;;;:::o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2476:254:5:o;2735:245::-;2793:6;2846:2;2834:9;2825:7;2821:23;2817:32;2814:52;;;2862:1;2859;2852:12;2814:52;2901:9;2888:23;2920:30;2944:5;2920:30;:::i;2985:249::-;3054:6;3107:2;3095:9;3086:7;3082:23;3078:32;3075:52;;;3123:1;3120;3113:12;3075:52;3155:9;3149:16;3174:30;3198:5;3174:30;:::i;3239:592::-;3310:6;3318;3371:2;3359:9;3350:7;3346:23;3342:32;3339:52;;;3387:1;3384;3377:12;3339:52;3427:9;3414:23;3456:18;3497:2;3489:6;3486:14;3483:34;;;3513:1;3510;3503:12;3483:34;3551:6;3540:9;3536:22;3526:32;;3596:7;3589:4;3585:2;3581:13;3577:27;3567:55;;3618:1;3615;3608:12;3567:55;3658:2;3645:16;3684:2;3676:6;3673:14;3670:34;;;3700:1;3697;3690:12;3670:34;3745:7;3740:2;3731:6;3727:2;3723:15;3719:24;3716:37;3713:57;;;3766:1;3763;3756:12;3713:57;3797:2;3789:11;;;;;3819:6;;-1:-1:-1;3239:592:5;;-1:-1:-1;;;;3239:592:5:o;3836:180::-;3895:6;3948:2;3936:9;3927:7;3923:23;3919:32;3916:52;;;3964:1;3961;3954:12;3916:52;-1:-1:-1;3987:23:5;;3836:180;-1:-1:-1;3836:180:5:o;4021:257::-;4062:3;4100:5;4094:12;4127:6;4122:3;4115:19;4143:63;4199:6;4192:4;4187:3;4183:14;4176:4;4169:5;4165:16;4143:63;:::i;:::-;4260:2;4239:15;-1:-1:-1;;4235:29:5;4226:39;;;;4267:4;4222:50;;4021:257;-1:-1:-1;;4021:257:5:o;4283:185::-;4325:3;4363:5;4357:12;4378:52;4423:6;4418:3;4411:4;4404:5;4400:16;4378:52;:::i;:::-;4446:16;;;;;4283:185;-1:-1:-1;;4283:185:5:o;4591:1301::-;4868:3;4897:1;4930:6;4924:13;4960:3;4982:1;5010:9;5006:2;5002:18;4992:28;;5070:2;5059:9;5055:18;5092;5082:61;;5136:4;5128:6;5124:17;5114:27;;5082:61;5162:2;5210;5202:6;5199:14;5179:18;5176:38;5173:165;;;-1:-1:-1;;;5237:33:5;;5293:4;5290:1;5283:15;5323:4;5244:3;5311:17;5173:165;5354:18;5381:104;;;;5499:1;5494:320;;;;5347:467;;5381:104;-1:-1:-1;;5414:24:5;;5402:37;;5459:16;;;;-1:-1:-1;5381:104:5;;5494:320;10239:1;10232:14;;;10276:4;10263:18;;5589:1;5603:165;5617:6;5614:1;5611:13;5603:165;;;5695:14;;5682:11;;;5675:35;5738:16;;;;5632:10;;5603:165;;;5607:3;;5797:6;5792:3;5788:16;5781:23;;5347:467;;;;;;;5830:56;5855:30;5881:3;5873:6;5855:30;:::i;:::-;-1:-1:-1;;;4533:20:5;;4578:1;4569:11;;4473:113;5830:56;5823:63;4591:1301;-1:-1:-1;;;;;4591:1301:5:o;6105:488::-;-1:-1:-1;;;;;6374:15:5;;;6356:34;;6426:15;;6421:2;6406:18;;6399:43;6473:2;6458:18;;6451:34;;;6521:3;6516:2;6501:18;;6494:31;;;6299:4;;6542:45;;6567:19;;6559:6;6542:45;:::i;:::-;6534:53;6105:488;-1:-1:-1;;;;;;6105:488:5:o;6790:219::-;6939:2;6928:9;6921:21;6902:4;6959:44;6999:2;6988:9;6984:18;6976:6;6959:44;:::i;10292:225::-;10332:3;10363:1;10359:6;10356:1;10353:13;10350:136;;;10408:10;10403:3;10399:20;10396:1;10389:31;10443:4;10440:1;10433:15;10471:4;10468:1;10461:15;10350:136;-1:-1:-1;10502:9:5;;10292:225::o;10522:258::-;10594:1;10604:113;10618:6;10615:1;10612:13;10604:113;;;10694:11;;;10688:18;10675:11;;;10668:39;10640:2;10633:10;10604:113;;;10735:6;10732:1;10729:13;10726:48;;;-1:-1:-1;;10770:1:5;10752:16;;10745:27;10522:258::o;10785:380::-;10864:1;10860:12;;;;10907;;;10928:61;;10982:4;10974:6;10970:17;10960:27;;10928:61;11035:2;11027:6;11024:14;11004:18;11001:38;10998:161;;;11081:10;11076:3;11072:20;11069:1;11062:31;11116:4;11113:1;11106:15;11144:4;11141:1;11134:15;10998:161;;10785:380;;;:::o;11170:127::-;11231:10;11226:3;11222:20;11219:1;11212:31;11262:4;11259:1;11252:15;11286:4;11283:1;11276:15;11302:131;-1:-1:-1;;;;;;11376:32:5;;11366:43;;11356:71;;11423:1;11420;11413:12
Swarm Source
ipfs://46d81a6417a3dd9f6675c2c4e90abbb7be6f39e63cb1f05234cbe60ea7f165d6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.