Overview
TokenID
416
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Peens
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "erc721a/contracts/ERC721A.sol"; error SaleInactive(); error SoldOut(); error InvalidPrice(); error WithdrawFailed(); error InvalidQuantity(); error InvalidBatchMint(); error NotAChadHolder(); error AlreadyMinted(); error ContractMint(); error NotTheOwner(); error NotAllowed(); error BurnInactive(); contract Peens is ERC721A, Ownable, ERC2981 { uint256 public price = 0.0069 ether; uint256 public maxPerWallet = 400; uint256 public maxPerTransaction = 100; uint256 public chadMultiplier = 2; uint256 public honoraryMultiplier = 20; uint256 public supply = 16969; enum SaleState {CLOSED,OPEN} enum BurnState {CLOSED,OPEN} SaleState public saleState = SaleState.CLOSED; string public _baseTokenURI; mapping(address => uint256) private addressMintBalance; mapping(address => bool) private chadMintClaimed; uint public numPhases = 0; uint public currentIndex = 0; struct Phase { uint id; uint price; uint divider; SaleState saleState; BurnState burnState; mapping(address => uint256[]) burns; mapping(address => uint256) allowedMints; mapping(address => uint256[]) mints; } mapping(uint => Phase) public phases; address[] private withdrawAddresses; uint256[] private withdrawPercentages; constructor( string memory _name, string memory _symbol, uint96 _royaltyAmount, address _royaltyAddress ) ERC721A(_name, _symbol) { _setDefaultRoyalty(_royaltyAddress, _royaltyAmount); } event burnEvent(address _sender, uint[] tokens, uint phaseId); event mintEvent(address _sender, uint phaseId); function createPhase(uint _id, uint _price, uint _divider) external onlyOwner { Phase storage newPhase = phases[numPhases]; numPhases++; newPhase.id = _id; newPhase.price = _price; newPhase.divider = _divider; newPhase.saleState = SaleState.CLOSED; newPhase.burnState = BurnState.CLOSED; } //// Minting modifier mintCompliance(uint256 qty) { if (msg.sender != tx.origin) revert ContractMint(); if (saleState != SaleState.OPEN) revert SaleInactive(); if (addressMintBalance[msg.sender] + qty > maxPerWallet) revert InvalidQuantity(); if (currentIndex + (qty - 1) > supply) revert SoldOut(); _; } function mint(uint256 qty) external payable mintCompliance(qty) { if (msg.value < price * qty) revert InvalidPrice(); if (qty > maxPerTransaction) revert InvalidQuantity(); completeMint(qty); } function chadMint(uint256 qty) external payable mintCompliance(qty) { uint balance = IERC721(0x8FA600364B93C53e0c71C7A33d2adE21f4351da3).balanceOf(msg.sender); //Chad uint balance2 = IERC721(0xc90F8443E89201F714C78B40352b790a39BaD203).balanceOf(msg.sender); //Honorary if (balance <= 0) revert NotAChadHolder(); if (qty > ((balance * chadMultiplier) + (balance2 * honoraryMultiplier))) revert InvalidQuantity(); if(chadMintClaimed[msg.sender]) revert AlreadyMinted(); chadMintClaimed[msg.sender] = true; completeMint(qty); } function savePhaseMint(address adrs, uint phaseId, uint qty) private { for (uint i = _totalMinted(); i < _totalMinted() + qty; i++) { phases[phaseId].mints[adrs].push(i); } } function completeMint(uint256 qty) private { addressMintBalance[msg.sender] += qty; savePhaseMint(msg.sender, 0, qty); currentIndex += qty; _safeMint(msg.sender, qty); } function teamMint(uint256 qty, address recipient) external onlyOwner { if (currentIndex + (qty - 1) > supply) revert SoldOut(); savePhaseMint(recipient, 0, qty); currentIndex += qty; _safeMint(recipient, qty); } function batchMint(uint64[] calldata qtys, address[] calldata recipients) external onlyOwner { uint256 numRecipients = recipients.length; if (numRecipients != qtys.length) revert InvalidBatchMint(); for (uint256 i = 0; i < numRecipients; ) { if ((currentIndex - 1) + qtys[i] > supply) revert SoldOut(); savePhaseMint(recipients[i], 0, qtys[i]); currentIndex += qtys[i]; _safeMint(recipients[i], qtys[i]); unchecked { i++; } } } //// Phase modifier burnCompliance(uint[] calldata tokens) { for (uint i=0; i < tokens.length; i++) { if (ownerOf(tokens[i]) != msg.sender) revert NotTheOwner(); } _; } function phaseBurn(uint[] calldata tokens, uint phaseId) public burnCompliance(tokens) { if (phases[phaseId].burnState == BurnState.CLOSED) revert BurnInactive(); if (tokens.length % phases[phaseId].divider != 0) revert InvalidQuantity(); for (uint i=0; i < tokens.length; i++) { phases[phaseId].burns[msg.sender].push(tokens[i]); _burn(tokens[i], true); } phases[phaseId].allowedMints[msg.sender] += tokens.length / phases[phaseId].divider; emit burnEvent(msg.sender, tokens, phaseId); } function phaseMint(uint phaseId, uint qty) external payable { if (phases[phaseId].saleState == SaleState.CLOSED) revert SaleInactive(); if (phases[phaseId].burns[msg.sender].length <= 0) revert NotAllowed(); if (msg.value < phases[phaseId].price * qty) revert InvalidPrice(); uint allowed_qty = phases[phaseId].allowedMints[msg.sender]; if (qty > allowed_qty) revert InvalidQuantity(); for (uint i = _totalMinted() + 1; i <= _totalMinted() + qty; i++) { phases[phaseId].mints[msg.sender].push(i); } currentIndex += qty; _safeMint(msg.sender, qty); phases[phaseId].allowedMints[msg.sender] -= qty; emit mintEvent(msg.sender, phaseId); } //// main getters & setters function _startTokenId() internal view virtual override returns (uint256) { return 1; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function totalMinted() public view returns (uint256) { return _totalMinted(); } function setPrice(uint256 newPrice) external onlyOwner { price = newPrice; } function setPerWalletMax(uint256 _val) external onlyOwner { maxPerWallet = _val; } function setPerTransactionMax(uint256 _val) external onlyOwner { maxPerTransaction = _val; } function setChadMultiplier(uint256 _val) external onlyOwner { chadMultiplier = _val; } function setHonoraryMultiplier(uint256 _val) external onlyOwner { honoraryMultiplier = _val; } function setSupply(uint256 newSupply) external onlyOwner { supply = newSupply; } function setSaleState(uint8 _state) external onlyOwner { saleState = SaleState(_state); } function setBaseURI(string memory baseURI) external onlyOwner { _baseTokenURI = baseURI; } function uri() public view returns (string memory) { return _baseTokenURI; } function getChadMintClaimed(address _adrs) public view returns(bool) { return chadMintClaimed[_adrs]; } function getAddressMintBalance(address _adrs) public view returns(uint256) { return addressMintBalance[_adrs]; } //// Phase getters & setters function getPhasePrice(uint _id) public view returns(uint) { return phases[_id].price; } function setPhasePrice(uint _id, uint _price) external onlyOwner { phases[_id].price = _price; } function getPhaseDivider(uint _id) public view returns(uint) { return phases[_id].divider; } function setPhaseDivider(uint _id, uint _divider) external onlyOwner { phases[_id].divider = _divider; } function getPhaseSaleState(uint _id) public view returns(SaleState) { return phases[_id].saleState; } function setPhaseSaleState(uint _id, SaleState _state) external onlyOwner { phases[_id].saleState = _state; } function getPhaseBurnState(uint _id) public view returns(BurnState) { return phases[_id].burnState; } function setPhaseBurnState(uint _id, BurnState _state) external onlyOwner { phases[_id].burnState = _state; } function getPhaseBurns(uint _id, address _adre) public view returns(uint256[] memory) { return phases[_id].burns[_adre]; } function getPhaseAllowedMints(uint _id, address _adre) public view returns(uint256) { return phases[_id].allowedMints[_adre]; } function getPhaseMints(uint _id, address _adre) public view returns(uint256[] memory) { return phases[_id].mints[_adre]; } //// withdraws & royalities function _withdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); if (!success) revert WithdrawFailed(); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; for (uint256 i; i < withdrawAddresses.length; i++) { _withdraw(withdrawAddresses[i], (balance * withdrawPercentages[i]) / 100); } } function setRoyaltyInfo(address receiver, uint96 feeBasisPoints) external onlyOwner { _setDefaultRoyalty(receiver, feeBasisPoints); } function supportsInterface(bytes4 interfaceId) public view override(ERC721A, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } }
// 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint96","name":"_royaltyAmount","type":"uint96"},{"internalType":"address","name":"_royaltyAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyMinted","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"BurnInactive","type":"error"},{"inputs":[],"name":"ContractMint","type":"error"},{"inputs":[],"name":"InvalidBatchMint","type":"error"},{"inputs":[],"name":"InvalidPrice","type":"error"},{"inputs":[],"name":"InvalidQuantity","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotAChadHolder","type":"error"},{"inputs":[],"name":"NotAllowed","type":"error"},{"inputs":[],"name":"NotTheOwner","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SaleInactive","type":"error"},{"inputs":[],"name":"SoldOut","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"},{"inputs":[],"name":"WithdrawFailed","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokens","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"phaseId","type":"uint256"}],"name":"burnEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"phaseId","type":"uint256"}],"name":"mintEvent","type":"event"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint64[]","name":"qtys","type":"uint64[]"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"chadMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"chadMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_divider","type":"uint256"}],"name":"createPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_adrs","type":"address"}],"name":"getAddressMintBalance","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":"_adrs","type":"address"}],"name":"getChadMintClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"_adre","type":"address"}],"name":"getPhaseAllowedMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getPhaseBurnState","outputs":[{"internalType":"enum Peens.BurnState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"_adre","type":"address"}],"name":"getPhaseBurns","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getPhaseDivider","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"_adre","type":"address"}],"name":"getPhaseMints","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getPhasePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getPhaseSaleState","outputs":[{"internalType":"enum Peens.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"honoraryMultiplier","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":"maxPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numPhases","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"},{"internalType":"uint256","name":"phaseId","type":"uint256"}],"name":"phaseBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"phaseId","type":"uint256"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"phaseMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"phases","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"divider","type":"uint256"},{"internalType":"enum Peens.SaleState","name":"saleState","type":"uint8"},{"internalType":"enum Peens.BurnState","name":"burnState","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum Peens.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"setChadMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"setHonoraryMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"setPerTransactionMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"setPerWalletMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"enum Peens.BurnState","name":"_state","type":"uint8"}],"name":"setPhaseBurnState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_divider","type":"uint256"}],"name":"setPhaseDivider","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPhasePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"enum Peens.SaleState","name":"_state","type":"uint8"}],"name":"setPhaseSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_state","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"qty","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","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":[],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526618838370f34000600b55610190600c556064600d556002600e556014600f556142496010556011805460ff19169055600060158190556016553480156200004b57600080fd5b506040516200348f3803806200348f8339810160408190526200006e9162000390565b835184908490620000879060029060208501906200021d565b5080516200009d9060039060208401906200021d565b5050600160005550620000b033620000c6565b620000bc818362000118565b5050505062000478565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b03821611156200018c5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620001e45760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000183565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b8280546200022b906200043c565b90600052602060002090601f0160209004810192826200024f57600085556200029a565b82601f106200026a57805160ff19168380011785556200029a565b828001600101855582156200029a579182015b828111156200029a5782518255916020019190600101906200027d565b50620002a8929150620002ac565b5090565b5b80821115620002a85760008155600101620002ad565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002eb57600080fd5b81516001600160401b0380821115620003085762000308620002c3565b604051601f8301601f19908116603f01168101908282118183101715620003335762000333620002c3565b816040528381526020925086838588010111156200035057600080fd5b600091505b8382101562000374578582018301518183018401529082019062000355565b83821115620003865760008385830101525b9695505050505050565b60008060008060808587031215620003a757600080fd5b84516001600160401b0380821115620003bf57600080fd5b620003cd88838901620002d9565b95506020870151915080821115620003e457600080fd5b50620003f387828801620002d9565b604087015190945090506001600160601b03811681146200041357600080fd5b60608601519092506001600160a01b03811681146200043157600080fd5b939692955090935050565b600181811c908216806200045157607f821691505b6020821081036200047257634e487b7160e01b600052602260045260246000fd5b50919050565b61300780620004886000396000f3fe6080604052600436106103a15760003560e01c80636fd8856d116101e7578063a58bd5cd1161010d578063c87b56dd116100a0578063eac989f81161006f578063eac989f814610b68578063f2fde38b14610b7d578063fa80353f14610b9d578063ff946d1114610bb357600080fd5b8063c87b56dd14610aba578063cae359b914610ada578063cfc86f7b14610b0a578063e985e9c514610b1f57600080fd5b8063b88d4fde116100dc578063b88d4fde14610a20578063bd3b14d314610a33578063bf010a2514610a53578063bfa457bc14610a9a57600080fd5b8063a58bd5cd146109b7578063a76aafb1146109d7578063ab1c4ae5146109ed578063b798a58f14610a0057600080fd5b806391b7f5ed11610185578063a035b1fe11610154578063a035b1fe14610955578063a0712d681461096b578063a22cb4651461097e578063a2309ff81461099e57600080fd5b806391b7f5ed146108da5780639391bc8f146108fa57806395d89b411461090d57806396715e471461092257600080fd5b80638b5a6d7e116101c15780638b5a6d7e1461083d5780638c32fd66146108535780638da5cb5b1461088c5780638e5fee12146108aa57600080fd5b80636fd8856d146107e857806370a0823114610808578063715018a61461082857600080fd5b80632e37eef6116102cc5780634b980d671161026a578063603f4d5211610239578063603f4d521461076e57806360ea8485146107885780636352211e146107a85780636752656b146107c857600080fd5b80634b980d67146106f857806355f804b31461070e5780635a67de071461072e5780635d0bcc671461074e57600080fd5b80633ccfd60b116102a65780633ccfd60b1461069a57806342842e0e146106af578063453c2310146106c25780634592c43d146106d857600080fd5b80632e37eef6146105fb578063391176681461065a5780633b4c4b251461067a57600080fd5b80630b60ed2211610344578063278674f811610313578063278674f81461051457806328c2ddcd146105415780632a55205a146105865780632c12ffb8146105c557600080fd5b80630b60ed22146104ae57806318160ddd146104ce57806323b872dd146104eb57806326987b60146104fe57600080fd5b8063047fc9aa11610380578063047fc9aa1461041d57806306fdde0314610441578063081812fc14610463578063095ea7b31461049b57600080fd5b806235bf72146103a657806301ffc9a7146103c857806302fa7c47146103fd575b600080fd5b3480156103b257600080fd5b506103c66103c13660046127ac565b610bd3565b005b3480156103d457600080fd5b506103e86103e33660046127db565b610be0565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b506103c6610418366004612814565b610bf1565b34801561042957600080fd5b5061043360105481565b6040519081526020016103f4565b34801561044d57600080fd5b50610456610c07565b6040516103f491906128af565b34801561046f57600080fd5b5061048361047e3660046127ac565b610c99565b6040516001600160a01b0390911681526020016103f4565b6103c66104a93660046128c2565b610cdd565b3480156104ba57600080fd5b506103c66104c93660046128f9565b610d7d565b3480156104da57600080fd5b506001546000540360001901610433565b6103c66104f936600461291e565b610dbe565b34801561050a57600080fd5b5061043360165481565b34801561052057600080fd5b5061053461052f36600461295a565b610f4f565b6040516103f49190612986565b34801561054d57600080fd5b5061057961055c3660046127ac565b600090815260176020526040902060030154610100900460ff1690565b6040516103f491906129fe565b34801561059257600080fd5b506105a66105a1366004612a11565b610fc6565b604080516001600160a01b0390931683526020830191909152016103f4565b3480156105d157600080fd5b506104336105e0366004612a33565b6001600160a01b031660009081526013602052604090205490565b34801561060757600080fd5b506106496106163660046127ac565b60176020526000908152604090208054600182015460028301546003909301549192909160ff8082169161010090041685565b6040516103f4959493929190612a4e565b34801561066657600080fd5b506103c66106753660046127ac565b611074565b34801561068657600080fd5b506103c66106953660046127ac565b611081565b3480156106a657600080fd5b506103c661108e565b6103c66106bd36600461291e565b611124565b3480156106ce57600080fd5b50610433600c5481565b3480156106e457600080fd5b506103c66106f3366004612a8b565b611144565b34801561070457600080fd5b50610433600d5481565b34801561071a57600080fd5b506103c6610729366004612b43565b61118c565b34801561073a57600080fd5b506103c6610749366004612b8c565b6111a7565b34801561075a57600080fd5b5061053461076936600461295a565b6111e7565b34801561077a57600080fd5b506011546105799060ff1681565b34801561079457600080fd5b506103c66107a3366004612a11565b61125c565b3480156107b457600080fd5b506104836107c33660046127ac565b611279565b3480156107d457600080fd5b506103c66107e3366004612bf4565b611284565b3480156107f457600080fd5b506103c6610803366004612a11565b611436565b34801561081457600080fd5b50610433610823366004612a33565b611453565b34801561083457600080fd5b506103c66114a2565b34801561084957600080fd5b5061043360155481565b34801561085f57600080fd5b506103e861086e366004612a33565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561089857600080fd5b506008546001600160a01b0316610483565b3480156108b657600080fd5b506104336108c53660046127ac565b60009081526017602052604090206002015490565b3480156108e657600080fd5b506103c66108f53660046127ac565b6114b6565b6103c66109083660046127ac565b6114c3565b34801561091957600080fd5b50610456611742565b34801561092e57600080fd5b5061057961093d3660046127ac565b60009081526017602052604090206003015460ff1690565b34801561096157600080fd5b50610433600b5481565b6103c66109793660046127ac565b611751565b34801561098a57600080fd5b506103c6610999366004612c60565b611879565b3480156109aa57600080fd5b5060005460001901610433565b3480156109c357600080fd5b506103c66109d2366004612c91565b6118e5565b3480156109e357600080fd5b50610433600f5481565b6103c66109fb366004612a11565b611af5565b348015610a0c57600080fd5b506103c6610a1b3660046128f9565b611cf1565b6103c6610a2e366004612cdd565b611d26565b348015610a3f57600080fd5b506103c6610a4e3660046127ac565b611d6a565b348015610a5f57600080fd5b50610433610a6e36600461295a565b60008281526017602090815260408083206001600160a01b038516845260050190915290205492915050565b348015610aa657600080fd5b506103c6610ab536600461295a565b611d77565b348015610ac657600080fd5b50610456610ad53660046127ac565b611de7565b348015610ae657600080fd5b50610433610af53660046127ac565b60009081526017602052604090206001015490565b348015610b1657600080fd5b50610456611e6b565b348015610b2b57600080fd5b506103e8610b3a366004612d59565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610b7457600080fd5b50610456611ef9565b348015610b8957600080fd5b506103c6610b98366004612a33565b611f08565b348015610ba957600080fd5b50610433600e5481565b348015610bbf57600080fd5b506103c6610bce3660046127ac565b611f86565b610bdb611f93565b600e55565b6000610beb82611fed565b92915050565b610bf9611f93565b610c038282612022565b5050565b606060028054610c1690612d83565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4290612d83565b8015610c8f5780601f10610c6457610100808354040283529160200191610c8f565b820191906000526020600020905b815481529060010190602001808311610c7257829003601f168201915b5050505050905090565b6000610ca48261211f565b610cc1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610ce882611279565b9050336001600160a01b03821614610d2157610d048133610b3a565b610d21576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610d85611f93565b6000828152601760205260409020600301805482919061ff001916610100836001811115610db557610db56129ca565b02179055505050565b6000610dc982612154565b9050836001600160a01b0316816001600160a01b031614610dfc5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054610e288187335b6001600160a01b039081169116811491141790565b610e5357610e368633610b3a565b610e5357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e7a57604051633a954ecd60e21b815260040160405180910390fd5b8015610e8557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610f1757600184016000818152600460205260408120549003610f15576000548114610f155760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020612fb283398151915260405160405180910390a45b505050505050565b60008281526017602090815260408083206001600160a01b0385168452600601825291829020805483518184028101840190945280845260609392830182828015610fb957602002820191906000526020600020905b815481526020019060010190808311610fa5575b5050505050905092915050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161103b5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061105a906001600160601b031687612dd3565b6110649190612e08565b91519350909150505b9250929050565b61107c611f93565b600c55565b611089611f93565b601055565b611096611f93565b4760005b601854811015610c0357611112601882815481106110ba576110ba612e1c565b9060005260206000200160009054906101000a90046001600160a01b03166064601984815481106110ed576110ed612e1c565b9060005260206000200154856111039190612dd3565b61110d9190612e08565b6121c3565b8061111c81612e32565b91505061109a565b61113f83838360405180602001604052806000815250611d26565b505050565b61114c611f93565b601580546000818152601760205260408120929061116983612e32565b909155505092835560018301919091556002820155600301805461ffff19169055565b611194611f93565b8051610c03906012906020840190612713565b6111af611f93565b8060ff1660018111156111c4576111c46129ca565b6011805460ff1916600183818111156111df576111df6129ca565b021790555050565b60008281526017602090815260408083206001600160a01b0385168452600401825291829020805483518184028101840190945280845260609392830182828015610fb95760200282019190600052602060002090815481526020019060010190808311610fa5575050505050905092915050565b611264611f93565b60009182526017602052604090912060020155565b6000610beb82612154565b61128c611f93565b808381146112ad57604051637e311a6560e11b815260040160405180910390fd5b60005b81811015610f47576010548686838181106112cd576112cd612e1c565b90506020020160208101906112e29190612e4b565b67ffffffffffffffff1660016016546112fb9190612e75565b6113059190612e8c565b1115611324576040516352df9fe560e01b815260040160405180910390fd5b61138684848381811061133957611339612e1c565b905060200201602081019061134e9190612a33565b600088888581811061136257611362612e1c565b90506020020160208101906113779190612e4b565b67ffffffffffffffff16612237565b85858281811061139857611398612e1c565b90506020020160208101906113ad9190612e4b565b67ffffffffffffffff16601660008282546113c89190612e8c565b9091555061142e90508484838181106113e3576113e3612e1c565b90506020020160208101906113f89190612a33565b87878481811061140a5761140a612e1c565b905060200201602081019061141f9190612e4b565b67ffffffffffffffff166122a5565b6001016112b0565b61143e611f93565b60009182526017602052604090912060010155565b60006001600160a01b03821661147c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6114aa611f93565b6114b460006122bf565b565b6114be611f93565b600b55565b803332146114e4576040516372f67c2360e01b815260040160405180910390fd5b600160115460ff1660018111156114fd576114fd6129ca565b1461151b57604051630fe219dd60e21b815260040160405180910390fd5b600c5433600090815260136020526040902054611539908390612e8c565b11156115585760405163524f409b60e01b815260040160405180910390fd5b601054611566600183612e75565b6016546115739190612e8c565b1115611592576040516352df9fe560e01b815260040160405180910390fd5b6040516370a0823160e01b8152336004820152600090738fa600364b93c53e0c71c7a33d2ade21f4351da3906370a0823190602401602060405180830381865afa1580156115e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116089190612ea4565b6040516370a0823160e01b815233600482015290915060009073c90f8443e89201f714c78b40352b790a39bad203906370a0823190602401602060405180830381865afa15801561165d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116819190612ea4565b9050600082116116a4576040516336fd39c160e21b815260040160405180910390fd5b600f546116b19082612dd3565b600e546116be9084612dd3565b6116c89190612e8c565b8411156116e85760405163524f409b60e01b815260040160405180910390fd5b3360009081526014602052604090205460ff161561171957604051631bbdf5c560e31b815260040160405180910390fd5b336000908152601460205260409020805460ff1916600117905561173c84612311565b50505050565b606060038054610c1690612d83565b80333214611772576040516372f67c2360e01b815260040160405180910390fd5b600160115460ff16600181111561178b5761178b6129ca565b146117a957604051630fe219dd60e21b815260040160405180910390fd5b600c54336000908152601360205260409020546117c7908390612e8c565b11156117e65760405163524f409b60e01b815260040160405180910390fd5b6010546117f4600183612e75565b6016546118019190612e8c565b1115611820576040516352df9fe560e01b815260040160405180910390fd5b81600b5461182e9190612dd3565b34101561184d5760405162bfc92160e01b815260040160405180910390fd5b600d548211156118705760405163524f409b60e01b815260040160405180910390fd5b610c0382612311565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b828260005b8181101561194d573361191484848481811061190857611908612e1c565b90506020020135611279565b6001600160a01b03161461193b576040516336b6b89560e01b815260040160405180910390fd5b8061194581612e32565b9150506118ea565b5060008084815260176020526040902060030154610100900460ff16600181111561197a5761197a6129ca565b036119985760405163055bfda960e21b815260040160405180910390fd5b6000838152601760205260409020600201546119b49085612ebd565b156119d25760405163524f409b60e01b815260040160405180910390fd5b60005b84811015611a625760008481526017602090815260408083203384526004019091529020868683818110611a0b57611a0b612e1c565b83546001810185556000948552602094859020919094029290920135919092015550611a50868683818110611a4257611a42612e1c565b905060200201356001612364565b80611a5a81612e32565b9150506119d5565b50600083815260176020526040902060020154611a7f9085612e08565b600084815260176020908152604080832033845260050190915281208054909190611aab908490612e8c565b90915550506040517f2f280ed33ad05c504f9247562dddd433a580db78bad59908926cd0954c3844f490611ae6903390889088908890612ed1565b60405180910390a15050505050565b60008281526017602052604081206003015460ff166001811115611b1b57611b1b6129ca565b03611b3957604051630fe219dd60e21b815260040160405180910390fd5b6000828152601760209081526040808320338452600401909152902054611b7357604051631eb49d6d60e11b815260040160405180910390fd5b600082815260176020526040902060010154611b90908290612dd3565b341015611baf5760405162bfc92160e01b815260040160405180910390fd5b600082815260176020908152604080832033845260050190915290205480821115611bed5760405163524f409b60e01b815260040160405180910390fd5b6000805460001901611c00906001612e8c565b90505b82611c116000546000190190565b611c1b9190612e8c565b8111611c5f57600084815260176020908152604080832033845260060182528220805460018101825590835291200181905580611c5781612e32565b915050611c03565b508160166000828254611c729190612e8c565b90915550611c82905033836122a5565b600083815260176020908152604080832033845260050190915281208054849290611cae908490612e75565b909155505060408051338152602081018590527f45704679a40d4b2ffe28aa7324f021775faaca4d40917fef2cdf38e53fd90a24910160405180910390a1505050565b611cf9611f93565b6000828152601760205260409020600301805482919060ff191660018381811115610db557610db56129ca565b611d31848484610dbe565b6001600160a01b0383163b1561173c57611d4d8484848461249c565b61173c576040516368d2bf6b60e11b815260040160405180910390fd5b611d72611f93565b600d55565b611d7f611f93565b601054611d8d600184612e75565b601654611d9a9190612e8c565b1115611db9576040516352df9fe560e01b815260040160405180910390fd5b611dc581600084612237565b8160166000828254611dd79190612e8c565b90915550610c03905081836122a5565b6060611df28261211f565b611e0f57604051630a14c4b560e41b815260040160405180910390fd5b6000611e19611ef9565b90508051600003611e395760405180602001604052806000815250611e64565b80611e4384612588565b604051602001611e54929190612f28565b6040516020818303038152906040525b9392505050565b60128054611e7890612d83565b80601f0160208091040260200160405190810160405280929190818152602001828054611ea490612d83565b8015611ef15780601f10611ec657610100808354040283529160200191611ef1565b820191906000526020600020905b815481529060010190602001808311611ed457829003601f168201915b505050505081565b606060128054610c1690612d83565b611f10611f93565b6001600160a01b038116611f7a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b611f83816122bf565b50565b611f8e611f93565b600f55565b6008546001600160a01b031633146114b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611f71565b60006001600160e01b0319821663152a902d60e11b1480610beb57506301ffc9a760e01b6001600160e01b0319831614610beb565b6127106001600160601b03821611156120905760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401611f71565b6001600160a01b0382166120e65760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611f71565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600081600111158015612133575060005482105b8015610beb575050600090815260046020526040902054600160e01b161590565b600081806001116121aa576000548110156121aa5760008181526004602052604081205490600160e01b821690036121a8575b80600003611e64575060001901600081815260046020526040902054612187565b505b604051636f96cda160e11b815260040160405180910390fd5b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612210576040519150601f19603f3d011682016040523d82523d6000602084013e612215565b606091505b505090508061113f57604051631d42c86760e21b815260040160405180910390fd5b600054600019015b8161224d6000546000190190565b6122579190612e8c565b81101561173c5760008381526017602090815260408083206001600160a01b03881684526006018252822080546001810182559083529120018190558061229d81612e32565b91505061223f565b610c038282604051806020016040528060008152506125cc565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360009081526013602052604081208054839290612330908490612e8c565b90915550612342905033600083612237565b80601660008282546123549190612e8c565b90915550611f83905033826122a5565b600061236f83612154565b90508060008061238d86600090815260066020526040902080549091565b9150915084156123cd576123a2818433610e13565b6123cd576123b08333610b3a565b6123cd57604051632ce44b5f60e11b815260040160405180910390fd5b80156123d857600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b85169003612466576001860160008181526004602052604081205490036124645760005481146124645760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020612fb2833981519152908390a45050600180548101905550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906124d1903390899088908890600401612f57565b6020604051808303816000875af192505050801561250c575060408051601f3d908101601f1916820190925261250991810190612f94565b60015b61256a573d80801561253a576040519150601f19603f3d011682016040523d82523d6000602084013e61253f565b606091505b508051600003612562576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806125a25750819003601f19909101908152919050565b6125d68383612639565b6001600160a01b0383163b1561113f576000548281035b612600600086838060010194508661249c565b61261d576040516368d2bf6b60e11b815260040160405180910390fd5b8181106125ed57816000541461263257600080fd5b5050505050565b600080549082900361265e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020612fb28339815191528180a4600183015b8181146126e95780836000600080516020612fb2833981519152600080a46001016126c3565b508160000361270a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461271f90612d83565b90600052602060002090601f0160209004810192826127415760008555612787565b82601f1061275a57805160ff1916838001178555612787565b82800160010185558215612787579182015b8281111561278757825182559160200191906001019061276c565b50612793929150612797565b5090565b5b808211156127935760008155600101612798565b6000602082840312156127be57600080fd5b5035919050565b6001600160e01b031981168114611f8357600080fd5b6000602082840312156127ed57600080fd5b8135611e64816127c5565b80356001600160a01b038116811461280f57600080fd5b919050565b6000806040838503121561282757600080fd5b612830836127f8565b915060208301356001600160601b038116811461284c57600080fd5b809150509250929050565b60005b8381101561287257818101518382015260200161285a565b8381111561173c5750506000910152565b6000815180845261289b816020860160208601612857565b601f01601f19169290920160200192915050565b602081526000611e646020830184612883565b600080604083850312156128d557600080fd5b6128de836127f8565b946020939093013593505050565b60028110611f8357600080fd5b6000806040838503121561290c57600080fd5b82359150602083013561284c816128ec565b60008060006060848603121561293357600080fd5b61293c846127f8565b925061294a602085016127f8565b9150604084013590509250925092565b6000806040838503121561296d57600080fd5b8235915061297d602084016127f8565b90509250929050565b6020808252825182820181905260009190848201906040850190845b818110156129be578351835292840192918401916001016129a2565b50909695505050505050565b634e487b7160e01b600052602160045260246000fd5b60028110611f8357634e487b7160e01b600052602160045260246000fd5b60208101612a0b836129e0565b91905290565b60008060408385031215612a2457600080fd5b50508035926020909101359150565b600060208284031215612a4557600080fd5b611e64826127f8565b858152602081018590526040810184905260a08101612a6c846129e0565b836060830152612a7b836129e0565b8260808301529695505050505050565b600080600060608486031215612aa057600080fd5b505081359360208301359350604090920135919050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612ae857612ae8612ab7565b604051601f8501601f19908116603f01168101908282118183101715612b1057612b10612ab7565b81604052809350858152868686011115612b2957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612b5557600080fd5b813567ffffffffffffffff811115612b6c57600080fd5b8201601f81018413612b7d57600080fd5b61258084823560208401612acd565b600060208284031215612b9e57600080fd5b813560ff81168114611e6457600080fd5b60008083601f840112612bc157600080fd5b50813567ffffffffffffffff811115612bd957600080fd5b6020830191508360208260051b850101111561106d57600080fd5b60008060008060408587031215612c0a57600080fd5b843567ffffffffffffffff80821115612c2257600080fd5b612c2e88838901612baf565b90965094506020870135915080821115612c4757600080fd5b50612c5487828801612baf565b95989497509550505050565b60008060408385031215612c7357600080fd5b612c7c836127f8565b91506020830135801515811461284c57600080fd5b600080600060408486031215612ca657600080fd5b833567ffffffffffffffff811115612cbd57600080fd5b612cc986828701612baf565b909790965060209590950135949350505050565b60008060008060808587031215612cf357600080fd5b612cfc856127f8565b9350612d0a602086016127f8565b925060408501359150606085013567ffffffffffffffff811115612d2d57600080fd5b8501601f81018713612d3e57600080fd5b612d4d87823560208401612acd565b91505092959194509250565b60008060408385031215612d6c57600080fd5b612d75836127f8565b915061297d602084016127f8565b600181811c90821680612d9757607f821691505b602082108103612db757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612ded57612ded612dbd565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612e1757612e17612df2565b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201612e4457612e44612dbd565b5060010190565b600060208284031215612e5d57600080fd5b813567ffffffffffffffff81168114611e6457600080fd5b600082821015612e8757612e87612dbd565b500390565b60008219821115612e9f57612e9f612dbd565b500190565b600060208284031215612eb657600080fd5b5051919050565b600082612ecc57612ecc612df2565b500690565b6001600160a01b0385168152606060208201819052810183905260006001600160fb1b03841115612f0157600080fd5b8360051b808660808501376000908301608001908152604090920192909252949350505050565b60008351612f3a818460208801612857565b835190830190612f4e818360208801612857565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f8a90830184612883565b9695505050505050565b600060208284031215612fa657600080fd5b8151611e64816127c556feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205c5792243192af5aa721bebd77195ee45f04563b3456c4a576fc789ee92d904a64736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000001b65a9816ef95229acc3384e67956a7dfab2b87c00000000000000000000000000000000000000000000000000000000000000055045454e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055045454e53000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103a15760003560e01c80636fd8856d116101e7578063a58bd5cd1161010d578063c87b56dd116100a0578063eac989f81161006f578063eac989f814610b68578063f2fde38b14610b7d578063fa80353f14610b9d578063ff946d1114610bb357600080fd5b8063c87b56dd14610aba578063cae359b914610ada578063cfc86f7b14610b0a578063e985e9c514610b1f57600080fd5b8063b88d4fde116100dc578063b88d4fde14610a20578063bd3b14d314610a33578063bf010a2514610a53578063bfa457bc14610a9a57600080fd5b8063a58bd5cd146109b7578063a76aafb1146109d7578063ab1c4ae5146109ed578063b798a58f14610a0057600080fd5b806391b7f5ed11610185578063a035b1fe11610154578063a035b1fe14610955578063a0712d681461096b578063a22cb4651461097e578063a2309ff81461099e57600080fd5b806391b7f5ed146108da5780639391bc8f146108fa57806395d89b411461090d57806396715e471461092257600080fd5b80638b5a6d7e116101c15780638b5a6d7e1461083d5780638c32fd66146108535780638da5cb5b1461088c5780638e5fee12146108aa57600080fd5b80636fd8856d146107e857806370a0823114610808578063715018a61461082857600080fd5b80632e37eef6116102cc5780634b980d671161026a578063603f4d5211610239578063603f4d521461076e57806360ea8485146107885780636352211e146107a85780636752656b146107c857600080fd5b80634b980d67146106f857806355f804b31461070e5780635a67de071461072e5780635d0bcc671461074e57600080fd5b80633ccfd60b116102a65780633ccfd60b1461069a57806342842e0e146106af578063453c2310146106c25780634592c43d146106d857600080fd5b80632e37eef6146105fb578063391176681461065a5780633b4c4b251461067a57600080fd5b80630b60ed2211610344578063278674f811610313578063278674f81461051457806328c2ddcd146105415780632a55205a146105865780632c12ffb8146105c557600080fd5b80630b60ed22146104ae57806318160ddd146104ce57806323b872dd146104eb57806326987b60146104fe57600080fd5b8063047fc9aa11610380578063047fc9aa1461041d57806306fdde0314610441578063081812fc14610463578063095ea7b31461049b57600080fd5b806235bf72146103a657806301ffc9a7146103c857806302fa7c47146103fd575b600080fd5b3480156103b257600080fd5b506103c66103c13660046127ac565b610bd3565b005b3480156103d457600080fd5b506103e86103e33660046127db565b610be0565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b506103c6610418366004612814565b610bf1565b34801561042957600080fd5b5061043360105481565b6040519081526020016103f4565b34801561044d57600080fd5b50610456610c07565b6040516103f491906128af565b34801561046f57600080fd5b5061048361047e3660046127ac565b610c99565b6040516001600160a01b0390911681526020016103f4565b6103c66104a93660046128c2565b610cdd565b3480156104ba57600080fd5b506103c66104c93660046128f9565b610d7d565b3480156104da57600080fd5b506001546000540360001901610433565b6103c66104f936600461291e565b610dbe565b34801561050a57600080fd5b5061043360165481565b34801561052057600080fd5b5061053461052f36600461295a565b610f4f565b6040516103f49190612986565b34801561054d57600080fd5b5061057961055c3660046127ac565b600090815260176020526040902060030154610100900460ff1690565b6040516103f491906129fe565b34801561059257600080fd5b506105a66105a1366004612a11565b610fc6565b604080516001600160a01b0390931683526020830191909152016103f4565b3480156105d157600080fd5b506104336105e0366004612a33565b6001600160a01b031660009081526013602052604090205490565b34801561060757600080fd5b506106496106163660046127ac565b60176020526000908152604090208054600182015460028301546003909301549192909160ff8082169161010090041685565b6040516103f4959493929190612a4e565b34801561066657600080fd5b506103c66106753660046127ac565b611074565b34801561068657600080fd5b506103c66106953660046127ac565b611081565b3480156106a657600080fd5b506103c661108e565b6103c66106bd36600461291e565b611124565b3480156106ce57600080fd5b50610433600c5481565b3480156106e457600080fd5b506103c66106f3366004612a8b565b611144565b34801561070457600080fd5b50610433600d5481565b34801561071a57600080fd5b506103c6610729366004612b43565b61118c565b34801561073a57600080fd5b506103c6610749366004612b8c565b6111a7565b34801561075a57600080fd5b5061053461076936600461295a565b6111e7565b34801561077a57600080fd5b506011546105799060ff1681565b34801561079457600080fd5b506103c66107a3366004612a11565b61125c565b3480156107b457600080fd5b506104836107c33660046127ac565b611279565b3480156107d457600080fd5b506103c66107e3366004612bf4565b611284565b3480156107f457600080fd5b506103c6610803366004612a11565b611436565b34801561081457600080fd5b50610433610823366004612a33565b611453565b34801561083457600080fd5b506103c66114a2565b34801561084957600080fd5b5061043360155481565b34801561085f57600080fd5b506103e861086e366004612a33565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561089857600080fd5b506008546001600160a01b0316610483565b3480156108b657600080fd5b506104336108c53660046127ac565b60009081526017602052604090206002015490565b3480156108e657600080fd5b506103c66108f53660046127ac565b6114b6565b6103c66109083660046127ac565b6114c3565b34801561091957600080fd5b50610456611742565b34801561092e57600080fd5b5061057961093d3660046127ac565b60009081526017602052604090206003015460ff1690565b34801561096157600080fd5b50610433600b5481565b6103c66109793660046127ac565b611751565b34801561098a57600080fd5b506103c6610999366004612c60565b611879565b3480156109aa57600080fd5b5060005460001901610433565b3480156109c357600080fd5b506103c66109d2366004612c91565b6118e5565b3480156109e357600080fd5b50610433600f5481565b6103c66109fb366004612a11565b611af5565b348015610a0c57600080fd5b506103c6610a1b3660046128f9565b611cf1565b6103c6610a2e366004612cdd565b611d26565b348015610a3f57600080fd5b506103c6610a4e3660046127ac565b611d6a565b348015610a5f57600080fd5b50610433610a6e36600461295a565b60008281526017602090815260408083206001600160a01b038516845260050190915290205492915050565b348015610aa657600080fd5b506103c6610ab536600461295a565b611d77565b348015610ac657600080fd5b50610456610ad53660046127ac565b611de7565b348015610ae657600080fd5b50610433610af53660046127ac565b60009081526017602052604090206001015490565b348015610b1657600080fd5b50610456611e6b565b348015610b2b57600080fd5b506103e8610b3a366004612d59565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610b7457600080fd5b50610456611ef9565b348015610b8957600080fd5b506103c6610b98366004612a33565b611f08565b348015610ba957600080fd5b50610433600e5481565b348015610bbf57600080fd5b506103c6610bce3660046127ac565b611f86565b610bdb611f93565b600e55565b6000610beb82611fed565b92915050565b610bf9611f93565b610c038282612022565b5050565b606060028054610c1690612d83565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4290612d83565b8015610c8f5780601f10610c6457610100808354040283529160200191610c8f565b820191906000526020600020905b815481529060010190602001808311610c7257829003601f168201915b5050505050905090565b6000610ca48261211f565b610cc1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610ce882611279565b9050336001600160a01b03821614610d2157610d048133610b3a565b610d21576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610d85611f93565b6000828152601760205260409020600301805482919061ff001916610100836001811115610db557610db56129ca565b02179055505050565b6000610dc982612154565b9050836001600160a01b0316816001600160a01b031614610dfc5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054610e288187335b6001600160a01b039081169116811491141790565b610e5357610e368633610b3a565b610e5357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e7a57604051633a954ecd60e21b815260040160405180910390fd5b8015610e8557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610f1757600184016000818152600460205260408120549003610f15576000548114610f155760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020612fb283398151915260405160405180910390a45b505050505050565b60008281526017602090815260408083206001600160a01b0385168452600601825291829020805483518184028101840190945280845260609392830182828015610fb957602002820191906000526020600020905b815481526020019060010190808311610fa5575b5050505050905092915050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161103b5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061105a906001600160601b031687612dd3565b6110649190612e08565b91519350909150505b9250929050565b61107c611f93565b600c55565b611089611f93565b601055565b611096611f93565b4760005b601854811015610c0357611112601882815481106110ba576110ba612e1c565b9060005260206000200160009054906101000a90046001600160a01b03166064601984815481106110ed576110ed612e1c565b9060005260206000200154856111039190612dd3565b61110d9190612e08565b6121c3565b8061111c81612e32565b91505061109a565b61113f83838360405180602001604052806000815250611d26565b505050565b61114c611f93565b601580546000818152601760205260408120929061116983612e32565b909155505092835560018301919091556002820155600301805461ffff19169055565b611194611f93565b8051610c03906012906020840190612713565b6111af611f93565b8060ff1660018111156111c4576111c46129ca565b6011805460ff1916600183818111156111df576111df6129ca565b021790555050565b60008281526017602090815260408083206001600160a01b0385168452600401825291829020805483518184028101840190945280845260609392830182828015610fb95760200282019190600052602060002090815481526020019060010190808311610fa5575050505050905092915050565b611264611f93565b60009182526017602052604090912060020155565b6000610beb82612154565b61128c611f93565b808381146112ad57604051637e311a6560e11b815260040160405180910390fd5b60005b81811015610f47576010548686838181106112cd576112cd612e1c565b90506020020160208101906112e29190612e4b565b67ffffffffffffffff1660016016546112fb9190612e75565b6113059190612e8c565b1115611324576040516352df9fe560e01b815260040160405180910390fd5b61138684848381811061133957611339612e1c565b905060200201602081019061134e9190612a33565b600088888581811061136257611362612e1c565b90506020020160208101906113779190612e4b565b67ffffffffffffffff16612237565b85858281811061139857611398612e1c565b90506020020160208101906113ad9190612e4b565b67ffffffffffffffff16601660008282546113c89190612e8c565b9091555061142e90508484838181106113e3576113e3612e1c565b90506020020160208101906113f89190612a33565b87878481811061140a5761140a612e1c565b905060200201602081019061141f9190612e4b565b67ffffffffffffffff166122a5565b6001016112b0565b61143e611f93565b60009182526017602052604090912060010155565b60006001600160a01b03821661147c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6114aa611f93565b6114b460006122bf565b565b6114be611f93565b600b55565b803332146114e4576040516372f67c2360e01b815260040160405180910390fd5b600160115460ff1660018111156114fd576114fd6129ca565b1461151b57604051630fe219dd60e21b815260040160405180910390fd5b600c5433600090815260136020526040902054611539908390612e8c565b11156115585760405163524f409b60e01b815260040160405180910390fd5b601054611566600183612e75565b6016546115739190612e8c565b1115611592576040516352df9fe560e01b815260040160405180910390fd5b6040516370a0823160e01b8152336004820152600090738fa600364b93c53e0c71c7a33d2ade21f4351da3906370a0823190602401602060405180830381865afa1580156115e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116089190612ea4565b6040516370a0823160e01b815233600482015290915060009073c90f8443e89201f714c78b40352b790a39bad203906370a0823190602401602060405180830381865afa15801561165d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116819190612ea4565b9050600082116116a4576040516336fd39c160e21b815260040160405180910390fd5b600f546116b19082612dd3565b600e546116be9084612dd3565b6116c89190612e8c565b8411156116e85760405163524f409b60e01b815260040160405180910390fd5b3360009081526014602052604090205460ff161561171957604051631bbdf5c560e31b815260040160405180910390fd5b336000908152601460205260409020805460ff1916600117905561173c84612311565b50505050565b606060038054610c1690612d83565b80333214611772576040516372f67c2360e01b815260040160405180910390fd5b600160115460ff16600181111561178b5761178b6129ca565b146117a957604051630fe219dd60e21b815260040160405180910390fd5b600c54336000908152601360205260409020546117c7908390612e8c565b11156117e65760405163524f409b60e01b815260040160405180910390fd5b6010546117f4600183612e75565b6016546118019190612e8c565b1115611820576040516352df9fe560e01b815260040160405180910390fd5b81600b5461182e9190612dd3565b34101561184d5760405162bfc92160e01b815260040160405180910390fd5b600d548211156118705760405163524f409b60e01b815260040160405180910390fd5b610c0382612311565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b828260005b8181101561194d573361191484848481811061190857611908612e1c565b90506020020135611279565b6001600160a01b03161461193b576040516336b6b89560e01b815260040160405180910390fd5b8061194581612e32565b9150506118ea565b5060008084815260176020526040902060030154610100900460ff16600181111561197a5761197a6129ca565b036119985760405163055bfda960e21b815260040160405180910390fd5b6000838152601760205260409020600201546119b49085612ebd565b156119d25760405163524f409b60e01b815260040160405180910390fd5b60005b84811015611a625760008481526017602090815260408083203384526004019091529020868683818110611a0b57611a0b612e1c565b83546001810185556000948552602094859020919094029290920135919092015550611a50868683818110611a4257611a42612e1c565b905060200201356001612364565b80611a5a81612e32565b9150506119d5565b50600083815260176020526040902060020154611a7f9085612e08565b600084815260176020908152604080832033845260050190915281208054909190611aab908490612e8c565b90915550506040517f2f280ed33ad05c504f9247562dddd433a580db78bad59908926cd0954c3844f490611ae6903390889088908890612ed1565b60405180910390a15050505050565b60008281526017602052604081206003015460ff166001811115611b1b57611b1b6129ca565b03611b3957604051630fe219dd60e21b815260040160405180910390fd5b6000828152601760209081526040808320338452600401909152902054611b7357604051631eb49d6d60e11b815260040160405180910390fd5b600082815260176020526040902060010154611b90908290612dd3565b341015611baf5760405162bfc92160e01b815260040160405180910390fd5b600082815260176020908152604080832033845260050190915290205480821115611bed5760405163524f409b60e01b815260040160405180910390fd5b6000805460001901611c00906001612e8c565b90505b82611c116000546000190190565b611c1b9190612e8c565b8111611c5f57600084815260176020908152604080832033845260060182528220805460018101825590835291200181905580611c5781612e32565b915050611c03565b508160166000828254611c729190612e8c565b90915550611c82905033836122a5565b600083815260176020908152604080832033845260050190915281208054849290611cae908490612e75565b909155505060408051338152602081018590527f45704679a40d4b2ffe28aa7324f021775faaca4d40917fef2cdf38e53fd90a24910160405180910390a1505050565b611cf9611f93565b6000828152601760205260409020600301805482919060ff191660018381811115610db557610db56129ca565b611d31848484610dbe565b6001600160a01b0383163b1561173c57611d4d8484848461249c565b61173c576040516368d2bf6b60e11b815260040160405180910390fd5b611d72611f93565b600d55565b611d7f611f93565b601054611d8d600184612e75565b601654611d9a9190612e8c565b1115611db9576040516352df9fe560e01b815260040160405180910390fd5b611dc581600084612237565b8160166000828254611dd79190612e8c565b90915550610c03905081836122a5565b6060611df28261211f565b611e0f57604051630a14c4b560e41b815260040160405180910390fd5b6000611e19611ef9565b90508051600003611e395760405180602001604052806000815250611e64565b80611e4384612588565b604051602001611e54929190612f28565b6040516020818303038152906040525b9392505050565b60128054611e7890612d83565b80601f0160208091040260200160405190810160405280929190818152602001828054611ea490612d83565b8015611ef15780601f10611ec657610100808354040283529160200191611ef1565b820191906000526020600020905b815481529060010190602001808311611ed457829003601f168201915b505050505081565b606060128054610c1690612d83565b611f10611f93565b6001600160a01b038116611f7a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b611f83816122bf565b50565b611f8e611f93565b600f55565b6008546001600160a01b031633146114b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611f71565b60006001600160e01b0319821663152a902d60e11b1480610beb57506301ffc9a760e01b6001600160e01b0319831614610beb565b6127106001600160601b03821611156120905760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401611f71565b6001600160a01b0382166120e65760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611f71565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600081600111158015612133575060005482105b8015610beb575050600090815260046020526040902054600160e01b161590565b600081806001116121aa576000548110156121aa5760008181526004602052604081205490600160e01b821690036121a8575b80600003611e64575060001901600081815260046020526040902054612187565b505b604051636f96cda160e11b815260040160405180910390fd5b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612210576040519150601f19603f3d011682016040523d82523d6000602084013e612215565b606091505b505090508061113f57604051631d42c86760e21b815260040160405180910390fd5b600054600019015b8161224d6000546000190190565b6122579190612e8c565b81101561173c5760008381526017602090815260408083206001600160a01b03881684526006018252822080546001810182559083529120018190558061229d81612e32565b91505061223f565b610c038282604051806020016040528060008152506125cc565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360009081526013602052604081208054839290612330908490612e8c565b90915550612342905033600083612237565b80601660008282546123549190612e8c565b90915550611f83905033826122a5565b600061236f83612154565b90508060008061238d86600090815260066020526040902080549091565b9150915084156123cd576123a2818433610e13565b6123cd576123b08333610b3a565b6123cd57604051632ce44b5f60e11b815260040160405180910390fd5b80156123d857600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b85169003612466576001860160008181526004602052604081205490036124645760005481146124645760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020612fb2833981519152908390a45050600180548101905550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906124d1903390899088908890600401612f57565b6020604051808303816000875af192505050801561250c575060408051601f3d908101601f1916820190925261250991810190612f94565b60015b61256a573d80801561253a576040519150601f19603f3d011682016040523d82523d6000602084013e61253f565b606091505b508051600003612562576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806125a25750819003601f19909101908152919050565b6125d68383612639565b6001600160a01b0383163b1561113f576000548281035b612600600086838060010194508661249c565b61261d576040516368d2bf6b60e11b815260040160405180910390fd5b8181106125ed57816000541461263257600080fd5b5050505050565b600080549082900361265e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020612fb28339815191528180a4600183015b8181146126e95780836000600080516020612fb2833981519152600080a46001016126c3565b508160000361270a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461271f90612d83565b90600052602060002090601f0160209004810192826127415760008555612787565b82601f1061275a57805160ff1916838001178555612787565b82800160010185558215612787579182015b8281111561278757825182559160200191906001019061276c565b50612793929150612797565b5090565b5b808211156127935760008155600101612798565b6000602082840312156127be57600080fd5b5035919050565b6001600160e01b031981168114611f8357600080fd5b6000602082840312156127ed57600080fd5b8135611e64816127c5565b80356001600160a01b038116811461280f57600080fd5b919050565b6000806040838503121561282757600080fd5b612830836127f8565b915060208301356001600160601b038116811461284c57600080fd5b809150509250929050565b60005b8381101561287257818101518382015260200161285a565b8381111561173c5750506000910152565b6000815180845261289b816020860160208601612857565b601f01601f19169290920160200192915050565b602081526000611e646020830184612883565b600080604083850312156128d557600080fd5b6128de836127f8565b946020939093013593505050565b60028110611f8357600080fd5b6000806040838503121561290c57600080fd5b82359150602083013561284c816128ec565b60008060006060848603121561293357600080fd5b61293c846127f8565b925061294a602085016127f8565b9150604084013590509250925092565b6000806040838503121561296d57600080fd5b8235915061297d602084016127f8565b90509250929050565b6020808252825182820181905260009190848201906040850190845b818110156129be578351835292840192918401916001016129a2565b50909695505050505050565b634e487b7160e01b600052602160045260246000fd5b60028110611f8357634e487b7160e01b600052602160045260246000fd5b60208101612a0b836129e0565b91905290565b60008060408385031215612a2457600080fd5b50508035926020909101359150565b600060208284031215612a4557600080fd5b611e64826127f8565b858152602081018590526040810184905260a08101612a6c846129e0565b836060830152612a7b836129e0565b8260808301529695505050505050565b600080600060608486031215612aa057600080fd5b505081359360208301359350604090920135919050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612ae857612ae8612ab7565b604051601f8501601f19908116603f01168101908282118183101715612b1057612b10612ab7565b81604052809350858152868686011115612b2957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612b5557600080fd5b813567ffffffffffffffff811115612b6c57600080fd5b8201601f81018413612b7d57600080fd5b61258084823560208401612acd565b600060208284031215612b9e57600080fd5b813560ff81168114611e6457600080fd5b60008083601f840112612bc157600080fd5b50813567ffffffffffffffff811115612bd957600080fd5b6020830191508360208260051b850101111561106d57600080fd5b60008060008060408587031215612c0a57600080fd5b843567ffffffffffffffff80821115612c2257600080fd5b612c2e88838901612baf565b90965094506020870135915080821115612c4757600080fd5b50612c5487828801612baf565b95989497509550505050565b60008060408385031215612c7357600080fd5b612c7c836127f8565b91506020830135801515811461284c57600080fd5b600080600060408486031215612ca657600080fd5b833567ffffffffffffffff811115612cbd57600080fd5b612cc986828701612baf565b909790965060209590950135949350505050565b60008060008060808587031215612cf357600080fd5b612cfc856127f8565b9350612d0a602086016127f8565b925060408501359150606085013567ffffffffffffffff811115612d2d57600080fd5b8501601f81018713612d3e57600080fd5b612d4d87823560208401612acd565b91505092959194509250565b60008060408385031215612d6c57600080fd5b612d75836127f8565b915061297d602084016127f8565b600181811c90821680612d9757607f821691505b602082108103612db757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612ded57612ded612dbd565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612e1757612e17612df2565b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201612e4457612e44612dbd565b5060010190565b600060208284031215612e5d57600080fd5b813567ffffffffffffffff81168114611e6457600080fd5b600082821015612e8757612e87612dbd565b500390565b60008219821115612e9f57612e9f612dbd565b500190565b600060208284031215612eb657600080fd5b5051919050565b600082612ecc57612ecc612df2565b500690565b6001600160a01b0385168152606060208201819052810183905260006001600160fb1b03841115612f0157600080fd5b8360051b808660808501376000908301608001908152604090920192909252949350505050565b60008351612f3a818460208801612857565b835190830190612f4e818360208801612857565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f8a90830184612883565b9695505050505050565b600060208284031215612fa657600080fd5b8151611e64816127c556feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205c5792243192af5aa721bebd77195ee45f04563b3456c4a576fc789ee92d904a64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000001b65a9816ef95229acc3384e67956a7dfab2b87c00000000000000000000000000000000000000000000000000000000000000055045454e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055045454e53000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): PEENS
Arg [1] : _symbol (string): PEENS
Arg [2] : _royaltyAmount (uint96): 250
Arg [3] : _royaltyAddress (address): 0x1B65a9816EF95229ACC3384E67956A7dFaB2b87c
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000fa
Arg [3] : 0000000000000000000000001b65a9816ef95229acc3384e67956a7dfab2b87c
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 5045454e53000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 5045454e53000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
625:9423:9:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6980:98;;;;;;;;;;-1:-1:-1;6980:98:9;;;;;:::i;:::-;;:::i;:::-;;9885:161;;;;;;;;;;-1:-1:-1;9885:161:9;;;;;:::i;:::-;;:::i;:::-;;;750:14:12;;743:22;725:41;;713:2;698:18;9885:161:9;;;;;;;;9734:145;;;;;;;;;;-1:-1:-1;9734:145:9;;;;;:::i;:::-;;:::i;882:29::-;;;;;;;;;;;;;;;;;;;1472:25:12;;;1460:2;1445:18;882:29:9;1326:177:12;10039:98:10;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:10;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2423:32:12;;;2405:51;;2393:2;2378:18;16360:214:10;2259:203:12;15812:398:10;;;;;;:::i;:::-;;:::i;8705:121:9:-;;;;;;;;;;-1:-1:-1;8705:121:9;;;;;:::i;:::-;;:::i;5894:317:10:-;;;;;;;;;;-1:-1:-1;6447:1:9;6164:12:10;5955:7;6148:13;:28;-1:-1:-1;;6148:46:10;5894:317;;19903:2764;;;;;;:::i;:::-;;:::i;1217:28:9:-;;;;;;;;;;;;;;;;9117:134;;;;;;;;;;-1:-1:-1;9117:134:9;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;8586:113::-;;;;;;;;;;-1:-1:-1;8586:113:9;;;;;:::i;:::-;8643:9;8671:11;;;:6;:11;;;;;:21;;;;;;;;;8586:113;;;;;;;;:::i;1671:432:5:-;;;;;;;;;;-1:-1:-1;1671:432:5;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;5442:32:12;;;5424:51;;5506:2;5491:18;;5484:34;;;;5397:18;1671:432:5;5250:274:12;7724:124:9;;;;;;;;;;-1:-1:-1;7724:124:9;;;;;:::i;:::-;-1:-1:-1;;;;;7816:25:9;7790:7;7816:25;;;:18;:25;;;;;;;7724:124;1535:36;;;;;;;;;;-1:-1:-1;1535:36:9;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;6770:94::-;;;;;;;;;;-1:-1:-1;6770:94:9;;;;;:::i;:::-;;:::i;7196:92::-;;;;;;;;;;-1:-1:-1;7196:92:9;;;;;:::i;:::-;;:::i;9474:254::-;;;;;;;;;;;;;:::i;22758:187:10:-;;;;;;:::i;:::-;;:::i;716:33:9:-;;;;;;;;;;;;;;;;2022:349;;;;;;;;;;-1:-1:-1;2022:349:9;;;;;:::i;:::-;;:::i;755:38::-;;;;;;;;;;;;;;;;7401:102;;;;;;;;;;-1:-1:-1;7401:102:9;;;;;:::i;:::-;;:::i;7294:101::-;;;;;;;;;;-1:-1:-1;7294:101:9;;;;;:::i;:::-;;:::i;8832:134::-;;;;;;;;;;-1:-1:-1;8832:134:9;;;;;:::i;:::-;;:::i;985:45::-;;;;;;;;;;-1:-1:-1;985:45:9;;;;;;;;8218:116;;;;;;;;;;-1:-1:-1;8218:116:9;;;;;:::i;:::-;;:::i;11391:150:10:-;;;;;;;;;;-1:-1:-1;11391:150:10;;;;;:::i;:::-;;:::i;4229:553:9:-;;;;;;;;;;-1:-1:-1;4229:553:9;;;;;:::i;:::-;;:::i;7994:108::-;;;;;;;;;;-1:-1:-1;7994:108:9;;;;;:::i;:::-;;:::i;7045:230:10:-;;;;;;;;;;-1:-1:-1;7045:230:10;;;;;:::i;:::-;;:::i;1831:101:0:-;;;;;;;;;;;;;:::i;1186:25:9:-;;;;;;;;;;;;;;;;7603:115;;;;;;;;;;-1:-1:-1;7603:115:9;;;;;:::i;:::-;-1:-1:-1;;;;;7689:22:9;7666:4;7689:22;;;:15;:22;;;;;;;;;7603:115;1201:85:0;;;;;;;;;;-1:-1:-1;1273:6:0;;-1:-1:-1;;;;;1273:6:0;1201:85;;8108:104:9;;;;;;;;;;-1:-1:-1;8108:104:9;;;;;:::i;:::-;8163:4;8186:11;;;:6;:11;;;;;:19;;;;8108:104;6676:88;;;;;;;;;;-1:-1:-1;6676:88:9;;;;;:::i;:::-;;:::i;2963:584::-;;;;;;:::i;:::-;;:::i;10208:102:10:-;;;;;;;;;;;;;:::i;8340:113:9:-;;;;;;;;;;-1:-1:-1;8340:113:9;;;;;:::i;:::-;8397:9;8425:11;;;:6;:11;;;;;:21;;;;;;8340:113;675:35;;;;;;;;;;;;;;;;2736:221;;;;;;:::i;:::-;;:::i;16901:231:10:-;;;;;;;;;;-1:-1:-1;16901:231:10;;;;;:::i;:::-;;:::i;6579:91:9:-;;;;;;;;;;-1:-1:-1;6623:7:9;6546:13:10;-1:-1:-1;;6546:31:10;6579:91:9;;5007:564;;;;;;;;;;-1:-1:-1;5007:564:9;;;;;:::i;:::-;;:::i;838:38::-;;;;;;;;;;;;;;;;5578:739;;;;;;:::i;:::-;;:::i;8459:121::-;;;;;;;;;;-1:-1:-1;8459:121:9;;;;;:::i;:::-;;:::i;23526:396:10:-;;;;;;:::i;:::-;;:::i;6870:104:9:-;;;;;;;;;;-1:-1:-1;6870:104:9;;;;;:::i;:::-;;:::i;8972:139::-;;;;;;;;;;-1:-1:-1;8972:139:9;;;;;:::i;:::-;9047:7;9073:11;;;:6;:11;;;;;;;;-1:-1:-1;;;;;9073:31:9;;;;:24;;:31;;;;;;8972:139;;;;;3976:247;;;;;;;;;;-1:-1:-1;3976:247:9;;;;;:::i;:::-;;:::i;10411:313:10:-;;;;;;;;;;-1:-1:-1;10411:313:10;;;;;:::i;:::-;;:::i;7888:100:9:-;;;;;;;;;;-1:-1:-1;7888:100:9;;;;;:::i;:::-;7941:4;7964:11;;;:6;:11;;;;;:17;;;;7888:100;1037:27;;;;;;;;;;;;;:::i;17282:162:10:-;;;;;;;;;;-1:-1:-1;17282:162:10;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:10;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;7509:88:9;;;;;;;;;;;;;:::i;2081:198:0:-;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;799:33:9:-;;;;;;;;;;;;;;;;7084:106;;;;;;;;;;-1:-1:-1;7084:106:9;;;;;:::i;:::-;;:::i;6980:98::-;1094:13:0;:11;:13::i;:::-;7050:14:9::1;:21:::0;6980:98::o;9885:161::-;9980:4;10003:36;10027:11;10003:23;:36::i;:::-;9996:43;9885:161;-1:-1:-1;;9885:161:9:o;9734:145::-;1094:13:0;:11;:13::i;:::-;9828:44:9::1;9847:8;9857:14;9828:18;:44::i;:::-;9734:145:::0;;:::o;10039:98:10:-;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:10;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:10;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:10;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:10;-1:-1:-1;;;;;15947:28:10;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:10;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:10;-1:-1:-1;;;;;16125:35:10;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;8705:121:9:-;1094:13:0;:11;:13::i;:::-;8789:11:9::1;::::0;;;:6:::1;:11;::::0;;;;:21:::1;;:30:::0;;8813:6;;8789:21;-1:-1:-1;;8789:30:9::1;;8813:6:::0;8789:21:::1;:30:::0;::::1;;;;;;:::i;:::-;;;;;;8705:121:::0;;:::o;19903:2764:10:-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:10;20128:19;-1:-1:-1;;;;;20112:45:10;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:10;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;20394:68;19260:26;20436:4;39523:10;20442:19;-1:-1:-1;;;;;18524:32:10;;;18370:28;;18651:20;;18673:30;;18648:56;;18074:646;20394:68;20389:179;;20481:43;20498:4;39523:10;17282:162;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:10;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:10;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:10;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:10;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:10;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:10;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:10;21654:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21943:47:10;;: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:10;22590:4;-1:-1:-1;;;;;22581:27:10;-1:-1:-1;;;;;;;;;;;22581:27:10;;;;;;;;;22618:42;20030:2637;;;19903:2764;;;:::o;9117:134:9:-;9220:11;;;;:6;:11;;;;;;;;-1:-1:-1;;;;;9220:24:9;;;;:17;;:24;;;;;;9213:31;;;;;;;;;;;;;;;;;9185:16;;9213:31;;;9220:24;9213:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9117:134;;;;:::o;1671:432:5:-;1768:7;1825:27;;;:17;:27;;;;;;;;1796:56;;;;;;;;;-1:-1:-1;;;;;1796:56:5;;;;;-1:-1:-1;;;1796:56:5;;;-1:-1:-1;;;;;1796:56:5;;;;;;;;1768:7;;1863:90;;-1:-1:-1;1913:29:5;;;;;;;;;1923:19;1913:29;-1:-1:-1;;;;;1913:29:5;;;;-1:-1:-1;;;1913:29:5;;-1:-1:-1;;;;;1913:29:5;;;;;1863:90;2001:23;;;;1963:21;;2461:5;;1988:36;;-1:-1:-1;;;;;1988:36:5;:10;:36;:::i;:::-;1987:58;;;;:::i;:::-;2064:16;;;-1:-1:-1;1963:82:5;;-1:-1:-1;;1671:432:5;;;;;;:::o;6770:94:9:-;1094:13:0;:11;:13::i;:::-;6838:12:9::1;:19:::0;6770:94::o;7196:92::-;1094:13:0;:11;:13::i;:::-;7263:6:9::1;:18:::0;7196:92::o;9474:254::-;1094:13:0;:11;:13::i;:::-;9541:21:9::1;9523:15;9573:149;9593:17;:24:::0;9589:28;::::1;9573:149;;;9638:73;9648:17;9666:1;9648:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;9648:20:9::1;9707:3;9681:19;9701:1;9681:22;;;;;;;;:::i;:::-;;;;;;;;;9671:7;:32;;;;:::i;:::-;9670:40;;;;:::i;:::-;9638:9;:73::i;:::-;9619:3:::0;::::1;::::0;::::1;:::i;:::-;;;;9573:149;;22758:187:10::0;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;2022:349:9:-;1094:13:0;:11;:13::i;:::-;2142:9:9::1;::::0;;2110:22:::1;2135:17:::0;;;:6:::1;:17;::::0;;;;;2142:9;2162:11:::1;2142:9:::0;2162:11:::1;:::i;:::-;::::0;;;-1:-1:-1;;2183:17:9;;;2210:14:::1;::::0;::::1;:23:::0;;;;2243:16:::1;::::0;::::1;:27:::0;2280:18:::1;;:37:::0;;-1:-1:-1;;2327:37:9;;;2022:349::o;7401:102::-;1094:13:0;:11;:13::i;:::-;7473:23:9;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;7294:101::-:0;1094:13:0;:11;:13::i;:::-;7381:6:9::1;7371:17;;;;;;;;;;:::i;:::-;7359:9;:29:::0;;-1:-1:-1;;7359:29:9::1;::::0;;;;::::1;;;;;;:::i;:::-;;;;;;7294:101:::0;:::o;8832:134::-;8935:11;;;;:6;:11;;;;;;;;-1:-1:-1;;;;;8935:24:9;;;;:17;;:24;;;;;;8928:31;;;;;;;;;;;;;;;;;8900:16;;8928:31;;;8935:24;8928:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8832:134;;;;:::o;8218:116::-;1094:13:0;:11;:13::i;:::-;8297:11:9::1;::::0;;;:6:::1;:11;::::0;;;;;:19:::1;;:30:::0;8218:116::o;11391:150:10:-;11463:7;11505:27;11524:7;11505:18;:27::i;4229:553:9:-;1094:13:0;:11;:13::i;:::-;4356:10:9;4387:28;;::::1;4383:59;;4424:18;;-1:-1:-1::0;;;4424:18:9::1;;;;;;;;;;;4383:59;4458:9;4453:323;4477:13;4473:1;:17;4453:323;;;4543:6;;4533:4;;4538:1;4533:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4512:28;;4528:1;4513:12;;:16;;;;:::i;:::-;4512:28;;;;:::i;:::-;:37;4508:59;;;4558:9;;-1:-1:-1::0;;;4558:9:9::1;;;;;;;;;;;4508:59;4581:40;4595:10;;4606:1;4595:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4610:1;4613:4;;4618:1;4613:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4581:40;;:13;:40::i;:::-;4651:4;;4656:1;4651:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4635:23;;:12;;:23;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;4672:33:9::1;::::0;-1:-1:-1;4682:10:9;;4693:1;4682:13;;::::1;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4697:4;;4702:1;4697:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4672:33;;:9;:33::i;:::-;4748:3;;4453:323;;7994:108:::0;1094:13:0;:11;:13::i;:::-;8069:11:9::1;::::0;;;:6:::1;:11;::::0;;;;;:17:::1;;:26:::0;7994:108::o;7045:230:10:-;7117:7;-1:-1:-1;;;;;7140:19:10;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:10;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:10;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;6676:88:9:-;1094:13:0;:11;:13::i;:::-;6741:5:9::1;:16:::0;6676:88::o;2963:584::-;3026:3;2446:10;2460:9;2446:23;2442:50;;2478:14;;-1:-1:-1;;;2478:14:9;;;;;;;;;;;2442:50;2519:14;2506:9;;;;;:27;;;;;;;:::i;:::-;;2502:54;;2542:14;;-1:-1:-1;;;2542:14:9;;;;;;;;;;;2502:54;2609:12;;2589:10;2570:30;;;;:18;:30;;;;;;:36;;2603:3;;2570:36;:::i;:::-;:51;2566:81;;;2630:17;;-1:-1:-1;;;2630:17:9;;;;;;;;;;;2566:81;2688:6;;2677:7;2683:1;2677:3;:7;:::i;:::-;2661:12;;:24;;;;:::i;:::-;:33;2657:55;;;2703:9;;-1:-1:-1;;;2703:9:9;;;;;;;;;;;2657:55;3056:73:::1;::::0;-1:-1:-1;;;3056:73:9;;3118:10:::1;3056:73;::::0;::::1;2405:51:12::0;3041:12:9::1;::::0;3064:42:::1;::::0;3056:61:::1;::::0;2378:18:12;;3056:73:9::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3162;::::0;-1:-1:-1;;;3162:73:9;;3224:10:::1;3162:73;::::0;::::1;2405:51:12::0;3041:88:9;;-1:-1:-1;3146:13:9::1;::::0;3170:42:::1;::::0;3162:61:::1;::::0;2378:18:12;;3162:73:9::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3146:89;;3271:1;3260:7;:12;3256:41;;3281:16;;-1:-1:-1::0;;;3281:16:9::1;;;;;;;;;;;3256:41;3359:18;::::0;3348:29:::1;::::0;:8;:29:::1;:::i;:::-;3329:14;::::0;3319:24:::1;::::0;:7;:24:::1;:::i;:::-;3318:60;;;;:::i;:::-;3311:3;:68;3307:98;;;3388:17;;-1:-1:-1::0;;;3388:17:9::1;;;;;;;;;;;3307:98;3434:10;3418:27;::::0;;;:15:::1;:27;::::0;;;;;::::1;;3415:54;;;3454:15;;-1:-1:-1::0;;;3454:15:9::1;;;;;;;;;;;3415:54;3495:10;3479:27;::::0;;;:15:::1;:27;::::0;;;;:34;;-1:-1:-1;;3479:34:9::1;3509:4;3479:34;::::0;;3523:17:::1;3536:3:::0;3523:12:::1;:17::i;:::-;3031:516;;2963:584:::0;;:::o;10208:102:10:-;10264:13;10296:7;10289:14;;;;;:::i;2736:221:9:-;2795:3;2446:10;2460:9;2446:23;2442:50;;2478:14;;-1:-1:-1;;;2478:14:9;;;;;;;;;;;2442:50;2519:14;2506:9;;;;;:27;;;;;;;:::i;:::-;;2502:54;;2542:14;;-1:-1:-1;;;2542:14:9;;;;;;;;;;;2502:54;2609:12;;2589:10;2570:30;;;;:18;:30;;;;;;:36;;2603:3;;2570:36;:::i;:::-;:51;2566:81;;;2630:17;;-1:-1:-1;;;2630:17:9;;;;;;;;;;;2566:81;2688:6;;2677:7;2683:1;2677:3;:7;:::i;:::-;2661:12;;:24;;;;:::i;:::-;:33;2657:55;;;2703:9;;-1:-1:-1;;;2703:9:9;;;;;;;;;;;2657:55;2834:3:::1;2826:5;;:11;;;;:::i;:::-;2814:9;:23;2810:50;;;2846:14;;-1:-1:-1::0;;;2846:14:9::1;;;;;;;;;;;2810:50;2880:17;;2874:3;:23;2870:53;;;2906:17;;-1:-1:-1::0;;;2906:17:9::1;;;;;;;;;;;2870:53;2933:17;2946:3;2933:12;:17::i;16901:231:10:-:0;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:10;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:10;;;;;;;;;;17070:55;;725:41:12;;;16995:49:10;;39523:10;17070:55;;698:18:12;17070:55:10;;;;;;;16901:231;;:::o;5007:564:9:-;5086:6;;4867;4862:122;4877:17;;;4862:122;;;4941:10;4919:18;4927:6;;4934:1;4927:9;;;;;;;:::i;:::-;;;;;;;4919:7;:18::i;:::-;-1:-1:-1;;;;;4919:32:9;;4915:58;;4960:13;;-1:-1:-1;;;4960:13:9;;;;;;;;;;;4915:58;4896:3;;;;:::i;:::-;;;;4862:122;;;-1:-1:-1;5137:16:9::1;5108:15:::0;;;;:6:::1;:15;::::0;;;;:25:::1;;::::0;::::1;::::0;::::1;;;;:45:::0;::::1;;;;;;:::i;:::-;::::0;5104:72:::1;;5162:14;;-1:-1:-1::0;;;5162:14:9::1;;;;;;;;;;;5104:72;5206:15;::::0;;;:6:::1;:15;::::0;;;;:23:::1;;::::0;5190:39:::1;::::0;:6;:39:::1;:::i;:::-;:44:::0;5186:74:::1;;5243:17;;-1:-1:-1::0;;;5243:17:9::1;;;;;;;;;;;5186:74;5275:6;5270:149;5285:17:::0;;::::1;5270:149;;;5323:15;::::0;;;:6:::1;:15;::::0;;;;;;;5345:10:::1;5323:33:::0;;:21:::1;;:33:::0;;;;;5362:6;;5369:1;5362:9;;::::1;;;;;:::i;:::-;5323:49:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;5323:49:9;;;5362:9:::1;5323:49:::0;;;;5362:9;;;::::1;::::0;;;::::1;;5323:49:::0;;;::::1;::::0;-1:-1:-1;5386:22:9::1;5392:6:::0;;5399:1;5392:9;;::::1;;;;;:::i;:::-;;;;;;;5403:4;5386:5;:22::i;:::-;5304:3:::0;::::1;::::0;::::1;:::i;:::-;;;;5270:149;;;-1:-1:-1::0;5488:15:9::1;::::0;;;:6:::1;:15;::::0;;;;:23:::1;;::::0;5472:39:::1;::::0;:6;:39:::1;:::i;:::-;5428:15;::::0;;;:6:::1;:15;::::0;;;;;;;5457:10:::1;5428:40:::0;;:28:::1;;:40:::0;;;;;:83;;:40;;:15;:83:::1;::::0;;;::::1;:::i;:::-;::::0;;;-1:-1:-1;;5526:38:9::1;::::0;::::1;::::0;::::1;::::0;5536:10:::1;::::0;5548:6;;;;5556:7;;5526:38:::1;:::i;:::-;;;;;;;;5007:564:::0;;;;;:::o;5578:739::-;5681:16;5652:15;;;:6;:15;;;;;:25;;;;;;:45;;;;;;;:::i;:::-;;5648:72;;5706:14;;-1:-1:-1;;;5706:14:9;;;;;;;;;;;5648:72;5778:1;5734:15;;;:6;:15;;;;;;;;5756:10;5734:33;;:21;;:33;;;;;:40;5730:70;;5788:12;;-1:-1:-1;;;5788:12:9;;;;;;;;;;;5730:70;5826:15;;;;:6;:15;;;;;:21;;;:27;;5850:3;;5826:27;:::i;:::-;5814:9;:39;5810:66;;;5862:14;;-1:-1:-1;;;5862:14:9;;;;;;;;;;;5810:66;5886:16;5905:15;;;:6;:15;;;;;;;;5934:10;5905:40;;:28;;:40;;;;;;5959:17;;;5955:47;;;5985:17;;-1:-1:-1;;;5985:17:9;;;;;;;;;;;5955:47;6017:6;6546:13:10;;-1:-1:-1;;6546:31:10;6026:18:9;;6043:1;6026:18;:::i;:::-;6017:27;;6012:132;6068:3;6051:14;6359:7:10;6546:13;-1:-1:-1;;6546:31:10;;6304:290;6051:14:9;:20;;;;:::i;:::-;6046:1;:25;6012:132;;6092:15;;;;:6;:15;;;;;;;;6114:10;6092:33;;:21;;:33;;;;:41;;;;;;;;;;;;;;;;6131:1;6073:3;6131:1;6073:3;:::i;:::-;;;;6012:132;;;;6169:3;6153:12;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;6182:26:9;;-1:-1:-1;6192:10:9;6204:3;6182:9;:26::i;:::-;6218:15;;;;:6;:15;;;;;;;;6247:10;6218:40;;:28;;:40;;;;;:47;;6262:3;;6218:15;:47;;6262:3;;6218:47;:::i;:::-;;;;-1:-1:-1;;6280:30:9;;;6290:10;5424:51:12;;5506:2;5491:18;;5484:34;;;6280:30:9;;5397:18:12;6280:30:9;;;;;;;5638:679;5578:739;;:::o;8459:121::-;1094:13:0;:11;:13::i;:::-;8543:11:9::1;::::0;;;:6:::1;:11;::::0;;;;:21:::1;;:30:::0;;8567:6;;8543:21;-1:-1:-1;;8543:30:9::1;::::0;8567:6;8543:30;;::::1;;;;;;:::i;23526:396:10:-:0;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:10;;;: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:10;;;;;;;;;;;6870:104:9;1094:13:0;:11;:13::i;:::-;6943:17:9::1;:24:::0;6870:104::o;3976:247::-;1094:13:0;:11;:13::i;:::-;4086:6:9::1;::::0;4075:7:::1;4081:1;4075:3:::0;:7:::1;:::i;:::-;4059:12;;:24;;;;:::i;:::-;:33;4055:55;;;4101:9;;-1:-1:-1::0;;;4101:9:9::1;;;;;;;;;;;4055:55;4120:32;4134:9;4145:1;4148:3;4120:13;:32::i;:::-;4178:3;4162:12;;:19;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;4191:25:9::1;::::0;-1:-1:-1;4201:9:9;4212:3;4191:9:::1;:25::i;10411:313:10:-:0;10484:13;10514:16;10522:7;10514;:16::i;:::-;10509:59;;10539:29;;-1:-1:-1;;;10539:29:10;;;;;;;;;;;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;:::-;;;;;;;;;;;;;10630:87;10623:94;10411:313;-1:-1:-1;;;10411:313:10:o;1037:27:9:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7509:88::-;7545:13;7577;7570:20;;;;;:::i;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;15066:2:12;2161:73:0::1;::::0;::::1;15048:21:12::0;15105:2;15085:18;;;15078:30;15144:34;15124:18;;;15117:62;-1:-1:-1;;;15195:18:12;;;15188:36;15241:19;;2161:73:0::1;;;;;;;;;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;7084:106:9:-;1094:13:0;:11;:13::i;:::-;7158:18:9::1;:25:::0;7084:106::o;1359:130:0:-;1273:6;;-1:-1:-1;;;;;1273:6:0;39523:10:10;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;15473:2:12;1414:68:0;;;15455:21:12;;;15492:18;;;15485:30;15551:34;15531:18;;;15524:62;15603:18;;1414:68:0;15271:356:12;1408:213:5;1510:4;-1:-1:-1;;;;;;1533:41:5;;-1:-1:-1;;;1533:41:5;;:81;;-1:-1:-1;;;;;;;;;;937:40:7;;;1578:36:5;829:155:7;2734:327:5;2461:5;-1:-1:-1;;;;;2836:33:5;;;;2828:88;;;;-1:-1:-1;;;2828:88:5;;15834:2:12;2828:88:5;;;15816:21:12;15873:2;15853:18;;;15846:30;15912:34;15892:18;;;15885:62;-1:-1:-1;;;15963:18:12;;;15956:40;16013:19;;2828:88:5;15632:406:12;2828:88:5;-1:-1:-1;;;;;2934:22:5;;2926:60;;;;-1:-1:-1;;;2926:60:5;;16245:2:12;2926:60:5;;;16227:21:12;16284:2;16264:18;;;16257:30;16323:27;16303:18;;;16296:55;16368:18;;2926:60:5;16043:349:12;2926:60:5;3019:35;;;;;;;;;-1:-1:-1;;;;;3019:35:5;;;;;;-1:-1:-1;;;;;3019:35:5;;;;;;;;;;-1:-1:-1;;;2997:57:5;;;;:19;:57;2734:327::o;17693:277:10:-;17758:4;17812:7;6447:1:9;17793:26:10;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:10;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:10;:49;;17693:277::o;12515:1249::-;12582:7;12616;;6447:1:9;12662:23:10;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;-1:-1:-1;;;12855:24:10;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:10;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:10;;;;;;;;;;;9290:178:9;9363:12;9381:8;-1:-1:-1;;;;;9381:13:9;9402:7;9381:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9362:52;;;9429:7;9424:37;;9445:16;;-1:-1:-1;;;9445:16:9;;;;;;;;;;;3553:206;3637:6;6546:13:10;-1:-1:-1;;6546:31:10;3632:121:9;3683:3;3666:14;6359:7:10;6546:13;-1:-1:-1;;6546:31:10;;6304:290;3666:14:9;:20;;;;:::i;:::-;3662:1;:24;3632:121;;;3707:15;;;;:6;:15;;;;;;;;-1:-1:-1;;;;;3707:27:9;;;;:21;;:27;;;;:35;;;;;;;;;;;;;;;;3740:1;3688:3;3740:1;3688:3;:::i;:::-;;;;3632:121;;33423:110:10;33499:27;33509:2;33513:8;33499:27;;;;;;;;;;;;:9;:27::i;2433:187:0:-;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;3765:205:9:-;3837:10;3818:30;;;;:18;:30;;;;;:37;;3852:3;;3818:30;:37;;3852:3;;3818:37;:::i;:::-;;;;-1:-1:-1;3865:33:9;;-1:-1:-1;3879:10:9;3891:1;3894:3;3865:13;:33::i;:::-;3924:3;3908:12;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;3937:26:9;;-1:-1:-1;3947:10:9;3959:3;3937:9;:26::i;34095:3015:10:-;34174:27;34204;34223:7;34204:18;:27::i;:::-;34174:57;-1:-1:-1;34174:57:10;34242:12;;34362:35;34389:7;18927:27;19036:24;;;:15;:24;;;;;19260:26;;19036:24;;18828:474;34362:35;34305:92;;;;34412:13;34408:312;;;34531:68;34556:15;34573:4;39523:10;34579:19;39437:103;34531:68;34526:183;;34622:43;34639:4;39523:10;17282:162;:::i;34622:43::-;34617:92;;34674:35;;-1:-1:-1;;;34674:35:10;;;;;;;;;;;34617:92;34870:15;34867:157;;;35008:1;34987:19;34980:30;34867:157;-1:-1:-1;;;;;35613:24:10;;;;;;:18;:24;;;;;:60;;35641:32;35613:60;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:10;35904:26;;;;:17;:26;;;;;:202;;;;-1:-1:-1;;;36223:47:10;;:52;;36219:617;;36327:1;36317:11;;36295:19;36448:30;;;:17;:30;;;;;;:35;;36444:378;;36584:13;;36569:11;:28;36565:239;;36729:30;;;;:17;:30;;;;;:52;;;36565:239;36277:559;36219:617;36861:35;;36888:7;;36884:1;;-1:-1:-1;;;;;36861:35:10;;;-1:-1:-1;;;;;;;;;;;36861:35:10;36884:1;;36861:35;-1:-1:-1;;37079:12:10;:14;;;;;;-1:-1:-1;;;;34095:3015:10:o;25948:697::-;26126:88;;-1:-1:-1;;;26126:88:10;;26106:4;;-1:-1:-1;;;;;26126:45:10;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:10;;;;;;;;-1:-1:-1;;26126:88:10;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;-1:-1:-1;;;26449:40:10;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:10;-1:-1:-1;;;26282:64:10;;-1:-1:-1;26122:517:10;25948:697;;;;;;:::o;39637:1708::-;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:10;;;-1:-1:-1;;41250:14:10;;;41310:19;;;41250:14;39637:1708;-1:-1:-1;39637:1708:10:o;32675:669::-;32801:19;32807:2;32811:8;32801:5;:19::i;:::-;-1:-1:-1;;;;;32859:14:10;;;: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:10;;;;;;;;;;;33016:165;33215:3;33207:5;:11;32991:229;;33300:3;33283:13;;:20;33279:34;;33305:8;;;33279:34;32880:448;;32675:669;;;:::o;27091:2902::-;27163:20;27186:13;;;27213;;;27209:44;;27235:18;;-1:-1:-1;;;27235:18:10;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:10;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:10;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;-1:-1:-1;;;;;;;;;;;27728:22:10;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;-1:-1:-1;;;;;;;;;;;29731:1:10;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:10;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:10;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:180:12;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:12;;14:180;-1:-1:-1;14:180:12:o;199:131::-;-1:-1:-1;;;;;;273:32:12;;263:43;;253:71;;320:1;317;310:12;335:245;393:6;446:2;434:9;425:7;421:23;417:32;414:52;;;462:1;459;452:12;414:52;501:9;488:23;520:30;544:5;520:30;:::i;777:173::-;845:20;;-1:-1:-1;;;;;894:31:12;;884:42;;874:70;;940:1;937;930:12;874:70;777:173;;;:::o;955:366::-;1022:6;1030;1083:2;1071:9;1062:7;1058:23;1054:32;1051:52;;;1099:1;1096;1089:12;1051:52;1122:29;1141:9;1122:29;:::i;:::-;1112:39;;1201:2;1190:9;1186:18;1173:32;-1:-1:-1;;;;;1238:5:12;1234:38;1227:5;1224:49;1214:77;;1287:1;1284;1277:12;1214:77;1310:5;1300:15;;;955:366;;;;;:::o;1508:258::-;1580:1;1590:113;1604:6;1601:1;1598:13;1590:113;;;1680:11;;;1674:18;1661:11;;;1654:39;1626:2;1619:10;1590:113;;;1721:6;1718:1;1715:13;1712:48;;;-1:-1:-1;;1756:1:12;1738:16;;1731:27;1508:258::o;1771:::-;1813:3;1851:5;1845:12;1878:6;1873:3;1866:19;1894:63;1950:6;1943:4;1938:3;1934:14;1927:4;1920:5;1916:16;1894:63;:::i;:::-;2011:2;1990:15;-1:-1:-1;;1986:29:12;1977:39;;;;2018:4;1973:50;;1771:258;-1:-1:-1;;1771:258:12:o;2034:220::-;2183:2;2172:9;2165:21;2146:4;2203:45;2244:2;2233:9;2229:18;2221:6;2203:45;:::i;2467:254::-;2535:6;2543;2596:2;2584:9;2575:7;2571:23;2567:32;2564:52;;;2612:1;2609;2602:12;2564:52;2635:29;2654:9;2635:29;:::i;:::-;2625:39;2711:2;2696:18;;;;2683:32;;-1:-1:-1;;;2467:254:12:o;2726:108::-;2808:1;2801:5;2798:12;2788:40;;2824:1;2821;2814:12;2839:335;2920:6;2928;2981:2;2969:9;2960:7;2956:23;2952:32;2949:52;;;2997:1;2994;2987:12;2949:52;3033:9;3020:23;3010:33;;3093:2;3082:9;3078:18;3065:32;3106:38;3138:5;3106:38;:::i;3179:328::-;3256:6;3264;3272;3325:2;3313:9;3304:7;3300:23;3296:32;3293:52;;;3341:1;3338;3331:12;3293:52;3364:29;3383:9;3364:29;:::i;:::-;3354:39;;3412:38;3446:2;3435:9;3431:18;3412:38;:::i;:::-;3402:48;;3497:2;3486:9;3482:18;3469:32;3459:42;;3179:328;;;;;:::o;3512:254::-;3580:6;3588;3641:2;3629:9;3620:7;3616:23;3612:32;3609:52;;;3657:1;3654;3647:12;3609:52;3693:9;3680:23;3670:33;;3722:38;3756:2;3745:9;3741:18;3722:38;:::i;:::-;3712:48;;3512:254;;;;;:::o;3771:632::-;3942:2;3994:21;;;4064:13;;3967:18;;;4086:22;;;3913:4;;3942:2;4165:15;;;;4139:2;4124:18;;;3913:4;4208:169;4222:6;4219:1;4216:13;4208:169;;;4283:13;;4271:26;;4352:15;;;;4317:12;;;;4244:1;4237:9;4208:169;;;-1:-1:-1;4394:3:12;;3771:632;-1:-1:-1;;;;;;3771:632:12:o;4408:127::-;4469:10;4464:3;4460:20;4457:1;4450:31;4500:4;4497:1;4490:15;4524:4;4521:1;4514:15;4540:211;4622:1;4615:5;4612:12;4602:143;;4667:10;4662:3;4658:20;4655:1;4648:31;4702:4;4699:1;4692:15;4730:4;4727:1;4720:15;4756:236;4901:2;4886:18;;4913:39;4945:6;4913:39;:::i;:::-;4961:25;;;4756:236;:::o;4997:248::-;5065:6;5073;5126:2;5114:9;5105:7;5101:23;5097:32;5094:52;;;5142:1;5139;5132:12;5094:52;-1:-1:-1;;5165:23:12;;;5235:2;5220:18;;;5207:32;;-1:-1:-1;4997:248:12:o;5529:186::-;5588:6;5641:2;5629:9;5620:7;5616:23;5612:32;5609:52;;;5657:1;5654;5647:12;5609:52;5680:29;5699:9;5680:29;:::i;5720:581::-;6001:25;;;6057:2;6042:18;;6035:34;;;6100:2;6085:18;;6078:34;;;5988:3;5973:19;;6121:39;6153:6;6121:39;:::i;:::-;6196:6;6191:2;6180:9;6176:18;6169:34;6212:39;6244:6;6212:39;:::i;:::-;6288:6;6282:3;6271:9;6267:19;6260:35;5720:581;;;;;;;;:::o;6306:316::-;6383:6;6391;6399;6452:2;6440:9;6431:7;6427:23;6423:32;6420:52;;;6468:1;6465;6458:12;6420:52;-1:-1:-1;;6491:23:12;;;6561:2;6546:18;;6533:32;;-1:-1:-1;6612:2:12;6597:18;;;6584:32;;6306:316;-1:-1:-1;6306:316:12:o;6627:127::-;6688:10;6683:3;6679:20;6676:1;6669:31;6719:4;6716:1;6709:15;6743:4;6740:1;6733:15;6759:632;6824:5;6854:18;6895:2;6887:6;6884:14;6881:40;;;6901:18;;:::i;:::-;6976:2;6970:9;6944:2;7030:15;;-1:-1:-1;;7026:24:12;;;7052:2;7022:33;7018:42;7006:55;;;7076:18;;;7096:22;;;7073:46;7070:72;;;7122:18;;:::i;:::-;7162:10;7158:2;7151:22;7191:6;7182:15;;7221:6;7213;7206:22;7261:3;7252:6;7247:3;7243:16;7240:25;7237:45;;;7278:1;7275;7268:12;7237:45;7328:6;7323:3;7316:4;7308:6;7304:17;7291:44;7383:1;7376:4;7367:6;7359;7355:19;7351:30;7344:41;;;;6759:632;;;;;:::o;7396:451::-;7465:6;7518:2;7506:9;7497:7;7493:23;7489:32;7486:52;;;7534:1;7531;7524:12;7486:52;7574:9;7561:23;7607:18;7599:6;7596:30;7593:50;;;7639:1;7636;7629:12;7593:50;7662:22;;7715:4;7707:13;;7703:27;-1:-1:-1;7693:55:12;;7744:1;7741;7734:12;7693:55;7767:74;7833:7;7828:2;7815:16;7810:2;7806;7802:11;7767:74;:::i;7852:269::-;7909:6;7962:2;7950:9;7941:7;7937:23;7933:32;7930:52;;;7978:1;7975;7968:12;7930:52;8017:9;8004:23;8067:4;8060:5;8056:16;8049:5;8046:27;8036:55;;8087:1;8084;8077:12;8367:366;8429:8;8439:6;8493:3;8486:4;8478:6;8474:17;8470:27;8460:55;;8511:1;8508;8501:12;8460:55;-1:-1:-1;8534:20:12;;8577:18;8566:30;;8563:50;;;8609:1;8606;8599:12;8563:50;8646:4;8638:6;8634:17;8622:29;;8706:3;8699:4;8689:6;8686:1;8682:14;8674:6;8670:27;8666:38;8663:47;8660:67;;;8723:1;8720;8713:12;8738:770;8859:6;8867;8875;8883;8936:2;8924:9;8915:7;8911:23;8907:32;8904:52;;;8952:1;8949;8942:12;8904:52;8992:9;8979:23;9021:18;9062:2;9054:6;9051:14;9048:34;;;9078:1;9075;9068:12;9048:34;9117:69;9178:7;9169:6;9158:9;9154:22;9117:69;:::i;:::-;9205:8;;-1:-1:-1;9091:95:12;-1:-1:-1;9293:2:12;9278:18;;9265:32;;-1:-1:-1;9309:16:12;;;9306:36;;;9338:1;9335;9328:12;9306:36;;9377:71;9440:7;9429:8;9418:9;9414:24;9377:71;:::i;:::-;8738:770;;;;-1:-1:-1;9467:8:12;-1:-1:-1;;;;8738:770:12:o;9513:347::-;9578:6;9586;9639:2;9627:9;9618:7;9614:23;9610:32;9607:52;;;9655:1;9652;9645:12;9607:52;9678:29;9697:9;9678:29;:::i;:::-;9668:39;;9757:2;9746:9;9742:18;9729:32;9804:5;9797:13;9790:21;9783:5;9780:32;9770:60;;9826:1;9823;9816:12;9865:504;9960:6;9968;9976;10029:2;10017:9;10008:7;10004:23;10000:32;9997:52;;;10045:1;10042;10035:12;9997:52;10085:9;10072:23;10118:18;10110:6;10107:30;10104:50;;;10150:1;10147;10140:12;10104:50;10189:69;10250:7;10241:6;10230:9;10226:22;10189:69;:::i;:::-;10277:8;;10163:95;;-1:-1:-1;10359:2:12;10344:18;;;;10331:32;;9865:504;-1:-1:-1;;;;9865:504:12:o;10714:667::-;10809:6;10817;10825;10833;10886:3;10874:9;10865:7;10861:23;10857:33;10854:53;;;10903:1;10900;10893:12;10854:53;10926:29;10945:9;10926:29;:::i;:::-;10916:39;;10974:38;11008:2;10997:9;10993:18;10974:38;:::i;:::-;10964:48;;11059:2;11048:9;11044:18;11031:32;11021:42;;11114:2;11103:9;11099:18;11086:32;11141:18;11133:6;11130:30;11127:50;;;11173:1;11170;11163:12;11127:50;11196:22;;11249:4;11241:13;;11237:27;-1:-1:-1;11227:55:12;;11278:1;11275;11268:12;11227:55;11301:74;11367:7;11362:2;11349:16;11344:2;11340;11336:11;11301:74;:::i;:::-;11291:84;;;10714:667;;;;;;;:::o;11386:260::-;11454:6;11462;11515:2;11503:9;11494:7;11490:23;11486:32;11483:52;;;11531:1;11528;11521:12;11483:52;11554:29;11573:9;11554:29;:::i;:::-;11544:39;;11602:38;11636:2;11625:9;11621:18;11602:38;:::i;11651:380::-;11730:1;11726:12;;;;11773;;;11794:61;;11848:4;11840:6;11836:17;11826:27;;11794:61;11901:2;11893:6;11890:14;11870:18;11867:38;11864:161;;11947:10;11942:3;11938:20;11935:1;11928:31;11982:4;11979:1;11972:15;12010:4;12007:1;12000:15;11864:161;;11651:380;;;:::o;12036:127::-;12097:10;12092:3;12088:20;12085:1;12078:31;12128:4;12125:1;12118:15;12152:4;12149:1;12142:15;12168:168;12208:7;12274:1;12270;12266:6;12262:14;12259:1;12256:21;12251:1;12244:9;12237:17;12233:45;12230:71;;;12281:18;;:::i;:::-;-1:-1:-1;12321:9:12;;12168:168::o;12341:127::-;12402:10;12397:3;12393:20;12390:1;12383:31;12433:4;12430:1;12423:15;12457:4;12454:1;12447:15;12473:120;12513:1;12539;12529:35;;12544:18;;:::i;:::-;-1:-1:-1;12578:9:12;;12473:120::o;12598:127::-;12659:10;12654:3;12650:20;12647:1;12640:31;12690:4;12687:1;12680:15;12714:4;12711:1;12704:15;12730:135;12769:3;12790:17;;;12787:43;;12810:18;;:::i;:::-;-1:-1:-1;12857:1:12;12846:13;;12730:135::o;12870:284::-;12928:6;12981:2;12969:9;12960:7;12956:23;12952:32;12949:52;;;12997:1;12994;12987:12;12949:52;13036:9;13023:23;13086:18;13079:5;13075:30;13068:5;13065:41;13055:69;;13120:1;13117;13110:12;13159:125;13199:4;13227:1;13224;13221:8;13218:34;;;13232:18;;:::i;:::-;-1:-1:-1;13269:9:12;;13159:125::o;13289:128::-;13329:3;13360:1;13356:6;13353:1;13350:13;13347:39;;;13366:18;;:::i;:::-;-1:-1:-1;13402:9:12;;13289:128::o;13422:184::-;13492:6;13545:2;13533:9;13524:7;13520:23;13516:32;13513:52;;;13561:1;13558;13551:12;13513:52;-1:-1:-1;13584:16:12;;13422:184;-1:-1:-1;13422:184:12:o;13611:112::-;13643:1;13669;13659:35;;13674:18;;:::i;:::-;-1:-1:-1;13708:9:12;;13611:112::o;13728:656::-;-1:-1:-1;;;;;13973:32:12;;13955:51;;14042:2;14037;14022:18;;14015:30;;;14061:18;;14054:34;;;-1:-1:-1;;;;;;14100:31:12;;14097:51;;;14144:1;14141;14134:12;14097:51;14178:6;14175:1;14171:14;14236:6;14228;14222:3;14211:9;14207:19;14194:49;14314:1;14266:22;;;14290:3;14262:32;14303:13;;;14366:2;14351:18;;;14344:34;;;;14262:32;13728:656;-1:-1:-1;;;;13728:656:12:o;14389:470::-;14568:3;14606:6;14600:13;14622:53;14668:6;14663:3;14656:4;14648:6;14644:17;14622:53;:::i;:::-;14738:13;;14697:16;;;;14760:57;14738:13;14697:16;14794:4;14782:17;;14760:57;:::i;:::-;14833:20;;14389:470;-1:-1:-1;;;;14389:470:12:o;16607:489::-;-1:-1:-1;;;;;16876:15:12;;;16858:34;;16928:15;;16923:2;16908:18;;16901:43;16975:2;16960:18;;16953:34;;;17023:3;17018:2;17003:18;;16996:31;;;16801:4;;17044:46;;17070:19;;17062:6;17044:46;:::i;:::-;17036:54;16607:489;-1:-1:-1;;;;;;16607:489:12:o;17101:249::-;17170:6;17223:2;17211:9;17202:7;17198:23;17194:32;17191:52;;;17239:1;17236;17229:12;17191:52;17271:9;17265:16;17290:30;17314:5;17290:30;:::i
Swarm Source
ipfs://5c5792243192af5aa721bebd77195ee45f04563b3456c4a576fc789ee92d904a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.