ERC-721
Art
Overview
Max Total Supply
4,444 UA
Holders
1,300
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 UALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UndeadArt
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Multiple files format)
//SPDX-License-Identifier: MIT // █ ██ ███▄ █ ▓█████▄ ▓█████ ▄▄▄ ▓█████▄ ▄▄▄ ██▀███ ▄▄▄█████▓ // ██ ▓██▒ ██ ▀█ █ ▒██▀ ██▌▓█ ▀▒████▄ ▒██▀ ██▌ ▒████▄ ▓██ ▒ ██▒▓ ██▒ ▓▒ // ▓██ ▒██░▓██ ▀█ ██▒░██ █▌▒███ ▒██ ▀█▄ ░██ █▌ ▒██ ▀█▄ ▓██ ░▄█ ▒▒ ▓██░ ▒░ // ▓▓█ ░██░▓██▒ ▐▌██▒░▓█▄ ▌▒▓█ ▄░██▄▄▄▄██ ░▓█▄ ▌ ░██▄▄▄▄██ ▒██▀▀█▄ ░ ▓██▓ ░ // ▒▒█████▓ ▒██░ ▓██░░▒████▓ ░▒████▒▓█ ▓██▒░▒████▓ ▓█ ▓██▒░██▓ ▒██▒ ▒██▒ ░ // ░▒▓▒ ▒ ▒ ░ ▒░ ▒ ▒ ▒▒▓ ▒ ░░ ▒░ ░▒▒ ▓▒█░ ▒▒▓ ▒ ▒▒ ▓▒█░░ ▒▓ ░▒▓░ ▒ ░░ // ░░▒░ ░ ░ ░ ░░ ░ ▒░ ░ ▒ ▒ ░ ░ ░ ▒ ▒▒ ░ ░ ▒ ▒ ▒ ▒▒ ░ ░▒ ░ ▒░ ░ // ░░░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ▒ ░░ ░ ░ // ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ // ░ ░ pragma solidity ^0.8.17; import "./Ownable.sol"; import "./MerkleProof.sol"; import "./ERC721AQueryable.sol"; import "./DefaultOperatorFilterer.sol"; contract UndeadArt is ERC721A("Undead Art", "UA"), ERC721AQueryable, Ownable, DefaultOperatorFilterer { enum FateStatus { DEAD, UNDEAD_PACT, UNDEAD_RISE } // ------------------------------------------------------------------------ // * Storage // ------------------------------------------------------------------------ uint256 public maxRisenUndead = 9999; uint256 public maxPactWithUndead = 9000; uint256 public soulCost = 0.005 ether; uint256 public pactCost = 0.003 ether; uint256 public freeUndeadPerCrypt = 1; uint256 public maxUndeadPerCrypt = 3; FateStatus public fateStatus; bytes32 public pact; string public soulBind; // ------------------------------------------------------------------------ // * Modifiers // ------------------------------------------------------------------------ modifier soulCostCompliance(uint256 headcount, bool isForPact) { uint256 risen = _numberMinted(msg.sender); uint256 freeUndead = headcount - 1; uint256 freeUndeadLeft = freeUndeadPerCrypt > risen ? freeUndeadPerCrypt - risen : 0; uint256 paidCount = headcount > freeUndeadLeft ? headcount - freeUndeadLeft : 0; uint256 currentSoulCost = isForPact ? pactCost : soulCost; uint256 totalSoulCost = isForPact ? paidCount * currentSoulCost : headcount == maxUndeadPerCrypt ? freeUndead * currentSoulCost : headcount * currentSoulCost; require(msg.value >= totalSoulCost, "Not enough soul essence to fuel the Undead"); _; } modifier riseCompliance(uint256 headcount, bool isForPact) { uint256 currentUndeadLeft = isForPact ? maxPactWithUndead : maxRisenUndead; require(tx.origin == msg.sender, "You are not human, we need human blood"); require(totalSupply() + headcount <= currentUndeadLeft, "All undead have risen"); require( _numberMinted(msg.sender) + headcount <= maxUndeadPerCrypt, "Too many undead in your crypt" ); _; } // ------------------------------------------------------------------------ // * Frontend view helpers // ------------------------------------------------------------------------ function getResurrectedUndead(address addr) external view returns (uint256) { return _numberMinted(addr); } // ------------------------------------------------------------------------ // * Mint // ------------------------------------------------------------------------ function undeadRise( uint256 headcount ) external payable soulCostCompliance(headcount, false) riseCompliance(headcount, false) { require( fateStatus == FateStatus.UNDEAD_RISE, "Undead Rise has not yet been unleashed upon the living" ); _mint(msg.sender, headcount); } function undeadPact( uint256 headcount, bytes32[] memory bloodyPact ) external payable soulCostCompliance(headcount, true) riseCompliance(headcount, true) { require( fateStatus == FateStatus.UNDEAD_PACT || fateStatus == FateStatus.UNDEAD_RISE, "Pact with the Undead has not yet been sealed in blood" ); require( MerkleProof.verify(bloodyPact, pact, keccak256(abi.encodePacked(msg.sender))), "Not etched in the pact with the undead. Your blood is not worthy." ); _mint(msg.sender, headcount); } // ------------------------------------------------------------------------ // * Admin Functions // ------------------------------------------------------------------------ function necromancerMint(uint256 headcount, address to) external onlyOwner { require(headcount + totalSupply() <= maxRisenUndead, "All undead have risen"); _safeMint(to, headcount); } function bindUndead(string memory bind) external onlyOwner { soulBind = bind; } function setFate(FateStatus fate) external onlyOwner { fateStatus = fate; } function setPact(bytes32 newPact) external onlyOwner { pact = newPact; } function soulDrain() external onlyOwner { (bool success, ) = owner().call{ value: address(this).balance }(""); require(success, "Soul drain failed"); } function burnLostSouls(uint256 newRisen, uint256 newPact) external onlyOwner { maxRisenUndead = newRisen; maxPactWithUndead = newPact; } // ------------------------------------------------------------------------ // * Operator Filterer Overrides // ------------------------------------------------------------------------ function transferFrom( address from, address to, uint256 tokenId ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } // ------------------------------------------------------------------------ // * Internal Overrides // ------------------------------------------------------------------------ function _startTokenId() internal pure override returns (uint256) { return 1; } function _baseURI() internal view override returns (string memory) { return soulBind; } }
// 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 pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { 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 initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * 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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import './ERC721A.sol'; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "./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); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"bind","type":"string"}],"name":"bindUndead","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRisen","type":"uint256"},{"internalType":"uint256","name":"newPact","type":"uint256"}],"name":"burnLostSouls","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fateStatus","outputs":[{"internalType":"enum UndeadArt.FateStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeUndeadPerCrypt","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":"addr","type":"address"}],"name":"getResurrectedUndead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxPactWithUndead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxRisenUndead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxUndeadPerCrypt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"headcount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"necromancerMint","outputs":[],"stateMutability":"nonpayable","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":"pact","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pactCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum UndeadArt.FateStatus","name":"fate","type":"uint8"}],"name":"setFate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newPact","type":"bytes32"}],"name":"setPact","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"soulBind","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"soulCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"soulDrain","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"headcount","type":"uint256"},{"internalType":"bytes32[]","name":"bloodyPact","type":"bytes32[]"}],"name":"undeadPact","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"headcount","type":"uint256"}],"name":"undeadRise","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405261270f600955612328600a556611c37937e08000600b55660aa87bee538000600c556001600d556003600e553480156200003d57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a815260200169155b9919585908105c9d60b21b81525060405180604001604052806002815260200161554160f01b8152508160029081620000a491906200030a565b506003620000b382826200030a565b5050600160005550620000c63362000213565b6daaeb6d7670e522a718067333cd4e3b156200020b5780156200015957604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200013a57600080fd5b505af11580156200014f573d6000803e3d6000fd5b505050506200020b565b6001600160a01b03821615620001aa5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200011f565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001f157600080fd5b505af115801562000206573d6000803e3d6000fd5b505050505b5050620003d6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029057607f821691505b602082108103620002b157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030557600081815260208120601f850160051c81016020861015620002e05750805b601f850160051c820191505b818110156200030157828155600101620002ec565b5050505b505050565b81516001600160401b0381111562000326576200032662000265565b6200033e816200033784546200027b565b84620002b7565b602080601f8311600181146200037657600084156200035d5750858301515b600019600386901b1c1916600185901b17855562000301565b600085815260208120601f198616915b82811015620003a75788860151825594840194600190910190840162000386565b5085821015620003c65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6127cc80620003e66000396000f3fe60806040526004361061023b5760003560e01c8063715018a61161012e578063b88d4fde116100ab578063d881054f1161006f578063d881054f14610660578063e33f037314610680578063e96cfb7414610695578063e985e9c5146106ab578063f2fde38b146106f457600080fd5b8063b88d4fde146105ca578063b98536f6146105dd578063c23dc68f146105f3578063c87b56dd14610620578063cb7728f81461064057600080fd5b806395d89b41116100f257806395d89b411461053f57806399a2557a14610554578063a22cb46514610574578063adc29d9914610594578063b7b080b7146105aa57600080fd5b8063715018a6146104b95780638462151c146104ce57806385932c01146104fb5780638da5cb5b1461050e5780639128c5601461052c57600080fd5b80633a967b6e116101bc578063515ff44311610180578063515ff443146104165780635bbb21771461042c5780636352211e146104595780636b2635f11461047957806370a082311461049957600080fd5b80633a967b6e1461038b57806341f43434146103ab57806342842e0e146103cd57806346b2a6b7146103e05780634c853bcc1461040057600080fd5b806318160ddd1161020357806318160ddd14610308578063199376421461032657806323b872dd1461033c57806326a7edfc1461034f57806329697dc71461036457600080fd5b806301ffc9a714610240578063020658561461027557806306fdde0314610299578063081812fc146102bb578063095ea7b3146102f3575b600080fd5b34801561024c57600080fd5b5061026061025b366004611ea2565b610714565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028b600d5481565b60405190815260200161026c565b3480156102a557600080fd5b506102ae610766565b60405161026c9190611f0f565b3480156102c757600080fd5b506102db6102d6366004611f22565b6107f8565b6040516001600160a01b03909116815260200161026c565b610306610301366004611f57565b61083c565b005b34801561031457600080fd5b5061028b600154600054036000190190565b34801561033257600080fd5b5061028b60095481565b61030661034a366004611f81565b6108dc565b34801561035b57600080fd5b506102ae610907565b34801561037057600080fd5b50600f5461037e9060ff1681565b60405161026c9190611fd3565b34801561039757600080fd5b506103066103a6366004612098565b610995565b3480156103b757600080fd5b506102db6daaeb6d7670e522a718067333cd4e81565b6103066103db366004611f81565b6109ad565b3480156103ec57600080fd5b506103066103fb3660046120e0565b6109d2565b34801561040c57600080fd5b5061028b600e5481565b34801561042257600080fd5b5061028b60105481565b34801561043857600080fd5b5061044c61044736600461210c565b610a29565b60405161026c91906121bc565b34801561046557600080fd5b506102db610474366004611f22565b610af4565b34801561048557600080fd5b5061028b6104943660046121fe565b610aff565b3480156104a557600080fd5b5061028b6104b43660046121fe565b610b0a565b3480156104c557600080fd5b50610306610b58565b3480156104da57600080fd5b506104ee6104e93660046121fe565b610b6c565b60405161026c9190612219565b610306610509366004611f22565b610c74565b34801561051a57600080fd5b506008546001600160a01b03166102db565b61030661053a366004612251565b610e9e565b34801561054b57600080fd5b506102ae6111a8565b34801561056057600080fd5b506104ee61056f366004612302565b6111b7565b34801561058057600080fd5b5061030661058f366004612343565b61133e565b3480156105a057600080fd5b5061028b600b5481565b3480156105b657600080fd5b506103066105c536600461237a565b6113aa565b6103066105d836600461239b565b6113d9565b3480156105e957600080fd5b5061028b600a5481565b3480156105ff57600080fd5b5061061361060e366004611f22565b611406565b60405161026c9190612416565b34801561062c57600080fd5b506102ae61063b366004611f22565b61148e565b34801561064c57600080fd5b5061030661065b366004612424565b611511565b34801561066c57600080fd5b5061030661067b366004611f22565b611524565b34801561068c57600080fd5b50610306611531565b3480156106a157600080fd5b5061028b600c5481565b3480156106b757600080fd5b506102606106c6366004612446565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561070057600080fd5b5061030661070f3660046121fe565b6115e4565b60006301ffc9a760e01b6001600160e01b03198316148061074557506380ac58cd60e01b6001600160e01b03198316145b806107605750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461077590612470565b80601f01602080910402602001604051908101604052809291908181526020018280546107a190612470565b80156107ee5780601f106107c3576101008083540402835291602001916107ee565b820191906000526020600020905b8154815290600101906020018083116107d157829003601f168201915b5050505050905090565b60006108038261165a565b610820576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061084782610af4565b9050336001600160a01b038216146108805761086381336106c6565b610880576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b826001600160a01b03811633146108f6576108f63361168f565b610901848484611748565b50505050565b6011805461091490612470565b80601f016020809104026020016040519081016040528092919081815260200182805461094090612470565b801561098d5780601f106109625761010080835404028352916020019161098d565b820191906000526020600020905b81548152906001019060200180831161097057829003601f168201915b505050505081565b61099d6118e1565b60116109a982826124f0565b5050565b826001600160a01b03811633146109c7576109c73361168f565b61090184848461193b565b6109da6118e1565b6009546109ee600154600054036000190190565b6109f890846125c5565b1115610a1f5760405162461bcd60e51b8152600401610a16906125d8565b60405180910390fd5b6109a9818361195b565b6060816000816001600160401b03811115610a4657610a46611ffb565b604051908082528060200260200182016040528015610a9857816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610a645790505b50905060005b828114610aeb57610ac6868683818110610aba57610aba612607565b90506020020135611406565b828281518110610ad857610ad8612607565b6020908102919091010152600101610a9e565b50949350505050565b600061076082611975565b6000610760826119e4565b60006001600160a01b038216610b33576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610b606118e1565b610b6a6000611a0c565b565b60606000806000610b7c85610b0a565b90506000816001600160401b03811115610b9857610b98611ffb565b604051908082528060200260200182016040528015610bc1578160200160208202803683370190505b509050610bee60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610c6857610c0181611a5e565b91508160400151610c605781516001600160a01b031615610c2157815194505b876001600160a01b0316856001600160a01b031603610c605780838780600101985081518110610c5357610c53612607565b6020026020010181815250505b600101610bf1565b50909695505050505050565b80600080610c81336119e4565b90506000610c9060018561261d565b9050600082600d5411610ca4576000610cb2565b82600d54610cb2919061261d565b90506000818611610cc4576000610cce565b610cce828761261d565b9050600085610cdf57600b54610ce3565b600c545b9050600086610d0e57600e548814610d0457610cff8289612630565b610d18565b610cff8286612630565b610d188284612630565b905080341015610d3a5760405162461bcd60e51b8152600401610a1690612647565b6009548990600090333214610d615760405162461bcd60e51b8152600401610a1690612691565b8083610d74600154600054036000190190565b610d7e91906125c5565b1115610d9c5760405162461bcd60e51b8152600401610a16906125d8565b600e5483610da9336119e4565b610db391906125c5565b1115610e015760405162461bcd60e51b815260206004820152601d60248201527f546f6f206d616e7920756e6465616420696e20796f75722063727970740000006044820152606401610a16565b6002600f5460ff166002811115610e1a57610e1a611fbd565b14610e865760405162461bcd60e51b815260206004820152603660248201527f556e64656164205269736520686173206e6f7420796574206265656e20756e6c6044820152756561736865642075706f6e20746865206c6976696e6760501b6064820152608401610a16565b610e90338d611a9a565b505050505050505050505050565b8160016000610eac336119e4565b90506000610ebb60018561261d565b9050600082600d5411610ecf576000610edd565b82600d54610edd919061261d565b90506000818611610eef576000610ef9565b610ef9828761261d565b9050600085610f0a57600b54610f0e565b600c545b9050600086610f3957600e548814610f2f57610f2a8289612630565b610f43565b610f2a8286612630565b610f438284612630565b905080341015610f655760405162461bcd60e51b8152600401610a1690612647565b600a548a90600190333214610f8c5760405162461bcd60e51b8152600401610a1690612691565b8083610f9f600154600054036000190190565b610fa991906125c5565b1115610fc75760405162461bcd60e51b8152600401610a16906125d8565b600e5483610fd4336119e4565b610fde91906125c5565b111561102c5760405162461bcd60e51b815260206004820152601d60248201527f546f6f206d616e7920756e6465616420696e20796f75722063727970740000006044820152606401610a16565b6001600f5460ff16600281111561104557611045611fbd565b148061106757506002600f5460ff16600281111561106557611065611fbd565b145b6110d15760405162461bcd60e51b815260206004820152603560248201527f5061637420776974682074686520556e6465616420686173206e6f7420796574604482015274081899595b881cd9585b1959081a5b88189b1bdbd9605a1b6064820152608401610a16565b6010546040516bffffffffffffffffffffffff193360601b166020820152611113918e9160340160405160208183030381529060405280519060200120611b98565b61118f5760405162461bcd60e51b815260206004820152604160248201527f4e6f742065746368656420696e2074686520706163742077697468207468652060448201527f756e646561642e20596f757220626c6f6f64206973206e6f7420776f727468796064820152601760f91b608482015260a401610a16565b611199338e611a9a565b50505050505050505050505050565b60606003805461077590612470565b60608183106111d957604051631960ccad60e11b815260040160405180910390fd5b6000806111e560005490565b905060018510156111f557600194505b80841115611201578093505b600061120c87610b0a565b90508486101561122b5785850381811015611225578091505b5061122f565b5060005b6000816001600160401b0381111561124957611249611ffb565b604051908082528060200260200182016040528015611272578160200160208202803683370190505b5090508160000361128857935061133792505050565b600061129388611406565b9050600081604001516112a4575080515b885b8881141580156112b65750848714155b1561132b576112c481611a5e565b925082604001516113235782516001600160a01b0316156112e457825191505b8a6001600160a01b0316826001600160a01b031603611323578084888060010199508151811061131657611316612607565b6020026020010181815250505b6001016112a6565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113b26118e1565b600f805482919060ff191660018360028111156113d1576113d1611fbd565b021790555050565b836001600160a01b03811633146113f3576113f33361168f565b6113ff85858585611bae565b5050505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061145f57506000548310155b1561146a5792915050565b61147383611a5e565b90508060400151156114855792915050565b61133783611bf2565b60606114998261165a565b6114b657604051630a14c4b560e41b815260040160405180910390fd5b60006114c0611c27565b905080516000036114e05760405180602001604052806000815250611337565b806114ea84611c36565b6040516020016114fb9291906126d7565b6040516020818303038152906040529392505050565b6115196118e1565b600991909155600a55565b61152c6118e1565b601055565b6115396118e1565b600061154d6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611597576040519150601f19603f3d011682016040523d82523d6000602084013e61159c565b606091505b50509050806115e15760405162461bcd60e51b815260206004820152601160248201527014dbdd5b08191c985a5b8819985a5b1959607a1b6044820152606401610a16565b50565b6115ec6118e1565b6001600160a01b0381166116515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a16565b6115e181611a0c565b60008160011115801561166e575060005482105b8015610760575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156115e157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156116fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117209190612706565b6115e157604051633b79c77360e21b81526001600160a01b0382166004820152602401610a16565b600061175382611975565b9050836001600160a01b0316816001600160a01b0316146117865760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176117d3576117b686336106c6565b6117d357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166117fa57604051633a954ecd60e21b815260040160405180910390fd5b801561180557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611897576001840160008181526004602052604081205490036118955760005481146118955760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610b6a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a16565b611956838383604051806020016040528060008152506113d9565b505050565b6109a9828260405180602001604052806000815250611c7a565b600081806001116119cb576000548110156119cb5760008181526004602052604081205490600160e01b821690036119c9575b806000036113375750600019016000818152600460205260409020546119a8565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461076090611ce0565b6000805490829003611abf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b6e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b36565b5081600003611b8f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b600082611ba58584611d27565b14949350505050565b611bb98484846108dc565b6001600160a01b0383163b1561090157611bd584848484611d74565b610901576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610760611c2283611975565b611ce0565b60606011805461077590612470565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611c505750819003601f19909101908152919050565b611c848383611a9a565b6001600160a01b0383163b15611956576000548281035b611cae6000868380600101945086611d74565b611ccb576040516368d2bf6b60e11b815260040160405180910390fd5b818110611c9b5781600054146113ff57600080fd5b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b8451811015611d6c57611d5882868381518110611d4b57611d4b612607565b6020026020010151611e60565b915080611d6481612723565b915050611d2c565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611da990339089908890889060040161273c565b6020604051808303816000875af1925050508015611de4575060408051601f3d908101601f19168201909252611de191810190612779565b60015b611e42573d808015611e12576040519150601f19603f3d011682016040523d82523d6000602084013e611e17565b606091505b508051600003611e3a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000818310611e7c576000828152602084905260409020611337565b5060009182526020526040902090565b6001600160e01b0319811681146115e157600080fd5b600060208284031215611eb457600080fd5b813561133781611e8c565b60005b83811015611eda578181015183820152602001611ec2565b50506000910152565b60008151808452611efb816020860160208601611ebf565b601f01601f19169290920160200192915050565b6020815260006113376020830184611ee3565b600060208284031215611f3457600080fd5b5035919050565b80356001600160a01b0381168114611f5257600080fd5b919050565b60008060408385031215611f6a57600080fd5b611f7383611f3b565b946020939093013593505050565b600080600060608486031215611f9657600080fd5b611f9f84611f3b565b9250611fad60208501611f3b565b9150604084013590509250925092565b634e487b7160e01b600052602160045260246000fd5b6020810160038310611ff557634e487b7160e01b600052602160045260246000fd5b91905290565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561203957612039611ffb565b604052919050565b60006001600160401b0383111561205a5761205a611ffb565b61206d601f8401601f1916602001612011565b905082815283838301111561208157600080fd5b828260208301376000602084830101529392505050565b6000602082840312156120aa57600080fd5b81356001600160401b038111156120c057600080fd5b8201601f810184136120d157600080fd5b611e5884823560208401612041565b600080604083850312156120f357600080fd5b8235915061210360208401611f3b565b90509250929050565b6000806020838503121561211f57600080fd5b82356001600160401b038082111561213657600080fd5b818501915085601f83011261214a57600080fd5b81358181111561215957600080fd5b8660208260051b850101111561216e57600080fd5b60209290920196919550909350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610c68576121eb838551612180565b92840192608092909201916001016121d8565b60006020828403121561221057600080fd5b61133782611f3b565b6020808252825182820181905260009190848201906040850190845b81811015610c6857835183529284019291840191600101612235565b6000806040838503121561226457600080fd5b823591506020808401356001600160401b038082111561228357600080fd5b818601915086601f83011261229757600080fd5b8135818111156122a9576122a9611ffb565b8060051b91506122ba848301612011565b81815291830184019184810190898411156122d457600080fd5b938501935b838510156122f2578435825293850193908501906122d9565b8096505050505050509250929050565b60008060006060848603121561231757600080fd5b61232084611f3b565b95602085013595506040909401359392505050565b80151581146115e157600080fd5b6000806040838503121561235657600080fd5b61235f83611f3b565b9150602083013561236f81612335565b809150509250929050565b60006020828403121561238c57600080fd5b81356003811061133757600080fd5b600080600080608085870312156123b157600080fd5b6123ba85611f3b565b93506123c860208601611f3b565b92506040850135915060608501356001600160401b038111156123ea57600080fd5b8501601f810187136123fb57600080fd5b61240a87823560208401612041565b91505092959194509250565b608081016107608284612180565b6000806040838503121561243757600080fd5b50508035926020909101359150565b6000806040838503121561245957600080fd5b61246283611f3b565b915061210360208401611f3b565b600181811c9082168061248457607f821691505b6020821081036124a457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561195657600081815260208120601f850160051c810160208610156124d15750805b601f850160051c820191505b818110156118d9578281556001016124dd565b81516001600160401b0381111561250957612509611ffb565b61251d816125178454612470565b846124aa565b602080601f831160018114612552576000841561253a5750858301515b600019600386901b1c1916600185901b1785556118d9565b600085815260208120601f198616915b8281101561258157888601518255948401946001909101908401612562565b508582101561259f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820180821115610760576107606125af565b60208082526015908201527420b636103ab73232b0b2103430bb32903934b9b2b760591b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b81810381811115610760576107606125af565b8082028115828204841417610760576107606125af565b6020808252602a908201527f4e6f7420656e6f75676820736f756c20657373656e636520746f206675656c206040820152691d1a1948155b9919585960b21b606082015260800190565b60208082526026908201527f596f7520617265206e6f742068756d616e2c207765206e6565642068756d616e60408201526508189b1bdbd960d21b606082015260800190565b600083516126e9818460208801611ebf565b8351908301906126fd818360208801611ebf565b01949350505050565b60006020828403121561271857600080fd5b815161133781612335565b600060018201612735576127356125af565b5060010190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061276f90830184611ee3565b9695505050505050565b60006020828403121561278b57600080fd5b815161133781611e8c56fea264697066735822122072384af14a6f8898002036d3fa927eefe5e057316c0edf3c0b90b600f30d6a4064736f6c63430008110033
Deployed Bytecode
0x60806040526004361061023b5760003560e01c8063715018a61161012e578063b88d4fde116100ab578063d881054f1161006f578063d881054f14610660578063e33f037314610680578063e96cfb7414610695578063e985e9c5146106ab578063f2fde38b146106f457600080fd5b8063b88d4fde146105ca578063b98536f6146105dd578063c23dc68f146105f3578063c87b56dd14610620578063cb7728f81461064057600080fd5b806395d89b41116100f257806395d89b411461053f57806399a2557a14610554578063a22cb46514610574578063adc29d9914610594578063b7b080b7146105aa57600080fd5b8063715018a6146104b95780638462151c146104ce57806385932c01146104fb5780638da5cb5b1461050e5780639128c5601461052c57600080fd5b80633a967b6e116101bc578063515ff44311610180578063515ff443146104165780635bbb21771461042c5780636352211e146104595780636b2635f11461047957806370a082311461049957600080fd5b80633a967b6e1461038b57806341f43434146103ab57806342842e0e146103cd57806346b2a6b7146103e05780634c853bcc1461040057600080fd5b806318160ddd1161020357806318160ddd14610308578063199376421461032657806323b872dd1461033c57806326a7edfc1461034f57806329697dc71461036457600080fd5b806301ffc9a714610240578063020658561461027557806306fdde0314610299578063081812fc146102bb578063095ea7b3146102f3575b600080fd5b34801561024c57600080fd5b5061026061025b366004611ea2565b610714565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028b600d5481565b60405190815260200161026c565b3480156102a557600080fd5b506102ae610766565b60405161026c9190611f0f565b3480156102c757600080fd5b506102db6102d6366004611f22565b6107f8565b6040516001600160a01b03909116815260200161026c565b610306610301366004611f57565b61083c565b005b34801561031457600080fd5b5061028b600154600054036000190190565b34801561033257600080fd5b5061028b60095481565b61030661034a366004611f81565b6108dc565b34801561035b57600080fd5b506102ae610907565b34801561037057600080fd5b50600f5461037e9060ff1681565b60405161026c9190611fd3565b34801561039757600080fd5b506103066103a6366004612098565b610995565b3480156103b757600080fd5b506102db6daaeb6d7670e522a718067333cd4e81565b6103066103db366004611f81565b6109ad565b3480156103ec57600080fd5b506103066103fb3660046120e0565b6109d2565b34801561040c57600080fd5b5061028b600e5481565b34801561042257600080fd5b5061028b60105481565b34801561043857600080fd5b5061044c61044736600461210c565b610a29565b60405161026c91906121bc565b34801561046557600080fd5b506102db610474366004611f22565b610af4565b34801561048557600080fd5b5061028b6104943660046121fe565b610aff565b3480156104a557600080fd5b5061028b6104b43660046121fe565b610b0a565b3480156104c557600080fd5b50610306610b58565b3480156104da57600080fd5b506104ee6104e93660046121fe565b610b6c565b60405161026c9190612219565b610306610509366004611f22565b610c74565b34801561051a57600080fd5b506008546001600160a01b03166102db565b61030661053a366004612251565b610e9e565b34801561054b57600080fd5b506102ae6111a8565b34801561056057600080fd5b506104ee61056f366004612302565b6111b7565b34801561058057600080fd5b5061030661058f366004612343565b61133e565b3480156105a057600080fd5b5061028b600b5481565b3480156105b657600080fd5b506103066105c536600461237a565b6113aa565b6103066105d836600461239b565b6113d9565b3480156105e957600080fd5b5061028b600a5481565b3480156105ff57600080fd5b5061061361060e366004611f22565b611406565b60405161026c9190612416565b34801561062c57600080fd5b506102ae61063b366004611f22565b61148e565b34801561064c57600080fd5b5061030661065b366004612424565b611511565b34801561066c57600080fd5b5061030661067b366004611f22565b611524565b34801561068c57600080fd5b50610306611531565b3480156106a157600080fd5b5061028b600c5481565b3480156106b757600080fd5b506102606106c6366004612446565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561070057600080fd5b5061030661070f3660046121fe565b6115e4565b60006301ffc9a760e01b6001600160e01b03198316148061074557506380ac58cd60e01b6001600160e01b03198316145b806107605750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461077590612470565b80601f01602080910402602001604051908101604052809291908181526020018280546107a190612470565b80156107ee5780601f106107c3576101008083540402835291602001916107ee565b820191906000526020600020905b8154815290600101906020018083116107d157829003601f168201915b5050505050905090565b60006108038261165a565b610820576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061084782610af4565b9050336001600160a01b038216146108805761086381336106c6565b610880576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b826001600160a01b03811633146108f6576108f63361168f565b610901848484611748565b50505050565b6011805461091490612470565b80601f016020809104026020016040519081016040528092919081815260200182805461094090612470565b801561098d5780601f106109625761010080835404028352916020019161098d565b820191906000526020600020905b81548152906001019060200180831161097057829003601f168201915b505050505081565b61099d6118e1565b60116109a982826124f0565b5050565b826001600160a01b03811633146109c7576109c73361168f565b61090184848461193b565b6109da6118e1565b6009546109ee600154600054036000190190565b6109f890846125c5565b1115610a1f5760405162461bcd60e51b8152600401610a16906125d8565b60405180910390fd5b6109a9818361195b565b6060816000816001600160401b03811115610a4657610a46611ffb565b604051908082528060200260200182016040528015610a9857816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610a645790505b50905060005b828114610aeb57610ac6868683818110610aba57610aba612607565b90506020020135611406565b828281518110610ad857610ad8612607565b6020908102919091010152600101610a9e565b50949350505050565b600061076082611975565b6000610760826119e4565b60006001600160a01b038216610b33576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610b606118e1565b610b6a6000611a0c565b565b60606000806000610b7c85610b0a565b90506000816001600160401b03811115610b9857610b98611ffb565b604051908082528060200260200182016040528015610bc1578160200160208202803683370190505b509050610bee60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610c6857610c0181611a5e565b91508160400151610c605781516001600160a01b031615610c2157815194505b876001600160a01b0316856001600160a01b031603610c605780838780600101985081518110610c5357610c53612607565b6020026020010181815250505b600101610bf1565b50909695505050505050565b80600080610c81336119e4565b90506000610c9060018561261d565b9050600082600d5411610ca4576000610cb2565b82600d54610cb2919061261d565b90506000818611610cc4576000610cce565b610cce828761261d565b9050600085610cdf57600b54610ce3565b600c545b9050600086610d0e57600e548814610d0457610cff8289612630565b610d18565b610cff8286612630565b610d188284612630565b905080341015610d3a5760405162461bcd60e51b8152600401610a1690612647565b6009548990600090333214610d615760405162461bcd60e51b8152600401610a1690612691565b8083610d74600154600054036000190190565b610d7e91906125c5565b1115610d9c5760405162461bcd60e51b8152600401610a16906125d8565b600e5483610da9336119e4565b610db391906125c5565b1115610e015760405162461bcd60e51b815260206004820152601d60248201527f546f6f206d616e7920756e6465616420696e20796f75722063727970740000006044820152606401610a16565b6002600f5460ff166002811115610e1a57610e1a611fbd565b14610e865760405162461bcd60e51b815260206004820152603660248201527f556e64656164205269736520686173206e6f7420796574206265656e20756e6c6044820152756561736865642075706f6e20746865206c6976696e6760501b6064820152608401610a16565b610e90338d611a9a565b505050505050505050505050565b8160016000610eac336119e4565b90506000610ebb60018561261d565b9050600082600d5411610ecf576000610edd565b82600d54610edd919061261d565b90506000818611610eef576000610ef9565b610ef9828761261d565b9050600085610f0a57600b54610f0e565b600c545b9050600086610f3957600e548814610f2f57610f2a8289612630565b610f43565b610f2a8286612630565b610f438284612630565b905080341015610f655760405162461bcd60e51b8152600401610a1690612647565b600a548a90600190333214610f8c5760405162461bcd60e51b8152600401610a1690612691565b8083610f9f600154600054036000190190565b610fa991906125c5565b1115610fc75760405162461bcd60e51b8152600401610a16906125d8565b600e5483610fd4336119e4565b610fde91906125c5565b111561102c5760405162461bcd60e51b815260206004820152601d60248201527f546f6f206d616e7920756e6465616420696e20796f75722063727970740000006044820152606401610a16565b6001600f5460ff16600281111561104557611045611fbd565b148061106757506002600f5460ff16600281111561106557611065611fbd565b145b6110d15760405162461bcd60e51b815260206004820152603560248201527f5061637420776974682074686520556e6465616420686173206e6f7420796574604482015274081899595b881cd9585b1959081a5b88189b1bdbd9605a1b6064820152608401610a16565b6010546040516bffffffffffffffffffffffff193360601b166020820152611113918e9160340160405160208183030381529060405280519060200120611b98565b61118f5760405162461bcd60e51b815260206004820152604160248201527f4e6f742065746368656420696e2074686520706163742077697468207468652060448201527f756e646561642e20596f757220626c6f6f64206973206e6f7420776f727468796064820152601760f91b608482015260a401610a16565b611199338e611a9a565b50505050505050505050505050565b60606003805461077590612470565b60608183106111d957604051631960ccad60e11b815260040160405180910390fd5b6000806111e560005490565b905060018510156111f557600194505b80841115611201578093505b600061120c87610b0a565b90508486101561122b5785850381811015611225578091505b5061122f565b5060005b6000816001600160401b0381111561124957611249611ffb565b604051908082528060200260200182016040528015611272578160200160208202803683370190505b5090508160000361128857935061133792505050565b600061129388611406565b9050600081604001516112a4575080515b885b8881141580156112b65750848714155b1561132b576112c481611a5e565b925082604001516113235782516001600160a01b0316156112e457825191505b8a6001600160a01b0316826001600160a01b031603611323578084888060010199508151811061131657611316612607565b6020026020010181815250505b6001016112a6565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113b26118e1565b600f805482919060ff191660018360028111156113d1576113d1611fbd565b021790555050565b836001600160a01b03811633146113f3576113f33361168f565b6113ff85858585611bae565b5050505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061145f57506000548310155b1561146a5792915050565b61147383611a5e565b90508060400151156114855792915050565b61133783611bf2565b60606114998261165a565b6114b657604051630a14c4b560e41b815260040160405180910390fd5b60006114c0611c27565b905080516000036114e05760405180602001604052806000815250611337565b806114ea84611c36565b6040516020016114fb9291906126d7565b6040516020818303038152906040529392505050565b6115196118e1565b600991909155600a55565b61152c6118e1565b601055565b6115396118e1565b600061154d6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611597576040519150601f19603f3d011682016040523d82523d6000602084013e61159c565b606091505b50509050806115e15760405162461bcd60e51b815260206004820152601160248201527014dbdd5b08191c985a5b8819985a5b1959607a1b6044820152606401610a16565b50565b6115ec6118e1565b6001600160a01b0381166116515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a16565b6115e181611a0c565b60008160011115801561166e575060005482105b8015610760575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156115e157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156116fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117209190612706565b6115e157604051633b79c77360e21b81526001600160a01b0382166004820152602401610a16565b600061175382611975565b9050836001600160a01b0316816001600160a01b0316146117865760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176117d3576117b686336106c6565b6117d357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166117fa57604051633a954ecd60e21b815260040160405180910390fd5b801561180557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611897576001840160008181526004602052604081205490036118955760005481146118955760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610b6a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a16565b611956838383604051806020016040528060008152506113d9565b505050565b6109a9828260405180602001604052806000815250611c7a565b600081806001116119cb576000548110156119cb5760008181526004602052604081205490600160e01b821690036119c9575b806000036113375750600019016000818152600460205260409020546119a8565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461076090611ce0565b6000805490829003611abf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b6e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b36565b5081600003611b8f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b600082611ba58584611d27565b14949350505050565b611bb98484846108dc565b6001600160a01b0383163b1561090157611bd584848484611d74565b610901576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610760611c2283611975565b611ce0565b60606011805461077590612470565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611c505750819003601f19909101908152919050565b611c848383611a9a565b6001600160a01b0383163b15611956576000548281035b611cae6000868380600101945086611d74565b611ccb576040516368d2bf6b60e11b815260040160405180910390fd5b818110611c9b5781600054146113ff57600080fd5b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b8451811015611d6c57611d5882868381518110611d4b57611d4b612607565b6020026020010151611e60565b915080611d6481612723565b915050611d2c565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611da990339089908890889060040161273c565b6020604051808303816000875af1925050508015611de4575060408051601f3d908101601f19168201909252611de191810190612779565b60015b611e42573d808015611e12576040519150601f19603f3d011682016040523d82523d6000602084013e611e17565b606091505b508051600003611e3a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000818310611e7c576000828152602084905260409020611337565b5060009182526020526040902090565b6001600160e01b0319811681146115e157600080fd5b600060208284031215611eb457600080fd5b813561133781611e8c565b60005b83811015611eda578181015183820152602001611ec2565b50506000910152565b60008151808452611efb816020860160208601611ebf565b601f01601f19169290920160200192915050565b6020815260006113376020830184611ee3565b600060208284031215611f3457600080fd5b5035919050565b80356001600160a01b0381168114611f5257600080fd5b919050565b60008060408385031215611f6a57600080fd5b611f7383611f3b565b946020939093013593505050565b600080600060608486031215611f9657600080fd5b611f9f84611f3b565b9250611fad60208501611f3b565b9150604084013590509250925092565b634e487b7160e01b600052602160045260246000fd5b6020810160038310611ff557634e487b7160e01b600052602160045260246000fd5b91905290565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561203957612039611ffb565b604052919050565b60006001600160401b0383111561205a5761205a611ffb565b61206d601f8401601f1916602001612011565b905082815283838301111561208157600080fd5b828260208301376000602084830101529392505050565b6000602082840312156120aa57600080fd5b81356001600160401b038111156120c057600080fd5b8201601f810184136120d157600080fd5b611e5884823560208401612041565b600080604083850312156120f357600080fd5b8235915061210360208401611f3b565b90509250929050565b6000806020838503121561211f57600080fd5b82356001600160401b038082111561213657600080fd5b818501915085601f83011261214a57600080fd5b81358181111561215957600080fd5b8660208260051b850101111561216e57600080fd5b60209290920196919550909350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610c68576121eb838551612180565b92840192608092909201916001016121d8565b60006020828403121561221057600080fd5b61133782611f3b565b6020808252825182820181905260009190848201906040850190845b81811015610c6857835183529284019291840191600101612235565b6000806040838503121561226457600080fd5b823591506020808401356001600160401b038082111561228357600080fd5b818601915086601f83011261229757600080fd5b8135818111156122a9576122a9611ffb565b8060051b91506122ba848301612011565b81815291830184019184810190898411156122d457600080fd5b938501935b838510156122f2578435825293850193908501906122d9565b8096505050505050509250929050565b60008060006060848603121561231757600080fd5b61232084611f3b565b95602085013595506040909401359392505050565b80151581146115e157600080fd5b6000806040838503121561235657600080fd5b61235f83611f3b565b9150602083013561236f81612335565b809150509250929050565b60006020828403121561238c57600080fd5b81356003811061133757600080fd5b600080600080608085870312156123b157600080fd5b6123ba85611f3b565b93506123c860208601611f3b565b92506040850135915060608501356001600160401b038111156123ea57600080fd5b8501601f810187136123fb57600080fd5b61240a87823560208401612041565b91505092959194509250565b608081016107608284612180565b6000806040838503121561243757600080fd5b50508035926020909101359150565b6000806040838503121561245957600080fd5b61246283611f3b565b915061210360208401611f3b565b600181811c9082168061248457607f821691505b6020821081036124a457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561195657600081815260208120601f850160051c810160208610156124d15750805b601f850160051c820191505b818110156118d9578281556001016124dd565b81516001600160401b0381111561250957612509611ffb565b61251d816125178454612470565b846124aa565b602080601f831160018114612552576000841561253a5750858301515b600019600386901b1c1916600185901b1785556118d9565b600085815260208120601f198616915b8281101561258157888601518255948401946001909101908401612562565b508582101561259f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820180821115610760576107606125af565b60208082526015908201527420b636103ab73232b0b2103430bb32903934b9b2b760591b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b81810381811115610760576107606125af565b8082028115828204841417610760576107606125af565b6020808252602a908201527f4e6f7420656e6f75676820736f756c20657373656e636520746f206675656c206040820152691d1a1948155b9919585960b21b606082015260800190565b60208082526026908201527f596f7520617265206e6f742068756d616e2c207765206e6565642068756d616e60408201526508189b1bdbd960d21b606082015260800190565b600083516126e9818460208801611ebf565b8351908301906126fd818360208801611ebf565b01949350505050565b60006020828403121561271857600080fd5b815161133781612335565b600060018201612735576127356125af565b5060010190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061276f90830184611ee3565b9695505050505050565b60006020828403121561278b57600080fd5b815161133781611e8c56fea264697066735822122072384af14a6f8898002036d3fa927eefe5e057316c0edf3c0b90b600f30d6a4064736f6c63430008110033
Deployed Bytecode Sourcemap
1859:5871:10:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9155:630:2;;;;;;;;;;-1:-1:-1;9155:630:2;;;;;:::i;:::-;;:::i;:::-;;;565:14:11;;558:22;540:41;;528:2;513:18;9155:630:2;;;;;;;;2424:37:10;;;;;;;;;;;;;;;;;;;738:25:11;;;726:2;711:18;2424:37:10;592:177:11;10039:98:2;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:2;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1879:32:11;;;1861:51;;1849:2;1834:18;16360:214:2;1715:203:11;15812:398:2;;;;;;:::i;:::-;;:::i;:::-;;5894:317;;;;;;;;;;;;7615:1:10;6164:12:2;5955:7;6148:13;:28;-1:-1:-1;;6148:46:2;;5894:317;2245:36:10;;;;;;;;;;;;;;;;6622:218;;;;;;:::i;:::-;;:::i;2569:22::-;;;;;;;;;;;;;:::i;2510:28::-;;;;;;;;;;-1:-1:-1;2510:28:10;;;;;;;;;;;;;;;:::i;5805:91::-;;;;;;;;;;-1:-1:-1;5805:91:10;;;;;:::i;:::-;;:::i;737:142:8:-;;;;;;;;;;;;836:42;737:142;;6846:226:10;;;;;;:::i;:::-;;:::i;5596:203::-;;;;;;;;;;-1:-1:-1;5596:203:10;;;;;:::i;:::-;;:::i;2467:36::-;;;;;;;;;;;;;;;;2544:19;;;;;;;;;;;;;;;;1640:513:3;;;;;;;;;;-1:-1:-1;1640:513:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11391:150:2:-;;;;;;;;;;-1:-1:-1;11391:150:2;;;;;:::i;:::-;;:::i;4145:119:10:-;;;;;;;;;;-1:-1:-1;4145:119:10;;;;;:::i;:::-;;:::i;7045:230:2:-;;;;;;;;;;-1:-1:-1;7045:230:2;;;;;:::i;:::-;;:::i;1824:101:9:-;;;;;;;;;;;;;:::i;5416:879:3:-;;;;;;;;;;-1:-1:-1;5416:879:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4445:332:10:-;;;;;;:::i;:::-;;:::i;1194:85:9:-;;;;;;;;;;-1:-1:-1;1266:6:9;;-1:-1:-1;;;;;1266:6:9;1194:85;;4783:621:10;;;;;;:::i;:::-;;:::i;10208:102:2:-;;;;;;;;;;;;;:::i;2527:2454:3:-;;;;;;;;;;-1:-1:-1;2527:2454:3;;;;;:::i;:::-;;:::i;16901:231:2:-;;;;;;;;;;-1:-1:-1;16901:231:2;;;;;:::i;:::-;;:::i;2337:37:10:-;;;;;;;;;;;;;;;;5902:87;;;;;;;;;;-1:-1:-1;5902:87:10;;;;;:::i;:::-;;:::i;7078:259::-;;;;;;:::i;:::-;;:::i;2287:39::-;;;;;;;;;;;;;;;;1069:418:3;;;;;;;;;;-1:-1:-1;1069:418:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;10411:313:2:-;;;;;;;;;;-1:-1:-1;10411:313:2;;;;;:::i;:::-;;:::i;6262:156:10:-;;;;;;;;;;-1:-1:-1;6262:156:10;;;;;:::i;:::-;;:::i;5995:84::-;;;;;;;;;;-1:-1:-1;5995:84:10;;;;;:::i;:::-;;:::i;6085:171::-;;;;;;;;;;;;;:::i;2380:37::-;;;;;;;;;;;;;;;;17282:162:2;;;;;;;;;;-1:-1:-1;17282:162:2;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:2;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;2074:198:9;;;;;;;;;;-1:-1:-1;2074:198:9;;;;;:::i;:::-;;:::i;9155:630:2:-;9240:4;-1:-1:-1;;;;;;;;;9558:25:2;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:2;;;9558:101;:177;;;-1:-1:-1;;;;;;;;;;9710:25:2;;;9558:177;9539:196;9155:630;-1:-1:-1;;9155:630:2:o;10039:98::-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:2;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:2;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:2;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:2;-1:-1:-1;;;;;15947:28:2;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:2;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:2;-1:-1:-1;;;;;16125:35:2;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;6622:218:10:-;6780:4;-1:-1:-1;;;;;2054:18:8;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;6796:37:10::1;6815:4;6821:2;6825:7;6796:18;:37::i;:::-;6622:218:::0;;;;:::o;2569:22::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5805:91::-;1087:13:9;:11;:13::i;:::-;5874:8:10::1;:15;5885:4:::0;5874:8;:15:::1;:::i;:::-;;5805:91:::0;:::o;6846:226::-;7008:4;-1:-1:-1;;;;;2054:18:8;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;7024:41:10::1;7047:4;7053:2;7057:7;7024:22;:41::i;5596:203::-:0;1087:13:9;:11;:13::i;:::-;5718:14:10::1;;5701:13;7615:1:::0;6164:12:2;5955:7;6148:13;:28;-1:-1:-1;;6148:46:2;;5894:317;5701:13:10::1;5689:25;::::0;:9;:25:::1;:::i;:::-;:43;;5681:77;;;;-1:-1:-1::0;;;5681:77:10::1;;;;;;;:::i;:::-;;;;;;;;;5768:24;5778:2;5782:9;5768;:24::i;1640:513:3:-:0;1779:23;1867:8;1842:22;1867:8;-1:-1:-1;;;;;1933:36:3;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1933:36:3;;-1:-1:-1;;1933:36:3;;;;;;;;;;;;1896:73;;1988:9;1983:123;2004:14;1999:1;:19;1983:123;;2059:32;2079:8;;2088:1;2079:11;;;;;;;:::i;:::-;;;;;;;2059:19;:32::i;:::-;2043:10;2054:1;2043:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;2020:3;;1983:123;;;-1:-1:-1;2126:10:3;1640:513;-1:-1:-1;;;;1640:513:3:o;11391:150:2:-;11463:7;11505:27;11524:7;11505:18;:27::i;4145:119:10:-;4212:7;4238:19;4252:4;4238:13;:19::i;7045:230:2:-;7117:7;-1:-1:-1;;;;;7140:19:2;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:2;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:2;;;;;:18;:25;;;;;;-1:-1:-1;;;;;7213:55:2;;7045:230::o;1824:101:9:-;1087:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;5416:879:3:-;5494:16;5546:19;5579:25;5618:22;5643:16;5653:5;5643:9;:16::i;:::-;5618:41;;5673:25;5715:14;-1:-1:-1;;;;;5701:29:3;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5701:29:3;;5673:57;;5744:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5744:31:3;7615:1:10;5789:461:3;5838:14;5823:11;:29;5789:461;;5889:15;5902:1;5889:12;:15::i;:::-;5877:27;;5926:9;:16;;;5966:8;5922:71;6014:14;;-1:-1:-1;;;;;6014:28:3;;6010:109;;6086:14;;;-1:-1:-1;6010:109:3;6161:5;-1:-1:-1;;;;;6140:26:3;:17;-1:-1:-1;;;;;6140:26:3;;6136:100;;6216:1;6190:8;6199:13;;;;;;6190:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6136:100;5854:3;;5789:461;;;-1:-1:-1;6270:8:3;;5416:879;-1:-1:-1;;;;;;5416:879:3:o;4445:332:10:-;4534:9;4545:5;2851:13;2867:25;2881:10;2867:13;:25::i;:::-;2851:41;-1:-1:-1;2902:18:10;2923:13;2935:1;2923:9;:13;:::i;:::-;2902:34;;2946:22;2992:5;2971:18;;:26;:59;;3029:1;2971:59;;;3021:5;3000:18;;:26;;;;:::i;:::-;2946:84;;3040:17;3072:14;3060:9;:26;:59;;3118:1;3060:59;;;3089:26;3101:14;3089:9;:26;:::i;:::-;3040:79;;3129:23;3155:9;:31;;3178:8;;3155:31;;;3167:8;;3155:31;3129:57;;3196:21;3220:9;:133;;3275:17;;3262:9;:30;:91;;3326:27;3338:15;3326:9;:27;:::i;:::-;3220:133;;3262:91;3295:28;3308:15;3295:10;:28;:::i;3220:133::-;3232:27;3244:15;3232:9;:27;:::i;:::-;3196:157;;3384:13;3371:9;:26;;3363:81;;;;-1:-1:-1;;;3363:81:10;;;;;;;:::i;:::-;3597:14:::1;::::0;4567:9;;4578:5:::1;::::0;3642:10:::1;3629:9;:23;3621:74;;;;-1:-1:-1::0;;;3621:74:10::1;;;;;;;:::i;:::-;3742:17;3729:9;3713:13;7615:1:::0;6164:12:2;5955:7;6148:13;:28;-1:-1:-1;;6148:46:2;;5894:317;3713:13:10::1;:25;;;;:::i;:::-;:46;;3705:80;;;;-1:-1:-1::0;;;3705:80:10::1;;;;;;;:::i;:::-;3857:17;;3844:9;3816:25;3830:10;3816:13;:25::i;:::-;:37;;;;:::i;:::-;:58;;3795:134;;;::::0;-1:-1:-1;;;3795:134:10;;16037:2:11;3795:134:10::1;::::0;::::1;16019:21:11::0;16076:2;16056:18;;;16049:30;16115:31;16095:18;;;16088:59;16164:18;;3795:134:10::1;15835:353:11::0;3795:134:10::1;4630:22:::2;4616:10;::::0;::::2;;:36;::::0;::::2;;;;;;:::i;:::-;;4595:137;;;::::0;-1:-1:-1;;;4595:137:10;;16395:2:11;4595:137:10::2;::::0;::::2;16377:21:11::0;16434:2;16414:18;;;16407:30;16473:34;16453:18;;;16446:62;-1:-1:-1;;;16524:18:11;;;16517:52;16586:19;;4595:137:10::2;16193:418:11::0;4595:137:10::2;4742:28;4748:10;4760:9;4742:5;:28::i;:::-;3527:420:::1;3454:1;;2841:621:::0;;;;;;4445:332;;;:::o;4783:621::-;4909:9;4920:4;2851:13;2867:25;2881:10;2867:13;:25::i;:::-;2851:41;-1:-1:-1;2902:18:10;2923:13;2935:1;2923:9;:13;:::i;:::-;2902:34;;2946:22;2992:5;2971:18;;:26;:59;;3029:1;2971:59;;;3021:5;3000:18;;:26;;;;:::i;:::-;2946:84;;3040:17;3072:14;3060:9;:26;:59;;3118:1;3060:59;;;3089:26;3101:14;3089:9;:26;:::i;:::-;3040:79;;3129:23;3155:9;:31;;3178:8;;3155:31;;;3167:8;;3155:31;3129:57;;3196:21;3220:9;:133;;3275:17;;3262:9;:30;:91;;3326:27;3338:15;3326:9;:27;:::i;:::-;3220:133;;3262:91;3295:28;3308:15;3295:10;:28;:::i;3220:133::-;3232:27;3244:15;3232:9;:27;:::i;:::-;3196:157;;3384:13;3371:9;:26;;3363:81;;;;-1:-1:-1;;;3363:81:10;;;;;;;:::i;:::-;3577:17:::1;::::0;4941:9;;4952:4:::1;::::0;3642:10:::1;3629:9;:23;3621:74;;;;-1:-1:-1::0;;;3621:74:10::1;;;;;;;:::i;:::-;3742:17;3729:9;3713:13;7615:1:::0;6164:12:2;5955:7;6148:13;:28;-1:-1:-1;;6148:46:2;;5894:317;3713:13:10::1;:25;;;;:::i;:::-;:46;;3705:80;;;;-1:-1:-1::0;;;3705:80:10::1;;;;;;;:::i;:::-;3857:17;;3844:9;3816:25;3830:10;3816:13;:25::i;:::-;:37;;;;:::i;:::-;:58;;3795:134;;;::::0;-1:-1:-1;;;3795:134:10;;16037:2:11;3795:134:10::1;::::0;::::1;16019:21:11::0;16076:2;16056:18;;;16049:30;16115:31;16095:18;;;16088:59;16164:18;;3795:134:10::1;15835:353:11::0;3795:134:10::1;5003:22:::2;4989:10;::::0;::::2;;:36;::::0;::::2;;;;;;:::i;:::-;;:92;;;-1:-1:-1::0;5059:22:10::2;5045:10;::::0;::::2;;:36;::::0;::::2;;;;;;:::i;:::-;;4989:92;4968:192;;;::::0;-1:-1:-1;;;4968:192:10;;16818:2:11;4968:192:10::2;::::0;::::2;16800:21:11::0;16857:2;16837:18;;;16830:30;16896:34;16876:18;;;16869:62;-1:-1:-1;;;16947:18:11;;;16940:51;17008:19;;4968:192:10::2;16616:417:11::0;4968:192:10::2;5222:4;::::0;5238:28:::2;::::0;-1:-1:-1;;5255:10:10::2;17187:2:11::0;17183:15;17179:53;5238:28:10::2;::::0;::::2;17167:66:11::0;5191:77:10::2;::::0;5210:10;;17249:12:11;;5238:28:10::2;;;;;;;;;;;;5228:39;;;;;;5191:18;:77::i;:::-;5170:189;;;::::0;-1:-1:-1;;;5170:189:10;;17474:2:11;5170:189:10::2;::::0;::::2;17456:21:11::0;17513:2;17493:18;;;17486:30;17552:34;17532:18;;;17525:62;17623:34;17603:18;;;17596:62;-1:-1:-1;;;17674:19:11;;;17667:32;17716:19;;5170:189:10::2;17272:469:11::0;5170:189:10::2;5369:28;5375:10;5387:9;5369:5;:28::i;:::-;3527:420:::1;3454:1;;2841:621:::0;;;;;;4783;;;;:::o;10208:102:2:-;10264:13;10296:7;10289:14;;;;;:::i;2527:2454:3:-;2666:16;2731:4;2722:5;:13;2718:45;;2744:19;;-1:-1:-1;;;2744:19:3;;;;;;;;;;;2718:45;2777:19;2810:17;2830:14;5645:7:2;5671:13;;5590:101;2830:14:3;2810:34;-1:-1:-1;7615:1:10;2920:5:3;:23;2916:85;;;7615:1:10;2963:23:3;;2916:85;3075:9;3068:4;:16;3064:71;;;3111:9;3104:16;;3064:71;3148:25;3176:16;3186:5;3176:9;:16::i;:::-;3148:44;;3367:4;3359:5;:12;3355:271;;;3413:12;;;3447:31;;;3443:109;;;3522:11;3502:31;;3443:109;3373:193;3355:271;;;-1:-1:-1;3610:1:3;3355:271;3639:25;3681:17;-1:-1:-1;;;;;3667:32:3;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3667:32:3;;3639:60;;3717:17;3738:1;3717:22;3713:76;;3766:8;-1:-1:-1;3759:15:3;;-1:-1:-1;;;3759:15:3;3713:76;3930:31;3964:26;3984:5;3964:19;:26::i;:::-;3930:60;;4004:25;4246:9;:16;;;4241:90;;-1:-1:-1;4302:14:3;;4241:90;4361:5;4344:467;4373:4;4368:1;:9;;:45;;;;;4396:17;4381:11;:32;;4368:45;4344:467;;;4450:15;4463:1;4450:12;:15::i;:::-;4438:27;;4487:9;:16;;;4527:8;4483:71;4575:14;;-1:-1:-1;;;;;4575:28:3;;4571:109;;4647:14;;;-1:-1:-1;4571:109:3;4722:5;-1:-1:-1;;;;;4701:26:3;:17;-1:-1:-1;;;;;4701:26:3;;4697:100;;4777:1;4751:8;4760:13;;;;;;4751:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4697:100;4415:3;;4344:467;;;-1:-1:-1;;;4893:29:3;;;-1:-1:-1;4900:8:3;;-1:-1:-1;;2527:2454:3;;;;;;:::o;16901:231:2:-;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:2;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:2;;;;;;;;;;17070:55;;540:41:11;;;16995:49:2;;39523:10;17070:55;;513:18:11;17070:55:2;;;;;;;16901:231;;:::o;5902:87:10:-;1087:13:9;:11;:13::i;:::-;5965:10:10::1;:17:::0;;5978:4;;5965:10;-1:-1:-1;;5965:17:10::1;::::0;5978:4;5965:17:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;5902:87:::0;:::o;7078:259::-;7267:4;-1:-1:-1;;;;;2054:18:8;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;7283:47:10::1;7306:4;7312:2;7316:7;7325:4;7283:22;:47::i;:::-;7078:259:::0;;;;;:::o;1069:418:3:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7615:1:10;1231:7:3;:25;:54;;;-1:-1:-1;5645:7:2;5671:13;1260:7:3;:25;;1231:54;1227:101;;;1308:9;1069:418;-1:-1:-1;;1069:418:3:o;1227:101::-;1349:21;1362:7;1349:12;:21::i;:::-;1337:33;;1384:9;:16;;;1380:63;;;1423:9;1069:418;-1:-1:-1;;1069:418:3:o;1380:63::-;1459:21;1472:7;1459:12;:21::i;10411:313:2:-;10484:13;10514:16;10522:7;10514;:16::i;:::-;10509:59;;10539:29;;-1:-1:-1;;;10539:29:2;;;;;;;;;;;10509:59;10579:21;10603:10;:8;:10::i;:::-;10579:34;;10636:7;10630:21;10655:1;10630:26;:87;;;;;;;;;;;;;;;;;10683:7;10692:18;10702:7;10692:9;:18::i;:::-;10666:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10623:94;10411:313;-1:-1:-1;;;10411:313:2:o;6262:156:10:-;1087:13:9;:11;:13::i;:::-;6349:14:10::1;:25:::0;;;;6384:17:::1;:27:::0;6262:156::o;5995:84::-;1087:13:9;:11;:13::i;:::-;6058:4:10::1;:14:::0;5995:84::o;6085:171::-;1087:13:9;:11;:13::i;:::-;6136:12:10::1;6154:7;1266:6:9::0;;-1:-1:-1;;;;;1266:6:9;;1194:85;6154:7:10::1;-1:-1:-1::0;;;;;6154:12:10::1;6175:21;6154:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6135:67;;;6220:7;6212:37;;;::::0;-1:-1:-1;;;6212:37:10;;18659:2:11;6212:37:10::1;::::0;::::1;18641:21:11::0;18698:2;18678:18;;;18671:30;-1:-1:-1;;;18717:18:11;;;18710:47;18774:18;;6212:37:10::1;18457:341:11::0;6212:37:10::1;6125:131;6085:171::o:0;2074:198:9:-;1087:13;:11;:13::i;:::-;-1:-1:-1;;;;;2162:22:9;::::1;2154:73;;;::::0;-1:-1:-1;;;2154:73:9;;19005:2:11;2154:73:9::1;::::0;::::1;18987:21:11::0;19044:2;19024:18;;;19017:30;19083:34;19063:18;;;19056:62;-1:-1:-1;;;19134:18:11;;;19127:36;19180:19;;2154:73:9::1;18803:402:11::0;2154:73:9::1;2237:28;2256:8;2237:18;:28::i;17693:277:2:-:0;17758:4;17812:7;7615:1:10;17793:26:2;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:2;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:2;:49;;17693:277::o;2281:412:8:-;836:42;2470:45;:49;2466:221;;2540:67;;-1:-1:-1;;;2540:67:8;;2591:4;2540:67;;;19422:34:11;-1:-1:-1;;;;;19492:15:11;;19472:18;;;19465:43;836:42:8;;2540;;19357:18:11;;2540:67:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2535:142;;2634:28;;-1:-1:-1;;;2634:28:8;;-1:-1:-1;;;;;1879:32:11;;2634:28:8;;;1861:51:11;1834:18;;2634:28:8;1715:203:11;19903:2764:2;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:2;20128:19;-1:-1:-1;;;;;20112:45:2;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:2;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;39523:10;18673:30;;;-1:-1:-1;;;;;18370:28:2;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;39523:10;17282:162;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:2;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:2;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:2;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:2;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:2;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:2;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:2;21654:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21943:47:2;;:52;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;:35;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:2;22590:4;-1:-1:-1;;;;;22581:27:2;;;;;;;;;;;22618:42;20030:2637;;;19903:2764;;;:::o;1352:130:9:-;1266:6;;-1:-1:-1;;;;;1266:6:9;39523:10:2;1415:23:9;1407:68;;;;-1:-1:-1;;;1407:68:9;;19971:2:11;1407:68:9;;;19953:21:11;;;19990:18;;;19983:30;20049:34;20029:18;;;20022:62;20101:18;;1407:68:9;19769:356:11;22758:187:2;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;33423:110::-;33499:27;33509:2;33513:8;33499:27;;;;;;;;;;;;:9;:27::i;12515:1249::-;12582:7;12616;;7615:1:10;12662:23:2;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;-1:-1:-1;;;12855:24:2;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:2;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:2;;;;;;;;;;;7352:176;-1:-1:-1;;;;;7440:25:2;7413:7;7440:25;;;:18;:25;;1495:2;7440:25;;;;;:50;;-1:-1:-1;;;;;7439:82:2;;7352:176::o;2426:187:9:-;2518:6;;;-1:-1:-1;;;;;2534:17:9;;;-1:-1:-1;;;;;;2534:17:9;;;;;;;2566:40;;2518:6;;;2534:17;2518:6;;2566:40;;2499:16;;2566:40;2489:124;2426:187;:::o;11979:159:2:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12106:24:2;;;;:17;:24;;;;;;12087:44;;:18;:44::i;27091:2902::-;27163:20;27186:13;;;27213;;;27209:44;;27235:18;;-1:-1:-1;;;27235:18:2;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:2;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:2;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;29465:75;29831:8;29843:1;29831:13;29827:45;;29853:19;;-1:-1:-1;;;29853:19:2;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:2;;;:::o;1156:184:7:-;1277:4;1329;1300:25;1313:5;1320:4;1300:12;:25::i;:::-;:33;;1156:184;-1:-1:-1;;;;1156:184:7:o;23526:396:2:-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:2;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:2;;;;;;;;;;;11724:164;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11834:47:2;11853:27;11872:7;11853:18;:27::i;:::-;11834:18;:47::i;7629:99:10:-;7681:13;7713:8;7706:15;;;;;:::i;39637:1708:2:-;39702:17;40130:4;40123;40117:11;40113:22;40220:1;40214:4;40207:15;40293:4;40290:1;40286:12;40279:19;;;40373:1;40368:3;40361:14;40474:3;40708:5;40690:419;40755:1;40750:3;40746:11;40739:18;;40923:2;40917:4;40913:13;40909:2;40905:22;40900:3;40892:36;41015:2;41005:13;;41070:25;40690:419;41070:25;-1:-1:-1;41137:13:2;;;-1:-1:-1;;41250:14:2;;;41310:19;;;41250:14;39637:1708;-1:-1:-1;39637:1708:2:o;32675:669::-;32801:19;32807:2;32811:8;32801:5;:19::i;:::-;-1:-1:-1;;;;;32859:14:2;;;:19;32855:473;;32898:11;32912:13;32959:14;;;32991:229;33021:62;33060:1;33064:2;33068:7;;;;;;33077:5;33021:30;:62::i;:::-;33016:165;;33118:40;;-1:-1:-1;;;33118:40:2;;;;;;;;;;;33016:165;33215:3;33207:5;:11;32991:229;;33300:3;33283:13;;:20;33279:34;;33305:8;;;13858:361;-1:-1:-1;;;;;;;;;;;;;13967:41:2;;;;2004:3;14052:33;;;-1:-1:-1;;;;;14018:68:2;-1:-1:-1;;;14018:68:2;-1:-1:-1;;;14115:24:2;;:29;;-1:-1:-1;;;14096:48:2;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:2;-1:-1:-1;13858:361:2:o;1994:290:7:-;2077:7;2119:4;2077:7;2133:116;2157:5;:12;2153:1;:16;2133:116;;;2205:33;2215:12;2229:5;2235:1;2229:8;;;;;;;;:::i;:::-;;;;;;;2205:9;:33::i;:::-;2190:48;-1:-1:-1;2171:3:7;;;;:::i;:::-;;;;2133:116;;;-1:-1:-1;2265:12:7;1994:290;-1:-1:-1;;;1994:290:7:o;25948:697:2:-;26126:88;;-1:-1:-1;;;26126:88:2;;26106:4;;-1:-1:-1;;;;;26126:45:2;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:2;;;;;;;;-1:-1:-1;;26126:88:2;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;-1:-1:-1;;;26449:40:2;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:2;-1:-1:-1;;;26282:64:2;;-1:-1:-1;26122:517:2;25948:697;;;;;;:::o;8879:147:7:-;8942:7;8972:1;8968;:5;:51;;9100:13;9191:15;;;9226:4;9219:15;;;9272:4;9256:21;;8968:51;;;-1:-1:-1;9100:13:7;9191:15;;;9226:4;9219:15;9272:4;9256:21;;;8879:147::o;14:131:11:-;-1:-1:-1;;;;;;88:32:11;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;774:250::-;859:1;869:113;883:6;880:1;877:13;869:113;;;959:11;;;953:18;940:11;;;933:39;905:2;898:10;869:113;;;-1:-1:-1;;1016:1:11;998:16;;991:27;774:250::o;1029:271::-;1071:3;1109:5;1103:12;1136:6;1131:3;1124:19;1152:76;1221:6;1214:4;1209:3;1205:14;1198:4;1191:5;1187:16;1152:76;:::i;:::-;1282:2;1261:15;-1:-1:-1;;1257:29:11;1248:39;;;;1289:4;1244:50;;1029:271;-1:-1:-1;;1029:271:11:o;1305:220::-;1454:2;1443:9;1436:21;1417:4;1474:45;1515:2;1504:9;1500:18;1492:6;1474:45;:::i;1530:180::-;1589:6;1642:2;1630:9;1621:7;1617:23;1613:32;1610:52;;;1658:1;1655;1648:12;1610:52;-1:-1:-1;1681:23:11;;1530:180;-1:-1:-1;1530:180:11:o;1923:173::-;1991:20;;-1:-1:-1;;;;;2040:31:11;;2030:42;;2020:70;;2086:1;2083;2076:12;2020:70;1923:173;;;:::o;2101:254::-;2169:6;2177;2230:2;2218:9;2209:7;2205:23;2201:32;2198:52;;;2246:1;2243;2236:12;2198:52;2269:29;2288:9;2269:29;:::i;:::-;2259:39;2345:2;2330:18;;;;2317:32;;-1:-1:-1;;;2101:254:11:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:127::-;2754:10;2749:3;2745:20;2742:1;2735:31;2785:4;2782:1;2775:15;2809:4;2806:1;2799:15;2825:343;2972:2;2957:18;;3005:1;2994:13;;2984:144;;3050:10;3045:3;3041:20;3038:1;3031:31;3085:4;3082:1;3075:15;3113:4;3110:1;3103:15;2984:144;3137:25;;;2825:343;:::o;3173:127::-;3234:10;3229:3;3225:20;3222:1;3215:31;3265:4;3262:1;3255:15;3289:4;3286:1;3279:15;3305:275;3376:2;3370:9;3441:2;3422:13;;-1:-1:-1;;3418:27:11;3406:40;;-1:-1:-1;;;;;3461:34:11;;3497:22;;;3458:62;3455:88;;;3523:18;;:::i;:::-;3559:2;3552:22;3305:275;;-1:-1:-1;3305:275:11:o;3585:407::-;3650:5;-1:-1:-1;;;;;3676:6:11;3673:30;3670:56;;;3706:18;;:::i;:::-;3744:57;3789:2;3768:15;;-1:-1:-1;;3764:29:11;3795:4;3760:40;3744:57;:::i;:::-;3735:66;;3824:6;3817:5;3810:21;3864:3;3855:6;3850:3;3846:16;3843:25;3840:45;;;3881:1;3878;3871:12;3840:45;3930:6;3925:3;3918:4;3911:5;3907:16;3894:43;3984:1;3977:4;3968:6;3961:5;3957:18;3953:29;3946:40;3585:407;;;;;:::o;3997:451::-;4066:6;4119:2;4107:9;4098:7;4094:23;4090:32;4087:52;;;4135:1;4132;4125:12;4087:52;4175:9;4162:23;-1:-1:-1;;;;;4200:6:11;4197:30;4194:50;;;4240:1;4237;4230:12;4194:50;4263:22;;4316:4;4308:13;;4304:27;-1:-1:-1;4294:55:11;;4345:1;4342;4335:12;4294:55;4368:74;4434:7;4429:2;4416:16;4411:2;4407;4403:11;4368:74;:::i;4693:254::-;4761:6;4769;4822:2;4810:9;4801:7;4797:23;4793:32;4790:52;;;4838:1;4835;4828:12;4790:52;4874:9;4861:23;4851:33;;4903:38;4937:2;4926:9;4922:18;4903:38;:::i;:::-;4893:48;;4693:254;;;;;:::o;5134:615::-;5220:6;5228;5281:2;5269:9;5260:7;5256:23;5252:32;5249:52;;;5297:1;5294;5287:12;5249:52;5337:9;5324:23;-1:-1:-1;;;;;5407:2:11;5399:6;5396:14;5393:34;;;5423:1;5420;5413:12;5393:34;5461:6;5450:9;5446:22;5436:32;;5506:7;5499:4;5495:2;5491:13;5487:27;5477:55;;5528:1;5525;5518:12;5477:55;5568:2;5555:16;5594:2;5586:6;5583:14;5580:34;;;5610:1;5607;5600:12;5580:34;5663:7;5658:2;5648:6;5645:1;5641:14;5637:2;5633:23;5629:32;5626:45;5623:65;;;5684:1;5681;5674:12;5623:65;5715:2;5707:11;;;;;5737:6;;-1:-1:-1;5134:615:11;;-1:-1:-1;;;;5134:615:11:o;5754:349::-;5838:12;;-1:-1:-1;;;;;5834:38:11;5822:51;;5926:4;5915:16;;;5909:23;-1:-1:-1;;;;;5905:48:11;5889:14;;;5882:72;6017:4;6006:16;;;6000:23;5993:31;5986:39;5970:14;;;5963:63;6079:4;6068:16;;;6062:23;6087:8;6058:38;6042:14;;6035:62;5754:349::o;6108:724::-;6343:2;6395:21;;;6465:13;;6368:18;;;6487:22;;;6314:4;;6343:2;6566:15;;;;6540:2;6525:18;;;6314:4;6609:197;6623:6;6620:1;6617:13;6609:197;;;6672:52;6720:3;6711:6;6705:13;6672:52;:::i;:::-;6781:15;;;;6753:4;6744:14;;;;;6645:1;6638:9;6609:197;;6837:186;6896:6;6949:2;6937:9;6928:7;6924:23;6920:32;6917:52;;;6965:1;6962;6955:12;6917:52;6988:29;7007:9;6988:29;:::i;7028:632::-;7199:2;7251:21;;;7321:13;;7224:18;;;7343:22;;;7170:4;;7199:2;7422:15;;;;7396:2;7381:18;;;7170:4;7465:169;7479:6;7476:1;7473:13;7465:169;;;7540:13;;7528:26;;7609:15;;;;7574:12;;;;7501:1;7494:9;7465:169;;7665:1014;7758:6;7766;7819:2;7807:9;7798:7;7794:23;7790:32;7787:52;;;7835:1;7832;7825:12;7787:52;7871:9;7858:23;7848:33;;7900:2;7953;7942:9;7938:18;7925:32;-1:-1:-1;;;;;8017:2:11;8009:6;8006:14;8003:34;;;8033:1;8030;8023:12;8003:34;8071:6;8060:9;8056:22;8046:32;;8116:7;8109:4;8105:2;8101:13;8097:27;8087:55;;8138:1;8135;8128:12;8087:55;8174:2;8161:16;8196:2;8192;8189:10;8186:36;;;8202:18;;:::i;:::-;8248:2;8245:1;8241:10;8231:20;;8271:28;8295:2;8291;8287:11;8271:28;:::i;:::-;8333:15;;;8403:11;;;8399:20;;;8364:12;;;;8431:19;;;8428:39;;;8463:1;8460;8453:12;8428:39;8487:11;;;;8507:142;8523:6;8518:3;8515:15;8507:142;;;8589:17;;8577:30;;8540:12;;;;8627;;;;8507:142;;;8668:5;8658:15;;;;;;;;7665:1014;;;;;:::o;8684:322::-;8761:6;8769;8777;8830:2;8818:9;8809:7;8805:23;8801:32;8798:52;;;8846:1;8843;8836:12;8798:52;8869:29;8888:9;8869:29;:::i;:::-;8859:39;8945:2;8930:18;;8917:32;;-1:-1:-1;8996:2:11;8981:18;;;8968:32;;8684:322;-1:-1:-1;;;8684:322:11:o;9011:118::-;9097:5;9090:13;9083:21;9076:5;9073:32;9063:60;;9119:1;9116;9109:12;9134:315;9199:6;9207;9260:2;9248:9;9239:7;9235:23;9231:32;9228:52;;;9276:1;9273;9266:12;9228:52;9299:29;9318:9;9299:29;:::i;:::-;9289:39;;9378:2;9367:9;9363:18;9350:32;9391:28;9413:5;9391:28;:::i;:::-;9438:5;9428:15;;;9134:315;;;;;:::o;9454:271::-;9528:6;9581:2;9569:9;9560:7;9556:23;9552:32;9549:52;;;9597:1;9594;9587:12;9549:52;9636:9;9623:23;9675:1;9668:5;9665:12;9655:40;;9691:1;9688;9681:12;9730:667;9825:6;9833;9841;9849;9902:3;9890:9;9881:7;9877:23;9873:33;9870:53;;;9919:1;9916;9909:12;9870:53;9942:29;9961:9;9942:29;:::i;:::-;9932:39;;9990:38;10024:2;10013:9;10009:18;9990:38;:::i;:::-;9980:48;;10075:2;10064:9;10060:18;10047:32;10037:42;;10130:2;10119:9;10115:18;10102:32;-1:-1:-1;;;;;10149:6:11;10146:30;10143:50;;;10189:1;10186;10179:12;10143:50;10212:22;;10265:4;10257:13;;10253:27;-1:-1:-1;10243:55:11;;10294:1;10291;10284:12;10243:55;10317:74;10383:7;10378:2;10365:16;10360:2;10356;10352:11;10317:74;:::i;:::-;10307:84;;;9730:667;;;;;;;:::o;10402:268::-;10600:3;10585:19;;10613:51;10589:9;10646:6;10613:51;:::i;10675:248::-;10743:6;10751;10804:2;10792:9;10783:7;10779:23;10775:32;10772:52;;;10820:1;10817;10810:12;10772:52;-1:-1:-1;;10843:23:11;;;10913:2;10898:18;;;10885:32;;-1:-1:-1;10675:248:11:o;11113:260::-;11181:6;11189;11242:2;11230:9;11221:7;11217:23;11213:32;11210:52;;;11258:1;11255;11248:12;11210:52;11281:29;11300:9;11281:29;:::i;:::-;11271:39;;11329:38;11363:2;11352:9;11348:18;11329:38;:::i;11378:380::-;11457:1;11453:12;;;;11500;;;11521:61;;11575:4;11567:6;11563:17;11553:27;;11521:61;11628:2;11620:6;11617:14;11597:18;11594:38;11591:161;;11674:10;11669:3;11665:20;11662:1;11655:31;11709:4;11706:1;11699:15;11737:4;11734:1;11727:15;11591:161;;11378:380;;;:::o;11889:545::-;11991:2;11986:3;11983:11;11980:448;;;12027:1;12052:5;12048:2;12041:17;12097:4;12093:2;12083:19;12167:2;12155:10;12151:19;12148:1;12144:27;12138:4;12134:38;12203:4;12191:10;12188:20;12185:47;;;-1:-1:-1;12226:4:11;12185:47;12281:2;12276:3;12272:12;12269:1;12265:20;12259:4;12255:31;12245:41;;12336:82;12354:2;12347:5;12344:13;12336:82;;;12399:17;;;12380:1;12369:13;12336:82;;12610:1352;12736:3;12730:10;-1:-1:-1;;;;;12755:6:11;12752:30;12749:56;;;12785:18;;:::i;:::-;12814:97;12904:6;12864:38;12896:4;12890:11;12864:38;:::i;:::-;12858:4;12814:97;:::i;:::-;12966:4;;13030:2;13019:14;;13047:1;13042:663;;;;13749:1;13766:6;13763:89;;;-1:-1:-1;13818:19:11;;;13812:26;13763:89;-1:-1:-1;;12567:1:11;12563:11;;;12559:24;12555:29;12545:40;12591:1;12587:11;;;12542:57;13865:81;;13012:944;;13042:663;11836:1;11829:14;;;11873:4;11860:18;;-1:-1:-1;;13078:20:11;;;13196:236;13210:7;13207:1;13204:14;13196:236;;;13299:19;;;13293:26;13278:42;;13391:27;;;;13359:1;13347:14;;;;13226:19;;13196:236;;;13200:3;13460:6;13451:7;13448:19;13445:201;;;13521:19;;;13515:26;-1:-1:-1;;13604:1:11;13600:14;;;13616:3;13596:24;13592:37;13588:42;13573:58;13558:74;;13445:201;-1:-1:-1;;;;;13692:1:11;13676:14;;;13672:22;13659:36;;-1:-1:-1;12610:1352:11:o;13967:127::-;14028:10;14023:3;14019:20;14016:1;14009:31;14059:4;14056:1;14049:15;14083:4;14080:1;14073:15;14099:125;14164:9;;;14185:10;;;14182:36;;;14198:18;;:::i;14229:345::-;14431:2;14413:21;;;14470:2;14450:18;;;14443:30;-1:-1:-1;;;14504:2:11;14489:18;;14482:51;14565:2;14550:18;;14229:345::o;14579:127::-;14640:10;14635:3;14631:20;14628:1;14621:31;14671:4;14668:1;14661:15;14695:4;14692:1;14685:15;14711:128;14778:9;;;14799:11;;;14796:37;;;14813:18;;:::i;14844:168::-;14917:9;;;14948;;14965:15;;;14959:22;;14945:37;14935:71;;14986:18;;:::i;15017:406::-;15219:2;15201:21;;;15258:2;15238:18;;;15231:30;15297:34;15292:2;15277:18;;15270:62;-1:-1:-1;;;15363:2:11;15348:18;;15341:40;15413:3;15398:19;;15017:406::o;15428:402::-;15630:2;15612:21;;;15669:2;15649:18;;;15642:30;15708:34;15703:2;15688:18;;15681:62;-1:-1:-1;;;15774:2:11;15759:18;;15752:36;15820:3;15805:19;;15428:402::o;17746:496::-;17925:3;17963:6;17957:13;17979:66;18038:6;18033:3;18026:4;18018:6;18014:17;17979:66;:::i;:::-;18108:13;;18067:16;;;;18130:70;18108:13;18067:16;18177:4;18165:17;;18130:70;:::i;:::-;18216:20;;17746:496;-1:-1:-1;;;;17746:496:11:o;19519:245::-;19586:6;19639:2;19627:9;19618:7;19614:23;19610:32;19607:52;;;19655:1;19652;19645:12;19607:52;19687:9;19681:16;19706:28;19728:5;19706:28;:::i;20130:135::-;20169:3;20190:17;;;20187:43;;20210:18;;:::i;:::-;-1:-1:-1;20257:1:11;20246:13;;20130:135::o;20270:489::-;-1:-1:-1;;;;;20539:15:11;;;20521:34;;20591:15;;20586:2;20571:18;;20564:43;20638:2;20623:18;;20616:34;;;20686:3;20681:2;20666:18;;20659:31;;;20464:4;;20707:46;;20733:19;;20725:6;20707:46;:::i;:::-;20699:54;20270:489;-1:-1:-1;;;;;;20270:489:11:o;20764:249::-;20833:6;20886:2;20874:9;20865:7;20861:23;20857:32;20854:52;;;20902:1;20899;20892:12;20854:52;20934:9;20928:16;20953:30;20977:5;20953:30;:::i
Swarm Source
ipfs://72384af14a6f8898002036d3fa927eefe5e057316c0edf3c0b90b600f30d6a40
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.