ERC-721
Overview
Max Total Supply
158 bob
Holders
33
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BoxenNft
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./ERC721A.sol"; contract BoxenNft is ERC721A, Ownable { constructor() ERC721A("Box of boxen", "bob") {} string private _uri; address public constant boxenToken = 0xc05d8c246e441Ed41d3cF6Bd48f0607946F8Ba27; uint public constant maxSupply = 7777; uint public constant maxLegendaryMint = 500; bool public saleStatus = false; uint public price = 77 * 10**14; uint public maxPerTx = 5; uint public maxPerWallet = 5; uint public legendaryBoxenPrice = 770000 * 10**18; uint public ratio = 30000000; uint public legendaryMintCount = 0; bool private isLegendaryMint = false; enum NFT_TYPE { BOX_LEGENDARY, BOX_RARE, BOX_UNNORMOL, KEY_LULU } // --------------------------------------------------------------------------------------------- // MAPPINGS // --------------------------------------------------------------------------------------------- mapping(address => uint) public feeMinted; mapping(uint256 => NFT_TYPE) public tokenType; // --------------------------------------------------------------------------------------------- // OWNER SETTERS // --------------------------------------------------------------------------------------------- function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } function withdrawBoxen() external onlyOwner { uint256 balance = IERC20(boxenToken).balanceOf(address(this)); IERC20(boxenToken).transfer(msg.sender, balance); } function setSaleStatus() external onlyOwner { saleStatus = !saleStatus; } function setPrice(uint amount) external onlyOwner { price = amount; } function setLegendaryBoxenPrice(uint amount) external onlyOwner { legendaryBoxenPrice = amount; } function setMaxPerTx(uint amount) external onlyOwner { maxPerTx = amount; } function setMaxPerWallet(uint amount) external onlyOwner { maxPerWallet = amount; } function setBaseURI(string calldata uri_) external onlyOwner { _uri = uri_; } function setRatio(uint _ratio) external onlyOwner { ratio = _ratio; } function _baseURI() internal view override returns (string memory) { return _uri; } function _getType(uint256 tokenId) internal view returns (NFT_TYPE nftType) { bytes32 dataHash = keccak256( abi.encode( tokenId, block.timestamp, block.coinbase, msg.sender ) ); uint8 rv = uint8(bytes1(dataHash)); if (rv < 13) { return NFT_TYPE.BOX_LEGENDARY; } else if (rv < 58) { return NFT_TYPE.BOX_RARE; } else if (rv < 119) { return NFT_TYPE.BOX_UNNORMOL; } else { return NFT_TYPE.KEY_LULU; } } function _afterTokenTransfers( address from, address, uint256 startTokenId, uint256 quantity ) internal override { if (from != address(0)) { return; } uint256 offset = 0; do { uint256 currentTokenId = startTokenId + offset++; if (isLegendaryMint) { tokenType[currentTokenId] = NFT_TYPE.BOX_LEGENDARY; } else { tokenType[currentTokenId] = _getType(currentTokenId); } } while (offset < quantity); } function devMint(uint256 amount) external onlyOwner { require(amount > 0, "AMOUNT_ERROR!"); require((_totalMinted() + amount) <= maxSupply, "NOT_ENOUGH_TOKENS"); _safeMint(msg.sender, amount); } function getPayBoxenAmount(uint256 mintAmount, uint256 ethValue) public view returns (uint256 amount) { uint expectPayAmount = mintAmount * price; if (ethValue >= expectPayAmount) { return 0; } return (expectPayAmount - ethValue) * ratio; } function getPayEthAmount(uint256 mintAmount, uint256 boxenValue) public view returns (uint256 payEthAmount, uint256 boxenRemainder) { uint expectPayAmount = mintAmount * price; uint boxenToEthAmount = boxenValue / ratio; boxenRemainder = boxenValue % ratio; if (boxenToEthAmount >= expectPayAmount) { payEthAmount = 0; } payEthAmount = expectPayAmount - boxenToEthAmount; } function getCanMintAmount(address addr) public view returns (uint256 amount) { return (maxSupply - _totalMinted()) < (maxPerWallet - feeMinted[addr]) ? (maxSupply - _totalMinted()) : (maxPerWallet - feeMinted[addr]); } function getCanLegendaryMintAmount() public view returns (uint256 amount) { return (maxSupply - _totalMinted()) < (maxLegendaryMint - legendaryMintCount) ? (maxSupply - _totalMinted()) : (maxLegendaryMint - legendaryMintCount); } function mint(uint256 amount) external payable { require(amount > 0, "AMOUNT_ERROR!"); require(saleStatus, "SALE_NOT_ACTIVE!"); require(tx.origin == msg.sender, "NOT_ALLOW_CONTRACT_CALL!"); require((_totalMinted() + amount) <= maxSupply, "NOT_ENOUGH_TOKENS!"); require(amount <= maxPerTx, "EXCEEDS_MAX_PER_TX!"); require(feeMinted[msg.sender] + amount <= maxPerWallet, "EXCEEDS_MAX_PER_WALLET!"); uint expectPayAmount = amount * price; if (expectPayAmount > msg.value) { uint expectPayBoxenAmount = (expectPayAmount - msg.value) * ratio; SafeERC20.safeTransferFrom(IERC20(boxenToken), msg.sender, address(this), expectPayBoxenAmount); } _safeMint(msg.sender, amount); feeMinted[msg.sender] += amount; } function legendaryMint(uint256 amount) external payable { require(amount > 0, "AMOUNT_ERROR!"); require(saleStatus, "SALE_NOT_ACTIVE!"); require((_totalMinted() + amount) <= maxSupply, "NOT_ENOUGH_TOKENS!"); require(legendaryMintCount + amount <= maxLegendaryMint, "NOT_ENOUGH_TOKENS"); legendaryMintCount += amount; require(msg.value >= amount * price, "NOT_ENOUGH_ETH"); SafeERC20.safeTransferFrom(IERC20(boxenToken), msg.sender, address(this), amount * legendaryBoxenPrice); isLegendaryMint = true; _safeMint(msg.sender, amount); isLegendaryMint = false; } function burn(uint256 tokenId) external { _burn(tokenId, true); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); NFT_TYPE currentType = tokenType[tokenId]; string memory currentUri = ""; if (currentType == NFT_TYPE.BOX_LEGENDARY) { currentUri = "BOX_LEGENDARY"; } else if (currentType == NFT_TYPE.BOX_RARE) { currentUri = "BOX_RARE"; } else if (currentType == NFT_TYPE.BOX_UNNORMOL) { currentUri = "BOX_UNNORMOL"; } else { currentUri = "KEY_LULU"; } return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, currentUri)) : ''; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (_addressToUint256(to) == 0) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 offset; do { emit Transfer(address(0), to, startTokenId + offset++); } while (offset < quantity); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); address approvedAddress = _tokenApprovals[tokenId]; bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (_addressToUint256(to) == 0) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { delete _tokenApprovals[tokenId]; } // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); address approvedAddress = _tokenApprovals[tokenId]; if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { delete _tokenApprovals[tokenId]; } // 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] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boxenToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"feeMinted","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":[],"name":"getCanLegendaryMintAmount","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getCanMintAmount","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"},{"internalType":"uint256","name":"ethValue","type":"uint256"}],"name":"getPayBoxenAmount","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"},{"internalType":"uint256","name":"boxenValue","type":"uint256"}],"name":"getPayEthAmount","outputs":[{"internalType":"uint256","name":"payEthAmount","type":"uint256"},{"internalType":"uint256","name":"boxenRemainder","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":"legendaryBoxenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"legendaryMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"legendaryMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLegendaryMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ratio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setLegendaryBoxenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ratio","type":"uint256"}],"name":"setRatio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenType","outputs":[{"internalType":"enum BoxenNft.NFT_TYPE","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawBoxen","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805460ff19908116909155661b5b1bf4c54000600b556005600c819055600d5569a30dc89cad279d400000600e556301c9c380600f5560006010556011805490911690553480156200005757600080fd5b50604080518082018252600c81526b2137bc1037b3103137bc32b760a11b6020808301918252835180850190945260038452623137b160e91b908401528151919291620000a79160029162000127565b508051620000bd90600390602084019062000127565b50506000805550620000cf33620000d5565b6200020a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013590620001cd565b90600052602060002090601f016020900481019282620001595760008555620001a4565b82601f106200017457805160ff1916838001178555620001a4565b82800160010185558215620001a4579182015b82811115620001a457825182559160200191906001019062000187565b50620001b2929150620001b6565b5090565b5b80821115620001b25760008155600101620001b7565b600181811c90821680620001e257607f821691505b602082108114156200020457634e487b7160e01b600052602260045260246000fd5b50919050565b612730806200021a6000396000f3fe60806040526004361061027d5760003560e01c806391b7f5ed1161014f578063bde79e9c116100c1578063e268e4d31161007a578063e268e4d31461073c578063e6c3b1f61461075c578063e985e9c514610799578063f2fde38b146107e2578063f9020e3314610802578063f968adbe1461081c57600080fd5b8063bde79e9c1461066f578063c4037ff514610684578063c6f6f216146106b9578063c87b56dd146106d9578063d01568aa146106f9578063d5abeb011461072657600080fd5b8063a31815a011610113578063a31815a0146105c3578063a57125e2146105d9578063b0256e83146105ef578063b2237ba31461060f578063b5a81d331461062f578063b88d4fde1461064f57600080fd5b806391b7f5ed1461054557806395d89b4114610565578063a035b1fe1461057a578063a0712d6814610590578063a22cb465146105a357600080fd5b806342966c68116101f35780636352211e116101ac5780636352211e146104a95780636c9b2bb6146104c957806370a08231146104dc578063715018a6146104fc57806371ca337d146105115780638da5cb5b1461052757600080fd5b806342966c68146103f6578063453c231014610416578063489e90f91461042c578063500088191461044c578063502b33af1461047457806355f804b31461048957600080fd5b806323b872dd1161024557806323b872dd146103565780632e01be6f14610376578063375a069a1461038b5780633bf413ae146103ab5780633ccfd60b146103c157806342842e0e146103d657600080fd5b806301ffc9a71461028257806306fdde03146102b7578063081812fc146102d9578063095ea7b31461031157806318160ddd14610333575b600080fd5b34801561028e57600080fd5b506102a261029d366004612151565b610832565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc610884565b6040516102ae91906121c6565b3480156102e557600080fd5b506102f96102f43660046121d9565b610916565b6040516001600160a01b0390911681526020016102ae565b34801561031d57600080fd5b5061033161032c36600461220e565b61095a565b005b34801561033f57600080fd5b50600154600054035b6040519081526020016102ae565b34801561036257600080fd5b50610331610371366004612238565b6109fa565b34801561038257600080fd5b50610331610a0a565b34801561039757600080fd5b506103316103a63660046121d9565b610b36565b3480156103b757600080fd5b506103486101f481565b3480156103cd57600080fd5b50610331610be6565b3480156103e257600080fd5b506103316103f1366004612238565b610c3c565b34801561040257600080fd5b506103316104113660046121d9565b610c57565b34801561042257600080fd5b50610348600d5481565b34801561043857600080fd5b506103316104473660046121d9565b610c62565b34801561045857600080fd5b506102f973c05d8c246e441ed41d3cf6bd48f0607946f8ba2781565b34801561048057600080fd5b50610331610c91565b34801561049557600080fd5b506103316104a4366004612274565b610ccf565b3480156104b557600080fd5b506102f96104c43660046121d9565b610d05565b6103316104d73660046121d9565b610d10565b3480156104e857600080fd5b506103486104f73660046122e6565b610ed7565b34801561050857600080fd5b50610331610f1d565b34801561051d57600080fd5b50610348600f5481565b34801561053357600080fd5b506008546001600160a01b03166102f9565b34801561055157600080fd5b506103316105603660046121d9565b610f53565b34801561057157600080fd5b506102cc610f82565b34801561058657600080fd5b50610348600b5481565b61033161059e3660046121d9565b610f91565b3480156105af57600080fd5b506103316105be36600461230f565b6111dd565b3480156105cf57600080fd5b50610348600e5481565b3480156105e557600080fd5b5061034860105481565b3480156105fb57600080fd5b5061034861060a366004612346565b611273565b34801561061b57600080fd5b5061033161062a3660046121d9565b6112b6565b34801561063b57600080fd5b5061034861064a3660046122e6565b6112e5565b34801561065b57600080fd5b5061033161066a36600461237e565b611359565b34801561067b57600080fd5b506103486113a3565b34801561069057600080fd5b506106a461069f366004612346565b6113ec565b604080519283526020830191909152016102ae565b3480156106c557600080fd5b506103316106d43660046121d9565b611444565b3480156106e557600080fd5b506102cc6106f43660046121d9565b611473565b34801561070557600080fd5b506103486107143660046122e6565b60126020526000908152604090205481565b34801561073257600080fd5b50610348611e6181565b34801561074857600080fd5b506103316107573660046121d9565b6115f8565b34801561076857600080fd5b5061078c6107773660046121d9565b60136020526000908152604090205460ff1681565b6040516102ae9190612470565b3480156107a557600080fd5b506102a26107b4366004612498565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107ee57600080fd5b506103316107fd3660046122e6565b611627565b34801561080e57600080fd5b50600a546102a29060ff1681565b34801561082857600080fd5b50610348600c5481565b60006301ffc9a760e01b6001600160e01b03198316148061086357506380ac58cd60e01b6001600160e01b03198316145b8061087e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610893906124cb565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf906124cb565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b5050505050905090565b6000610921826116bf565b61093e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610965826116e6565b9050336001600160a01b0382161461099e5761098181336107b4565b61099e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a0583838361174e565b505050565b6008546001600160a01b03163314610a3d5760405162461bcd60e51b8152600401610a3490612506565b60405180910390fd5b6040516370a0823160e01b815230600482015260009073c05d8c246e441ed41d3cf6bd48f0607946f8ba27906370a0823190602401602060405180830381865afa158015610a8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab3919061253b565b60405163a9059cbb60e01b81523360048201526024810182905290915073c05d8c246e441ed41d3cf6bd48f0607946f8ba279063a9059cbb906044016020604051808303816000875af1158015610b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b329190612554565b5050565b6008546001600160a01b03163314610b605760405162461bcd60e51b8152600401610a3490612506565b60008111610b805760405162461bcd60e51b8152600401610a3490612571565b611e6181610b8d60005490565b610b9791906125ae565b1115610bd95760405162461bcd60e51b81526020600482015260116024820152704e4f545f454e4f5547485f544f4b454e5360781b6044820152606401610a34565b610be3338261190b565b50565b6008546001600160a01b03163314610c105760405162461bcd60e51b8152600401610a3490612506565b60405133904780156108fc02916000818181858888f19350505050158015610be3573d6000803e3d6000fd5b610a0583838360405180602001604052806000815250611359565b610be3816001611925565b6008546001600160a01b03163314610c8c5760405162461bcd60e51b8152600401610a3490612506565b600e55565b6008546001600160a01b03163314610cbb5760405162461bcd60e51b8152600401610a3490612506565b600a805460ff19811660ff90911615179055565b6008546001600160a01b03163314610cf95760405162461bcd60e51b8152600401610a3490612506565b610a05600983836120a2565b600061087e826116e6565b60008111610d305760405162461bcd60e51b8152600401610a3490612571565b600a5460ff16610d755760405162461bcd60e51b815260206004820152601060248201526f53414c455f4e4f545f4143544956452160801b6044820152606401610a34565b611e6181610d8260005490565b610d8c91906125ae565b1115610dcf5760405162461bcd60e51b81526020600482015260126024820152714e4f545f454e4f5547485f544f4b454e532160701b6044820152606401610a34565b6101f481601054610de091906125ae565b1115610e225760405162461bcd60e51b81526020600482015260116024820152704e4f545f454e4f5547485f544f4b454e5360781b6044820152606401610a34565b8060106000828254610e3491906125ae565b9091555050600b54610e4690826125c6565b341015610e865760405162461bcd60e51b815260206004820152600e60248201526d09c9ea8be8a9c9eaa8e90be8aa8960931b6044820152606401610a34565b610eb373c05d8c246e441ed41d3cf6bd48f0607946f8ba273330600e5485610eae91906125c6565b611aa6565b6011805460ff19166001179055610eca338261190b565b506011805460ff19169055565b600081610ef7576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610f475760405162461bcd60e51b8152600401610a3490612506565b610f516000611b00565b565b6008546001600160a01b03163314610f7d5760405162461bcd60e51b8152600401610a3490612506565b600b55565b606060038054610893906124cb565b60008111610fb15760405162461bcd60e51b8152600401610a3490612571565b600a5460ff16610ff65760405162461bcd60e51b815260206004820152601060248201526f53414c455f4e4f545f4143544956452160801b6044820152606401610a34565b3233146110455760405162461bcd60e51b815260206004820152601860248201527f4e4f545f414c4c4f575f434f4e54524143545f43414c4c2100000000000000006044820152606401610a34565b611e618161105260005490565b61105c91906125ae565b111561109f5760405162461bcd60e51b81526020600482015260126024820152714e4f545f454e4f5547485f544f4b454e532160701b6044820152606401610a34565b600c548111156110e75760405162461bcd60e51b8152602060048201526013602482015272455843454544535f4d41585f5045525f54582160681b6044820152606401610a34565b600d54336000908152601260205260409020546111059083906125ae565b11156111535760405162461bcd60e51b815260206004820152601760248201527f455843454544535f4d41585f5045525f57414c4c4554210000000000000000006044820152606401610a34565b6000600b548261116391906125c6565b9050348111156111ab57600f5460009061117d34846125e5565b61118791906125c6565b90506111a973c05d8c246e441ed41d3cf6bd48f0607946f8ba27333084611aa6565b505b6111b5338361190b565b33600090815260126020526040812080548492906111d49084906125ae565b90915550505050565b6001600160a01b0382163314156112075760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080600b548461128491906125c6565b905080831061129757600091505061087e565b600f546112a484836125e5565b6112ae91906125c6565b949350505050565b6008546001600160a01b031633146112e05760405162461bcd60e51b8152600401610a3490612506565b600f55565b6001600160a01b038116600090815260126020526040812054600d5461130b91906125e5565b60005461131a90611e616125e5565b1061134a576001600160a01b038216600090815260126020526040902054600d5461134591906125e5565b61087e565b60005461087e90611e616125e5565b61136484848461174e565b6001600160a01b0383163b1561139d5761138084848484611b52565b61139d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60006010546101f46113b591906125e5565b6000546113c490611e616125e5565b106113dd576010546113d8906101f46125e5565b905090565b6000546113d890611e616125e5565b6000806000600b54856113ff91906125c6565b90506000600f54856114119190612612565b9050600f54856114219190612626565b925081811061142f57600093505b61143981836125e5565b935050509250929050565b6008546001600160a01b0316331461146e5760405162461bcd60e51b8152600401610a3490612506565b600c55565b606061147e826116bf565b61149b57604051630a14c4b560e41b815260040160405180910390fd5b60006114a5611c3a565b600084815260136020908152604080832054815192830190915282825292935060ff90921691908260038111156114de576114de61245a565b141561150e575060408051808201909152600d81526c424f585f4c4547454e4441525960981b60208201526115b1565b60018260038111156115225761152261245a565b141561154d5750604080518082019091526008815267424f585f5241524560c01b60208201526115b1565b60028260038111156115615761156161245a565b1415611590575060408051808201909152600c81526b1093d617d5539393d49353d360a21b60208201526115b1565b506040805180820190915260088152674b45595f4c554c5560c01b60208201525b82516115cc57604051806020016040528060008152506115ef565b82816040516020016115df92919061263a565b6040516020818303038152906040525b95945050505050565b6008546001600160a01b031633146116225760405162461bcd60e51b8152600401610a3490612506565b600d55565b6008546001600160a01b031633146116515760405162461bcd60e51b8152600401610a3490612506565b6001600160a01b0381166116b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a34565b610be381611b00565b600080548210801561087e575050600090815260046020526040902054600160e01b161590565b60008160005481101561173557600081815260046020526040902054600160e01b8116611733575b8061172c57506000190160008181526004602052604090205461170e565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000611759826116e6565b9050836001600160a01b0316816001600160a01b03161461178c5760405162a1148160e81b815260040160405180910390fd5b6000828152600660205260408120546001600160a01b03908116919086163314806117bc57506117bc86336107b4565b806117cf57506001600160a01b03821633145b9050806117ef57604051632ce44b5f60e11b815260040160405180910390fd5b8461180d57604051633a954ecd60e21b815260040160405180910390fd5b811561183057600084815260066020526040902080546001600160a01b03191690555b6001600160a01b03868116600090815260056020908152604080832080546000190190559288168252828220805460010190558682526004905220600160e11b4260a01b8717811790915583166118b557600184016000818152600460205260409020546118b35760005481146118b35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46119038686866001611c49565b505050505050565b610b32828260405180602001604052806000815250611ce7565b6000611930836116e6565b60008481526006602052604090205490915081906001600160a01b031683156119a6576000336001600160a01b0384161480611971575061197183336107b4565b8061198457506001600160a01b03821633145b9050806119a457604051632ce44b5f60e11b815260040160405180910390fd5b505b80156119c957600085815260066020526040902080546001600160a01b03191690555b6001600160a01b038216600090815260056020908152604080832080546fffffffffffffffffffffffffffffffff01905587835260049091529020600360e01b4260a01b8417179055600160e11b8316611a515760018501600081815260046020526040902054611a4f576000548114611a4f5760008181526004602052604090208490555b505b60405185906000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4611a97826000876001611c49565b50506001805481019055505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261139d908590611d54565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b87903390899088908890600401612669565b6020604051808303816000875af1925050508015611bc2575060408051601f3d908101601f19168201909252611bbf918101906126a6565b60015b611c1d573d808015611bf0576040519150601f19603f3d011682016040523d82523d6000602084013e611bf5565b606091505b508051611c15576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060098054610893906124cb565b6001600160a01b03841615611c5d5761139d565b60005b600081611c6c816126c3565b9250611c7890856125ae565b60115490915060ff1615611ca1576000818152601360205260409020805460ff19169055611cd8565b611caa81611e26565b6000828152601360205260409020805460ff19166001836003811115611cd257611cd261245a565b02179055505b50818110611c60575050505050565b611cf18383611eaf565b6001600160a01b0383163b15610a05576000548281035b611d1b6000868380600101945086611b52565b611d38576040516368d2bf6b60e11b815260040160405180910390fd5b818110611d08578160005414611d4d57600080fd5b5050505050565b6000611da9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611f8e9092919063ffffffff16565b805190915015610a055780806020019051810190611dc79190612554565b610a055760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a34565b6040805160208082018490524282840152416060830152336080808401919091528351808403909101815260a0909201909252805191012060009060f881901c600d811015611e79575060009392505050565b603a8160ff161015611e8f575060019392505050565b60778160ff161015611ea5575060029392505050565b5060039392505050565b60005482611ecf57604051622e076360e81b815260040160405180910390fd5b81611eed5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526005602090815260408083208054680100000000000000018702019055838352600490915281204260a01b85176001851460e11b1790555b60405160018201918301906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4828110611f3457508082016000908155610a0590848385611c49565b60606112ae8484600085856001600160a01b0385163b611ff05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a34565b600080866001600160a01b0316858760405161200c91906126de565b60006040518083038185875af1925050503d8060008114612049576040519150601f19603f3d011682016040523d82523d6000602084013e61204e565b606091505b509150915061205e828286612069565b979650505050505050565b6060831561207857508161172c565b8251156120885782518084602001fd5b8160405162461bcd60e51b8152600401610a3491906121c6565b8280546120ae906124cb565b90600052602060002090601f0160209004810192826120d05760008555612116565b82601f106120e95782800160ff19823516178555612116565b82800160010185558215612116579182015b828111156121165782358255916020019190600101906120fb565b50612122929150612126565b5090565b5b808211156121225760008155600101612127565b6001600160e01b031981168114610be357600080fd5b60006020828403121561216357600080fd5b813561172c8161213b565b60005b83811015612189578181015183820152602001612171565b8381111561139d5750506000910152565b600081518084526121b281602086016020860161216e565b601f01601f19169290920160200192915050565b60208152600061172c602083018461219a565b6000602082840312156121eb57600080fd5b5035919050565b80356001600160a01b038116811461220957600080fd5b919050565b6000806040838503121561222157600080fd5b61222a836121f2565b946020939093013593505050565b60008060006060848603121561224d57600080fd5b612256846121f2565b9250612264602085016121f2565b9150604084013590509250925092565b6000806020838503121561228757600080fd5b823567ffffffffffffffff8082111561229f57600080fd5b818501915085601f8301126122b357600080fd5b8135818111156122c257600080fd5b8660208285010111156122d457600080fd5b60209290920196919550909350505050565b6000602082840312156122f857600080fd5b61172c826121f2565b8015158114610be357600080fd5b6000806040838503121561232257600080fd5b61232b836121f2565b9150602083013561233b81612301565b809150509250929050565b6000806040838503121561235957600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561239457600080fd5b61239d856121f2565b93506123ab602086016121f2565b925060408501359150606085013567ffffffffffffffff808211156123cf57600080fd5b818701915087601f8301126123e357600080fd5b8135818111156123f5576123f5612368565b604051601f8201601f19908116603f0116810190838211818310171561241d5761241d612368565b816040528281528a602084870101111561243657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016004831061249257634e487b7160e01b600052602160045260246000fd5b91905290565b600080604083850312156124ab57600080fd5b6124b4836121f2565b91506124c2602084016121f2565b90509250929050565b600181811c908216806124df57607f821691505b6020821081141561250057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561254d57600080fd5b5051919050565b60006020828403121561256657600080fd5b815161172c81612301565b6020808252600d908201526c414d4f554e545f4552524f522160981b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156125c1576125c1612598565b500190565b60008160001904831182151516156125e0576125e0612598565b500290565b6000828210156125f7576125f7612598565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612621576126216125fc565b500490565b600082612635576126356125fc565b500690565b6000835161264c81846020880161216e565b83519083019061266081836020880161216e565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061269c9083018461219a565b9695505050505050565b6000602082840312156126b857600080fd5b815161172c8161213b565b60006000198214156126d7576126d7612598565b5060010190565b600082516126f081846020870161216e565b919091019291505056fea26469706673582212206583fea1f06d02813b8270dc96afb1cc0bac49ece181886fe9f8f5d4d5e848c564736f6c634300080a0033
Deployed Bytecode
0x60806040526004361061027d5760003560e01c806391b7f5ed1161014f578063bde79e9c116100c1578063e268e4d31161007a578063e268e4d31461073c578063e6c3b1f61461075c578063e985e9c514610799578063f2fde38b146107e2578063f9020e3314610802578063f968adbe1461081c57600080fd5b8063bde79e9c1461066f578063c4037ff514610684578063c6f6f216146106b9578063c87b56dd146106d9578063d01568aa146106f9578063d5abeb011461072657600080fd5b8063a31815a011610113578063a31815a0146105c3578063a57125e2146105d9578063b0256e83146105ef578063b2237ba31461060f578063b5a81d331461062f578063b88d4fde1461064f57600080fd5b806391b7f5ed1461054557806395d89b4114610565578063a035b1fe1461057a578063a0712d6814610590578063a22cb465146105a357600080fd5b806342966c68116101f35780636352211e116101ac5780636352211e146104a95780636c9b2bb6146104c957806370a08231146104dc578063715018a6146104fc57806371ca337d146105115780638da5cb5b1461052757600080fd5b806342966c68146103f6578063453c231014610416578063489e90f91461042c578063500088191461044c578063502b33af1461047457806355f804b31461048957600080fd5b806323b872dd1161024557806323b872dd146103565780632e01be6f14610376578063375a069a1461038b5780633bf413ae146103ab5780633ccfd60b146103c157806342842e0e146103d657600080fd5b806301ffc9a71461028257806306fdde03146102b7578063081812fc146102d9578063095ea7b31461031157806318160ddd14610333575b600080fd5b34801561028e57600080fd5b506102a261029d366004612151565b610832565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc610884565b6040516102ae91906121c6565b3480156102e557600080fd5b506102f96102f43660046121d9565b610916565b6040516001600160a01b0390911681526020016102ae565b34801561031d57600080fd5b5061033161032c36600461220e565b61095a565b005b34801561033f57600080fd5b50600154600054035b6040519081526020016102ae565b34801561036257600080fd5b50610331610371366004612238565b6109fa565b34801561038257600080fd5b50610331610a0a565b34801561039757600080fd5b506103316103a63660046121d9565b610b36565b3480156103b757600080fd5b506103486101f481565b3480156103cd57600080fd5b50610331610be6565b3480156103e257600080fd5b506103316103f1366004612238565b610c3c565b34801561040257600080fd5b506103316104113660046121d9565b610c57565b34801561042257600080fd5b50610348600d5481565b34801561043857600080fd5b506103316104473660046121d9565b610c62565b34801561045857600080fd5b506102f973c05d8c246e441ed41d3cf6bd48f0607946f8ba2781565b34801561048057600080fd5b50610331610c91565b34801561049557600080fd5b506103316104a4366004612274565b610ccf565b3480156104b557600080fd5b506102f96104c43660046121d9565b610d05565b6103316104d73660046121d9565b610d10565b3480156104e857600080fd5b506103486104f73660046122e6565b610ed7565b34801561050857600080fd5b50610331610f1d565b34801561051d57600080fd5b50610348600f5481565b34801561053357600080fd5b506008546001600160a01b03166102f9565b34801561055157600080fd5b506103316105603660046121d9565b610f53565b34801561057157600080fd5b506102cc610f82565b34801561058657600080fd5b50610348600b5481565b61033161059e3660046121d9565b610f91565b3480156105af57600080fd5b506103316105be36600461230f565b6111dd565b3480156105cf57600080fd5b50610348600e5481565b3480156105e557600080fd5b5061034860105481565b3480156105fb57600080fd5b5061034861060a366004612346565b611273565b34801561061b57600080fd5b5061033161062a3660046121d9565b6112b6565b34801561063b57600080fd5b5061034861064a3660046122e6565b6112e5565b34801561065b57600080fd5b5061033161066a36600461237e565b611359565b34801561067b57600080fd5b506103486113a3565b34801561069057600080fd5b506106a461069f366004612346565b6113ec565b604080519283526020830191909152016102ae565b3480156106c557600080fd5b506103316106d43660046121d9565b611444565b3480156106e557600080fd5b506102cc6106f43660046121d9565b611473565b34801561070557600080fd5b506103486107143660046122e6565b60126020526000908152604090205481565b34801561073257600080fd5b50610348611e6181565b34801561074857600080fd5b506103316107573660046121d9565b6115f8565b34801561076857600080fd5b5061078c6107773660046121d9565b60136020526000908152604090205460ff1681565b6040516102ae9190612470565b3480156107a557600080fd5b506102a26107b4366004612498565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107ee57600080fd5b506103316107fd3660046122e6565b611627565b34801561080e57600080fd5b50600a546102a29060ff1681565b34801561082857600080fd5b50610348600c5481565b60006301ffc9a760e01b6001600160e01b03198316148061086357506380ac58cd60e01b6001600160e01b03198316145b8061087e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610893906124cb565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf906124cb565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b5050505050905090565b6000610921826116bf565b61093e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610965826116e6565b9050336001600160a01b0382161461099e5761098181336107b4565b61099e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a0583838361174e565b505050565b6008546001600160a01b03163314610a3d5760405162461bcd60e51b8152600401610a3490612506565b60405180910390fd5b6040516370a0823160e01b815230600482015260009073c05d8c246e441ed41d3cf6bd48f0607946f8ba27906370a0823190602401602060405180830381865afa158015610a8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab3919061253b565b60405163a9059cbb60e01b81523360048201526024810182905290915073c05d8c246e441ed41d3cf6bd48f0607946f8ba279063a9059cbb906044016020604051808303816000875af1158015610b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b329190612554565b5050565b6008546001600160a01b03163314610b605760405162461bcd60e51b8152600401610a3490612506565b60008111610b805760405162461bcd60e51b8152600401610a3490612571565b611e6181610b8d60005490565b610b9791906125ae565b1115610bd95760405162461bcd60e51b81526020600482015260116024820152704e4f545f454e4f5547485f544f4b454e5360781b6044820152606401610a34565b610be3338261190b565b50565b6008546001600160a01b03163314610c105760405162461bcd60e51b8152600401610a3490612506565b60405133904780156108fc02916000818181858888f19350505050158015610be3573d6000803e3d6000fd5b610a0583838360405180602001604052806000815250611359565b610be3816001611925565b6008546001600160a01b03163314610c8c5760405162461bcd60e51b8152600401610a3490612506565b600e55565b6008546001600160a01b03163314610cbb5760405162461bcd60e51b8152600401610a3490612506565b600a805460ff19811660ff90911615179055565b6008546001600160a01b03163314610cf95760405162461bcd60e51b8152600401610a3490612506565b610a05600983836120a2565b600061087e826116e6565b60008111610d305760405162461bcd60e51b8152600401610a3490612571565b600a5460ff16610d755760405162461bcd60e51b815260206004820152601060248201526f53414c455f4e4f545f4143544956452160801b6044820152606401610a34565b611e6181610d8260005490565b610d8c91906125ae565b1115610dcf5760405162461bcd60e51b81526020600482015260126024820152714e4f545f454e4f5547485f544f4b454e532160701b6044820152606401610a34565b6101f481601054610de091906125ae565b1115610e225760405162461bcd60e51b81526020600482015260116024820152704e4f545f454e4f5547485f544f4b454e5360781b6044820152606401610a34565b8060106000828254610e3491906125ae565b9091555050600b54610e4690826125c6565b341015610e865760405162461bcd60e51b815260206004820152600e60248201526d09c9ea8be8a9c9eaa8e90be8aa8960931b6044820152606401610a34565b610eb373c05d8c246e441ed41d3cf6bd48f0607946f8ba273330600e5485610eae91906125c6565b611aa6565b6011805460ff19166001179055610eca338261190b565b506011805460ff19169055565b600081610ef7576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610f475760405162461bcd60e51b8152600401610a3490612506565b610f516000611b00565b565b6008546001600160a01b03163314610f7d5760405162461bcd60e51b8152600401610a3490612506565b600b55565b606060038054610893906124cb565b60008111610fb15760405162461bcd60e51b8152600401610a3490612571565b600a5460ff16610ff65760405162461bcd60e51b815260206004820152601060248201526f53414c455f4e4f545f4143544956452160801b6044820152606401610a34565b3233146110455760405162461bcd60e51b815260206004820152601860248201527f4e4f545f414c4c4f575f434f4e54524143545f43414c4c2100000000000000006044820152606401610a34565b611e618161105260005490565b61105c91906125ae565b111561109f5760405162461bcd60e51b81526020600482015260126024820152714e4f545f454e4f5547485f544f4b454e532160701b6044820152606401610a34565b600c548111156110e75760405162461bcd60e51b8152602060048201526013602482015272455843454544535f4d41585f5045525f54582160681b6044820152606401610a34565b600d54336000908152601260205260409020546111059083906125ae565b11156111535760405162461bcd60e51b815260206004820152601760248201527f455843454544535f4d41585f5045525f57414c4c4554210000000000000000006044820152606401610a34565b6000600b548261116391906125c6565b9050348111156111ab57600f5460009061117d34846125e5565b61118791906125c6565b90506111a973c05d8c246e441ed41d3cf6bd48f0607946f8ba27333084611aa6565b505b6111b5338361190b565b33600090815260126020526040812080548492906111d49084906125ae565b90915550505050565b6001600160a01b0382163314156112075760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080600b548461128491906125c6565b905080831061129757600091505061087e565b600f546112a484836125e5565b6112ae91906125c6565b949350505050565b6008546001600160a01b031633146112e05760405162461bcd60e51b8152600401610a3490612506565b600f55565b6001600160a01b038116600090815260126020526040812054600d5461130b91906125e5565b60005461131a90611e616125e5565b1061134a576001600160a01b038216600090815260126020526040902054600d5461134591906125e5565b61087e565b60005461087e90611e616125e5565b61136484848461174e565b6001600160a01b0383163b1561139d5761138084848484611b52565b61139d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60006010546101f46113b591906125e5565b6000546113c490611e616125e5565b106113dd576010546113d8906101f46125e5565b905090565b6000546113d890611e616125e5565b6000806000600b54856113ff91906125c6565b90506000600f54856114119190612612565b9050600f54856114219190612626565b925081811061142f57600093505b61143981836125e5565b935050509250929050565b6008546001600160a01b0316331461146e5760405162461bcd60e51b8152600401610a3490612506565b600c55565b606061147e826116bf565b61149b57604051630a14c4b560e41b815260040160405180910390fd5b60006114a5611c3a565b600084815260136020908152604080832054815192830190915282825292935060ff90921691908260038111156114de576114de61245a565b141561150e575060408051808201909152600d81526c424f585f4c4547454e4441525960981b60208201526115b1565b60018260038111156115225761152261245a565b141561154d5750604080518082019091526008815267424f585f5241524560c01b60208201526115b1565b60028260038111156115615761156161245a565b1415611590575060408051808201909152600c81526b1093d617d5539393d49353d360a21b60208201526115b1565b506040805180820190915260088152674b45595f4c554c5560c01b60208201525b82516115cc57604051806020016040528060008152506115ef565b82816040516020016115df92919061263a565b6040516020818303038152906040525b95945050505050565b6008546001600160a01b031633146116225760405162461bcd60e51b8152600401610a3490612506565b600d55565b6008546001600160a01b031633146116515760405162461bcd60e51b8152600401610a3490612506565b6001600160a01b0381166116b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a34565b610be381611b00565b600080548210801561087e575050600090815260046020526040902054600160e01b161590565b60008160005481101561173557600081815260046020526040902054600160e01b8116611733575b8061172c57506000190160008181526004602052604090205461170e565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000611759826116e6565b9050836001600160a01b0316816001600160a01b03161461178c5760405162a1148160e81b815260040160405180910390fd5b6000828152600660205260408120546001600160a01b03908116919086163314806117bc57506117bc86336107b4565b806117cf57506001600160a01b03821633145b9050806117ef57604051632ce44b5f60e11b815260040160405180910390fd5b8461180d57604051633a954ecd60e21b815260040160405180910390fd5b811561183057600084815260066020526040902080546001600160a01b03191690555b6001600160a01b03868116600090815260056020908152604080832080546000190190559288168252828220805460010190558682526004905220600160e11b4260a01b8717811790915583166118b557600184016000818152600460205260409020546118b35760005481146118b35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46119038686866001611c49565b505050505050565b610b32828260405180602001604052806000815250611ce7565b6000611930836116e6565b60008481526006602052604090205490915081906001600160a01b031683156119a6576000336001600160a01b0384161480611971575061197183336107b4565b8061198457506001600160a01b03821633145b9050806119a457604051632ce44b5f60e11b815260040160405180910390fd5b505b80156119c957600085815260066020526040902080546001600160a01b03191690555b6001600160a01b038216600090815260056020908152604080832080546fffffffffffffffffffffffffffffffff01905587835260049091529020600360e01b4260a01b8417179055600160e11b8316611a515760018501600081815260046020526040902054611a4f576000548114611a4f5760008181526004602052604090208490555b505b60405185906000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4611a97826000876001611c49565b50506001805481019055505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261139d908590611d54565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b87903390899088908890600401612669565b6020604051808303816000875af1925050508015611bc2575060408051601f3d908101601f19168201909252611bbf918101906126a6565b60015b611c1d573d808015611bf0576040519150601f19603f3d011682016040523d82523d6000602084013e611bf5565b606091505b508051611c15576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060098054610893906124cb565b6001600160a01b03841615611c5d5761139d565b60005b600081611c6c816126c3565b9250611c7890856125ae565b60115490915060ff1615611ca1576000818152601360205260409020805460ff19169055611cd8565b611caa81611e26565b6000828152601360205260409020805460ff19166001836003811115611cd257611cd261245a565b02179055505b50818110611c60575050505050565b611cf18383611eaf565b6001600160a01b0383163b15610a05576000548281035b611d1b6000868380600101945086611b52565b611d38576040516368d2bf6b60e11b815260040160405180910390fd5b818110611d08578160005414611d4d57600080fd5b5050505050565b6000611da9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611f8e9092919063ffffffff16565b805190915015610a055780806020019051810190611dc79190612554565b610a055760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a34565b6040805160208082018490524282840152416060830152336080808401919091528351808403909101815260a0909201909252805191012060009060f881901c600d811015611e79575060009392505050565b603a8160ff161015611e8f575060019392505050565b60778160ff161015611ea5575060029392505050565b5060039392505050565b60005482611ecf57604051622e076360e81b815260040160405180910390fd5b81611eed5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526005602090815260408083208054680100000000000000018702019055838352600490915281204260a01b85176001851460e11b1790555b60405160018201918301906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4828110611f3457508082016000908155610a0590848385611c49565b60606112ae8484600085856001600160a01b0385163b611ff05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a34565b600080866001600160a01b0316858760405161200c91906126de565b60006040518083038185875af1925050503d8060008114612049576040519150601f19603f3d011682016040523d82523d6000602084013e61204e565b606091505b509150915061205e828286612069565b979650505050505050565b6060831561207857508161172c565b8251156120885782518084602001fd5b8160405162461bcd60e51b8152600401610a3491906121c6565b8280546120ae906124cb565b90600052602060002090601f0160209004810192826120d05760008555612116565b82601f106120e95782800160ff19823516178555612116565b82800160010185558215612116579182015b828111156121165782358255916020019190600101906120fb565b50612122929150612126565b5090565b5b808211156121225760008155600101612127565b6001600160e01b031981168114610be357600080fd5b60006020828403121561216357600080fd5b813561172c8161213b565b60005b83811015612189578181015183820152602001612171565b8381111561139d5750506000910152565b600081518084526121b281602086016020860161216e565b601f01601f19169290920160200192915050565b60208152600061172c602083018461219a565b6000602082840312156121eb57600080fd5b5035919050565b80356001600160a01b038116811461220957600080fd5b919050565b6000806040838503121561222157600080fd5b61222a836121f2565b946020939093013593505050565b60008060006060848603121561224d57600080fd5b612256846121f2565b9250612264602085016121f2565b9150604084013590509250925092565b6000806020838503121561228757600080fd5b823567ffffffffffffffff8082111561229f57600080fd5b818501915085601f8301126122b357600080fd5b8135818111156122c257600080fd5b8660208285010111156122d457600080fd5b60209290920196919550909350505050565b6000602082840312156122f857600080fd5b61172c826121f2565b8015158114610be357600080fd5b6000806040838503121561232257600080fd5b61232b836121f2565b9150602083013561233b81612301565b809150509250929050565b6000806040838503121561235957600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561239457600080fd5b61239d856121f2565b93506123ab602086016121f2565b925060408501359150606085013567ffffffffffffffff808211156123cf57600080fd5b818701915087601f8301126123e357600080fd5b8135818111156123f5576123f5612368565b604051601f8201601f19908116603f0116810190838211818310171561241d5761241d612368565b816040528281528a602084870101111561243657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016004831061249257634e487b7160e01b600052602160045260246000fd5b91905290565b600080604083850312156124ab57600080fd5b6124b4836121f2565b91506124c2602084016121f2565b90509250929050565b600181811c908216806124df57607f821691505b6020821081141561250057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561254d57600080fd5b5051919050565b60006020828403121561256657600080fd5b815161172c81612301565b6020808252600d908201526c414d4f554e545f4552524f522160981b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156125c1576125c1612598565b500190565b60008160001904831182151516156125e0576125e0612598565b500290565b6000828210156125f7576125f7612598565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612621576126216125fc565b500490565b600082612635576126356125fc565b500690565b6000835161264c81846020880161216e565b83519083019061266081836020880161216e565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061269c9083018461219a565b9695505050505050565b6000602082840312156126b857600080fd5b815161172c8161213b565b60006000198214156126d7576126d7612598565b5060010190565b600082516126f081846020870161216e565b919091019291505056fea26469706673582212206583fea1f06d02813b8270dc96afb1cc0bac49ece181886fe9f8f5d4d5e848c564736f6c634300080a0033
Deployed Bytecode Sourcemap
259:7300:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4874:607:7;;;;;;;;;;-1:-1:-1;4874:607:7;;;;;:::i;:::-;;:::i;:::-;;;565:14:9;;558:22;540:41;;528:2;513:18;4874:607:7;;;;;;;;9784:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;11731:200::-;;;;;;;;;;-1:-1:-1;11731:200:7;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:9;;;1674:51;;1662:2;1647:18;11731:200:7;1528:203:9;11265:405:7;;;;;;;;;;-1:-1:-1;11265:405:7;;;;;:::i;:::-;;:::i;:::-;;3957:309;;;;;;;;;;-1:-1:-1;4219:12:7;;4010:7;4203:13;:28;3957:309;;;2319:25:9;;;2307:2;2292:18;3957:309:7;2173:177:9;12591:164:7;;;;;;;;;;-1:-1:-1;12591:164:7;;;;;:::i;:::-;;:::i;1640:180:6:-;;;;;;;;;;;;;:::i;3801:222::-;;;;;;;;;;-1:-1:-1;3801:222:6;;;;;:::i;:::-;;:::i;511:43::-;;;;;;;;;;;;551:3;511:43;;1527:107;;;;;;;;;;;;;:::i;12821:179:7:-;;;;;;;;;;-1:-1:-1;12821:179:7;;;;;:::i;:::-;;:::i;6728:77:6:-;;;;;;;;;;-1:-1:-1;6728:77:6;;;;;:::i;:::-;;:::i;663:28::-;;;;;;;;;;;;;;;;2005:109;;;;;;;;;;-1:-1:-1;2005:109:6;;;;;:::i;:::-;;:::i;383:79::-;;;;;;;;;;;;420:42;383:79;;1826:85;;;;;;;;;;;;;:::i;2327:89::-;;;;;;;;;;-1:-1:-1;2327:89:6;;;;;:::i;:::-;;:::i;9580:142:7:-;;;;;;;;;;-1:-1:-1;9580:142:7;;;;;:::i;:::-;;:::i;6079:643:6:-;;;;;;:::i;:::-;;:::i;5540:231:7:-;;;;;;;;;;-1:-1:-1;5540:231:7;;;;;:::i;:::-;;:::i;1668:101:0:-;;;;;;;;;;;;;:::i;753:28:6:-;;;;;;;;;;;;;;;;1036:85:0;;;;;;;;;;-1:-1:-1;1108:6:0;;-1:-1:-1;;;;;1108:6:0;1036:85;;1918:81:6;;;;;;;;;;-1:-1:-1;1918:81:6;;;;;:::i;:::-;;:::i;9946:102:7:-;;;;;;;;;;;;;:::i;596:31:6:-;;;;;;;;;;;;;;;;5255:818;;;;;;:::i;:::-;;:::i;11998:303:7:-;;;;;;;;;;-1:-1:-1;11998:303:7;;;;;:::i;:::-;;:::i;697:49:6:-;;;;;;;;;;;;;;;;787:34;;;;;;;;;;;;;;;;4029:289;;;;;;;;;;-1:-1:-1;4029:289:6;;;;;:::i;:::-;;:::i;2422:81::-;;;;;;;;;;-1:-1:-1;2422:81:6;;;;;:::i;:::-;;:::i;4770:231::-;;;;;;;;;;-1:-1:-1;4770:231:6;;;;;:::i;:::-;;:::i;13066:385:7:-;;;;;;;;;;-1:-1:-1;13066:385:7;;;;;:::i;:::-;;:::i;5007:242:6:-;;;;;;;;;;;;;:::i;4325:439::-;;;;;;;;;;-1:-1:-1;4325:439:6;;;;;:::i;:::-;;:::i;:::-;;;;5621:25:9;;;5677:2;5662:18;;5655:34;;;;5594:18;4325:439:6;5447:248:9;2124:87:6;;;;;;;;;;-1:-1:-1;2124:87:6;;;;;:::i;:::-;;:::i;6811:746::-;;;;;;;;;;-1:-1:-1;6811:746:6;;;;;:::i;:::-;;:::i;1202:41::-;;;;;;;;;;-1:-1:-1;1202:41:6;;;;;:::i;:::-;;;;;;;;;;;;;;468:37;;;;;;;;;;;;501:4;468:37;;2221:95;;;;;;;;;;-1:-1:-1;2221:95:6;;;;;:::i;:::-;;:::i;1251:45::-;;;;;;;;;;-1:-1:-1;1251:45:6;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;12367:162:7:-;;;;;;;;;;-1:-1:-1;12367:162:7;;;;;:::i;:::-;-1:-1:-1;;;;;12487:25:7;;;12464:4;12487:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;12367:162;1918:198:0;;;;;;;;;;-1:-1:-1;1918:198:0;;;;;:::i;:::-;;:::i;560:30:6:-;;;;;;;;;;-1:-1:-1;560:30:6;;;;;;;;633:24;;;;;;;;;;;;;;;;4874:607:7;4959:4;-1:-1:-1;;;;;;;;;5254:25:7;;;;:101;;-1:-1:-1;;;;;;;;;;5330:25:7;;;5254:101;:177;;;-1:-1:-1;;;;;;;;;;5406:25:7;;;5254:177;5235:196;4874:607;-1:-1:-1;;4874:607:7:o;9784:98::-;9838:13;9870:5;9863:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9784:98;:::o;11731:200::-;11799:7;11823:16;11831:7;11823;:16::i;:::-;11818:64;;11848:34;;-1:-1:-1;;;11848:34:7;;;;;;;;;;;11818:64;-1:-1:-1;11900:24:7;;;;:15;:24;;;;;;-1:-1:-1;;;;;11900:24:7;;11731:200::o;11265:405::-;11337:13;11369:27;11388:7;11369:18;:27::i;:::-;11337:61;-1:-1:-1;26127:10:7;-1:-1:-1;;;;;11413:28:7;;;11409:172;;11460:44;11477:5;26127:10;12367:162;:::i;11460:44::-;11455:126;;11531:35;;-1:-1:-1;;;11531:35:7;;;;;;;;;;;11455:126;11591:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;11591:29:7;-1:-1:-1;;;;;11591:29:7;;;;;;;;;11635:28;;11591:24;;11635:28;;;;;;;11327:343;11265:405;;:::o;12591:164::-;12720:28;12730:4;12736:2;12740:7;12720:9;:28::i;:::-;12591:164;;;:::o;1640:180:6:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;;;;;;;;;1712:43:6::1;::::0;-1:-1:-1;;;1712:43:6;;1749:4:::1;1712:43;::::0;::::1;1674:51:9::0;1694:15:6::1;::::0;420:42:::1;::::0;1712:28:::1;::::0;1647:18:9;;1712:43:6::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1765:48;::::0;-1:-1:-1;;;1765:48:6;;1793:10:::1;1765:48;::::0;::::1;7551:51:9::0;7618:18;;;7611:34;;;1694:61:6;;-1:-1:-1;420:42:6::1;::::0;1765:27:::1;::::0;7524:18:9;;1765:48:6::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1684:136;1640:180::o:0;3801:222::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3880:1:6::1;3871:6;:10;3863:36;;;;-1:-1:-1::0;;;3863:36:6::1;;;;;;;:::i;:::-;501:4;3935:6;3918:14;4406:7:7::0;4590:13;;4359:279;3918:14:6::1;:23;;;;:::i;:::-;3917:38;;3909:68;;;::::0;-1:-1:-1;;;3909:68:6;;8715:2:9;3909:68:6::1;::::0;::::1;8697:21:9::0;8754:2;8734:18;;;8727:30;-1:-1:-1;;;8773:18:9;;;8766:47;8830:18;;3909:68:6::1;8513:341:9::0;3909:68:6::1;3987:29;3997:10;4009:6;3987:9;:29::i;:::-;3801:222:::0;:::o;1527:107::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1576:51:6::1;::::0;1584:10:::1;::::0;1605:21:::1;1576:51:::0;::::1;;;::::0;::::1;::::0;;;1605:21;1584:10;1576:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;12821:179:7::0;12954:39;12971:4;12977:2;12981:7;12954:39;;;;;;;;;;;;:16;:39::i;6728:77:6:-;6778:20;6784:7;6793:4;6778:5;:20::i;2005:109::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;2079:19:6::1;:28:::0;2005:109::o;1826:85::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1894:10:6::1;::::0;;-1:-1:-1;;1880:24:6;::::1;1894:10;::::0;;::::1;1893:11;1880:24;::::0;;1826:85::o;2327:89::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;2398:11:6::1;:4;2405::::0;;2398:11:::1;:::i;9580:142:7:-:0;9644:7;9686:27;9705:7;9686:18;:27::i;6079:643:6:-;6162:1;6153:6;:10;6145:36;;;;-1:-1:-1;;;6145:36:6;;;;;;;:::i;:::-;6199:10;;;;6191:39;;;;-1:-1:-1;;;6191:39:6;;9061:2:9;6191:39:6;;;9043:21:9;9100:2;9080:18;;;9073:30;-1:-1:-1;;;9119:18:9;;;9112:46;9175:18;;6191:39:6;8859:340:9;6191:39:6;501:4;6266:6;6249:14;4406:7:7;4590:13;;4359:279;6249:14:6;:23;;;;:::i;:::-;6248:38;;6240:69;;;;-1:-1:-1;;;6240:69:6;;9406:2:9;6240:69:6;;;9388:21:9;9445:2;9425:18;;;9418:30;-1:-1:-1;;;9464:18:9;;;9457:48;9522:18;;6240:69:6;9204:342:9;6240:69:6;551:3;6348:6;6327:18;;:27;;;;:::i;:::-;:47;;6319:77;;;;-1:-1:-1;;;6319:77:6;;8715:2:9;6319:77:6;;;8697:21:9;8754:2;8734:18;;;8727:30;-1:-1:-1;;;8773:18:9;;;8766:47;8830:18;;6319:77:6;8513:341:9;6319:77:6;6428:6;6406:18;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;6474:5:6;;6465:14;;:6;:14;:::i;:::-;6452:9;:27;;6444:54;;;;-1:-1:-1;;;6444:54:6;;9926:2:9;6444:54:6;;;9908:21:9;9965:2;9945:18;;;9938:30;-1:-1:-1;;;9984:18:9;;;9977:44;10038:18;;6444:54:6;9724:338:9;6444:54:6;6508:103;420:42;6555:10;6575:4;6591:19;;6582:6;:28;;;;:::i;:::-;6508:26;:103::i;:::-;6621:15;:22;;-1:-1:-1;;6621:22:6;6639:4;6621:22;;;6653:29;6663:10;6675:6;6653:9;:29::i;:::-;-1:-1:-1;6692:15:6;:23;;-1:-1:-1;;6692:23:6;;;6079:643::o;5540:231:7:-;5604:7;5645:5;5623:70;;5665:28;;-1:-1:-1;;;5665:28:7;;;;;;;;;;;5623:70;-1:-1:-1;;;;;;5710:25:7;;;;;:18;:25;;;;;;1017:13;5710:54;;5540:231::o;1668:101:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;1918:81:6:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1978:5:6::1;:14:::0;1918:81::o;9946:102:7:-;10002:13;10034:7;10027:14;;;;;:::i;5255:818:6:-;5329:1;5320:6;:10;5312:36;;;;-1:-1:-1;;;5312:36:6;;;;;;;:::i;:::-;5366:10;;;;5358:39;;;;-1:-1:-1;;;5358:39:6;;9061:2:9;5358:39:6;;;9043:21:9;9100:2;9080:18;;;9073:30;-1:-1:-1;;;9119:18:9;;;9112:46;9175:18;;5358:39:6;8859:340:9;5358:39:6;5415:9;5428:10;5415:23;5407:60;;;;-1:-1:-1;;;5407:60:6;;10269:2:9;5407:60:6;;;10251:21:9;10308:2;10288:18;;;10281:30;10347:26;10327:18;;;10320:54;10391:18;;5407:60:6;10067:348:9;5407:60:6;501:4;5503:6;5486:14;4406:7:7;4590:13;;4359:279;5486:14:6;:23;;;;:::i;:::-;5485:38;;5477:69;;;;-1:-1:-1;;;5477:69:6;;9406:2:9;5477:69:6;;;9388:21:9;9445:2;9425:18;;;9418:30;-1:-1:-1;;;9464:18:9;;;9457:48;9522:18;;5477:69:6;9204:342:9;5477:69:6;5574:8;;5564:6;:18;;5556:50;;;;-1:-1:-1;;;5556:50:6;;10622:2:9;5556:50:6;;;10604:21:9;10661:2;10641:18;;;10634:30;-1:-1:-1;;;10680:18:9;;;10673:49;10739:18;;5556:50:6;10420:343:9;5556:50:6;5658:12;;5634:10;5624:21;;;;:9;:21;;;;;;:30;;5648:6;;5624:30;:::i;:::-;:46;;5616:82;;;;-1:-1:-1;;;5616:82:6;;10970:2:9;5616:82:6;;;10952:21:9;11009:2;10989:18;;;10982:30;11048:25;11028:18;;;11021:53;11091:18;;5616:82:6;10768:347:9;5616:82:6;5708:20;5740:5;;5731:6;:14;;;;:::i;:::-;5708:37;;5777:9;5759:15;:27;5755:232;;;5862:5;;5802:25;;5831:27;5849:9;5831:15;:27;:::i;:::-;5830:37;;;;:::i;:::-;5802:65;;5881:95;420:42;5928:10;5948:4;5955:20;5881:26;:95::i;:::-;5788:199;5755:232;5996:29;6006:10;6018:6;5996:9;:29::i;:::-;6045:10;6035:21;;;;:9;:21;;;;;:31;;6060:6;;6035:21;:31;;6060:6;;6035:31;:::i;:::-;;;;-1:-1:-1;;;;5255:818:6:o;11998:303:7:-;-1:-1:-1;;;;;12096:31:7;;26127:10;12096:31;12092:61;;;12136:17;;-1:-1:-1;;;12136:17:7;;;;;;;;;;;12092:61;26127:10;12164:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;12164:49:7;;;;;;;;;;;;:60;;-1:-1:-1;;12164:60:7;;;;;;;;;;12239:55;;540:41:9;;;12164:49:7;;26127:10;12239:55;;513:18:9;12239:55:7;;;;;;;11998:303;;:::o;4029:289:6:-;4116:14;4142:20;4178:5;;4165:10;:18;;;;:::i;:::-;4142:41;;4209:15;4197:8;:27;4193:66;;4247:1;4240:8;;;;;4193:66;4306:5;;4276:26;4294:8;4276:15;:26;:::i;:::-;4275:36;;;;:::i;:::-;4268:43;4029:289;-1:-1:-1;;;;4029:289:6:o;2422:81::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;2482:5:6::1;:14:::0;2422:81::o;4770:231::-;-1:-1:-1;;;;;4912:15:6;;4832:14;4912:15;;;:9;:15;;;;;;4897:12;;:30;;4912:15;4897:30;:::i;:::-;4406:7:7;4590:13;4866:26:6;;501:4;4866:26;:::i;:::-;4865:63;:129;;-1:-1:-1;;;;;4978:15:6;;;;;;:9;:15;;;;;;4963:12;;:30;;4978:15;4963:30;:::i;:::-;4865:129;;;4406:7:7;4590:13;4932:26:6;;501:4;4932:26;:::i;13066:385:7:-;13227:28;13237:4;13243:2;13247:7;13227:9;:28::i;:::-;-1:-1:-1;;;;;13269:14:7;;;:19;13265:180;;13307:56;13338:4;13344:2;13348:7;13357:5;13307:30;:56::i;:::-;13302:143;;13390:40;;-1:-1:-1;;;13390:40:7;;;;;;;;;;;13302:143;13066:385;;;;:::o;5007:242:6:-;5066:14;5150:18;;551:3;5131:37;;;;:::i;:::-;4406:7:7;4590:13;5100:26:6;;501:4;5100:26;:::i;:::-;5099:70;:143;;5223:18;;5204:37;;551:3;5204:37;:::i;:::-;5092:150;;5007:242;:::o;5099:143::-;4406:7:7;4590:13;5173:26:6;;501:4;5173:26;:::i;4325:439::-;4412:20;4434:22;4468:20;4504:5;;4491:10;:18;;;;:::i;:::-;4468:41;;4519:21;4556:5;;4543:10;:18;;;;:::i;:::-;4519:42;;4601:5;;4588:10;:18;;;;:::i;:::-;4571:35;;4640:15;4620:16;:35;4616:82;;4686:1;4671:16;;4616:82;4723:34;4741:16;4723:15;:34;:::i;:::-;4707:50;;4458:306;;4325:439;;;;;:::o;2124:87::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;2187:8:6::1;:17:::0;2124:87::o;6811:746::-;6884:13;6914:16;6922:7;6914;:16::i;:::-;6909:59;;6939:29;;-1:-1:-1;;;6939:29:6;;;;;;;;;;;6909:59;6979:21;7003:10;:8;:10::i;:::-;7023:20;7046:18;;;:9;:18;;;;;;;;;7074:29;;;;;;;;;;;6979:34;;-1:-1:-1;7046:18:6;;;;;7074:29;7117:11;:37;;;;;;;;:::i;:::-;;7113:342;;;-1:-1:-1;7170:28:6;;;;;;;;;;;;-1:-1:-1;;;7170:28:6;;;;7113:342;;;7234:17;7219:11;:32;;;;;;;;:::i;:::-;;7215:240;;;-1:-1:-1;7267:23:6;;;;;;;;;;;;-1:-1:-1;;;7267:23:6;;;;7215:240;;;7326:21;7311:11;:36;;;;;;;;:::i;:::-;;7307:148;;;-1:-1:-1;7363:27:6;;;;;;;;;;;;-1:-1:-1;;;7363:27:6;;;;7307:148;;;-1:-1:-1;7421:23:6;;;;;;;;;;;;-1:-1:-1;;;7421:23:6;;;;7307:148;7471:21;;:79;;;;;;;;;;;;;;;;;7524:7;7533:10;7507:37;;;;;;;;;:::i;:::-;;;;;;;;;;;;;7471:79;7464:86;6811:746;-1:-1:-1;;;;;6811:746:6:o;2221:95::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;2288:12:6::1;:21:::0;2221:95::o;1918:198:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;26127:10:7;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:0;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:0;;12301:2:9;1998:73:0::1;::::0;::::1;12283:21:9::0;12340:2;12320:18;;;12313:30;12379:34;12359:18;;;12352:62;-1:-1:-1;;;12430:18:9;;;12423:36;12476:19;;1998:73:0::1;12099:402:9::0;1998:73:0::1;2081:28;2100:8;2081:18;:28::i;13697:268:7:-:0;13754:4;13841:13;;13831:7;:23;13789:150;;;;-1:-1:-1;;13891:26:7;;;;:17;:26;;;;;;-1:-1:-1;;;13891:43:7;:48;;13697:268::o;7157:1105::-;7224:7;7258;7356:13;;7349:4;:20;7345:853;;;7393:14;7410:23;;;:17;:23;;;;;;-1:-1:-1;;;7497:23:7;;7493:687;;8008:111;8015:11;8008:111;;-1:-1:-1;;;8085:6:7;8067:25;;;;:17;:25;;;;;;8008:111;;;8151:6;7157:1105;-1:-1:-1;;;7157:1105:7:o;7493:687::-;7371:827;7345:853;8224:31;;-1:-1:-1;;;8224:31:7;;;;;;;;;;;17258:2595;17368:27;17398;17417:7;17398:18;:27::i;:::-;17368:57;;17481:4;-1:-1:-1;;;;;17440:45:7;17456:19;-1:-1:-1;;;;;17440:45:7;;17436:86;;17494:28;;-1:-1:-1;;;17494:28:7;;;;;;;;;;;17436:86;17533:23;17559:24;;;:15;:24;;;;;;-1:-1:-1;;;;;17559:24:7;;;;17533:23;17620:27;;26127:10;17620:27;;:86;;-1:-1:-1;17663:43:7;17680:4;26127:10;12367:162;:::i;17663:43::-;17620:140;;;-1:-1:-1;;;;;;17722:38:7;;26127:10;17722:38;17620:140;17594:167;;17777:17;17772:66;;17803:35;;-1:-1:-1;;;17803:35:7;;;;;;;;;;;17772:66;17870:2;17848:62;;17887:23;;-1:-1:-1;;;17887:23:7;;;;;;;;;;;17848:62;18049:15;18031:39;18027:101;;18093:24;;;;:15;:24;;;;;18086:31;;-1:-1:-1;;;;;;18086:31:7;;;18027:101;-1:-1:-1;;;;;18488:24:7;;;;;;;:18;:24;;;;;;;;18486:26;;-1:-1:-1;;18486:26:7;;;18556:22;;;;;;;;18554:24;;-1:-1:-1;18554:24:7;;;18842:26;;;:17;:26;;;-1:-1:-1;;;18928:15:7;1656:3;18928:41;18887:83;;:126;;18842:171;;;19130:46;;19126:616;;19233:1;19223:11;;19201:19;19354:30;;;:17;:30;;;;;;19350:378;;19490:13;;19475:11;:28;19471:239;;19635:30;;;;:17;:30;;;;;:52;;;19471:239;19183:559;19126:616;19786:7;19782:2;-1:-1:-1;;;;;19767:27:7;19776:4;-1:-1:-1;;;;;19767:27:7;;;;;;;;;;;19804:42;19825:4;19831:2;19835:7;19844:1;19804:20;:42::i;:::-;17358:2495;;;17258:2595;;;:::o;14044:102::-;14112:27;14122:2;14126:8;14112:27;;;;;;;;;;;;:9;:27::i;20230:2870::-;20309:27;20339;20358:7;20339:18;:27::i;:::-;20377:12;20465:24;;;:15;:24;;;;;;20309:57;;-1:-1:-1;20309:57:7;;-1:-1:-1;;;;;20465:24:7;20500:300;;;;20533:22;26127:10;-1:-1:-1;;;;;20559:27:7;;;;:90;;-1:-1:-1;20606:43:7;20623:4;26127:10;12367:162;:::i;20606:43::-;20559:148;;;-1:-1:-1;;;;;;20669:38:7;;26127:10;20669:38;20559:148;20533:175;;20728:17;20723:66;;20754:35;;-1:-1:-1;;;20754:35:7;;;;;;;;;;;20723:66;20519:281;20500:300;20946:15;20928:39;20924:101;;20990:24;;;;:15;:24;;;;;20983:31;;-1:-1:-1;;;;;;20983:31:7;;;20924:101;-1:-1:-1;;;;;21601:24:7;;;;;;:18;:24;;;;;;;;:59;;21629:31;21601:59;;;21891:26;;;:17;:26;;;;;-1:-1:-1;;;21979:15:7;1656:3;21979:41;21936:85;;:161;21891:206;;-1:-1:-1;;;22214:46:7;;22210:616;;22317:1;22307:11;;22285:19;22438:30;;;:17;:30;;;;;;22434:378;;22574:13;;22559:11;:28;22555:239;;22719:30;;;;:17;:30;;;;;:52;;;22555:239;22267:559;22210:616;22851:35;;22878:7;;22874:1;;-1:-1:-1;;;;;22851:35:7;;;;;22874:1;;22851:35;22896:50;22917:4;22931:1;22935:7;22944:1;22896:20;:50::i;:::-;-1:-1:-1;;23069:12:7;:14;;;;;;-1:-1:-1;;;20230:2870:7:o;974:241:3:-;1139:68;;;-1:-1:-1;;;;;12764:15:9;;;1139:68:3;;;12746:34:9;12816:15;;12796:18;;;12789:43;12848:18;;;;12841:34;;;1139:68:3;;;;;;;;;;12681:18:9;;;;1139:68:3;;;;;;;;-1:-1:-1;;;;;1139:68:3;-1:-1:-1;;;1139:68:3;;;1112:96;;1132:5;;1112:19;:96::i;2270:187:0:-;2362:6;;;-1:-1:-1;;;;;2378:17:0;;;-1:-1:-1;;;;;;2378:17:0;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2333:124;2270:187;:::o;23581:697:7:-;23759:88;;-1:-1:-1;;;23759:88:7;;23739:4;;-1:-1:-1;;;;;23759:45:7;;;;;:88;;26127:10;;23826:4;;23832:7;;23841:5;;23759:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23759:88:7;;;;;;;;-1:-1:-1;;23759:88:7;;;;;;;;;;;;:::i;:::-;;;23755:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24037:13:7;;24033:229;;24082:40;;-1:-1:-1;;;24082:40:7;;;;;;;;;;;24033:229;24222:6;24216:13;24207:6;24203:2;24199:15;24192:38;23755:517;-1:-1:-1;;;;;;23915:64:7;-1:-1:-1;;;23915:64:7;;-1:-1:-1;23581:697:7;;;;;;:::o;2509:95:6:-;2561:13;2593:4;2586:11;;;;;:::i;3225:570::-;-1:-1:-1;;;;;3389:18:6;;;3385:55;;3423:7;;3385:55;3450:14;3478:311;3495:22;3535:8;;;;:::i;:::-;;-1:-1:-1;3520:23:6;;:12;:23;:::i;:::-;3561:15;;3495:48;;-1:-1:-1;3561:15:6;;3557:195;;;3624:22;3596:25;;;:9;:25;;;;;:50;;-1:-1:-1;;3596:50:6;;;3557:195;;;3713:24;3722:14;3713:8;:24::i;:::-;3685:25;;;;:9;:25;;;;;:52;;-1:-1:-1;;3685:52:6;;;;;;;;;;;:::i;:::-;;;;;;3557:195;3481:281;3779:8;3770:6;:17;3478:311;;3375:420;3225:570;;;;:::o;14520:661:7:-;14638:19;14644:2;14648:8;14638:5;:19::i;:::-;-1:-1:-1;;;;;14696:14:7;;;:19;14692:473;;14735:11;14749:13;14796:14;;;14828:229;14858:62;14897:1;14901:2;14905:7;;;;;;14914:5;14858:30;:62::i;:::-;14853:165;;14955:40;;-1:-1:-1;;;14955:40:7;;;;;;;;;;;14853:165;15052:3;15044:5;:11;14828:229;;15137:3;15120:13;;:20;15116:34;;15142:8;;;15116:34;14717:448;;14520:661;;;:::o;3747:706:3:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;-1:-1:-1;;;;;4192:27:3;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:3;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;-1:-1:-1;;;4351:85:3;;13976:2:9;4351:85:3;;;13958:21:9;14015:2;13995:18;;;13988:30;14054:34;14034:18;;;14027:62;-1:-1:-1;;;14105:18:9;;;14098:40;14155:19;;4351:85:3;13774:406:9;2610:603:6;2738:142;;;;;;;14432:25:9;;;2791:15:6;14473:18:9;;;14466:34;2824:14:6;14554:18:9;;;14547:43;2856:10:6;14606:18:9;;;;14599:43;;;;2738:142:6;;;;;;;;;;14404:19:9;;;;2738:142:6;;;2715:175;;;;;-1:-1:-1;;2911:23:6;;;;2953:2;2948:7;;2944:263;;;-1:-1:-1;2978:22:6;;2610:603;-1:-1:-1;;;2610:603:6:o;2944:263::-;3026:2;3021;:7;;;3017:190;;;-1:-1:-1;3051:17:6;;2610:603;-1:-1:-1;;;2610:603:6:o;3017:190::-;3094:3;3089:2;:8;;;3085:122;;;-1:-1:-1;3120:21:6;;2610:603;-1:-1:-1;;;2610:603:6:o;3085:122::-;-1:-1:-1;3179:17:6;;2610:603;-1:-1:-1;;;2610:603:6:o;15442:1574:7:-;15506:20;15529:13;15574:2;15552:58;;15591:19;;-1:-1:-1;;;15591:19:7;;;;;;;;;;;15552:58;15624:13;15620:44;;15646:18;;-1:-1:-1;;;15646:18:7;;;;;;;;;;;15620:44;-1:-1:-1;;;;;16200:22:7;;;;;;:18;:22;;;;1151:2;16200:22;;;:70;;16238:31;16226:44;;16200:70;;;16506:31;;;:17;:31;;;;;16597:15;1656:3;16597:41;16556:83;;-1:-1:-1;16674:13:7;;1909:3;16659:56;16556:160;16506:210;;16759:117;16785:49;;16825:8;;;;16810:23;;;-1:-1:-1;;;;;16785:49:7;;;16802:1;;16785:49;;16802:1;;16785:49;16866:8;16857:6;:17;16759:117;;-1:-1:-1;16906:23:7;;;16890:13;:39;;;16949:60;;16982:2;16906:12;16921:8;16949:20;:60::i;3861:223:4:-;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;3994;-1:-1:-1;;;;;1465:19:4;;;5228:60;;;;-1:-1:-1;;;5228:60:4;;15262:2:9;5228:60:4;;;15244:21:9;15301:2;15281:18;;;15274:30;15340:31;15320:18;;;15313:59;15389:18;;5228:60:4;15060:353:9;5228:60:4;5300:12;5314:23;5341:6;-1:-1:-1;;;;;5341:11:4;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;5389:16;:51::i;:::-;5382:58;4948:499;-1:-1:-1;;;;;;;4948:499:4:o;7561:742::-;7707:12;7735:7;7731:566;;;-1:-1:-1;7765:10:4;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;7872:415;8259:12;8252:20;;-1:-1:-1;;;8252:20:4;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:9;-1:-1:-1;;;;;;88:32:9;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:9;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:9;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:9:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:9;;1343:180;-1:-1:-1;1343:180:9:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:9;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:9:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:592::-;2759:6;2767;2820:2;2808:9;2799:7;2795:23;2791:32;2788:52;;;2836:1;2833;2826:12;2788:52;2876:9;2863:23;2905:18;2946:2;2938:6;2935:14;2932:34;;;2962:1;2959;2952:12;2932:34;3000:6;2989:9;2985:22;2975:32;;3045:7;3038:4;3034:2;3030:13;3026:27;3016:55;;3067:1;3064;3057:12;3016:55;3107:2;3094:16;3133:2;3125:6;3122:14;3119:34;;;3149:1;3146;3139:12;3119:34;3194:7;3189:2;3180:6;3176:2;3172:15;3168:24;3165:37;3162:57;;;3215:1;3212;3205:12;3162:57;3246:2;3238:11;;;;;3268:6;;-1:-1:-1;2688:592:9;;-1:-1:-1;;;;2688:592:9:o;3285:186::-;3344:6;3397:2;3385:9;3376:7;3372:23;3368:32;3365:52;;;3413:1;3410;3403:12;3365:52;3436:29;3455:9;3436:29;:::i;3476:118::-;3562:5;3555:13;3548:21;3541:5;3538:32;3528:60;;3584:1;3581;3574:12;3599:315;3664:6;3672;3725:2;3713:9;3704:7;3700:23;3696:32;3693:52;;;3741:1;3738;3731:12;3693:52;3764:29;3783:9;3764:29;:::i;:::-;3754:39;;3843:2;3832:9;3828:18;3815:32;3856:28;3878:5;3856:28;:::i;:::-;3903:5;3893:15;;;3599:315;;;;;:::o;3919:248::-;3987:6;3995;4048:2;4036:9;4027:7;4023:23;4019:32;4016:52;;;4064:1;4061;4054:12;4016:52;-1:-1:-1;;4087:23:9;;;4157:2;4142:18;;;4129:32;;-1:-1:-1;3919:248:9:o;4172:127::-;4233:10;4228:3;4224:20;4221:1;4214:31;4264:4;4261:1;4254:15;4288:4;4285:1;4278:15;4304:1138;4399:6;4407;4415;4423;4476:3;4464:9;4455:7;4451:23;4447:33;4444:53;;;4493:1;4490;4483:12;4444:53;4516:29;4535:9;4516:29;:::i;:::-;4506:39;;4564:38;4598:2;4587:9;4583:18;4564:38;:::i;:::-;4554:48;;4649:2;4638:9;4634:18;4621:32;4611:42;;4704:2;4693:9;4689:18;4676:32;4727:18;4768:2;4760:6;4757:14;4754:34;;;4784:1;4781;4774:12;4754:34;4822:6;4811:9;4807:22;4797:32;;4867:7;4860:4;4856:2;4852:13;4848:27;4838:55;;4889:1;4886;4879:12;4838:55;4925:2;4912:16;4947:2;4943;4940:10;4937:36;;;4953:18;;:::i;:::-;5028:2;5022:9;4996:2;5082:13;;-1:-1:-1;;5078:22:9;;;5102:2;5074:31;5070:40;5058:53;;;5126:18;;;5146:22;;;5123:46;5120:72;;;5172:18;;:::i;:::-;5212:10;5208:2;5201:22;5247:2;5239:6;5232:18;5287:7;5282:2;5277;5273;5269:11;5265:20;5262:33;5259:53;;;5308:1;5305;5298:12;5259:53;5364:2;5359;5355;5351:11;5346:2;5338:6;5334:15;5321:46;5409:1;5404:2;5399;5391:6;5387:15;5383:24;5376:35;5430:6;5420:16;;;;;;;4304:1138;;;;;;;:::o;5700:127::-;5761:10;5756:3;5752:20;5749:1;5742:31;5792:4;5789:1;5782:15;5816:4;5813:1;5806:15;5832:340;5976:2;5961:18;;6009:1;5998:13;;5988:144;;6054:10;6049:3;6045:20;6042:1;6035:31;6089:4;6086:1;6079:15;6117:4;6114:1;6107:15;5988:144;6141:25;;;5832:340;:::o;6177:260::-;6245:6;6253;6306:2;6294:9;6285:7;6281:23;6277:32;6274:52;;;6322:1;6319;6312:12;6274:52;6345:29;6364:9;6345:29;:::i;:::-;6335:39;;6393:38;6427:2;6416:9;6412:18;6393:38;:::i;:::-;6383:48;;6177:260;;;;;:::o;6442:380::-;6521:1;6517:12;;;;6564;;;6585:61;;6639:4;6631:6;6627:17;6617:27;;6585:61;6692:2;6684:6;6681:14;6661:18;6658:38;6655:161;;;6738:10;6733:3;6729:20;6726:1;6719:31;6773:4;6770:1;6763:15;6801:4;6798:1;6791:15;6655:161;;6442:380;;;:::o;6827:356::-;7029:2;7011:21;;;7048:18;;;7041:30;7107:34;7102:2;7087:18;;7080:62;7174:2;7159:18;;6827:356::o;7188:184::-;7258:6;7311:2;7299:9;7290:7;7286:23;7282:32;7279:52;;;7327:1;7324;7317:12;7279:52;-1:-1:-1;7350:16:9;;7188:184;-1:-1:-1;7188:184:9:o;7656:245::-;7723:6;7776:2;7764:9;7755:7;7751:23;7747:32;7744:52;;;7792:1;7789;7782:12;7744:52;7824:9;7818:16;7843:28;7865:5;7843:28;:::i;7906:337::-;8108:2;8090:21;;;8147:2;8127:18;;;8120:30;-1:-1:-1;;;8181:2:9;8166:18;;8159:43;8234:2;8219:18;;7906:337::o;8248:127::-;8309:10;8304:3;8300:20;8297:1;8290:31;8340:4;8337:1;8330:15;8364:4;8361:1;8354:15;8380:128;8420:3;8451:1;8447:6;8444:1;8441:13;8438:39;;;8457:18;;:::i;:::-;-1:-1:-1;8493:9:9;;8380:128::o;9551:168::-;9591:7;9657:1;9653;9649:6;9645:14;9642:1;9639:21;9634:1;9627:9;9620:17;9616:45;9613:71;;;9664:18;;:::i;:::-;-1:-1:-1;9704:9:9;;9551:168::o;11120:125::-;11160:4;11188:1;11185;11182:8;11179:34;;;11193:18;;:::i;:::-;-1:-1:-1;11230:9:9;;11120:125::o;11250:127::-;11311:10;11306:3;11302:20;11299:1;11292:31;11342:4;11339:1;11332:15;11366:4;11363:1;11356:15;11382:120;11422:1;11448;11438:35;;11453:18;;:::i;:::-;-1:-1:-1;11487:9:9;;11382:120::o;11507:112::-;11539:1;11565;11555:35;;11570:18;;:::i;:::-;-1:-1:-1;11604:9:9;;11507:112::o;11624:470::-;11803:3;11841:6;11835:13;11857:53;11903:6;11898:3;11891:4;11883:6;11879:17;11857:53;:::i;:::-;11973:13;;11932:16;;;;11995:57;11973:13;11932:16;12029:4;12017:17;;11995:57;:::i;:::-;12068:20;;11624:470;-1:-1:-1;;;;11624:470:9:o;12886:489::-;-1:-1:-1;;;;;13155:15:9;;;13137:34;;13207:15;;13202:2;13187:18;;13180:43;13254:2;13239:18;;13232:34;;;13302:3;13297:2;13282:18;;13275:31;;;13080:4;;13323:46;;13349:19;;13341:6;13323:46;:::i;:::-;13315:54;12886:489;-1:-1:-1;;;;;;12886:489:9:o;13380:249::-;13449:6;13502:2;13490:9;13481:7;13477:23;13473:32;13470:52;;;13518:1;13515;13508:12;13470:52;13550:9;13544:16;13569:30;13593:5;13569:30;:::i;13634:135::-;13673:3;-1:-1:-1;;13694:17:9;;13691:43;;;13714:18;;:::i;:::-;-1:-1:-1;13761:1:9;13750:13;;13634:135::o;15418:274::-;15547:3;15585:6;15579:13;15601:53;15647:6;15642:3;15635:4;15627:6;15623:17;15601:53;:::i;:::-;15670:16;;;;;15418:274;-1:-1:-1;;15418:274:9:o
Swarm Source
ipfs://6583fea1f06d02813b8270dc96afb1cc0bac49ece181886fe9f8f5d4d5e848c5
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.