Overview
TokenID
23
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
storyCollection
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; /** * NFT collection where each NFT is a Story * see https://StoryPress.info/ */ import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; // minimalistic interfaces interface IERC20Burnable { function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); function balanceOf(address account) external view returns (uint256); function burn(uint256 amount) external; } interface IOracle { function twap() external view returns(uint112); } contract storyCollection is ERC721, ERC721Enumerable, ERC721URIStorage, Ownable { using Counters for Counters.Counter; /** * @dev Emitted when tokenURI is changed. */ event SetTokenURI(uint256 indexed tokenId, string uri); // constants address public oracle = 0x2bcC8dA3fE1BF5637262c9c05663490f14C981d6; address public withdrawer = address(0); address public censor = address(0); IERC20Burnable chry = IERC20Burnable(0x4C41bFf37db389BA1edC7ED7e757059a1D08ceb5); Counters.Counter private _tokenIdCounter; constructor() ERC721("StoryPress.info", "STORY") { // start NFT count from 1 _tokenIdCounter.increment(); } // set oracle address // only owner can do that function setOracle(address _oracle) external onlyOwner { oracle = _oracle; } // set withdrawer address // only owner can do that function setWithdrawer(address _withdrawer) external onlyOwner { withdrawer = _withdrawer; } // set censor address // only owner can do that function setCensor(address _censor) external onlyOwner { censor = _censor; } // censor can censor a token // only censor can do that function censorToken(uint256 tokenId) external { require(msg.sender == censor, 'You are not the censor'); _burn(tokenId); } // withdraw all ether from this contract // only withdrawer can do that function withdraw() external { require(msg.sender == withdrawer, 'You are not the withdrawer'); (bool success, ) = withdrawer.call{value: address(this).balance}(""); require(success, 'Transfer failed.'); } // anyone can do that function safeMint(address to, string memory uri) payable public returns (uint256) { // "to" address should be msg.sender or to.owner() if (to != msg.sender) { require(Ownable(to).owner() == msg.sender, 'You are not the contract owner'); } // pay one Cherry // try transferFrom first // if it fails, try to pay with FTM try chry.transferFrom(msg.sender, address(this), 1 ether) { // do nothing } catch { // if twap = 0.21, price = 0.3 // if twap = 0.08, price = 0.1 uint256 price = (((IOracle(oracle).twap() / 1e17) + 1) * 1e17); require(msg.value >= price, 'Not enough FTM to pay for 1 CHRY'); } // require(chry.transferFrom(msg.sender, address(this), 1 ether), 'Paying 1 CHRY failed'); uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(to, tokenId); _setTokenURI(tokenId, uri); emit SetTokenURI(tokenId, uri); return tokenId; } // set new token URI // only token owner or owner of token owner can do that // approved cannot change token URI function setTokenURI(uint256 tokenId, string memory uri) public { if (ownerOf(tokenId) != msg.sender) { require(Ownable(ownerOf(tokenId)).owner() == msg.sender, 'You are not the contract owner'); } _setTokenURI(tokenId, uri); emit SetTokenURI(tokenId, uri); } // burn all chry tokens owned by this contract // callable by anyone function burn() external { chry.burn(chry.balanceOf(address(this))); } // // The following functions are overrides required by Solidity. // function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId, batchSize); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev See {ERC721-_burn}. This override additionally checks to see if a * token-specific URI was set for the token, and if so, it deletes the token URI from * the storage mapping. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @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) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), 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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"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":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"uri","type":"string"}],"name":"SetTokenURI","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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"censor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"censorToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"uri","type":"string"}],"name":"safeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_censor","type":"address"}],"name":"setCensor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oracle","type":"address"}],"name":"setOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_withdrawer","type":"address"}],"name":"setWithdrawer","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"withdrawer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600c80546001600160a01b0319908116732bcc8da3fe1bf5637262c9c05663490f14c981d617909155600d805482169055600e805482169055600f8054909116734c41bff37db389ba1edc7ed7e757059a1d08ceb51790553480156200006957600080fd5b506040518060400160405280600f81526020016e53746f727950726573732e696e666f60881b8152506040518060400160405280600581526020016453544f525960d81b8152508160009081620000c191906200020e565b506001620000d082826200020e565b505050620000ed620000e76200010a60201b60201c565b6200010e565b6200010460106200016060201b620014341760201c565b620002da565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200019457607f821691505b602082108103620001b557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020957600081815260208120601f850160051c81016020861015620001e45750805b601f850160051c820191505b818110156200020557828155600101620001f0565b5050505b505050565b81516001600160401b038111156200022a576200022a62000169565b62000242816200023b84546200017f565b84620001bb565b602080601f8311600181146200027a5760008415620002615750858301515b600019600386901b1c1916600185901b17855562000205565b600085815260208120601f198616915b82811015620002ab578886015182559484019460019091019084016200028a565b5085821015620002ca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612cca80620002ea6000396000f3fe6080604052600436106101cd5760003560e01c806370a08231116100f757806398a054c611610095578063cdc1842411610064578063cdc1842414610514578063d204c45e14610534578063e985e9c514610547578063f2fde38b1461059057600080fd5b806398a054c614610494578063a22cb465146104b4578063b88d4fde146104d4578063c87b56dd146104f457600080fd5b80637dc0d1d0116100d15780637dc0d1d0146104215780638da15fd1146104415780638da5cb5b1461046157806395d89b411461047f57600080fd5b806370a08231146103cc578063715018a6146103ec5780637adbf9731461040157600080fd5b806318160ddd1161016f57806342842e0e1161013e57806342842e0e1461035757806344df8e70146103775780634f6ccce71461038c5780636352211e146103ac57600080fd5b806318160ddd146102e357806323b872dd146103025780632f745c59146103225780633ccfd60b1461034257600080fd5b8063095ea7b3116101ab578063095ea7b3146102615780630d174c24146102835780631331003a146102a3578063162094c4146102c357600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046125e4565b6105b0565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105c1565b6040516101fe9190612651565b34801561023557600080fd5b50610249610244366004612664565b610653565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c366004612692565b61067a565b005b34801561028f57600080fd5b5061028161029e3660046126be565b6107b0565b3480156102af57600080fd5b506102816102be366004612664565b61082c565b3480156102cf57600080fd5b506102816102de366004612787565b610892565b3480156102ef57600080fd5b506008545b6040519081526020016101fe565b34801561030e57600080fd5b5061028161031d3660046127ce565b6109b1565b34801561032e57600080fd5b506102f461033d366004612692565b610a28565b34801561034e57600080fd5b50610281610ad0565b34801561036357600080fd5b506102816103723660046127ce565b610bcd565b34801561038357600080fd5b50610281610be8565b34801561039857600080fd5b506102f46103a7366004612664565b610cc7565b3480156103b857600080fd5b506102496103c7366004612664565b610d6b565b3480156103d857600080fd5b506102f46103e73660046126be565b610dd0565b3480156103f857600080fd5b50610281610e6a565b34801561040d57600080fd5b5061028161041c3660046126be565b610ed0565b34801561042d57600080fd5b50600c54610249906001600160a01b031681565b34801561044d57600080fd5b50600e54610249906001600160a01b031681565b34801561046d57600080fd5b50600b546001600160a01b0316610249565b34801561048b57600080fd5b5061021c610f4c565b3480156104a057600080fd5b506102816104af3660046126be565b610f5b565b3480156104c057600080fd5b506102816104cf36600461281d565b610fd7565b3480156104e057600080fd5b506102816104ef366004612856565b610fe6565b34801561050057600080fd5b5061021c61050f366004612664565b61105e565b34801561052057600080fd5b50600d54610249906001600160a01b031681565b6102f46105423660046128d6565b611069565b34801561055357600080fd5b506101f2610562366004612910565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561059c57600080fd5b506102816105ab3660046126be565b611355565b60006105bb8261143d565b92915050565b6060600080546105d09061293e565b80601f01602080910402602001604051908101604052809291908181526020018280546105fc9061293e565b80156106495780601f1061061e57610100808354040283529160200191610649565b820191906000526020600020905b81548152906001019060200180831161062c57829003601f168201915b5050505050905090565b600061065e8261147b565b506000908152600460205260409020546001600160a01b031690565b600061068582610d6b565b9050806001600160a01b0316836001600160a01b0316036107135760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b038216148061072f575061072f8133610562565b6107a15760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161070a565b6107ab83836114df565b505050565b600b546001600160a01b0316331461080a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070a565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600e546001600160a01b031633146108865760405162461bcd60e51b815260206004820152601660248201527f596f7520617265206e6f74207468652063656e736f7200000000000000000000604482015260640161070a565b61088f8161154d565b50565b3361089c83610d6b565b6001600160a01b03161461096b57336108b483610d6b565b6001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109159190612978565b6001600160a01b03161461096b5760405162461bcd60e51b815260206004820152601e60248201527f596f7520617265206e6f742074686520636f6e7472616374206f776e65720000604482015260640161070a565b6109758282611556565b817fd2d827dddfc9c9a02afc5fc68d3251684b36e213a7999ebd90a861f25df4077e826040516109a59190612651565b60405180910390a25050565b6109bb33826115f8565b610a1d5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b606482015260840161070a565b6107ab838383611677565b6000610a3383610dd0565b8210610aa75760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e6473000000000000000000000000000000000000000000606482015260840161070a565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600d546001600160a01b03163314610b2a5760405162461bcd60e51b815260206004820152601a60248201527f596f7520617265206e6f74207468652077697468647261776572000000000000604482015260640161070a565b600d546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610b77576040519150601f19603f3d011682016040523d82523d6000602084013e610b7c565b606091505b505090508061088f5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015260640161070a565b6107ab83838360405180602001604052806000815250610fe6565b600f546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03909116906342966c689082906370a0823190602401602060405180830381865afa158015610c51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c759190612995565b6040518263ffffffff1660e01b8152600401610c9391815260200190565b600060405180830381600087803b158015610cad57600080fd5b505af1158015610cc1573d6000803e3d6000fd5b50505050565b6000610cd260085490565b8210610d465760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e64730000000000000000000000000000000000000000606482015260840161070a565b60088281548110610d5957610d596129ae565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105bb5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161070a565b60006001600160a01b038216610e4e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e65720000000000000000000000000000000000000000000000606482015260840161070a565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b03163314610ec45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070a565b610ece600061187d565b565b600b546001600160a01b03163314610f2a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070a565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600180546105d09061293e565b600b546001600160a01b03163314610fb55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070a565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b610fe23383836118cf565b5050565b610ff033836115f8565b6110525760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b606482015260840161070a565b610cc18484848461199d565b60606105bb82611a1b565b60006001600160a01b038316331461113d57336001600160a01b0316836001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e79190612978565b6001600160a01b03161461113d5760405162461bcd60e51b815260206004820152601e60248201527f596f7520617265206e6f742074686520636f6e7472616374206f776e65720000604482015260640161070a565b600f546040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152670de0b6b3a764000060448201526001600160a01b03909116906323b872dd906064016020604051808303816000875af19250505080156111d0575060408051601f3d908101601f191682019092526111cd918101906129c4565b60015b6112e557600067016345785d8a0000600c60009054906101000a90046001600160a01b03166001600160a01b0316631208aa186040518163ffffffff1660e01b8152600401602060405180830381865afa158015611232573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125691906129e1565b6112609190612a27565b61126b906001612a62565b61127d9067016345785d8a0000612a90565b6dffffffffffffffffffffffffffff169050803410156112df5760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682046544d20746f2070617920666f7220312043485259604482015260640161070a565b506112e7565b505b60006112f260105490565b9050611302601080546001019055565b61130c8482611b23565b6113168184611556565b807fd2d827dddfc9c9a02afc5fc68d3251684b36e213a7999ebd90a861f25df4077e846040516113469190612651565b60405180910390a29392505050565b600b546001600160a01b031633146113af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070a565b6001600160a01b03811661142b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161070a565b61088f8161187d565b80546001019055565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806105bb57506105bb82611b3d565b6000818152600260205260409020546001600160a01b031661088f5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161070a565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061151482610d6b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61088f81611bd8565b6000828152600260205260409020546001600160a01b03166115e05760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201527f6578697374656e7420746f6b656e000000000000000000000000000000000000606482015260840161070a565b6000828152600a602052604090206107ab8282612b10565b60008061160483610d6b565b9050806001600160a01b0316846001600160a01b0316148061164b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061166f5750836001600160a01b031661166484610653565b6001600160a01b0316145b949350505050565b826001600160a01b031661168a82610d6b565b6001600160a01b0316146116ee5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161070a565b6001600160a01b0382166117695760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161070a565b6117768383836001611c18565b826001600160a01b031661178982610d6b565b6001600160a01b0316146117ed5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161070a565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036119305760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161070a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6119a8848484611677565b6119b484848484611c24565b610cc15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161070a565b6060611a268261147b565b6000828152600a602052604081208054611a3f9061293e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6b9061293e565b8015611ab85780601f10611a8d57610100808354040283529160200191611ab8565b820191906000526020600020905b815481529060010190602001808311611a9b57829003601f168201915b505050505090506000611ad660408051602081019091526000815290565b90508051600003611ae8575092915050565b815115611b1a578082604051602001611b02929190612bd0565b60405160208183030381529060405292505050919050565b61166f84611d70565b610fe2828260405180602001604052806000815250611de4565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611ba057506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105bb57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146105bb565b611be181611e62565b6000818152600a602052604090208054611bfa9061293e565b15905061088f576000818152600a6020526040812061088f91612580565b610cc184848484611f05565b60006001600160a01b0384163b15611d6557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c68903390899088908890600401612bff565b6020604051808303816000875af1925050508015611ca3575060408051601f3d908101601f19168201909252611ca091810190612c3b565b60015b611d4b573d808015611cd1576040519150601f19603f3d011682016040523d82523d6000602084013e611cd6565b606091505b508051600003611d435760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161070a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061166f565b506001949350505050565b6060611d7b8261147b565b6000611d9260408051602081019091526000815290565b90506000815111611db25760405180602001604052806000815250611ddd565b80611dbc8461204d565b604051602001611dcd929190612bd0565b6040516020818303038152906040525b9392505050565b611dee83836120ed565b611dfb6000848484611c24565b6107ab5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161070a565b6000611e6d82610d6b565b9050611e7d816000846001611c18565b611e8682610d6b565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b611f1184848484612286565b6001811115611f885760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e736563757469766520747260448201527f616e7366657273206e6f7420737570706f727465640000000000000000000000606482015260840161070a565b816001600160a01b038516611fe457611fdf81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612007565b836001600160a01b0316856001600160a01b03161461200757612007858261230e565b6001600160a01b0384166120235761201e816123ab565b612046565b846001600160a01b0316846001600160a01b03161461204657612046848261245a565b5050505050565b6060600061205a8361249e565b600101905060008167ffffffffffffffff81111561207a5761207a6126db565b6040519080825280601f01601f1916602001820160405280156120a4576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846120ae57509392505050565b6001600160a01b0382166121435760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161070a565b6000818152600260205260409020546001600160a01b0316156121a85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161070a565b6121b6600083836001611c18565b6000818152600260205260409020546001600160a01b03161561221b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161070a565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001811115610cc1576001600160a01b038416156122cc576001600160a01b038416600090815260036020526040812080548392906122c6908490612c58565b90915550505b6001600160a01b03831615610cc1576001600160a01b03831660009081526003602052604081208054839290612303908490612c6b565b909155505050505050565b6000600161231b84610dd0565b6123259190612c58565b600083815260076020526040902054909150808214612378576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906123bd90600190612c58565b600083815260096020526040812054600880549394509092849081106123e5576123e56129ae565b906000526020600020015490508060088381548110612406576124066129ae565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061243e5761243e612c7e565b6001900381819060005260206000200160009055905550505050565b600061246583610dd0565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106124e7577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310612513576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061253157662386f26fc10000830492506010015b6305f5e1008310612549576305f5e100830492506008015b612710831061255d57612710830492506004015b6064831061256f576064830492506002015b600a83106105bb5760010192915050565b50805461258c9061293e565b6000825580601f1061259c575050565b601f01602090049060005260206000209081019061088f91905b808211156125ca57600081556001016125b6565b5090565b6001600160e01b03198116811461088f57600080fd5b6000602082840312156125f657600080fd5b8135611ddd816125ce565b60005b8381101561261c578181015183820152602001612604565b50506000910152565b6000815180845261263d816020860160208601612601565b601f01601f19169290920160200192915050565b602081526000611ddd6020830184612625565b60006020828403121561267657600080fd5b5035919050565b6001600160a01b038116811461088f57600080fd5b600080604083850312156126a557600080fd5b82356126b08161267d565b946020939093013593505050565b6000602082840312156126d057600080fd5b8135611ddd8161267d565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561270c5761270c6126db565b604051601f8501601f19908116603f01168101908282118183101715612734576127346126db565b8160405280935085815286868601111561274d57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261277857600080fd5b611ddd838335602085016126f1565b6000806040838503121561279a57600080fd5b82359150602083013567ffffffffffffffff8111156127b857600080fd5b6127c485828601612767565b9150509250929050565b6000806000606084860312156127e357600080fd5b83356127ee8161267d565b925060208401356127fe8161267d565b929592945050506040919091013590565b801515811461088f57600080fd5b6000806040838503121561283057600080fd5b823561283b8161267d565b9150602083013561284b8161280f565b809150509250929050565b6000806000806080858703121561286c57600080fd5b84356128778161267d565b935060208501356128878161267d565b925060408501359150606085013567ffffffffffffffff8111156128aa57600080fd5b8501601f810187136128bb57600080fd5b6128ca878235602084016126f1565b91505092959194509250565b600080604083850312156128e957600080fd5b82356128f48161267d565b9150602083013567ffffffffffffffff8111156127b857600080fd5b6000806040838503121561292357600080fd5b823561292e8161267d565b9150602083013561284b8161267d565b600181811c9082168061295257607f821691505b60208210810361297257634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561298a57600080fd5b8151611ddd8161267d565b6000602082840312156129a757600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156129d657600080fd5b8151611ddd8161280f565b6000602082840312156129f357600080fd5b81516dffffffffffffffffffffffffffff81168114611ddd57600080fd5b634e487b7160e01b600052601160045260246000fd5b60006dffffffffffffffffffffffffffff80841680612a5657634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6dffffffffffffffffffffffffffff818116838216019080821115612a8957612a89612a11565b5092915050565b6dffffffffffffffffffffffffffff818116838216028082169190828114612aba57612aba612a11565b505092915050565b601f8211156107ab57600081815260208120601f850160051c81016020861015612ae95750805b601f850160051c820191505b81811015612b0857828155600101612af5565b505050505050565b815167ffffffffffffffff811115612b2a57612b2a6126db565b612b3e81612b38845461293e565b84612ac2565b602080601f831160018114612b735760008415612b5b5750858301515b600019600386901b1c1916600185901b178555612b08565b600085815260208120601f198616915b82811015612ba257888601518255948401946001909101908401612b83565b5085821015612bc05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351612be2818460208801612601565b835190830190612bf6818360208801612601565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c316080830184612625565b9695505050505050565b600060208284031215612c4d57600080fd5b8151611ddd816125ce565b818103818111156105bb576105bb612a11565b808201808211156105bb576105bb612a11565b634e487b7160e01b600052603160045260246000fdfea264697066735822122034857265582135ba313a0dd29c51ff14fe8f491a6fbe229995f99852f9038dcf64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c806370a08231116100f757806398a054c611610095578063cdc1842411610064578063cdc1842414610514578063d204c45e14610534578063e985e9c514610547578063f2fde38b1461059057600080fd5b806398a054c614610494578063a22cb465146104b4578063b88d4fde146104d4578063c87b56dd146104f457600080fd5b80637dc0d1d0116100d15780637dc0d1d0146104215780638da15fd1146104415780638da5cb5b1461046157806395d89b411461047f57600080fd5b806370a08231146103cc578063715018a6146103ec5780637adbf9731461040157600080fd5b806318160ddd1161016f57806342842e0e1161013e57806342842e0e1461035757806344df8e70146103775780634f6ccce71461038c5780636352211e146103ac57600080fd5b806318160ddd146102e357806323b872dd146103025780632f745c59146103225780633ccfd60b1461034257600080fd5b8063095ea7b3116101ab578063095ea7b3146102615780630d174c24146102835780631331003a146102a3578063162094c4146102c357600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046125e4565b6105b0565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105c1565b6040516101fe9190612651565b34801561023557600080fd5b50610249610244366004612664565b610653565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c366004612692565b61067a565b005b34801561028f57600080fd5b5061028161029e3660046126be565b6107b0565b3480156102af57600080fd5b506102816102be366004612664565b61082c565b3480156102cf57600080fd5b506102816102de366004612787565b610892565b3480156102ef57600080fd5b506008545b6040519081526020016101fe565b34801561030e57600080fd5b5061028161031d3660046127ce565b6109b1565b34801561032e57600080fd5b506102f461033d366004612692565b610a28565b34801561034e57600080fd5b50610281610ad0565b34801561036357600080fd5b506102816103723660046127ce565b610bcd565b34801561038357600080fd5b50610281610be8565b34801561039857600080fd5b506102f46103a7366004612664565b610cc7565b3480156103b857600080fd5b506102496103c7366004612664565b610d6b565b3480156103d857600080fd5b506102f46103e73660046126be565b610dd0565b3480156103f857600080fd5b50610281610e6a565b34801561040d57600080fd5b5061028161041c3660046126be565b610ed0565b34801561042d57600080fd5b50600c54610249906001600160a01b031681565b34801561044d57600080fd5b50600e54610249906001600160a01b031681565b34801561046d57600080fd5b50600b546001600160a01b0316610249565b34801561048b57600080fd5b5061021c610f4c565b3480156104a057600080fd5b506102816104af3660046126be565b610f5b565b3480156104c057600080fd5b506102816104cf36600461281d565b610fd7565b3480156104e057600080fd5b506102816104ef366004612856565b610fe6565b34801561050057600080fd5b5061021c61050f366004612664565b61105e565b34801561052057600080fd5b50600d54610249906001600160a01b031681565b6102f46105423660046128d6565b611069565b34801561055357600080fd5b506101f2610562366004612910565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561059c57600080fd5b506102816105ab3660046126be565b611355565b60006105bb8261143d565b92915050565b6060600080546105d09061293e565b80601f01602080910402602001604051908101604052809291908181526020018280546105fc9061293e565b80156106495780601f1061061e57610100808354040283529160200191610649565b820191906000526020600020905b81548152906001019060200180831161062c57829003601f168201915b5050505050905090565b600061065e8261147b565b506000908152600460205260409020546001600160a01b031690565b600061068582610d6b565b9050806001600160a01b0316836001600160a01b0316036107135760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b038216148061072f575061072f8133610562565b6107a15760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161070a565b6107ab83836114df565b505050565b600b546001600160a01b0316331461080a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070a565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600e546001600160a01b031633146108865760405162461bcd60e51b815260206004820152601660248201527f596f7520617265206e6f74207468652063656e736f7200000000000000000000604482015260640161070a565b61088f8161154d565b50565b3361089c83610d6b565b6001600160a01b03161461096b57336108b483610d6b565b6001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109159190612978565b6001600160a01b03161461096b5760405162461bcd60e51b815260206004820152601e60248201527f596f7520617265206e6f742074686520636f6e7472616374206f776e65720000604482015260640161070a565b6109758282611556565b817fd2d827dddfc9c9a02afc5fc68d3251684b36e213a7999ebd90a861f25df4077e826040516109a59190612651565b60405180910390a25050565b6109bb33826115f8565b610a1d5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b606482015260840161070a565b6107ab838383611677565b6000610a3383610dd0565b8210610aa75760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e6473000000000000000000000000000000000000000000606482015260840161070a565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600d546001600160a01b03163314610b2a5760405162461bcd60e51b815260206004820152601a60248201527f596f7520617265206e6f74207468652077697468647261776572000000000000604482015260640161070a565b600d546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610b77576040519150601f19603f3d011682016040523d82523d6000602084013e610b7c565b606091505b505090508061088f5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015260640161070a565b6107ab83838360405180602001604052806000815250610fe6565b600f546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03909116906342966c689082906370a0823190602401602060405180830381865afa158015610c51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c759190612995565b6040518263ffffffff1660e01b8152600401610c9391815260200190565b600060405180830381600087803b158015610cad57600080fd5b505af1158015610cc1573d6000803e3d6000fd5b50505050565b6000610cd260085490565b8210610d465760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e64730000000000000000000000000000000000000000606482015260840161070a565b60088281548110610d5957610d596129ae565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105bb5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161070a565b60006001600160a01b038216610e4e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e65720000000000000000000000000000000000000000000000606482015260840161070a565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b03163314610ec45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070a565b610ece600061187d565b565b600b546001600160a01b03163314610f2a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070a565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600180546105d09061293e565b600b546001600160a01b03163314610fb55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070a565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b610fe23383836118cf565b5050565b610ff033836115f8565b6110525760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b606482015260840161070a565b610cc18484848461199d565b60606105bb82611a1b565b60006001600160a01b038316331461113d57336001600160a01b0316836001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e79190612978565b6001600160a01b03161461113d5760405162461bcd60e51b815260206004820152601e60248201527f596f7520617265206e6f742074686520636f6e7472616374206f776e65720000604482015260640161070a565b600f546040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152670de0b6b3a764000060448201526001600160a01b03909116906323b872dd906064016020604051808303816000875af19250505080156111d0575060408051601f3d908101601f191682019092526111cd918101906129c4565b60015b6112e557600067016345785d8a0000600c60009054906101000a90046001600160a01b03166001600160a01b0316631208aa186040518163ffffffff1660e01b8152600401602060405180830381865afa158015611232573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125691906129e1565b6112609190612a27565b61126b906001612a62565b61127d9067016345785d8a0000612a90565b6dffffffffffffffffffffffffffff169050803410156112df5760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682046544d20746f2070617920666f7220312043485259604482015260640161070a565b506112e7565b505b60006112f260105490565b9050611302601080546001019055565b61130c8482611b23565b6113168184611556565b807fd2d827dddfc9c9a02afc5fc68d3251684b36e213a7999ebd90a861f25df4077e846040516113469190612651565b60405180910390a29392505050565b600b546001600160a01b031633146113af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070a565b6001600160a01b03811661142b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161070a565b61088f8161187d565b80546001019055565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806105bb57506105bb82611b3d565b6000818152600260205260409020546001600160a01b031661088f5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161070a565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061151482610d6b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61088f81611bd8565b6000828152600260205260409020546001600160a01b03166115e05760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201527f6578697374656e7420746f6b656e000000000000000000000000000000000000606482015260840161070a565b6000828152600a602052604090206107ab8282612b10565b60008061160483610d6b565b9050806001600160a01b0316846001600160a01b0316148061164b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061166f5750836001600160a01b031661166484610653565b6001600160a01b0316145b949350505050565b826001600160a01b031661168a82610d6b565b6001600160a01b0316146116ee5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161070a565b6001600160a01b0382166117695760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161070a565b6117768383836001611c18565b826001600160a01b031661178982610d6b565b6001600160a01b0316146117ed5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161070a565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036119305760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161070a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6119a8848484611677565b6119b484848484611c24565b610cc15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161070a565b6060611a268261147b565b6000828152600a602052604081208054611a3f9061293e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6b9061293e565b8015611ab85780601f10611a8d57610100808354040283529160200191611ab8565b820191906000526020600020905b815481529060010190602001808311611a9b57829003601f168201915b505050505090506000611ad660408051602081019091526000815290565b90508051600003611ae8575092915050565b815115611b1a578082604051602001611b02929190612bd0565b60405160208183030381529060405292505050919050565b61166f84611d70565b610fe2828260405180602001604052806000815250611de4565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611ba057506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105bb57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146105bb565b611be181611e62565b6000818152600a602052604090208054611bfa9061293e565b15905061088f576000818152600a6020526040812061088f91612580565b610cc184848484611f05565b60006001600160a01b0384163b15611d6557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c68903390899088908890600401612bff565b6020604051808303816000875af1925050508015611ca3575060408051601f3d908101601f19168201909252611ca091810190612c3b565b60015b611d4b573d808015611cd1576040519150601f19603f3d011682016040523d82523d6000602084013e611cd6565b606091505b508051600003611d435760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161070a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061166f565b506001949350505050565b6060611d7b8261147b565b6000611d9260408051602081019091526000815290565b90506000815111611db25760405180602001604052806000815250611ddd565b80611dbc8461204d565b604051602001611dcd929190612bd0565b6040516020818303038152906040525b9392505050565b611dee83836120ed565b611dfb6000848484611c24565b6107ab5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161070a565b6000611e6d82610d6b565b9050611e7d816000846001611c18565b611e8682610d6b565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b611f1184848484612286565b6001811115611f885760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e736563757469766520747260448201527f616e7366657273206e6f7420737570706f727465640000000000000000000000606482015260840161070a565b816001600160a01b038516611fe457611fdf81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612007565b836001600160a01b0316856001600160a01b03161461200757612007858261230e565b6001600160a01b0384166120235761201e816123ab565b612046565b846001600160a01b0316846001600160a01b03161461204657612046848261245a565b5050505050565b6060600061205a8361249e565b600101905060008167ffffffffffffffff81111561207a5761207a6126db565b6040519080825280601f01601f1916602001820160405280156120a4576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846120ae57509392505050565b6001600160a01b0382166121435760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161070a565b6000818152600260205260409020546001600160a01b0316156121a85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161070a565b6121b6600083836001611c18565b6000818152600260205260409020546001600160a01b03161561221b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161070a565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001811115610cc1576001600160a01b038416156122cc576001600160a01b038416600090815260036020526040812080548392906122c6908490612c58565b90915550505b6001600160a01b03831615610cc1576001600160a01b03831660009081526003602052604081208054839290612303908490612c6b565b909155505050505050565b6000600161231b84610dd0565b6123259190612c58565b600083815260076020526040902054909150808214612378576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906123bd90600190612c58565b600083815260096020526040812054600880549394509092849081106123e5576123e56129ae565b906000526020600020015490508060088381548110612406576124066129ae565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061243e5761243e612c7e565b6001900381819060005260206000200160009055905550505050565b600061246583610dd0565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106124e7577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310612513576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061253157662386f26fc10000830492506010015b6305f5e1008310612549576305f5e100830492506008015b612710831061255d57612710830492506004015b6064831061256f576064830492506002015b600a83106105bb5760010192915050565b50805461258c9061293e565b6000825580601f1061259c575050565b601f01602090049060005260206000209081019061088f91905b808211156125ca57600081556001016125b6565b5090565b6001600160e01b03198116811461088f57600080fd5b6000602082840312156125f657600080fd5b8135611ddd816125ce565b60005b8381101561261c578181015183820152602001612604565b50506000910152565b6000815180845261263d816020860160208601612601565b601f01601f19169290920160200192915050565b602081526000611ddd6020830184612625565b60006020828403121561267657600080fd5b5035919050565b6001600160a01b038116811461088f57600080fd5b600080604083850312156126a557600080fd5b82356126b08161267d565b946020939093013593505050565b6000602082840312156126d057600080fd5b8135611ddd8161267d565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561270c5761270c6126db565b604051601f8501601f19908116603f01168101908282118183101715612734576127346126db565b8160405280935085815286868601111561274d57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261277857600080fd5b611ddd838335602085016126f1565b6000806040838503121561279a57600080fd5b82359150602083013567ffffffffffffffff8111156127b857600080fd5b6127c485828601612767565b9150509250929050565b6000806000606084860312156127e357600080fd5b83356127ee8161267d565b925060208401356127fe8161267d565b929592945050506040919091013590565b801515811461088f57600080fd5b6000806040838503121561283057600080fd5b823561283b8161267d565b9150602083013561284b8161280f565b809150509250929050565b6000806000806080858703121561286c57600080fd5b84356128778161267d565b935060208501356128878161267d565b925060408501359150606085013567ffffffffffffffff8111156128aa57600080fd5b8501601f810187136128bb57600080fd5b6128ca878235602084016126f1565b91505092959194509250565b600080604083850312156128e957600080fd5b82356128f48161267d565b9150602083013567ffffffffffffffff8111156127b857600080fd5b6000806040838503121561292357600080fd5b823561292e8161267d565b9150602083013561284b8161267d565b600181811c9082168061295257607f821691505b60208210810361297257634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561298a57600080fd5b8151611ddd8161267d565b6000602082840312156129a757600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156129d657600080fd5b8151611ddd8161280f565b6000602082840312156129f357600080fd5b81516dffffffffffffffffffffffffffff81168114611ddd57600080fd5b634e487b7160e01b600052601160045260246000fd5b60006dffffffffffffffffffffffffffff80841680612a5657634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6dffffffffffffffffffffffffffff818116838216019080821115612a8957612a89612a11565b5092915050565b6dffffffffffffffffffffffffffff818116838216028082169190828114612aba57612aba612a11565b505092915050565b601f8211156107ab57600081815260208120601f850160051c81016020861015612ae95750805b601f850160051c820191505b81811015612b0857828155600101612af5565b505050505050565b815167ffffffffffffffff811115612b2a57612b2a6126db565b612b3e81612b38845461293e565b84612ac2565b602080601f831160018114612b735760008415612b5b5750858301515b600019600386901b1c1916600185901b178555612b08565b600085815260208120601f198616915b82811015612ba257888601518255948401946001909101908401612b83565b5085821015612bc05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351612be2818460208801612601565b835190830190612bf6818360208801612601565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c316080830184612625565b9695505050505050565b600060208284031215612c4d57600080fd5b8151611ddd816125ce565b818103818111156105bb576105bb612a11565b808201808211156105bb576105bb612a11565b634e487b7160e01b600052603160045260246000fdfea264697066735822122034857265582135ba313a0dd29c51ff14fe8f491a6fbe229995f99852f9038dcf64736f6c63430008110033
Deployed Bytecode Sourcemap
813:4166:15:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4772:205;;;;;;;;;;-1:-1:-1;4772:205:15;;;;;:::i;:::-;;:::i;:::-;;;611:14:16;;604:22;586:41;;574:2;559:18;4772:205:15;;;;;;;;2471:98:1;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3935:167::-;;;;;;;;;;-1:-1:-1;3935:167:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1743:55:16;;;1725:74;;1713:2;1698:18;3935:167:1;1579:226:16;3468:406:1;;;;;;;;;;-1:-1:-1;3468:406:1;;;;;:::i;:::-;;:::i;:::-;;1726:102:15;;;;;;;;;;-1:-1:-1;1726:102:15;;;;;:::i;:::-;;:::i;2046:139::-;;;;;;;;;;-1:-1:-1;2046:139:15;;;;;:::i;:::-;;:::i;3675:295::-;;;;;;;;;;-1:-1:-1;3675:295:15;;;;;:::i;:::-;;:::i;1630:111:4:-;;;;;;;;;;-1:-1:-1;1717:10:4;:17;1630:111;;;4135:25:16;;;4123:2;4108:18;1630:111:4;3989:177:16;4612:326:1;;;;;;;;;;-1:-1:-1;4612:326:1;;;;;:::i;:::-;;:::i;1306:253:4:-;;;;;;;;;;-1:-1:-1;1306:253:4;;;;;:::i;:::-;;:::i;2271:227:15:-;;;;;;;;;;;;;:::i;5004:179:1:-;;;;;;;;;;-1:-1:-1;5004:179:1;;;;;:::i;:::-;;:::i;4053:80:15:-;;;;;;;;;;;;;:::i;1813:230:4:-;;;;;;;;;;-1:-1:-1;1813:230:4;;;;;:::i;:::-;;:::i;2190:219:1:-;;;;;;;;;;-1:-1:-1;2190:219:1;;;;;:::i;:::-;;:::i;1929:204::-;;;;;;;;;;-1:-1:-1;1929:204:1;;;;;:::i;:::-;;:::i;1668:101:0:-;;;;;;;;;;;;;:::i;1574:86:15:-;;;;;;;;;;-1:-1:-1;1574:86:15;;;;;:::i;:::-;;:::i;1082:73::-;;;;;;;;;;-1:-1:-1;1082:73:15;;;;-1:-1:-1;;;;;1082:73:15;;;1208:41;;;;;;;;;;-1:-1:-1;1208:41:15;;;;-1:-1:-1;;;;;1208:41:15;;;1036:85:0;;;;;;;;;;-1:-1:-1;1108:6:0;;-1:-1:-1;;;;;1108:6:0;1036:85;;2633:102:1;;;;;;;;;;;;;:::i;1890:86:15:-;;;;;;;;;;-1:-1:-1;1890:86:15;;;;;:::i;:::-;;:::i;4169:153:1:-;;;;;;;;;;-1:-1:-1;4169:153:1;;;;;:::i;:::-;;:::i;5249:314::-;;;;;;;;;;-1:-1:-1;5249:314:1;;;;;:::i;:::-;;:::i;4577:189:15:-;;;;;;;;;;-1:-1:-1;4577:189:15;;;;;:::i;:::-;;:::i;1161:41::-;;;;;;;;;;-1:-1:-1;1161:41:15;;;;-1:-1:-1;;;;;1161:41:15;;;2530:1014;;;;;;:::i;:::-;;:::i;4388:162:1:-;;;;;;;;;;-1:-1:-1;4388:162:1;;;;;:::i;:::-;-1:-1:-1;;;;;4508:25:1;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4388:162;1918:198:0;;;;;;;;;;-1:-1:-1;1918:198:0;;;;;:::i;:::-;;:::i;4772:205:15:-;4907:4;4934:36;4958:11;4934:23;:36::i;:::-;4927:43;4772:205;-1:-1:-1;;4772:205:15:o;2471:98:1:-;2525:13;2557:5;2550:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2471:98;:::o;3935:167::-;4011:7;4030:23;4045:7;4030:14;:23::i;:::-;-1:-1:-1;4071:24:1;;;;:15;:24;;;;;;-1:-1:-1;;;;;4071:24:1;;3935:167::o;3468:406::-;3548:13;3564:23;3579:7;3564:14;:23::i;:::-;3548:39;;3611:5;-1:-1:-1;;;;;3605:11:1;:2;-1:-1:-1;;;;;3605:11:1;;3597:57;;;;-1:-1:-1;;;3597:57:1;;7441:2:16;3597:57:1;;;7423:21:16;7480:2;7460:18;;;7453:30;7519:34;7499:18;;;7492:62;7590:3;7570:18;;;7563:31;7611:19;;3597:57:1;;;;;;;;;719:10:9;-1:-1:-1;;;;;3686:21:1;;;;:62;;-1:-1:-1;3711:37:1;3728:5;719:10:9;4388:162:1;:::i;3711:37::-;3665:170;;;;-1:-1:-1;;;3665:170:1;;7843:2:16;3665:170:1;;;7825:21:16;7882:2;7862:18;;;7855:30;7921:34;7901:18;;;7894:62;7992:31;7972:18;;;7965:59;8041:19;;3665:170:1;7641:425:16;3665:170:1;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3538:336;3468:406;;:::o;1726:102:15:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;8273:2:16;1240:68:0;;;8255:21:16;;;8292:18;;;8285:30;8351:34;8331:18;;;8324:62;8403:18;;1240:68:0;8071:356:16;1240:68:0;1797:10:15::1;:24:::0;;-1:-1:-1;;;;;;1797:24:15::1;-1:-1:-1::0;;;;;1797:24:15;;;::::1;::::0;;;::::1;::::0;;1726:102::o;2046:139::-;2123:6;;-1:-1:-1;;;;;2123:6:15;2109:10;:20;2101:55;;;;-1:-1:-1;;;2101:55:15;;8634:2:16;2101:55:15;;;8616:21:16;8673:2;8653:18;;;8646:30;8712:24;8692:18;;;8685:52;8754:18;;2101:55:15;8432:346:16;2101:55:15;2164:14;2170:7;2164:5;:14::i;:::-;2046:139;:::o;3675:295::-;3771:10;3751:16;3759:7;3751;:16::i;:::-;-1:-1:-1;;;;;3751:30:15;;3747:145;;3838:10;3809:16;3817:7;3809;:16::i;:::-;-1:-1:-1;;;;;3801:31:15;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;3801:47:15;;3793:90;;;;-1:-1:-1;;;3793:90:15;;9241:2:16;3793:90:15;;;9223:21:16;9280:2;9260:18;;;9253:30;9319:32;9299:18;;;9292:60;9369:18;;3793:90:15;9039:354:16;3793:90:15;3899:26;3912:7;3921:3;3899:12;:26::i;:::-;3950:7;3938:25;3959:3;3938:25;;;;;;:::i;:::-;;;;;;;;3675:295;;:::o;4612:326:1:-;4801:41;719:10:9;4834:7:1;4801:18;:41::i;:::-;4793:99;;;;-1:-1:-1;;;4793:99:1;;9600:2:16;4793:99:1;;;9582:21:16;9639:2;9619:18;;;9612:30;9678:34;9658:18;;;9651:62;-1:-1:-1;;;9729:18:16;;;9722:43;9782:19;;4793:99:1;9398:409:16;4793:99:1;4903:28;4913:4;4919:2;4923:7;4903:9;:28::i;1306:253:4:-;1403:7;1438:23;1455:5;1438:16;:23::i;:::-;1430:5;:31;1422:87;;;;-1:-1:-1;;;1422:87:4;;10014:2:16;1422:87:4;;;9996:21:16;10053:2;10033:18;;;10026:30;10092:34;10072:18;;;10065:62;10163:13;10143:18;;;10136:41;10194:19;;1422:87:4;9812:407:16;1422:87:4;-1:-1:-1;;;;;;1526:19:4;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1306:253::o;2271:227:15:-;2330:10;;-1:-1:-1;;;;;2330:10:15;2316;:24;2308:63;;;;-1:-1:-1;;;2308:63:15;;10426:2:16;2308:63:15;;;10408:21:16;10465:2;10445:18;;;10438:30;10504:28;10484:18;;;10477:56;10550:18;;2308:63:15;10224:350:16;2308:63:15;2398:10;;:49;;2380:12;;-1:-1:-1;;;;;2398:10:15;;2421:21;;2380:12;2398:49;2380:12;2398:49;2421:21;2398:10;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2379:68;;;2463:7;2455:36;;;;-1:-1:-1;;;2455:36:15;;10991:2:16;2455:36:15;;;10973:21:16;11030:2;11010:18;;;11003:30;11069:18;11049;;;11042:46;11105:18;;2455:36:15;10789:340:16;5004:179:1;5137:39;5154:4;5160:2;5164:7;5137:39;;;;;;;;;;;;:16;:39::i;4053:80:15:-;4086:4;;4096:29;;;;;4119:4;4096:29;;;1725:74:16;-1:-1:-1;;;;;4086:4:15;;;;:9;;:4;;4096:14;;1698:18:16;;4096:29:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4086:40;;;;;;;;;;;;;4135:25:16;;4123:2;4108:18;;3989:177;4086:40:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4053:80::o;1813:230:4:-;1888:7;1923:30;1717:10;:17;;1630:111;1923:30;1915:5;:38;1907:95;;;;-1:-1:-1;;;1907:95:4;;11525:2:16;1907:95:4;;;11507:21:16;11564:2;11544:18;;;11537:30;11603:34;11583:18;;;11576:62;11674:14;11654:18;;;11647:42;11706:19;;1907:95:4;11323:408:16;1907:95:4;2019:10;2030:5;2019:17;;;;;;;;:::i;:::-;;;;;;;;;2012:24;;1813:230;;;:::o;2190:219:1:-;2262:7;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;;2324:56;;;;-1:-1:-1;;;2324:56:1;;12127:2:16;2324:56:1;;;12109:21:16;12166:2;12146:18;;;12139:30;12205:26;12185:18;;;12178:54;12249:18;;2324:56:1;11925:348:16;1929:204:1;2001:7;-1:-1:-1;;;;;2028:19:1;;2020:73;;;;-1:-1:-1;;;2020:73:1;;12480:2:16;2020:73:1;;;12462:21:16;12519:2;12499:18;;;12492:30;12558:34;12538:18;;;12531:62;12629:11;12609:18;;;12602:39;12658:19;;2020:73:1;12278:405:16;2020:73:1;-1:-1:-1;;;;;;2110:16:1;;;;;:9;:16;;;;;;;1929:204::o;1668:101:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;8273:2:16;1240:68:0;;;8255:21:16;;;8292:18;;;8285:30;8351:34;8331:18;;;8324:62;8403:18;;1240:68:0;8071:356:16;1240:68:0;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;1574:86:15:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;8273:2:16;1240:68:0;;;8255:21:16;;;8292:18;;;8285:30;8351:34;8331:18;;;8324:62;8403:18;;1240:68:0;8071:356:16;1240:68:0;1637:6:15::1;:16:::0;;-1:-1:-1;;;;;;1637:16:15::1;-1:-1:-1::0;;;;;1637:16:15;;;::::1;::::0;;;::::1;::::0;;1574:86::o;2633:102:1:-;2689:13;2721:7;2714:14;;;;;:::i;1890:86:15:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;8273:2:16;1240:68:0;;;8255:21:16;;;8292:18;;;8285:30;8351:34;8331:18;;;8324:62;8403:18;;1240:68:0;8071:356:16;1240:68:0;1953:6:15::1;:16:::0;;-1:-1:-1;;;;;;1953:16:15::1;-1:-1:-1::0;;;;;1953:16:15;;;::::1;::::0;;;::::1;::::0;;1890:86::o;4169:153:1:-;4263:52;719:10:9;4296:8:1;4306;4263:18;:52::i;:::-;4169:153;;:::o;5249:314::-;5417:41;719:10:9;5450:7:1;5417:18;:41::i;:::-;5409:99;;;;-1:-1:-1;;;5409:99:1;;9600:2:16;5409:99:1;;;9582:21:16;9639:2;9619:18;;;9612:30;9678:34;9658:18;;;9651:62;-1:-1:-1;;;9729:18:16;;;9722:43;9782:19;;5409:99:1;9398:409:16;5409:99:1;5518:38;5532:4;5538:2;5542:7;5551:4;5518:13;:38::i;4577:189:15:-;4700:13;4736:23;4751:7;4736:14;:23::i;2530:1014::-;2603:7;-1:-1:-1;;;;;2681:16:15;;2687:10;2681:16;2677:117;;2740:10;-1:-1:-1;;;;;2717:33:15;2725:2;-1:-1:-1;;;;;2717:17:15;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2717:33:15;;2709:76;;;;-1:-1:-1;;;2709:76:15;;9241:2:16;2709:76:15;;;9223:21:16;9280:2;9260:18;;;9253:30;9319:32;9299:18;;;9292:60;9369:18;;2709:76:15;9039:354:16;2709:76:15;2905:4;;:53;;;;;2923:10;2905:53;;;12977:34:16;2943:4:15;13027:18:16;;;13020:43;2950:7:15;13079:18:16;;;13072:34;-1:-1:-1;;;;;2905:4:15;;;;:17;;12889:18:16;;2905:53:15;;;;;;;;;;;;;;;;;;;-1:-1:-1;2905:53:15;;;;;;;;-1:-1:-1;;2905:53:15;;;;;;;;;;;;:::i;:::-;;;2901:329;;3085:13;3129:4;3112:6;;;;;;;;;-1:-1:-1;;;;;3112:6:15;-1:-1:-1;;;;;3104:20:15;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:29;;;;:::i;:::-;3103:35;;3137:1;3103:35;:::i;:::-;3102:44;;3142:4;3102:44;:::i;:::-;3085:62;;;;3179:5;3166:9;:18;;3158:63;;;;-1:-1:-1;;;3158:63:15;;15097:2:16;3158:63:15;;;15079:21:16;;;15116:18;;;15109:30;15175:34;15155:18;;;15148:62;15227:18;;3158:63:15;14895:356:16;3158:63:15;2997:233;2901:329;;;;;3335:15;3353:25;:15;918:14:10;;827:112;3353:25:15;3335:43;;3386:27;:15;1032:19:10;;1050:1;1032:19;;;945:123;3386:27:15;3421:22;3431:2;3435:7;3421:9;:22::i;:::-;3451:26;3464:7;3473:3;3451:12;:26::i;:::-;3502:7;3490:25;3511:3;3490:25;;;;;;:::i;:::-;;;;;;;;3530:7;2530:1014;-1:-1:-1;;;2530:1014:15:o;1918:198:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;8273:2:16;1240:68:0;;;8255:21:16;;;8292:18;;;8285:30;8351:34;8331:18;;;8324:62;8403:18;;1240:68:0;8071:356:16;1240:68:0;-1:-1:-1;;;;;2006:22:0;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:0;;15458:2:16;1998:73:0::1;::::0;::::1;15440:21:16::0;15497:2;15477:18;;;15470:30;15536:34;15516:18;;;15509:62;15607:8;15587:18;;;15580:36;15633:19;;1998:73:0::1;15256:402:16::0;1998:73:0::1;2081:28;2100:8;2081:18;:28::i;945:123:10:-:0;1032:19;;1050:1;1032:19;;;945:123::o;1005:222:4:-;1107:4;-1:-1:-1;;;;;;1130:50:4;;1145:35;1130:50;;:90;;;1184:36;1208:11;1184:23;:36::i;13466:133:1:-;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;13539:53;;;;-1:-1:-1;;;13539:53:1;;12127:2:16;13539:53:1;;;12109:21:16;12166:2;12146:18;;;12139:30;12205:26;12185:18;;;12178:54;12249:18;;13539:53:1;11925:348:16;12768:171:1;12842:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;12842:29:1;-1:-1:-1;;;;;12842:29:1;;;;;;;;:24;;12895:23;12842:24;12895:14;:23::i;:::-;-1:-1:-1;;;;;12886:46:1;;;;;;;;;;;12768:171;;:::o;4458:113:15:-;4544:20;4556:7;4544:11;:20::i;1237:214:5:-;7321:4:1;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;1328:75:5;;;;-1:-1:-1;;;1328:75:5;;15865:2:16;1328:75:5;;;15847:21:16;15904:2;15884:18;;;15877:30;15943:34;15923:18;;;15916:62;16014:16;15994:18;;;15987:44;16048:19;;1328:75:5;15663:410:16;1328:75:5;1413:19;;;;:10;:19;;;;;:31;1435:9;1413:19;:31;:::i;7540:261:1:-;7633:4;7649:13;7665:23;7680:7;7665:14;:23::i;:::-;7649:39;;7717:5;-1:-1:-1;;;;;7706:16:1;:7;-1:-1:-1;;;;;7706:16:1;;:52;;;-1:-1:-1;;;;;;4508:25:1;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7726:32;7706:87;;;;7786:7;-1:-1:-1;;;;;7762:31:1;:20;7774:7;7762:11;:20::i;:::-;-1:-1:-1;;;;;7762:31:1;;7706:87;7698:96;7540:261;-1:-1:-1;;;;7540:261:1:o;11423:1233::-;11577:4;-1:-1:-1;;;;;11550:31:1;:23;11565:7;11550:14;:23::i;:::-;-1:-1:-1;;;;;11550:31:1;;11542:81;;;;-1:-1:-1;;;11542:81:1;;18484:2:16;11542:81:1;;;18466:21:16;18523:2;18503:18;;;18496:30;18562:34;18542:18;;;18535:62;-1:-1:-1;;;18613:18:16;;;18606:35;18658:19;;11542:81:1;18282:401:16;11542:81:1;-1:-1:-1;;;;;11641:16:1;;11633:65;;;;-1:-1:-1;;;11633:65:1;;18890:2:16;11633:65:1;;;18872:21:16;18929:2;18909:18;;;18902:30;18968:34;18948:18;;;18941:62;19039:6;19019:18;;;19012:34;19063:19;;11633:65:1;18688:400:16;11633:65:1;11709:42;11730:4;11736:2;11740:7;11749:1;11709:20;:42::i;:::-;11878:4;-1:-1:-1;;;;;11851:31:1;:23;11866:7;11851:14;:23::i;:::-;-1:-1:-1;;;;;11851:31:1;;11843:81;;;;-1:-1:-1;;;11843:81:1;;18484:2:16;11843:81:1;;;18466:21:16;18523:2;18503:18;;;18496:30;18562:34;18542:18;;;18535:62;-1:-1:-1;;;18613:18:16;;;18606:35;18658:19;;11843:81:1;18282:401:16;11843:81:1;11993:24;;;;:15;:24;;;;;;;;11986:31;;-1:-1:-1;;;;;;11986:31:1;;;;;;-1:-1:-1;;;;;12461:15:1;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12461:20:1;;;12495:13;;;;;;;;;:18;;11986:31;12495:18;;;12533:16;;;:7;:16;;;;;;:21;;;;;;;;;;12570:27;;12009:7;;12570:27;;;3538:336;3468:406;;:::o;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;13075:307:1:-;13225:8;-1:-1:-1;;;;;13216:17:1;:5;-1:-1:-1;;;;;13216:17:1;;13208:55;;;;-1:-1:-1;;;13208:55:1;;19295:2:16;13208:55:1;;;19277:21:16;19334:2;19314:18;;;19307:30;19373:27;19353:18;;;19346:55;19418:18;;13208:55:1;19093:349:16;13208:55:1;-1:-1:-1;;;;;13273:25:1;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13273:46:1;;;;;;;;;;13334:41;;586::16;;;13334::1;;559:18:16;13334:41:1;;;;;;;13075:307;;;:::o;6424:305::-;6574:28;6584:4;6590:2;6594:7;6574:9;:28::i;:::-;6620:47;6643:4;6649:2;6653:7;6662:4;6620:22;:47::i;:::-;6612:110;;;;-1:-1:-1;;;6612:110:1;;19649:2:16;6612:110:1;;;19631:21:16;19688:2;19668:18;;;19661:30;19727:34;19707:18;;;19700:62;-1:-1:-1;;;19778:18:16;;;19771:48;19836:19;;6612:110:1;19447:414:16;482:608:5;555:13;580:23;595:7;580:14;:23::i;:::-;614;640:19;;;:10;:19;;;;;614:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;669:18;690:10;3395:9:1;;;;;;;;;-1:-1:-1;3395:9:1;;;3319:92;690:10:5;669:31;;779:4;773:18;795:1;773:23;769:70;;-1:-1:-1;819:9:5;482:608;-1:-1:-1;;482:608:5:o;769:70::-;941:23;;:27;937:106;;1015:4;1021:9;998:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;984:48;;;;482:608;;;:::o;937:106::-;1060:23;1075:7;1060:14;:23::i;8131:108:1:-;8206:26;8216:2;8220:7;8206:26;;;;;;;;;;;;:9;:26::i;1570:300::-;1672:4;-1:-1:-1;;;;;;1707:40:1;;1722:25;1707:40;;:104;;-1:-1:-1;;;;;;;1763:48:1;;1778:33;1763:48;1707:104;:156;;;-1:-1:-1;952:25:12;-1:-1:-1;;;;;;937:40:12;;;1827:36:1;829:155:12;1669:200:5;1737:20;1749:7;1737:11;:20::i;:::-;1778:19;;;;:10;:19;;;;;1772:33;;;;;:::i;:::-;:38;;-1:-1:-1;1768:95:5;;1833:19;;;;:10;:19;;;;;1826:26;;;:::i;4223:229:15:-;4389:56;4416:4;4422:2;4426:7;4435:9;4389:26;:56::i;14151:831:1:-;14300:4;-1:-1:-1;;;;;14320:13:1;;1465:19:8;:23;14316:660:1;;14355:71;;-1:-1:-1;;;14355:71:1;;-1:-1:-1;;;;;14355:36:1;;;;;:71;;719:10:9;;14406:4:1;;14412:7;;14421:4;;14355:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14355:71:1;;;;;;;;-1:-1:-1;;14355:71:1;;;;;;;;;;;;:::i;:::-;;;14351:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14593:6;:13;14610:1;14593:18;14589:321;;14635:60;;-1:-1:-1;;;14635:60:1;;19649:2:16;14635:60:1;;;19631:21:16;19688:2;19668:18;;;19661:30;19727:34;19707:18;;;19700:62;-1:-1:-1;;;19778:18:16;;;19771:48;19836:19;;14635:60:1;19447:414:16;14589:321:1;14862:6;14856:13;14847:6;14843:2;14839:15;14832:38;14351:573;-1:-1:-1;;;;;;14476:51:1;-1:-1:-1;;;14476:51:1;;-1:-1:-1;14469:58:1;;14316:660;-1:-1:-1;14961:4:1;14151:831;;;;;;:::o;2801:276::-;2874:13;2899:23;2914:7;2899:14;:23::i;:::-;2933:21;2957:10;3395:9;;;;;;;;;-1:-1:-1;3395:9:1;;;3319:92;2957:10;2933:34;;3008:1;2990:7;2984:21;:25;:86;;;;;;;;;;;;;;;;;3036:7;3045:18;:7;:16;:18::i;:::-;3019:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2984:86;2977:93;2801:276;-1:-1:-1;;;2801:276:1:o;8460:309::-;8584:18;8590:2;8594:7;8584:5;:18::i;:::-;8633:53;8664:1;8668:2;8672:7;8681:4;8633:22;:53::i;:::-;8612:150;;;;-1:-1:-1;;;8612:150:1;;19649:2:16;8612:150:1;;;19631:21:16;19688:2;19668:18;;;19661:30;19727:34;19707:18;;;19700:62;-1:-1:-1;;;19778:18:16;;;19771:48;19836:19;;8612:150:1;19447:414:16;10337:762:1;10396:13;10412:23;10427:7;10412:14;:23::i;:::-;10396:39;;10446:51;10467:5;10482:1;10486:7;10495:1;10446:20;:51::i;:::-;10607:23;10622:7;10607:14;:23::i;:::-;10675:24;;;;:15;:24;;;;;;;;10668:31;;-1:-1:-1;;;;;;10668:31:1;;;;;;-1:-1:-1;;;;;10915:16:1;;;;;:9;:16;;;;;:21;;-1:-1:-1;;10915:21:1;;;10963:16;;;:7;:16;;;;;;10956:23;;;;;;;10995:36;10599:31;;-1:-1:-1;10691:7:1;;10995:36;;10675:24;;10995:36;4169:153;;:::o;2112:890:4:-;2283:61;2310:4;2316:2;2320:12;2334:9;2283:26;:61::i;:::-;2371:1;2359:9;:13;2355:219;;;2500:63;;-1:-1:-1;;;2500:63:4;;21340:2:16;2500:63:4;;;21322:21:16;21379:2;21359:18;;;21352:30;21418:34;21398:18;;;21391:62;21489:23;21469:18;;;21462:51;21530:19;;2500:63:4;21138:417:16;2355:219:4;2602:12;-1:-1:-1;;;;;2629:18:4;;2625:183;;2663:40;2695:7;3811:10;:17;;3784:24;;;;:15;:24;;;;;:44;;;3838:24;;;;;;;;;;;;3708:161;2663:40;2625:183;;;2732:2;-1:-1:-1;;;;;2724:10:4;:4;-1:-1:-1;;;;;2724:10:4;;2720:88;;2750:47;2783:4;2789:7;2750:32;:47::i;:::-;-1:-1:-1;;;;;2821:16:4;;2817:179;;2853:45;2890:7;2853:36;:45::i;:::-;2817:179;;;2925:4;-1:-1:-1;;;;;2919:10:4;:2;-1:-1:-1;;;;;2919:10:4;;2915:81;;2945:40;2973:2;2977:7;2945:27;:40::i;:::-;2273:729;2112:890;;;;:::o;415:696:11:-;471:13;520:14;537:17;548:5;537:10;:17::i;:::-;557:1;537:21;520:38;;572:20;606:6;595:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;595:18:11;-1:-1:-1;572:41:11;-1:-1:-1;733:28:11;;;749:2;733:28;788:280;-1:-1:-1;;819:5:11;958:8;953:2;942:14;;937:30;819:5;924:44;1012:2;1003:11;;;-1:-1:-1;1032:21:11;788:280;1032:21;-1:-1:-1;1088:6:11;415:696;-1:-1:-1;;;415:696:11:o;9091:920:1:-;-1:-1:-1;;;;;9170:16:1;;9162:61;;;;-1:-1:-1;;;9162:61:1;;21762:2:16;9162:61:1;;;21744:21:16;;;21781:18;;;21774:30;21840:34;21820:18;;;21813:62;21892:18;;9162:61:1;21560:356:16;9162:61:1;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;7344:31;9233:58;;;;-1:-1:-1;;;9233:58:1;;22123:2:16;9233:58:1;;;22105:21:16;22162:2;22142:18;;;22135:30;22201;22181:18;;;22174:58;22249:18;;9233:58:1;21921:352:16;9233:58:1;9302:48;9331:1;9335:2;9339:7;9348:1;9302:20;:48::i;:::-;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;7344:31;9437:58;;;;-1:-1:-1;;;9437:58:1;;22123:2:16;9437:58:1;;;22105:21:16;22162:2;22142:18;;;22135:30;22201;22181:18;;;22174:58;22249:18;;9437:58:1;21921:352:16;9437:58:1;-1:-1:-1;;;;;9837:13:1;;;;;;:9;:13;;;;;;;;:18;;9854:1;9837:18;;;9876:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9876:21:1;;;;;9913:33;9884:7;;9837:13;;9913:33;;9837:13;;9913:33;4169:153;;:::o;15698:396::-;15882:1;15870:9;:13;15866:222;;;-1:-1:-1;;;;;15903:18:1;;;15899:85;;-1:-1:-1;;;;;15941:15:1;;;;;;:9;:15;;;;;:28;;15960:9;;15941:15;:28;;15960:9;;15941:28;:::i;:::-;;;;-1:-1:-1;;15899:85:1;-1:-1:-1;;;;;16001:16:1;;;15997:81;;-1:-1:-1;;;;;16037:13:1;;;;;;:9;:13;;;;;:26;;16054:9;;16037:13;:26;;16054:9;;16037:26;:::i;:::-;;;;-1:-1:-1;;15698:396:1;;;;:::o;4486:970:4:-;4748:22;4798:1;4773:22;4790:4;4773:16;:22::i;:::-;:26;;;;:::i;:::-;4809:18;4830:26;;;:17;:26;;;;;;4748:51;;-1:-1:-1;4960:28:4;;;4956:323;;-1:-1:-1;;;;;5026:18:4;;5004:19;5026:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5075:30;;;;;;:44;;;5191:30;;:17;:30;;;;;:43;;;4956:323;-1:-1:-1;5372:26:4;;;;:17;:26;;;;;;;;5365:33;;;-1:-1:-1;;;;;5415:18:4;;;;;:12;:18;;;;;:34;;;;;;;5408:41;4486:970::o;5744:1061::-;6018:10;:17;5993:22;;6018:21;;6038:1;;6018:21;:::i;:::-;6049:18;6070:24;;;:15;:24;;;;;;6438:10;:26;;5993:46;;-1:-1:-1;6070:24:4;;5993:46;;6438:26;;;;;;:::i;:::-;;;;;;;;;6416:48;;6500:11;6475:10;6486;6475:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6579:28;;;:15;:28;;;;;;;:41;;;6748:24;;;;;6741:31;6782:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5815:990;;;5744:1061;:::o;3296:217::-;3380:14;3397:20;3414:2;3397:16;:20::i;:::-;-1:-1:-1;;;;;3427:16:4;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3471:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3296:217:4:o;9889:890:14:-;9942:7;;10026:6;10017:15;;10013:99;;10061:6;10052:15;;;-1:-1:-1;10095:2:14;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:14;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:14;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:14;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:14;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:14;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:14:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:177:16:-;-1:-1:-1;;;;;;92:5:16;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:250::-;723:1;733:113;747:6;744:1;741:13;733:113;;;823:11;;;817:18;804:11;;;797:39;769:2;762:10;733:113;;;-1:-1:-1;;880:1:16;862:16;;855:27;638:250::o;893:271::-;935:3;973:5;967:12;1000:6;995:3;988:19;1016:76;1085:6;1078:4;1073:3;1069:14;1062:4;1055:5;1051:16;1016:76;:::i;:::-;1146:2;1125:15;-1:-1:-1;;1121:29:16;1112:39;;;;1153:4;1108:50;;893:271;-1:-1:-1;;893:271:16:o;1169:220::-;1318:2;1307:9;1300:21;1281:4;1338:45;1379:2;1368:9;1364:18;1356:6;1338:45;:::i;1394:180::-;1453:6;1506:2;1494:9;1485:7;1481:23;1477:32;1474:52;;;1522:1;1519;1512:12;1474:52;-1:-1:-1;1545:23:16;;1394:180;-1:-1:-1;1394:180:16:o;1810:154::-;-1:-1:-1;;;;;1889:5:16;1885:54;1878:5;1875:65;1865:93;;1954:1;1951;1944:12;1969:315;2037:6;2045;2098:2;2086:9;2077:7;2073:23;2069:32;2066:52;;;2114:1;2111;2104:12;2066:52;2153:9;2140:23;2172:31;2197:5;2172:31;:::i;:::-;2222:5;2274:2;2259:18;;;;2246:32;;-1:-1:-1;;;1969:315:16:o;2289:247::-;2348:6;2401:2;2389:9;2380:7;2376:23;2372:32;2369:52;;;2417:1;2414;2407:12;2369:52;2456:9;2443:23;2475:31;2500:5;2475:31;:::i;2541:184::-;-1:-1:-1;;;2590:1:16;2583:88;2690:4;2687:1;2680:15;2714:4;2711:1;2704:15;2730:632;2795:5;2825:18;2866:2;2858:6;2855:14;2852:40;;;2872:18;;:::i;:::-;2947:2;2941:9;2915:2;3001:15;;-1:-1:-1;;2997:24:16;;;3023:2;2993:33;2989:42;2977:55;;;3047:18;;;3067:22;;;3044:46;3041:72;;;3093:18;;:::i;:::-;3133:10;3129:2;3122:22;3162:6;3153:15;;3192:6;3184;3177:22;3232:3;3223:6;3218:3;3214:16;3211:25;3208:45;;;3249:1;3246;3239:12;3208:45;3299:6;3294:3;3287:4;3279:6;3275:17;3262:44;3354:1;3347:4;3338:6;3330;3326:19;3322:30;3315:41;;;;2730:632;;;;;:::o;3367:222::-;3410:5;3463:3;3456:4;3448:6;3444:17;3440:27;3430:55;;3481:1;3478;3471:12;3430:55;3503:80;3579:3;3570:6;3557:20;3550:4;3542:6;3538:17;3503:80;:::i;3594:390::-;3672:6;3680;3733:2;3721:9;3712:7;3708:23;3704:32;3701:52;;;3749:1;3746;3739:12;3701:52;3785:9;3772:23;3762:33;;3846:2;3835:9;3831:18;3818:32;3873:18;3865:6;3862:30;3859:50;;;3905:1;3902;3895:12;3859:50;3928;3970:7;3961:6;3950:9;3946:22;3928:50;:::i;:::-;3918:60;;;3594:390;;;;;:::o;4171:456::-;4248:6;4256;4264;4317:2;4305:9;4296:7;4292:23;4288:32;4285:52;;;4333:1;4330;4323:12;4285:52;4372:9;4359:23;4391:31;4416:5;4391:31;:::i;:::-;4441:5;-1:-1:-1;4498:2:16;4483:18;;4470:32;4511:33;4470:32;4511:33;:::i;:::-;4171:456;;4563:7;;-1:-1:-1;;;4617:2:16;4602:18;;;;4589:32;;4171:456::o;4632:118::-;4718:5;4711:13;4704:21;4697:5;4694:32;4684:60;;4740:1;4737;4730:12;4755:382;4820:6;4828;4881:2;4869:9;4860:7;4856:23;4852:32;4849:52;;;4897:1;4894;4887:12;4849:52;4936:9;4923:23;4955:31;4980:5;4955:31;:::i;:::-;5005:5;-1:-1:-1;5062:2:16;5047:18;;5034:32;5075:30;5034:32;5075:30;:::i;:::-;5124:7;5114:17;;;4755:382;;;;;:::o;5142:795::-;5237:6;5245;5253;5261;5314:3;5302:9;5293:7;5289:23;5285:33;5282:53;;;5331:1;5328;5321:12;5282:53;5370:9;5357:23;5389:31;5414:5;5389:31;:::i;:::-;5439:5;-1:-1:-1;5496:2:16;5481:18;;5468:32;5509:33;5468:32;5509:33;:::i;:::-;5561:7;-1:-1:-1;5615:2:16;5600:18;;5587:32;;-1:-1:-1;5670:2:16;5655:18;;5642:32;5697:18;5686:30;;5683:50;;;5729:1;5726;5719:12;5683:50;5752:22;;5805:4;5797:13;;5793:27;-1:-1:-1;5783:55:16;;5834:1;5831;5824:12;5783:55;5857:74;5923:7;5918:2;5905:16;5900:2;5896;5892:11;5857:74;:::i;:::-;5847:84;;;5142:795;;;;;;;:::o;5942:457::-;6020:6;6028;6081:2;6069:9;6060:7;6056:23;6052:32;6049:52;;;6097:1;6094;6087:12;6049:52;6136:9;6123:23;6155:31;6180:5;6155:31;:::i;:::-;6205:5;-1:-1:-1;6261:2:16;6246:18;;6233:32;6288:18;6277:30;;6274:50;;;6320:1;6317;6310:12;6404:388;6472:6;6480;6533:2;6521:9;6512:7;6508:23;6504:32;6501:52;;;6549:1;6546;6539:12;6501:52;6588:9;6575:23;6607:31;6632:5;6607:31;:::i;:::-;6657:5;-1:-1:-1;6714:2:16;6699:18;;6686:32;6727:33;6686:32;6727:33;:::i;6797:437::-;6876:1;6872:12;;;;6919;;;6940:61;;6994:4;6986:6;6982:17;6972:27;;6940:61;7047:2;7039:6;7036:14;7016:18;7013:38;7010:218;;-1:-1:-1;;;7081:1:16;7074:88;7185:4;7182:1;7175:15;7213:4;7210:1;7203:15;7010:218;;6797:437;;;:::o;8783:251::-;8853:6;8906:2;8894:9;8885:7;8881:23;8877:32;8874:52;;;8922:1;8919;8912:12;8874:52;8954:9;8948:16;8973:31;8998:5;8973:31;:::i;11134:184::-;11204:6;11257:2;11245:9;11236:7;11232:23;11228:32;11225:52;;;11273:1;11270;11263:12;11225:52;-1:-1:-1;11296:16:16;;11134:184;-1:-1:-1;11134:184:16:o;11736:::-;-1:-1:-1;;;11785:1:16;11778:88;11885:4;11882:1;11875:15;11909:4;11906:1;11899:15;13117:245;13184:6;13237:2;13225:9;13216:7;13212:23;13208:32;13205:52;;;13253:1;13250;13243:12;13205:52;13285:9;13279:16;13304:28;13326:5;13304:28;:::i;13367:301::-;13437:6;13490:2;13478:9;13469:7;13465:23;13461:32;13458:52;;;13506:1;13503;13496:12;13458:52;13538:9;13532:16;13588:30;13581:5;13577:42;13570:5;13567:53;13557:81;;13634:1;13631;13624:12;13862:184;-1:-1:-1;;;13911:1:16;13904:88;14011:4;14008:1;14001:15;14035:4;14032:1;14025:15;14051:366;14091:1;14117:30;14174:2;14171:1;14167:10;14196:3;14186:191;;-1:-1:-1;;;14230:1:16;14223:88;14334:4;14331:1;14324:15;14362:4;14359:1;14352:15;14186:191;14395:10;;14391:20;;;;;14051:366;-1:-1:-1;;14051:366:16:o;14422:193::-;14490:30;14540:10;;;14552;;;14536:27;;14575:11;;;14572:37;;;14589:18;;:::i;:::-;14572:37;14422:193;;;;:::o;14620:270::-;14692:30;14754:10;;;14766;;;14750:27;14797:20;;;;14692:30;14836:24;;;14826:58;;14864:18;;:::i;:::-;14826:58;;14620:270;;;;:::o;16204:545::-;16306:2;16301:3;16298:11;16295:448;;;16342:1;16367:5;16363:2;16356:17;16412:4;16408:2;16398:19;16482:2;16470:10;16466:19;16463:1;16459:27;16453:4;16449:38;16518:4;16506:10;16503:20;16500:47;;;-1:-1:-1;16541:4:16;16500:47;16596:2;16591:3;16587:12;16584:1;16580:20;16574:4;16570:31;16560:41;;16651:82;16669:2;16662:5;16659:13;16651:82;;;16714:17;;;16695:1;16684:13;16651:82;;;16655:3;;;16204:545;;;:::o;16925:1352::-;17051:3;17045:10;17078:18;17070:6;17067:30;17064:56;;;17100:18;;:::i;:::-;17129:97;17219:6;17179:38;17211:4;17205:11;17179:38;:::i;:::-;17173:4;17129:97;:::i;:::-;17281:4;;17345:2;17334:14;;17362:1;17357:663;;;;18064:1;18081:6;18078:89;;;-1:-1:-1;18133:19:16;;;18127:26;18078:89;-1:-1:-1;;16882:1:16;16878:11;;;16874:24;16870:29;16860:40;16906:1;16902:11;;;16857:57;18180:81;;17327:944;;17357:663;16151:1;16144:14;;;16188:4;16175:18;;-1:-1:-1;;17393:20:16;;;17511:236;17525:7;17522:1;17519:14;17511:236;;;17614:19;;;17608:26;17593:42;;17706:27;;;;17674:1;17662:14;;;;17541:19;;17511:236;;;17515:3;17775:6;17766:7;17763:19;17760:201;;;17836:19;;;17830:26;-1:-1:-1;;17919:1:16;17915:14;;;17931:3;17911:24;17907:37;17903:42;17888:58;17873:74;;17760:201;-1:-1:-1;;;;;18007:1:16;17991:14;;;17987:22;17974:36;;-1:-1:-1;16925:1352:16:o;19866:496::-;20045:3;20083:6;20077:13;20099:66;20158:6;20153:3;20146:4;20138:6;20134:17;20099:66;:::i;:::-;20228:13;;20187:16;;;;20250:70;20228:13;20187:16;20297:4;20285:17;;20250:70;:::i;:::-;20336:20;;19866:496;-1:-1:-1;;;;19866:496:16:o;20367:512::-;20561:4;-1:-1:-1;;;;;20671:2:16;20663:6;20659:15;20648:9;20641:34;20723:2;20715:6;20711:15;20706:2;20695:9;20691:18;20684:43;;20763:6;20758:2;20747:9;20743:18;20736:34;20806:3;20801:2;20790:9;20786:18;20779:31;20827:46;20868:3;20857:9;20853:19;20845:6;20827:46;:::i;:::-;20819:54;20367:512;-1:-1:-1;;;;;;20367:512:16:o;20884:249::-;20953:6;21006:2;20994:9;20985:7;20981:23;20977:32;20974:52;;;21022:1;21019;21012:12;20974:52;21054:9;21048:16;21073:30;21097:5;21073:30;:::i;22278:128::-;22345:9;;;22366:11;;;22363:37;;;22380:18;;:::i;22411:125::-;22476:9;;;22497:10;;;22494:36;;;22510:18;;:::i;22541:184::-;-1:-1:-1;;;22590:1:16;22583:88;22690:4;22687:1;22680:15;22714:4;22711:1;22704:15
Swarm Source
ipfs://34857265582135ba313a0dd29c51ff14fe8f491a6fbe229995f99852f9038dcf
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.