ERC-721
Overview
Max Total Supply
500 OP
Holders
324
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 OPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Oasis
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: GPL-3.0 /** @title The Wild Oasis ERC-721 token * @dev This contract is for the Oasis project by Wildxyz */ // LICENSE // Oasis.sol is a modified version of the original code from the // NounsToken.sol— an implementation of OpenZeppelin's ERC-721: // https://github.com/nounsDAO/nouns-monorepo/blob/master/packages/nouns-contracts/contracts/NounsToken.sol // The original code is licensed under the GPL-3.0 license // Thank you to the Nouns team for the inspiration and code! pragma solidity ^0.8.6; import {UpdatableOperatorFilterer} from './UpdatableOperatorFilterer.sol'; import {RevokableDefaultOperatorFilterer} from './RevokableDefaultOperatorFilterer.sol'; import { Ownable } from './Ownable.sol'; import { ERC721 } from './ERC721.sol'; import { IERC721 } from './IERC721.sol'; import { Strings } from './Strings.sol'; import { ERC721Checkpointable } from './ERC721Checkpointable.sol'; import { IOasis } from './IOasis.sol'; contract Oasis is IOasis, Ownable, RevokableDefaultOperatorFilterer, ERC721Checkpointable { // An address who has permissions to mint Oasis tokens address public minter; // The internal Oasis ID tracker uint256 public _currentTokenId; // URI string public baseURI = ""; // Mapping of operators to whether they are approved or not mapping(address => bool) public authorized; // Mapping of addresses flagged for denying token interactions mapping(address => bool) public blockList; /** * @notice Require that the sender is the minter. */ modifier onlyMinter() { require(msg.sender == minter, "Sender is not the minter"); _; } constructor(address _minter) ERC721("Oasis", "OP") { minter = _minter; } /** * @notice updates the deny list * @param flaggedOperator the address to be added to the deny list * @param status whether the address is to be added or removed from the deny list */ function updateDenyList(address flaggedOperator, bool status) public onlyOwner { _updateDenyList(flaggedOperator, status); } /** * @notice Override isApprovedForAll * @param owner The owner of the Nouns * @param operator The operator to check if approved */ function isApprovedForAll(address owner, address operator) public view override(IERC721, ERC721) returns (bool) { require(blockList[operator] == false, "Operator has been denied by contract owner."); if (authorized[operator] == true) { return true; } return super.isApprovedForAll(owner, operator); } /* OS */ function setApprovalForAll(address operator, bool approved) public override(IERC721, ERC721) onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override(IERC721, ERC721) onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override(IERC721, ERC721) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override(IERC721, ERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override(IERC721, ERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function owner() public view virtual override (Ownable, UpdatableOperatorFilterer) returns (address) { return Ownable.owner(); } /** * @notice sets the authorized operators for interacting with the contract * @param operator the address to be added to the authorized operators * @param approved whether the address is approved or not within authorized operators */ function setAuthorized(address operator, bool approved) public onlyOwner { authorized[operator] = approved; } /** * @notice Mint an Oasis token to the given address. * @dev Only callable by the minter. * @param _to The address to mint the Oasis token to. * @return The ID of the newly minted Oasis token. */ function mint(address _to) public onlyMinter override returns (uint256) { return _mintTo(_to, _currentTokenId++); } /** * @notice Mint an Oasis token to the given address. * @dev Only callable by the minter. * @param to The address to mint the Oasis token to. * @param quantity The number of tokens to mint. * @return The ID of the newly minted Oasis token. */ function promoMint(address to, uint256 quantity) public onlyMinter override returns (uint256) { uint256 tokenId = _currentTokenId; for (uint256 i = 0; i < quantity; i++) { _mintTo(to, tokenId++); } _currentTokenId = tokenId; return tokenId; } /** * @notice Burn a pass. * @dev Only callable by the minter. * @param tokenId The ID of the Oasis token to burn. */ function burn(uint256 tokenId) public onlyMinter override { _burn(tokenId); emit TokenBurned(tokenId); } /** @notice Provides the tokenURI of a specific token * @param _tokenId: the token ID * @return the URI of the token */ function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return string( abi.encodePacked( baseURI, Strings.toString(_tokenId), ".json" ) ); } /** * @notice Set the token minter. * @dev Only callable by the owner when not locked. * @param _minter The address of the new minter. */ function setMinter(address _minter) external onlyOwner override { minter = _minter; //emit MinterUpdated(_minter); } /** * @notice Set the base URI. * @dev Only callable by the owner. * @param _newBaseURI The new base URI. */ function setBaseURI(string memory _newBaseURI) public onlyOwner override { baseURI = _newBaseURI; } ////////////////////////// // Internal Functions //// ////////////////////////// /** * @notice updates the deny list * @param flaggedOperator The address to be approved. * @param status True if the operator is approved, false to revoke approval. */ function _updateDenyList(address flaggedOperator, bool status) internal virtual { blockList[flaggedOperator] = status; //emit OperatorFlagged(flaggedOperator, status); } /** @notice Mints a new token * @param to: the address of the new owner looking to mint * @param tokenId: the token ID * @return the ID of the newly minted token */ function _mintTo(address to, uint256 tokenId) internal returns (uint256) { _mint(to, tokenId); emit TokenCreated(tokenId); return tokenId; } }
// 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://consensys.net/diligence/blog/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.3.2 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/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) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./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 // @title Vote checkpointing for an ERC-721 token. // LICENSE // ERC721Checkpointable.sol uses and modifies part of Compound Lab's Comp.sol: // https://github.com/compound-finance/compound-protocol/blob/ae4388e780a8d596d97619d9704a931a2752c2bc/contracts/Governance/Comp.sol // // Comp.sol source code Copyright 2020 Compound Labs, Inc. licensed under the BSD-3-Clause license. // With modifications by Nounders DAO. // // Additional conditions of BSD-3-Clause can be found here: https://opensource.org/licenses/BSD-3-Clause // // MODIFICATIONS // Checkpointing logic from Comp.sol has been used with the following modifications: // - `delegates` is renamed to `_delegates` and is set to private // - `delegates` is a public function that uses the `_delegates` mapping look-up, but unlike // Comp.sol, returns the delegator's own address if there is no delegate. // This avoids the delegator needing to "delegate to self" with an additional transaction // - `_transferTokens()` is renamed `_beforeTokenTransfer()` and adapted to hook into OpenZeppelin's ERC721 hooks. // Thank you to the Nouns team for the inspiration and code! pragma solidity ^0.8.6; import './ERC721Enumerable.sol'; abstract contract ERC721Checkpointable is ERC721Enumerable { /// @notice Defines decimals as per ERC-20 convention to make integrations with 3rd party governance platforms easier uint8 public constant decimals = 0; /// @notice A record of each accounts delegate mapping(address => address) private _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint96 votes; } /// @notice A record of votes checkpoints for each account, by index mapping(address => mapping(uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping(address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256('EIP712Domain(string name,uint256 chainId,address verifyingContract)'); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256('Delegation(address delegatee,uint256 nonce,uint256 expiry)'); /// @notice A record of states for signing / validating signatures mapping(address => uint256) public nonces; /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance); /** * @notice The votes a delegator can delegate, which is the current balance of the delegator. * @dev Used when calling `_delegate()` */ function votesToDelegate(address delegator) public view returns (uint96) { return safe96(balanceOf(delegator), 'ERC721Checkpointable::votesToDelegate: amount exceeds 96 bits'); } /** * @notice Overrides the standard `Comp.sol` delegates mapping to return * the delegator's own address if they haven't delegated. * This avoids having to delegate to oneself. */ function delegates(address delegator) public view returns (address) { address current = _delegates[delegator]; return current == address(0) ? delegator : current; } /** * @notice Adapted from `_transferTokens()` in `Comp.sol` to update delegate votes. * @dev hooks into OpenZeppelin's `ERC721._transfer` */ function _beforeTokenTransfer( address from, address to, uint256 tokenId, uint256 batchSize ) internal override { super._beforeTokenTransfer(from, to, tokenId, batchSize); /// @notice Differs from `_transferTokens()` to use `delegates` override method to simulate auto-delegation _moveDelegates(delegates(from), delegates(to), 1); } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) public { if (delegatee == address(0)) delegatee = msg.sender; return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s ) public { bytes32 domainSeparator = keccak256( abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this)) ); bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry)); bytes32 digest = keccak256(abi.encodePacked('\x19\x01', domainSeparator, structHash)); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), 'ERC721Checkpointable::delegateBySig: invalid signature'); require(nonce == nonces[signatory]++, 'ERC721Checkpointable::delegateBySig: invalid nonce'); require(block.timestamp <= expiry, 'ERC721Checkpointable::delegateBySig: signature expired'); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint96) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint256 blockNumber) public view returns (uint96) { require(blockNumber < block.number, 'ERC721Checkpointable::getPriorVotes: not yet determined'); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { /// @notice differs from `_delegate()` in `Comp.sol` to use `delegates` override method to simulate auto-delegation address currentDelegate = delegates(delegator); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); uint96 amount = votesToDelegate(delegator); _moveDelegates(currentDelegate, delegatee, amount); } function _moveDelegates( address srcRep, address dstRep, uint96 amount ) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { uint32 srcRepNum = numCheckpoints[srcRep]; uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint96 srcRepNew = sub96(srcRepOld, amount, 'ERC721Checkpointable::_moveDelegates: amount underflows'); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { uint32 dstRepNum = numCheckpoints[dstRep]; uint96 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint96 dstRepNew = add96(dstRepOld, amount, 'ERC721Checkpointable::_moveDelegates: amount overflows'); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint96 oldVotes, uint96 newVotes ) internal { uint32 blockNumber = safe32( block.number, 'ERC721Checkpointable::_writeCheckpoint: block number exceeds 32 bits' ); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint256 n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function safe96(uint256 n, string memory errorMessage) internal pure returns (uint96) { require(n < 2**96, errorMessage); return uint96(n); } function add96( uint96 a, uint96 b, string memory errorMessage ) internal pure returns (uint96) { uint96 c = a + b; require(c >= a, errorMessage); return c; } function sub96( uint96 a, uint96 b, string memory errorMessage ) internal pure returns (uint96) { require(b <= a, errorMessage); return a - b; } function getChainId() internal view returns (uint256) { uint256 chainId; assembly { chainId := chainid() } return chainId; } }
// 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: GPL-3.0 /// @title Interface for Auction Houses pragma solidity ^0.8.6; import { Oasis } from "./Oasis.sol"; interface IAuctionHouse { struct Auction { // ID for the (ERC721 token ID) uint256 tokenId; // The current highest bid amount uint256 amount; // The time that the auction started uint256 startTime; // The time that the auction is scheduled to end uint256 endTime; // The address of the current highest bid address payable bidder; // Whether or not the auction has been settled bool settled; // amount of time auction was extended uint256 extendedTime; } event AuctionCreated(uint256 indexed tokenId, uint256 startTime, uint256 endTime); event AuctionBid(uint256 indexed tokenId, address sender, uint256 value, bool extended); event AuctionExtended(uint256 indexed tokenId, uint256 endTime); event AuctionSettled(uint256 indexed tokenId, address winner, uint256 amount); event AuctionTimeBufferUpdated(uint256 timeBuffer); event AuctionReservePriceUpdated(uint256 reservePrice); event AuctionMinBidIncrementPercentageUpdated(uint256 minBidIncrementPercentage); event AuctionDurationUpdated(uint256 duration); function settleAuction() external; function settleCurrentAndCreateNewAuction() external; function createBid(uint256 _currentTokenId) external payable; function pause() external; function unpause() external; function setTimeBuffer(uint256 timeBuffer) external; function setMinBidIncrementPercentage(uint8 minBidIncrementPercentage) external; function setDuration(uint256 _duration) external; }
// 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) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./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 (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 (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: GPL-3.0 /// @title Interface for the Token pragma solidity ^0.8.6; import './IERC721.sol'; interface IOasis is IERC721 { event OperatorFlagged(address flaggedOperator, bool status); event TokenCreated(uint256 indexed tokenId); event TokenBurned(uint256 indexed tokenId); event MinterUpdated(address minter); event MinterLocked(); function mint(address _to) external returns (uint256); function promoMint(address to, uint256 quantity) external returns (uint256); function burn(uint256 tokenId) external; function setMinter(address minter) external; //function lockMinter() external; function setBaseURI(string memory _newBaseURI) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/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 << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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) (security/Pausable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {RevokableOperatorFilterer} from "./RevokableOperatorFilterer.sol"; /** * @title RevokableDefaultOperatorFilterer * @notice Inherits from RevokableOperatorFilterer and automatically subscribes to the default OpenSea subscription. * Note that OpenSea will disable creator fee enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. */ abstract contract RevokableDefaultOperatorFilterer is RevokableOperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() RevokableOperatorFilterer(0x000000000000AAeB6D7670E522A718067333cd4E, DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {UpdatableOperatorFilterer} from "./UpdatableOperatorFilterer.sol"; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title RevokableOperatorFilterer * @notice This contract is meant to allow contracts to permanently skip OperatorFilterRegistry checks if desired. The * Registry itself has an "unregister" function, but if the contract is ownable, the owner can re-register at * any point. As implemented, this abstract contract allows the contract owner to permanently skip the * OperatorFilterRegistry checks by calling revokeOperatorFilterRegistry. Once done, the registry * address cannot be further updated. * Note that OpenSea will still disable creator fee enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. */ abstract contract RevokableOperatorFilterer is UpdatableOperatorFilterer { error RegistryHasBeenRevoked(); error InitialRegistryAddressCannotBeZeroAddress(); bool public isOperatorFilterRegistryRevoked; constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) UpdatableOperatorFilterer(_registry, subscriptionOrRegistrantToCopy, subscribe) { // don't allow creating a contract with a permanently revoked registry if (_registry == address(0)) { revert InitialRegistryAddressCannotBeZeroAddress(); } } function _checkFilterOperator(address operator) internal view virtual override { if (address(operatorFilterRegistry) != address(0)) { super._checkFilterOperator(operator); } } /** * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero * address, checks will be permanently bypassed, and the address cannot be updated again. OnlyOwner. */ function updateOperatorFilterRegistryAddress(address newRegistry) public override { if (msg.sender != owner()) { revert OnlyOwner(); } // if registry has been revoked, do not allow further updates if (isOperatorFilterRegistryRevoked) { revert RegistryHasBeenRevoked(); } operatorFilterRegistry = IOperatorFilterRegistry(newRegistry); } /** * @notice Revoke the OperatorFilterRegistry address, permanently bypassing checks. OnlyOwner. */ function revokeOperatorFilterRegistry() public { if (msg.sender != owner()) { revert OnlyOwner(); } // if registry has been revoked, do not allow further updates if (isOperatorFilterRegistryRevoked) { revert RegistryHasBeenRevoked(); } // set to zero address to bypass checks operatorFilterRegistry = IOperatorFilterRegistry(address(0)); isOperatorFilterRegistryRevoked = true; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./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 pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title UpdatableOperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. This contract allows the Owner to update the * OperatorFilterRegistry address via updateOperatorFilterRegistryAddress, including to the zero address, * which will bypass registry checks. * Note that OpenSea will still disable creator fee enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract UpdatableOperatorFilterer { error OperatorNotAllowed(address operator); error OnlyOwner(); IOperatorFilterRegistry public operatorFilterRegistry; constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) { IOperatorFilterRegistry registry = IOperatorFilterRegistry(_registry); operatorFilterRegistry = registry; // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(registry).code.length > 0) { if (subscribe) { registry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { registry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { registry.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero * address, checks will be bypassed. OnlyOwner. */ function updateOperatorFilterRegistryAddress(address newRegistry) public virtual { if (msg.sender != owner()) { revert OnlyOwner(); } operatorFilterRegistry = IOperatorFilterRegistry(newRegistry); } /** * @dev assume the contract has an owner, but leave specific Ownable implementation up to inheriting contract */ function owner() public view virtual returns (address); function _checkFilterOperator(address operator) internal view virtual { IOperatorFilterRegistry registry = operatorFilterRegistry; // Check registry code length to facilitate testing in environments without a deployed registry. if (address(registry) != address(0) && address(registry).code.length > 0) { if (!registry.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InitialRegistryAddressCannotBeZeroAddress","type":"error"},{"inputs":[],"name":"OnlyOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"RegistryHasBeenRevoked","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[],"name":"MinterLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"}],"name":"MinterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"flaggedOperator","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"OperatorFlagged","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"}],"name":"TokenBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"authorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blockList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"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":"isOperatorFilterRegistryRevoked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilterRegistry","outputs":[{"internalType":"contract IOperatorFilterRegistry","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"promoMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokeOperatorFilterRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setAuthorized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"setMinter","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":[{"internalType":"address","name":"flaggedOperator","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"updateDenyList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRegistry","type":"address"}],"name":"updateOperatorFilterRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"votesToDelegate","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b91601291620002da565b503480156200002957600080fd5b50604051620038e8380380620038e88339810160408190526200004c9162000380565b604051806040016040528060058152602001644f6173697360d81b8152506040518060400160405280600281526020016104f560f41b8152506daaeb6d7670e522a718067333cd4e733cc6cdda760b79bafa08df41ecfa224f810dceb66001828282620000c8620000c26200028660201b60201c565b6200028a565b600180546001600160a01b0319166001600160a01b03851690811790915583903b15620002015781156200016057604051633e9f1edf60e11b81523060048201526001600160a01b038481166024830152821690637d3e3dbe906044015b600060405180830381600087803b1580156200014157600080fd5b505af115801562000156573d6000803e3d6000fd5b5050505062000201565b6001600160a01b03831615620001a55760405163a0af290360e01b81523060048201526001600160a01b03848116602483015282169063a0af29039060440162000126565b604051632210724360e11b81523060048201526001600160a01b03821690634420e48690602401600060405180830381600087803b158015620001e757600080fd5b505af1158015620001fc573d6000803e3d6000fd5b505050505b5050506001600160a01b03841690506200022e5760405163c49d17ad60e01b815260040160405180910390fd5b505082516200024691506002906020850190620002da565b5080516200025c906003906020840190620002da565b5050601080546001600160a01b0319166001600160a01b03939093169290921790915550620003ee565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620002e890620003b2565b90600052602060002090601f0160209004810192826200030c576000855562000357565b82601f106200032757805160ff191683800117855562000357565b8280016001018555821562000357579182015b82811115620003575782518255916020019190600101906200033a565b506200036592915062000369565b5090565b5b808211156200036557600081556001016200036a565b6000602082840312156200039357600080fd5b81516001600160a01b0381168114620003ab57600080fd5b9392505050565b600181811c90821680620003c757607f821691505b602082108103620003e857634e487b7160e01b600052602260045260246000fd5b50919050565b6134ea80620003fe6000396000f3fe608060405234801561001057600080fd5b50600436106102955760003560e01c8063715018a611610167578063b9181611116100ce578063e9580e9111610087578063e9580e9114610639578063e985e9c51461064c578063ecba222a1461065f578063f1127ed814610673578063f2fde38b146106da578063fca3b5aa146106ed57600080fd5b8063b9181611146105ad578063c3cda520146105d0578063c87b56dd146105e3578063c963483c146105f6578063ccf30b40146105ff578063e7a324dc1461061257600080fd5b8063a2a3eb4d11610120578063a2a3eb4d1461052b578063b0ccc31e1461053e578063b4b5ea5714610551578063b539928314610564578063b88d4fde14610587578063b8d1e5321461059a57600080fd5b8063715018a6146104ac578063782d6fe1146104b45780637ecebe00146104df5780638da5cb5b146104ff57806395d89b4114610510578063a22cb4651461051857600080fd5b806342966c681161020b5780636352211e116101c45780636352211e1461041d5780636a627842146104305780636c0360eb146104435780636fcfff451461044b57806370a0823114610486578063711bf9b21461049957600080fd5b806342966c68146103b65780634f6ccce7146103c957806355f804b3146103dc578063587cde1e146103ef5780635c19a95c146104025780635ef9432a1461041557600080fd5b806318160ddd1161025d57806318160ddd1461032a57806320606b701461033c57806323b872dd146103635780632f745c5914610376578063313ce5671461038957806342842e0e146103a357600080fd5b806301ffc9a71461029a57806306fdde03146102c257806307546172146102d7578063081812fc14610302578063095ea7b314610315575b600080fd5b6102ad6102a8366004612c0e565b610700565b60405190151581526020015b60405180910390f35b6102ca61072b565b6040516102b99190612c83565b6010546102ea906001600160a01b031681565b6040516001600160a01b0390911681526020016102b9565b6102ea610310366004612c96565b6107bd565b610328610323366004612cc6565b6107e4565b005b600a545b6040519081526020016102b9565b61032e7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b610328610371366004612cf0565b6107fd565b61032e610384366004612cc6565b610828565b610391600081565b60405160ff90911681526020016102b9565b6103286103b1366004612cf0565b6108c3565b6103286103c4366004612c96565b6108e8565b61032e6103d7366004612c96565b610949565b6103286103ea366004612db8565b6109dc565b6102ea6103fd366004612e01565b610a1d565b610328610410366004612e01565b610a4f565b610328610a6d565b6102ea61042b366004612c96565b610adb565b61032e61043e366004612e01565b610b3b565b6102ca610b8c565b610471610459366004612e01565b600e6020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016102b9565b61032e610494366004612e01565b610c1a565b6103286104a7366004612e2a565b610ca0565b610328610cf5565b6104c76104c2366004612cc6565b610d2b565b6040516001600160601b0390911681526020016102b9565b61032e6104ed366004612e01565b600f6020526000908152604090205481565b6000546001600160a01b03166102ea565b6102ca610fcb565b610328610526366004612e2a565b610fda565b61032e610539366004612cc6565b610fee565b6001546102ea906001600160a01b031681565b6104c761055f366004612e01565b61105e565b6102ad610572366004612e01565b60146020526000908152604090205460ff1681565b610328610595366004612e61565b6110db565b6103286105a8366004612e01565b611108565b6102ad6105bb366004612e01565b60136020526000908152604090205460ff1681565b6103286105de366004612edd565b611180565b6102ca6105f1366004612c96565b61147e565b61032e60115481565b61032861060d366004612e2a565b61150f565b61032e7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104c7610647366004612e01565b611561565b6102ad61065a366004612f3d565b61158d565b6001546102ad90600160a01b900460ff1681565b6106b6610681366004612f70565b600d60209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b039091166020830152016102b9565b6103286106e8366004612e01565b611665565b6103286106fb366004612e01565b6116fd565b60006001600160e01b0319821663780e9d6360e01b1480610725575061072582611749565b92915050565b60606002805461073a90612fa5565b80601f016020809104026020016040519081016040528092919081815260200182805461076690612fa5565b80156107b35780601f10610788576101008083540402835291602001916107b3565b820191906000526020600020905b81548152906001019060200180831161079657829003601f168201915b5050505050905090565b60006107c882611799565b506000908152600660205260409020546001600160a01b031690565b816107ee816117f8565b6107f88383611812565b505050565b826001600160a01b038116331461081757610817336117f8565b610822848484611922565b50505050565b600061083383610c1a565b821061089a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084015b60405180910390fd5b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b826001600160a01b03811633146108dd576108dd336117f8565b610822848484611953565b6010546001600160a01b031633146109125760405162461bcd60e51b815260040161089190612fdf565b61091b8161196e565b60405181907f0c526103b8f47af5516191d0c89a598755bd00faa211a3cb52e4c2cc782f7fe290600090a250565b6000610954600a5490565b82106109b75760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610891565b600a82815481106109ca576109ca613016565b90600052602060002001549050919050565b6000546001600160a01b03163314610a065760405162461bcd60e51b81526004016108919061302c565b8051610a19906012906020840190612b5f565b5050565b6001600160a01b038082166000908152600c60205260408120549091168015610a465780610a48565b825b9392505050565b6001600160a01b038116610a605750335b610a6a3382611a11565b50565b6000546001600160a01b03163314610a9857604051635fc483c560e01b815260040160405180910390fd5b600154600160a01b900460ff1615610ac357604051631551a48f60e11b815260040160405180910390fd5b600180546001600160a81b031916600160a01b179055565b6000818152600460205260408120546001600160a01b0316806107255760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610891565b6010546000906001600160a01b03163314610b685760405162461bcd60e51b815260040161089190612fdf565b60118054610725918491906000610b7e83613077565b91905055611a91565b919050565b60128054610b9990612fa5565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc590612fa5565b8015610c125780601f10610be757610100808354040283529160200191610c12565b820191906000526020600020905b815481529060010190602001808311610bf557829003601f168201915b505050505081565b60006001600160a01b038216610c845760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610891565b506001600160a01b031660009081526005602052604090205490565b6000546001600160a01b03163314610cca5760405162461bcd60e51b81526004016108919061302c565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610d1f5760405162461bcd60e51b81526004016108919061302c565b610d296000611ace565b565b6000438210610da25760405162461bcd60e51b815260206004820152603760248201527f455243373231436865636b706f696e7461626c653a3a6765745072696f72566f60448201527f7465733a206e6f74207965742064657465726d696e65640000000000000000006064820152608401610891565b6001600160a01b0383166000908152600e602052604081205463ffffffff1690819003610dd3576000915050610725565b6001600160a01b0384166000908152600d602052604081208491610df8600185613090565b63ffffffff90811682526020820192909252604001600020541611610e6b576001600160a01b0384166000908152600d6020526040812090610e3b600184613090565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506107259050565b6001600160a01b0384166000908152600d6020908152604080832083805290915290205463ffffffff16831015610ea6576000915050610725565b600080610eb4600184613090565b90505b8163ffffffff168163ffffffff161115610f865760006002610ed98484613090565b610ee391906130b5565b610eed9083613090565b6001600160a01b0388166000908152600d6020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152919250879003610f5a576020015194506107259350505050565b805163ffffffff16871115610f7157819350610f7f565b610f7c600183613090565b92505b5050610eb7565b506001600160a01b0385166000908152600d6020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60606003805461073a90612fa5565b81610fe4816117f8565b6107f88383611b1e565b6010546000906001600160a01b0316331461101b5760405162461bcd60e51b815260040161089190612fdf565b60115460005b838110156110515761103e858361103781613077565b9450611a91565b508061104981613077565b915050611021565b5060118190559392505050565b6001600160a01b0381166000908152600e602052604081205463ffffffff1680611089576000610a48565b6001600160a01b0383166000908152600d60205260408120906110ad600184613090565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03169392505050565b836001600160a01b03811633146110f5576110f5336117f8565b61110185858585611b29565b5050505050565b6000546001600160a01b0316331461113357604051635fc483c560e01b815260040160405180910390fd5b600154600160a01b900460ff161561115e57604051631551a48f60e11b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666111ab61072b565b805190602001206111b94690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa1580156112e5573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166113675760405162461bcd60e51b815260206004820152603660248201527f455243373231436865636b706f696e7461626c653a3a64656c656761746542796044820152755369673a20696e76616c6964207369676e617475726560501b6064820152608401610891565b6001600160a01b0381166000908152600f6020526040812080549161138b83613077565b9190505589146113f85760405162461bcd60e51b815260206004820152603260248201527f455243373231436865636b706f696e7461626c653a3a64656c656761746542796044820152715369673a20696e76616c6964206e6f6e636560701b6064820152608401610891565b874211156114675760405162461bcd60e51b815260206004820152603660248201527f455243373231436865636b706f696e7461626c653a3a64656c6567617465427960448201527514da59ce881cda59db985d1d5c9948195e1c1a5c995960521b6064820152608401610891565b611471818b611a11565b505050505b505050505050565b6000818152600460205260409020546060906001600160a01b03166114dd5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610891565b60126114e883611b5b565b6040516020016114f9929190613102565b6040516020818303038152906040529050919050565b6000546001600160a01b031633146115395760405162461bcd60e51b81526004016108919061302c565b6001600160a01b0382166000908152601460205260409020805460ff19168215151790555050565b600061072561156f83610c1a565b6040518060600160405280603d8152602001613441603d9139611bee565b6001600160a01b03811660009081526014602052604081205460ff161561160a5760405162461bcd60e51b815260206004820152602b60248201527f4f70657261746f7220686173206265656e2064656e69656420627920636f6e7460448201526a3930b1ba1037bbb732b91760a91b6064820152608401610891565b6001600160a01b03821660009081526013602052604090205460ff16151560010361163757506001610725565b6001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff16610a48565b6000546001600160a01b0316331461168f5760405162461bcd60e51b81526004016108919061302c565b6001600160a01b0381166116f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610891565b610a6a81611ace565b6000546001600160a01b031633146117275760405162461bcd60e51b81526004016108919061302c565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b148061177a57506001600160e01b03198216635b5e139f60e01b145b8061072557506301ffc9a760e01b6001600160e01b0319831614610725565b6000818152600460205260409020546001600160a01b0316610a6a5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610891565b6001546001600160a01b031615610a6a57610a6a81611c1d565b600061181d82610adb565b9050806001600160a01b0316836001600160a01b03160361188a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610891565b336001600160a01b03821614806118a657506118a6813361158d565b6119185760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610891565b6107f88383611cdf565b61192c3382611d4d565b6119485760405162461bcd60e51b8152600401610891906131bc565b6107f8838383611dac565b6107f8838383604051806020016040528060008152506110db565b600061197982610adb565b9050611989816000846001611f1d565b61199282610adb565b600083815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526005845282852080546000190190558785526004909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000611a1c83610a1d565b6001600160a01b038481166000818152600c602052604080822080546001600160a01b031916888616908117909155905194955093928516927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46000611a8484611561565b9050610822828483611f41565b6000611a9d83836120ed565b60405182907f5871761b381266e7e47309f0821d5b396364ebb6371d878871cac5393cb93ea890600090a250919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610a19338383612286565b611b333383611d4d565b611b4f5760405162461bcd60e51b8152600401610891906131bc565b61082284848484612354565b60606000611b6883612387565b600101905060008167ffffffffffffffff811115611b8857611b88612d2c565b6040519080825280601f01601f191660200182016040528015611bb2576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611bbc57509392505050565b600081600160601b8410611c155760405162461bcd60e51b81526004016108919190612c83565b509192915050565b6001546001600160a01b03168015801590611c4257506000816001600160a01b03163b115b15610a1957604051633185c44d60e21b81523060048201526001600160a01b03838116602483015282169063c617113490604401602060405180830381865afa158015611c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb79190613209565b610a1957604051633b79c77360e21b81526001600160a01b0383166004820152602401610891565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d1482610adb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611d5983610adb565b9050806001600160a01b0316846001600160a01b03161480611d805750611d80818561158d565b80611da45750836001600160a01b0316611d99846107bd565b6001600160a01b0316145b949350505050565b826001600160a01b0316611dbf82610adb565b6001600160a01b031614611de55760405162461bcd60e51b815260040161089190613226565b6001600160a01b038216611e475760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610891565b611e548383836001611f1d565b826001600160a01b0316611e6782610adb565b6001600160a01b031614611e8d5760405162461bcd60e51b815260040161089190613226565b600081815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260058552838620805460001901905590871680865283862080546001019055868652600490945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611f298484848461245f565b610822611f3585610a1d565b611f3e85610a1d565b60015b816001600160a01b0316836001600160a01b031614158015611f6c57506000816001600160601b0316115b156107f8576001600160a01b03831615612031576001600160a01b0383166000908152600e602052604081205463ffffffff169081611fac576000611ff8565b6001600160a01b0385166000908152600d6020526040812090611fd0600185613090565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9050600061201f828560405180606001604052806037815260200161347e60379139612598565b905061202d868484846125da565b5050505b6001600160a01b038216156107f8576001600160a01b0382166000908152600e602052604081205463ffffffff16908161206c5760006120b8565b6001600160a01b0384166000908152600d6020526040812090612090600185613090565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b905060006120df82856040518060600160405280603681526020016133c7603691396127d2565b9050611476858484846125da565b6001600160a01b0382166121435760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610891565b6000818152600460205260409020546001600160a01b0316156121a85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610891565b6121b6600083836001611f1d565b6000818152600460205260409020546001600160a01b03161561221b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610891565b6001600160a01b038216600081815260056020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316036122e75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610891565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61235f848484611dac565b61236b8484848461281f565b6108225760405162461bcd60e51b81526004016108919061326b565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106123c65772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106123f2576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061241057662386f26fc10000830492506010015b6305f5e1008310612428576305f5e100830492506008015b612710831061243c57612710830492506004015b6064831061244e576064830492506002015b600a83106107255760010192915050565b61246b84848484612920565b60018111156124da5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610891565b816001600160a01b0385166125365761253181600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b612559565b836001600160a01b0316856001600160a01b0316146125595761255985826129a8565b6001600160a01b0384166125755761257081612a45565b611101565b846001600160a01b0316846001600160a01b031614611101576111018482612af4565b6000836001600160601b0316836001600160601b0316111582906125cf5760405162461bcd60e51b81526004016108919190612c83565b50611da483856132bd565b60006125fe436040518060800160405280604481526020016133fd60449139612b38565b905060008463ffffffff1611801561265857506001600160a01b0385166000908152600d6020526040812063ffffffff83169161263c600188613090565b63ffffffff908116825260208201929092526040016000205416145b156126cc576001600160a01b0385166000908152600d602052604081208391612682600188613090565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff000000001990921691909117905561277d565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600d82528681208b8616825290915294909420925183549451909116600160201b026fffffffffffffffffffffffffffffffff1990941691161791909117905561274c8460016132dd565b6001600160a01b0386166000908152600e60205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000806127df8486613305565b9050846001600160601b0316816001600160601b0316101583906128165760405162461bcd60e51b81526004016108919190612c83565b50949350505050565b60006001600160a01b0384163b1561291557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612863903390899088908890600401613327565b6020604051808303816000875af192505050801561289e575060408051601f3d908101601f1916820190925261289b91810190613364565b60015b6128fb573d8080156128cc576040519150601f19603f3d011682016040523d82523d6000602084013e6128d1565b606091505b5080516000036128f35760405162461bcd60e51b81526004016108919061326b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611da4565b506001949350505050565b6001811115610822576001600160a01b03841615612966576001600160a01b03841660009081526005602052604081208054839290612960908490613381565b90915550505b6001600160a01b03831615610822576001600160a01b0383166000908152600560205260408120805483929061299d908490613398565b909155505050505050565b600060016129b584610c1a565b6129bf9190613381565b600083815260096020526040902054909150808214612a12576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090612a5790600190613381565b6000838152600b6020526040812054600a8054939450909284908110612a7f57612a7f613016565b9060005260206000200154905080600a8381548110612aa057612aa0613016565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480612ad857612ad86133b0565b6001900381819060005260206000200160009055905550505050565b6000612aff83610c1a565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b600081600160201b8410611c155760405162461bcd60e51b81526004016108919190612c83565b828054612b6b90612fa5565b90600052602060002090601f016020900481019282612b8d5760008555612bd3565b82601f10612ba657805160ff1916838001178555612bd3565b82800160010185558215612bd3579182015b82811115612bd3578251825591602001919060010190612bb8565b50612bdf929150612be3565b5090565b5b80821115612bdf5760008155600101612be4565b6001600160e01b031981168114610a6a57600080fd5b600060208284031215612c2057600080fd5b8135610a4881612bf8565b60005b83811015612c46578181015183820152602001612c2e565b838111156108225750506000910152565b60008151808452612c6f816020860160208601612c2b565b601f01601f19169290920160200192915050565b602081526000610a486020830184612c57565b600060208284031215612ca857600080fd5b5035919050565b80356001600160a01b0381168114610b8757600080fd5b60008060408385031215612cd957600080fd5b612ce283612caf565b946020939093013593505050565b600080600060608486031215612d0557600080fd5b612d0e84612caf565b9250612d1c60208501612caf565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612d5d57612d5d612d2c565b604051601f8501601f19908116603f01168101908282118183101715612d8557612d85612d2c565b81604052809350858152868686011115612d9e57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612dca57600080fd5b813567ffffffffffffffff811115612de157600080fd5b8201601f81018413612df257600080fd5b611da484823560208401612d42565b600060208284031215612e1357600080fd5b610a4882612caf565b8015158114610a6a57600080fd5b60008060408385031215612e3d57600080fd5b612e4683612caf565b91506020830135612e5681612e1c565b809150509250929050565b60008060008060808587031215612e7757600080fd5b612e8085612caf565b9350612e8e60208601612caf565b925060408501359150606085013567ffffffffffffffff811115612eb157600080fd5b8501601f81018713612ec257600080fd5b612ed187823560208401612d42565b91505092959194509250565b60008060008060008060c08789031215612ef657600080fd5b612eff87612caf565b95506020870135945060408701359350606087013560ff81168114612f2357600080fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215612f5057600080fd5b612f5983612caf565b9150612f6760208401612caf565b90509250929050565b60008060408385031215612f8357600080fd5b612f8c83612caf565b9150602083013563ffffffff81168114612e5657600080fd5b600181811c90821680612fb957607f821691505b602082108103612fd957634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526018908201527f53656e646572206973206e6f7420746865206d696e7465720000000000000000604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60006001820161308957613089613061565b5060010190565b600063ffffffff838116908316818110156130ad576130ad613061565b039392505050565b600063ffffffff808416806130da57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600081516130f8818560208601612c2b565b9290920192915050565b600080845481600182811c91508083168061311e57607f831692505b6020808410820361313d57634e487b7160e01b86526022600452602486fd5b81801561315157600181146131625761318f565b60ff1986168952848901965061318f565b60008b81526020902060005b868110156131875781548b82015290850190830161316e565b505084890196505b5050505050506131b36131a282866130e6565b64173539b7b760d91b815260050190565b95945050505050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60006020828403121561321b57600080fd5b8151610a4881612e1c565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006001600160601b03838116908316818110156130ad576130ad613061565b600063ffffffff8083168185168083038211156132fc576132fc613061565b01949350505050565b60006001600160601b038083168185168083038211156132fc576132fc613061565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061335a90830184612c57565b9695505050505050565b60006020828403121561337657600080fd5b8151610a4881612bf8565b60008282101561339357613393613061565b500390565b600082198211156133ab576133ab613061565b500190565b634e487b7160e01b600052603160045260246000fdfe455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e74206f766572666c6f7773455243373231436865636b706f696e7461626c653a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473455243373231436865636b706f696e7461626c653a3a766f746573546f44656c65676174653a20616d6f756e7420657863656564732039362062697473455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e7420756e646572666c6f7773a2646970667358221220127e3cdd28888825c1253f50a0d2550e5b14b10d16e85f0db7bc087e9129646a64736f6c634300080d00330000000000000000000000002303144d5c14dfd2ce47c81b0d2fa5ab6fec9634
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102955760003560e01c8063715018a611610167578063b9181611116100ce578063e9580e9111610087578063e9580e9114610639578063e985e9c51461064c578063ecba222a1461065f578063f1127ed814610673578063f2fde38b146106da578063fca3b5aa146106ed57600080fd5b8063b9181611146105ad578063c3cda520146105d0578063c87b56dd146105e3578063c963483c146105f6578063ccf30b40146105ff578063e7a324dc1461061257600080fd5b8063a2a3eb4d11610120578063a2a3eb4d1461052b578063b0ccc31e1461053e578063b4b5ea5714610551578063b539928314610564578063b88d4fde14610587578063b8d1e5321461059a57600080fd5b8063715018a6146104ac578063782d6fe1146104b45780637ecebe00146104df5780638da5cb5b146104ff57806395d89b4114610510578063a22cb4651461051857600080fd5b806342966c681161020b5780636352211e116101c45780636352211e1461041d5780636a627842146104305780636c0360eb146104435780636fcfff451461044b57806370a0823114610486578063711bf9b21461049957600080fd5b806342966c68146103b65780634f6ccce7146103c957806355f804b3146103dc578063587cde1e146103ef5780635c19a95c146104025780635ef9432a1461041557600080fd5b806318160ddd1161025d57806318160ddd1461032a57806320606b701461033c57806323b872dd146103635780632f745c5914610376578063313ce5671461038957806342842e0e146103a357600080fd5b806301ffc9a71461029a57806306fdde03146102c257806307546172146102d7578063081812fc14610302578063095ea7b314610315575b600080fd5b6102ad6102a8366004612c0e565b610700565b60405190151581526020015b60405180910390f35b6102ca61072b565b6040516102b99190612c83565b6010546102ea906001600160a01b031681565b6040516001600160a01b0390911681526020016102b9565b6102ea610310366004612c96565b6107bd565b610328610323366004612cc6565b6107e4565b005b600a545b6040519081526020016102b9565b61032e7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b610328610371366004612cf0565b6107fd565b61032e610384366004612cc6565b610828565b610391600081565b60405160ff90911681526020016102b9565b6103286103b1366004612cf0565b6108c3565b6103286103c4366004612c96565b6108e8565b61032e6103d7366004612c96565b610949565b6103286103ea366004612db8565b6109dc565b6102ea6103fd366004612e01565b610a1d565b610328610410366004612e01565b610a4f565b610328610a6d565b6102ea61042b366004612c96565b610adb565b61032e61043e366004612e01565b610b3b565b6102ca610b8c565b610471610459366004612e01565b600e6020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016102b9565b61032e610494366004612e01565b610c1a565b6103286104a7366004612e2a565b610ca0565b610328610cf5565b6104c76104c2366004612cc6565b610d2b565b6040516001600160601b0390911681526020016102b9565b61032e6104ed366004612e01565b600f6020526000908152604090205481565b6000546001600160a01b03166102ea565b6102ca610fcb565b610328610526366004612e2a565b610fda565b61032e610539366004612cc6565b610fee565b6001546102ea906001600160a01b031681565b6104c761055f366004612e01565b61105e565b6102ad610572366004612e01565b60146020526000908152604090205460ff1681565b610328610595366004612e61565b6110db565b6103286105a8366004612e01565b611108565b6102ad6105bb366004612e01565b60136020526000908152604090205460ff1681565b6103286105de366004612edd565b611180565b6102ca6105f1366004612c96565b61147e565b61032e60115481565b61032861060d366004612e2a565b61150f565b61032e7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104c7610647366004612e01565b611561565b6102ad61065a366004612f3d565b61158d565b6001546102ad90600160a01b900460ff1681565b6106b6610681366004612f70565b600d60209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b039091166020830152016102b9565b6103286106e8366004612e01565b611665565b6103286106fb366004612e01565b6116fd565b60006001600160e01b0319821663780e9d6360e01b1480610725575061072582611749565b92915050565b60606002805461073a90612fa5565b80601f016020809104026020016040519081016040528092919081815260200182805461076690612fa5565b80156107b35780601f10610788576101008083540402835291602001916107b3565b820191906000526020600020905b81548152906001019060200180831161079657829003601f168201915b5050505050905090565b60006107c882611799565b506000908152600660205260409020546001600160a01b031690565b816107ee816117f8565b6107f88383611812565b505050565b826001600160a01b038116331461081757610817336117f8565b610822848484611922565b50505050565b600061083383610c1a565b821061089a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084015b60405180910390fd5b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b826001600160a01b03811633146108dd576108dd336117f8565b610822848484611953565b6010546001600160a01b031633146109125760405162461bcd60e51b815260040161089190612fdf565b61091b8161196e565b60405181907f0c526103b8f47af5516191d0c89a598755bd00faa211a3cb52e4c2cc782f7fe290600090a250565b6000610954600a5490565b82106109b75760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610891565b600a82815481106109ca576109ca613016565b90600052602060002001549050919050565b6000546001600160a01b03163314610a065760405162461bcd60e51b81526004016108919061302c565b8051610a19906012906020840190612b5f565b5050565b6001600160a01b038082166000908152600c60205260408120549091168015610a465780610a48565b825b9392505050565b6001600160a01b038116610a605750335b610a6a3382611a11565b50565b6000546001600160a01b03163314610a9857604051635fc483c560e01b815260040160405180910390fd5b600154600160a01b900460ff1615610ac357604051631551a48f60e11b815260040160405180910390fd5b600180546001600160a81b031916600160a01b179055565b6000818152600460205260408120546001600160a01b0316806107255760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610891565b6010546000906001600160a01b03163314610b685760405162461bcd60e51b815260040161089190612fdf565b60118054610725918491906000610b7e83613077565b91905055611a91565b919050565b60128054610b9990612fa5565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc590612fa5565b8015610c125780601f10610be757610100808354040283529160200191610c12565b820191906000526020600020905b815481529060010190602001808311610bf557829003601f168201915b505050505081565b60006001600160a01b038216610c845760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610891565b506001600160a01b031660009081526005602052604090205490565b6000546001600160a01b03163314610cca5760405162461bcd60e51b81526004016108919061302c565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610d1f5760405162461bcd60e51b81526004016108919061302c565b610d296000611ace565b565b6000438210610da25760405162461bcd60e51b815260206004820152603760248201527f455243373231436865636b706f696e7461626c653a3a6765745072696f72566f60448201527f7465733a206e6f74207965742064657465726d696e65640000000000000000006064820152608401610891565b6001600160a01b0383166000908152600e602052604081205463ffffffff1690819003610dd3576000915050610725565b6001600160a01b0384166000908152600d602052604081208491610df8600185613090565b63ffffffff90811682526020820192909252604001600020541611610e6b576001600160a01b0384166000908152600d6020526040812090610e3b600184613090565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506107259050565b6001600160a01b0384166000908152600d6020908152604080832083805290915290205463ffffffff16831015610ea6576000915050610725565b600080610eb4600184613090565b90505b8163ffffffff168163ffffffff161115610f865760006002610ed98484613090565b610ee391906130b5565b610eed9083613090565b6001600160a01b0388166000908152600d6020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152919250879003610f5a576020015194506107259350505050565b805163ffffffff16871115610f7157819350610f7f565b610f7c600183613090565b92505b5050610eb7565b506001600160a01b0385166000908152600d6020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60606003805461073a90612fa5565b81610fe4816117f8565b6107f88383611b1e565b6010546000906001600160a01b0316331461101b5760405162461bcd60e51b815260040161089190612fdf565b60115460005b838110156110515761103e858361103781613077565b9450611a91565b508061104981613077565b915050611021565b5060118190559392505050565b6001600160a01b0381166000908152600e602052604081205463ffffffff1680611089576000610a48565b6001600160a01b0383166000908152600d60205260408120906110ad600184613090565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03169392505050565b836001600160a01b03811633146110f5576110f5336117f8565b61110185858585611b29565b5050505050565b6000546001600160a01b0316331461113357604051635fc483c560e01b815260040160405180910390fd5b600154600160a01b900460ff161561115e57604051631551a48f60e11b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666111ab61072b565b805190602001206111b94690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa1580156112e5573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166113675760405162461bcd60e51b815260206004820152603660248201527f455243373231436865636b706f696e7461626c653a3a64656c656761746542796044820152755369673a20696e76616c6964207369676e617475726560501b6064820152608401610891565b6001600160a01b0381166000908152600f6020526040812080549161138b83613077565b9190505589146113f85760405162461bcd60e51b815260206004820152603260248201527f455243373231436865636b706f696e7461626c653a3a64656c656761746542796044820152715369673a20696e76616c6964206e6f6e636560701b6064820152608401610891565b874211156114675760405162461bcd60e51b815260206004820152603660248201527f455243373231436865636b706f696e7461626c653a3a64656c6567617465427960448201527514da59ce881cda59db985d1d5c9948195e1c1a5c995960521b6064820152608401610891565b611471818b611a11565b505050505b505050505050565b6000818152600460205260409020546060906001600160a01b03166114dd5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610891565b60126114e883611b5b565b6040516020016114f9929190613102565b6040516020818303038152906040529050919050565b6000546001600160a01b031633146115395760405162461bcd60e51b81526004016108919061302c565b6001600160a01b0382166000908152601460205260409020805460ff19168215151790555050565b600061072561156f83610c1a565b6040518060600160405280603d8152602001613441603d9139611bee565b6001600160a01b03811660009081526014602052604081205460ff161561160a5760405162461bcd60e51b815260206004820152602b60248201527f4f70657261746f7220686173206265656e2064656e69656420627920636f6e7460448201526a3930b1ba1037bbb732b91760a91b6064820152608401610891565b6001600160a01b03821660009081526013602052604090205460ff16151560010361163757506001610725565b6001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff16610a48565b6000546001600160a01b0316331461168f5760405162461bcd60e51b81526004016108919061302c565b6001600160a01b0381166116f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610891565b610a6a81611ace565b6000546001600160a01b031633146117275760405162461bcd60e51b81526004016108919061302c565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b148061177a57506001600160e01b03198216635b5e139f60e01b145b8061072557506301ffc9a760e01b6001600160e01b0319831614610725565b6000818152600460205260409020546001600160a01b0316610a6a5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610891565b6001546001600160a01b031615610a6a57610a6a81611c1d565b600061181d82610adb565b9050806001600160a01b0316836001600160a01b03160361188a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610891565b336001600160a01b03821614806118a657506118a6813361158d565b6119185760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610891565b6107f88383611cdf565b61192c3382611d4d565b6119485760405162461bcd60e51b8152600401610891906131bc565b6107f8838383611dac565b6107f8838383604051806020016040528060008152506110db565b600061197982610adb565b9050611989816000846001611f1d565b61199282610adb565b600083815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526005845282852080546000190190558785526004909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000611a1c83610a1d565b6001600160a01b038481166000818152600c602052604080822080546001600160a01b031916888616908117909155905194955093928516927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46000611a8484611561565b9050610822828483611f41565b6000611a9d83836120ed565b60405182907f5871761b381266e7e47309f0821d5b396364ebb6371d878871cac5393cb93ea890600090a250919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610a19338383612286565b611b333383611d4d565b611b4f5760405162461bcd60e51b8152600401610891906131bc565b61082284848484612354565b60606000611b6883612387565b600101905060008167ffffffffffffffff811115611b8857611b88612d2c565b6040519080825280601f01601f191660200182016040528015611bb2576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611bbc57509392505050565b600081600160601b8410611c155760405162461bcd60e51b81526004016108919190612c83565b509192915050565b6001546001600160a01b03168015801590611c4257506000816001600160a01b03163b115b15610a1957604051633185c44d60e21b81523060048201526001600160a01b03838116602483015282169063c617113490604401602060405180830381865afa158015611c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb79190613209565b610a1957604051633b79c77360e21b81526001600160a01b0383166004820152602401610891565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d1482610adb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611d5983610adb565b9050806001600160a01b0316846001600160a01b03161480611d805750611d80818561158d565b80611da45750836001600160a01b0316611d99846107bd565b6001600160a01b0316145b949350505050565b826001600160a01b0316611dbf82610adb565b6001600160a01b031614611de55760405162461bcd60e51b815260040161089190613226565b6001600160a01b038216611e475760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610891565b611e548383836001611f1d565b826001600160a01b0316611e6782610adb565b6001600160a01b031614611e8d5760405162461bcd60e51b815260040161089190613226565b600081815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260058552838620805460001901905590871680865283862080546001019055868652600490945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611f298484848461245f565b610822611f3585610a1d565b611f3e85610a1d565b60015b816001600160a01b0316836001600160a01b031614158015611f6c57506000816001600160601b0316115b156107f8576001600160a01b03831615612031576001600160a01b0383166000908152600e602052604081205463ffffffff169081611fac576000611ff8565b6001600160a01b0385166000908152600d6020526040812090611fd0600185613090565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9050600061201f828560405180606001604052806037815260200161347e60379139612598565b905061202d868484846125da565b5050505b6001600160a01b038216156107f8576001600160a01b0382166000908152600e602052604081205463ffffffff16908161206c5760006120b8565b6001600160a01b0384166000908152600d6020526040812090612090600185613090565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b905060006120df82856040518060600160405280603681526020016133c7603691396127d2565b9050611476858484846125da565b6001600160a01b0382166121435760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610891565b6000818152600460205260409020546001600160a01b0316156121a85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610891565b6121b6600083836001611f1d565b6000818152600460205260409020546001600160a01b03161561221b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610891565b6001600160a01b038216600081815260056020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316036122e75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610891565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61235f848484611dac565b61236b8484848461281f565b6108225760405162461bcd60e51b81526004016108919061326b565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106123c65772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106123f2576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061241057662386f26fc10000830492506010015b6305f5e1008310612428576305f5e100830492506008015b612710831061243c57612710830492506004015b6064831061244e576064830492506002015b600a83106107255760010192915050565b61246b84848484612920565b60018111156124da5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610891565b816001600160a01b0385166125365761253181600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b612559565b836001600160a01b0316856001600160a01b0316146125595761255985826129a8565b6001600160a01b0384166125755761257081612a45565b611101565b846001600160a01b0316846001600160a01b031614611101576111018482612af4565b6000836001600160601b0316836001600160601b0316111582906125cf5760405162461bcd60e51b81526004016108919190612c83565b50611da483856132bd565b60006125fe436040518060800160405280604481526020016133fd60449139612b38565b905060008463ffffffff1611801561265857506001600160a01b0385166000908152600d6020526040812063ffffffff83169161263c600188613090565b63ffffffff908116825260208201929092526040016000205416145b156126cc576001600160a01b0385166000908152600d602052604081208391612682600188613090565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff000000001990921691909117905561277d565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600d82528681208b8616825290915294909420925183549451909116600160201b026fffffffffffffffffffffffffffffffff1990941691161791909117905561274c8460016132dd565b6001600160a01b0386166000908152600e60205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000806127df8486613305565b9050846001600160601b0316816001600160601b0316101583906128165760405162461bcd60e51b81526004016108919190612c83565b50949350505050565b60006001600160a01b0384163b1561291557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612863903390899088908890600401613327565b6020604051808303816000875af192505050801561289e575060408051601f3d908101601f1916820190925261289b91810190613364565b60015b6128fb573d8080156128cc576040519150601f19603f3d011682016040523d82523d6000602084013e6128d1565b606091505b5080516000036128f35760405162461bcd60e51b81526004016108919061326b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611da4565b506001949350505050565b6001811115610822576001600160a01b03841615612966576001600160a01b03841660009081526005602052604081208054839290612960908490613381565b90915550505b6001600160a01b03831615610822576001600160a01b0383166000908152600560205260408120805483929061299d908490613398565b909155505050505050565b600060016129b584610c1a565b6129bf9190613381565b600083815260096020526040902054909150808214612a12576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090612a5790600190613381565b6000838152600b6020526040812054600a8054939450909284908110612a7f57612a7f613016565b9060005260206000200154905080600a8381548110612aa057612aa0613016565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480612ad857612ad86133b0565b6001900381819060005260206000200160009055905550505050565b6000612aff83610c1a565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b600081600160201b8410611c155760405162461bcd60e51b81526004016108919190612c83565b828054612b6b90612fa5565b90600052602060002090601f016020900481019282612b8d5760008555612bd3565b82601f10612ba657805160ff1916838001178555612bd3565b82800160010185558215612bd3579182015b82811115612bd3578251825591602001919060010190612bb8565b50612bdf929150612be3565b5090565b5b80821115612bdf5760008155600101612be4565b6001600160e01b031981168114610a6a57600080fd5b600060208284031215612c2057600080fd5b8135610a4881612bf8565b60005b83811015612c46578181015183820152602001612c2e565b838111156108225750506000910152565b60008151808452612c6f816020860160208601612c2b565b601f01601f19169290920160200192915050565b602081526000610a486020830184612c57565b600060208284031215612ca857600080fd5b5035919050565b80356001600160a01b0381168114610b8757600080fd5b60008060408385031215612cd957600080fd5b612ce283612caf565b946020939093013593505050565b600080600060608486031215612d0557600080fd5b612d0e84612caf565b9250612d1c60208501612caf565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612d5d57612d5d612d2c565b604051601f8501601f19908116603f01168101908282118183101715612d8557612d85612d2c565b81604052809350858152868686011115612d9e57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612dca57600080fd5b813567ffffffffffffffff811115612de157600080fd5b8201601f81018413612df257600080fd5b611da484823560208401612d42565b600060208284031215612e1357600080fd5b610a4882612caf565b8015158114610a6a57600080fd5b60008060408385031215612e3d57600080fd5b612e4683612caf565b91506020830135612e5681612e1c565b809150509250929050565b60008060008060808587031215612e7757600080fd5b612e8085612caf565b9350612e8e60208601612caf565b925060408501359150606085013567ffffffffffffffff811115612eb157600080fd5b8501601f81018713612ec257600080fd5b612ed187823560208401612d42565b91505092959194509250565b60008060008060008060c08789031215612ef657600080fd5b612eff87612caf565b95506020870135945060408701359350606087013560ff81168114612f2357600080fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215612f5057600080fd5b612f5983612caf565b9150612f6760208401612caf565b90509250929050565b60008060408385031215612f8357600080fd5b612f8c83612caf565b9150602083013563ffffffff81168114612e5657600080fd5b600181811c90821680612fb957607f821691505b602082108103612fd957634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526018908201527f53656e646572206973206e6f7420746865206d696e7465720000000000000000604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60006001820161308957613089613061565b5060010190565b600063ffffffff838116908316818110156130ad576130ad613061565b039392505050565b600063ffffffff808416806130da57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600081516130f8818560208601612c2b565b9290920192915050565b600080845481600182811c91508083168061311e57607f831692505b6020808410820361313d57634e487b7160e01b86526022600452602486fd5b81801561315157600181146131625761318f565b60ff1986168952848901965061318f565b60008b81526020902060005b868110156131875781548b82015290850190830161316e565b505084890196505b5050505050506131b36131a282866130e6565b64173539b7b760d91b815260050190565b95945050505050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60006020828403121561321b57600080fd5b8151610a4881612e1c565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006001600160601b03838116908316818110156130ad576130ad613061565b600063ffffffff8083168185168083038211156132fc576132fc613061565b01949350505050565b60006001600160601b038083168185168083038211156132fc576132fc613061565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061335a90830184612c57565b9695505050505050565b60006020828403121561337657600080fd5b8151610a4881612bf8565b60008282101561339357613393613061565b500390565b600082198211156133ab576133ab613061565b500190565b634e487b7160e01b600052603160045260246000fdfe455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e74206f766572666c6f7773455243373231436865636b706f696e7461626c653a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473455243373231436865636b706f696e7461626c653a3a766f746573546f44656c65676174653a20616d6f756e7420657863656564732039362062697473455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e7420756e646572666c6f7773a2646970667358221220127e3cdd28888825c1253f50a0d2550e5b14b10d16e85f0db7bc087e9129646a64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002303144d5c14dfd2ce47c81b0d2fa5ab6fec9634
-----Decoded View---------------
Arg [0] : _minter (address): 0x2303144D5c14DFD2cE47C81b0d2Fa5Ab6fEC9634
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002303144d5c14dfd2ce47c81b0d2fa5ab6fec9634
Deployed Bytecode Sourcemap
969:6454:15:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1004:222:5;;;;;;:::i;:::-;;:::i;:::-;;;565:14:23;;558:22;540:41;;528:2;513:18;1004:222:5;;;;;;;;2406:98:3;;;:::i;:::-;;;;;;;:::i;1124:21:15:-;;;;;-1:-1:-1;;;;;1124:21:15;;;;;;-1:-1:-1;;;;;1529:32:23;;;1511:51;;1499:2;1484:18;1124:21:15;1365:203:23;3870:167:3;;;;;;:::i;:::-;;:::i;2856:172:15:-;;;;;;:::i;:::-;;:::i;:::-;;1629:111:5;1716:10;:17;1629:111;;;2341:25:23;;;2329:2;2314:18;1629:111:5;2195:177:23;2040:130:4;;2090:80;2040:130;;3034:178:15;;;;;;:::i;:::-;;:::i;1305:253:5:-;;;;;;:::i;:::-;;:::i;1415:34:4:-;;1448:1;1415:34;;;;;3064:4:23;3052:17;;;3034:36;;3022:2;3007:18;1415:34:4;2892:184:23;3218:186:15;;;;;;:::i;:::-;;:::i;5314:124::-;;;;;;:::i;:::-;;:::i;1812:230:5:-;;;;;;:::i;:::-;;:::i;6463:111:15:-;;;;;;:::i;:::-;;:::i;3450:184:4:-;;;;;;:::i;:::-;;:::i;4340:161::-;;;;;;:::i;:::-;;:::i;2527:472:20:-;;;:::i;2125:219:3:-;;;;;;:::i;:::-;;:::i;4419:127:15:-;;;;;;:::i;:::-;;:::i;1237:26::-;;;:::i;1922:48:4:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4671:10:23;4659:23;;;4641:42;;4629:2;4614:18;1922:48:4;4497:192:23;1864:204:3;;;;;;:::i;:::-;;:::i;4061:121:15:-;;;;;;:::i;:::-;;:::i;1661:101:16:-;;;:::i;6683:1205:4:-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5299:39:23;;;5281:58;;5269:2;5254:18;6683:1205:4;5137:208:23;2464:41:4;;;;;;:::i;:::-;;;;;;;;;;;;;;3655:140:15;3747:7;1101:6:16;-1:-1:-1;;;;;1101:6:16;3655:140:15;;2568:102:3;;;:::i;2659:191:15:-;;;;;;:::i;:::-;;:::i;4831:335::-;;;;;;:::i;:::-;;:::i;1166:53:22:-;;;;;-1:-1:-1;;;;;1166:53:22;;;6042:219:4;;;;;;:::i;:::-;;:::i;1450:41:15:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;3410:239;;;;;;:::i;:::-;;:::i;1994:412:20:-;;;;;;:::i;:::-;;:::i;1334:42:15:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;4924:924:4;;;;;;:::i;:::-;;:::i;5583:432:15:-;;;;;;:::i;:::-;;:::i;1189:30::-;;;;;;1981:136;;;;;;:::i;:::-;;:::i;2261:125:4:-;;2315:71;2261:125;;3049:190;;;;;;:::i;:::-;;:::i;2280:360:15:-;;;;;;:::i;:::-;;:::i;1104:43:20:-;;;;;-1:-1:-1;;;1104:43:20;;;;;;1788:68:4;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1788:68:4;;-1:-1:-1;;;;;1788:68:4;;;;;;;7705:10:23;7693:23;;;7675:42;;-1:-1:-1;;;;;7753:39:23;;;7748:2;7733:18;;7726:67;7648:18;1788:68:4;7505:294:23;1911:198:16;;;;;;:::i;:::-;;:::i;6183:136:15:-;;;;;;:::i;:::-;;:::i;1004:222:5:-;1106:4;-1:-1:-1;;;;;;1129:50:5;;-1:-1:-1;;;1129:50:5;;:90;;;1183:36;1207:11;1183:23;:36::i;:::-;1122:97;1004:222;-1:-1:-1;;1004:222:5:o;2406:98:3:-;2460:13;2492:5;2485:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2406:98;:::o;3870:167::-;3946:7;3965:23;3980:7;3965:14;:23::i;:::-;-1:-1:-1;4006:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;4006:24:3;;3870:167::o;2856:172:15:-;2969:8;2644:30:22;2665:8;2644:20;:30::i;:::-;2989:32:15::1;3003:8;3013:7;2989:13;:32::i;:::-;2856:172:::0;;;:::o;3034:178::-;3152:4;-1:-1:-1;;;;;2471:18:22;;2479:10;2471:18;2467:81;;2505:32;2526:10;2505:20;:32::i;:::-;3168:37:15::1;3187:4;3193:2;3197:7;3168:18;:37::i;:::-;3034:178:::0;;;;:::o;1305:253:5:-;1402:7;1437:23;1454:5;1437:16;:23::i;:::-;1429:5;:31;1421:87;;;;-1:-1:-1;;;1421:87:5;;8391:2:23;1421:87:5;;;8373:21:23;8430:2;8410:18;;;8403:30;8469:34;8449:18;;;8442:62;-1:-1:-1;;;8520:18:23;;;8513:41;8571:19;;1421:87:5;;;;;;;;;-1:-1:-1;;;;;;1525:19:5;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1305:253::o;3218:186:15:-;3340:4;-1:-1:-1;;;;;2471:18:22;;2479:10;2471:18;2467:81;;2505:32;2526:10;2505:20;:32::i;:::-;3356:41:15::1;3379:4;3385:2;3389:7;3356:22;:41::i;5314:124::-:0;1622:6;;-1:-1:-1;;;;;1622:6:15;1608:10;:20;1600:57;;;;-1:-1:-1;;;1600:57:15;;;;;;;:::i;:::-;5382:14:::1;5388:7;5382:5;:14::i;:::-;5411:20;::::0;5423:7;;5411:20:::1;::::0;;;::::1;5314:124:::0;:::o;1812:230:5:-;1887:7;1922:30;1716:10;:17;;1629:111;1922:30;1914:5;:38;1906:95;;;;-1:-1:-1;;;1906:95:5;;9156:2:23;1906:95:5;;;9138:21:23;9195:2;9175:18;;;9168:30;9234:34;9214:18;;;9207:62;-1:-1:-1;;;9285:18:23;;;9278:42;9337:19;;1906:95:5;8954:408:23;1906:95:5;2018:10;2029:5;2018:17;;;;;;;;:::i;:::-;;;;;;;;;2011:24;;1812:230;;;:::o;6463:111:15:-;3747:7;1101:6:16;-1:-1:-1;;;;;1101:6:16;719:10:1;1241:23:16;1233:68;;;;-1:-1:-1;;;1233:68:16;;;;;;;:::i;:::-;6546:21:15;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;6463:111:::0;:::o;3450:184:4:-;-1:-1:-1;;;;;3546:21:4;;;3509:7;3546:21;;;:10;:21;;;;;;3509:7;;3546:21;3584;;:43;;3620:7;3584:43;;;3608:9;3584:43;3577:50;3450:184;-1:-1:-1;;;3450:184:4:o;4340:161::-;-1:-1:-1;;;;;4398:23:4;;4394:51;;-1:-1:-1;4435:10:4;4394:51;4462:32;4472:10;4484:9;4462;:32::i;:::-;4340:161;:::o;2527:472:20:-;3747:7:15;1101:6:16;-1:-1:-1;;;;;1101:6:16;2588:10:20;:21;2584:70;;2632:11;;-1:-1:-1;;;2632:11:20;;;;;;;;;;;2584:70;2737:31;;-1:-1:-1;;;2737:31:20;;;;2733:93;;;2791:24;;-1:-1:-1;;;2791:24:20;;;;;;;;;;;2733:93;2884:22;:60;;-1:-1:-1;;;;;;2954:38:20;-1:-1:-1;;;2954:38:20;;;2527:472::o;2125:219:3:-;2197:7;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:3;;2259:56;;;;-1:-1:-1;;;2259:56:3;;10062:2:23;2259:56:3;;;10044:21:23;10101:2;10081:18;;;10074:30;-1:-1:-1;;;10120:18:23;;;10113:54;10184:18;;2259:56:3;9860:348:23;4419:127:15;1622:6;;4482:7;;-1:-1:-1;;;;;1622:6:15;1608:10;:20;1600:57;;;;-1:-1:-1;;;1600:57:15;;;;;;;:::i;:::-;4521:15:::1;:17:::0;;4508:31:::1;::::0;4516:3;;4521:17;:15:::1;:17;::::0;::::1;:::i;:::-;;;;;4508:7;:31::i;1667:1::-;4419:127:::0;;;:::o;1237:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1864:204:3:-;1936:7;-1:-1:-1;;;;;1963:19:3;;1955:73;;;;-1:-1:-1;;;1955:73:3;;10687:2:23;1955:73:3;;;10669:21:23;10726:2;10706:18;;;10699:30;10765:34;10745:18;;;10738:62;-1:-1:-1;;;10816:18:23;;;10809:39;10865:19;;1955:73:3;10485:405:23;1955:73:3;-1:-1:-1;;;;;;2045:16:3;;;;;:9;:16;;;;;;;1864:204::o;4061:121:15:-;3747:7;1101:6:16;-1:-1:-1;;;;;1101:6:16;719:10:1;1241:23:16;1233:68;;;;-1:-1:-1;;;1233:68:16;;;;;;;:::i;:::-;-1:-1:-1;;;;;4144:20:15;;;::::1;;::::0;;;:10:::1;:20;::::0;;;;:31;;-1:-1:-1;;4144:31:15::1;::::0;::::1;;::::0;;;::::1;::::0;;4061:121::o;1661:101:16:-;3747:7:15;1101:6:16;-1:-1:-1;;;;;1101:6:16;719:10:1;1241:23:16;1233:68;;;;-1:-1:-1;;;1233:68:16;;;;;;;:::i;:::-;1725:30:::1;1752:1;1725:18;:30::i;:::-;1661:101::o:0;6683:1205:4:-;6765:6;6805:12;6791:11;:26;6783:94;;;;-1:-1:-1;;;6783:94:4;;11097:2:23;6783:94:4;;;11079:21:23;11136:2;11116:18;;;11109:30;11175:34;11155:18;;;11148:62;11246:25;11226:18;;;11219:53;11289:19;;6783:94:4;10895:419:23;6783:94:4;-1:-1:-1;;;;;6910:23:4;;6888:19;6910:23;;;:14;:23;;;;;;;;;6947:17;;;6943:56;;6987:1;6980:8;;;;;6943:56;-1:-1:-1;;;;;7056:20:4;;;;;;:11;:20;;;;;7108:11;;7077:16;7092:1;7077:12;:16;:::i;:::-;7056:38;;;;;;;;;;;;;;;-1:-1:-1;7056:38:4;:48;;:63;7052:145;;-1:-1:-1;;;;;7142:20:4;;;;;;:11;:20;;;;;;7163:16;7178:1;7163:12;:16;:::i;:::-;7142:38;;;;;;;;;;;;;-1:-1:-1;7142:38:4;:44;-1:-1:-1;;;7142:44:4;;-1:-1:-1;;;;;7142:44:4;;-1:-1:-1;7135:51:4;;-1:-1:-1;7135:51:4;7052:145;-1:-1:-1;;;;;7255:20:4;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;7251:86:4;;;7325:1;7318:8;;;;;7251:86;7347:12;;7388:16;7403:1;7388:12;:16;:::i;:::-;7373:31;;7414:418;7429:5;7421:13;;:5;:13;;;7414:418;;;7450:13;7492:1;7475:13;7483:5;7475;:13;:::i;:::-;7474:19;;;;:::i;:::-;7466:27;;:5;:27;:::i;:::-;-1:-1:-1;;;;;7557:20:4;;7534;7557;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;7534:51;;;;;;;;;;;;;;;-1:-1:-1;;;7534:51:4;;;-1:-1:-1;;;;;7534:51:4;;;;;;;;7557:28;;-1:-1:-1;7603:27:4;;;7599:223;;7657:8;;;;-1:-1:-1;7650:15:4;;-1:-1:-1;;;;7650:15:4;7599:223;7690:12;;:26;;;-1:-1:-1;7686:136:4;;;7744:6;7736:14;;7686:136;;;7797:10;7806:1;7797:6;:10;:::i;:::-;7789:18;;7686:136;7436:396;;7414:418;;;-1:-1:-1;;;;;;7848:20:4;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;-1:-1:-1;;;;;;;;7848:33:4;;;;;-1:-1:-1;;6683:1205:4;;;;:::o;2568:102:3:-;2624:13;2656:7;2649:14;;;;;:::i;2659:191:15:-;2780:8;2644:30:22;2665:8;2644:20;:30::i;:::-;2800:43:15::1;2824:8;2834;2800:23;:43::i;4831:335::-:0;1622:6;;4949:7;;-1:-1:-1;;;;;1622:6:15;1608:10;:20;1600:57;;;;-1:-1:-1;;;1600:57:15;;;;;;;:::i;:::-;4990:15:::1;::::0;4972::::1;5015:86;5039:8;5035:1;:12;5015:86;;;5068:22;5076:2:::0;5080:9;::::1;::::0;::::1;:::i;:::-;;;5068:7;:22::i;:::-;-1:-1:-1::0;5049:3:15;::::1;::::0;::::1;:::i;:::-;;;;5015:86;;;-1:-1:-1::0;5110:15:15::1;:25:::0;;;;4831:335;-1:-1:-1;;;4831:335:15:o;6042:219:4:-;-1:-1:-1;;;;;6147:23:4;;6107:6;6147:23;;;:14;:23;;;;;;;;6187:16;:67;;6253:1;6187:67;;;-1:-1:-1;;;;;6206:20:4;;;;;;:11;:20;;;;;;6227:16;6242:1;6227:12;:16;:::i;:::-;6206:38;;;;;;;;;;;;;-1:-1:-1;6206:38:4;:44;-1:-1:-1;;;6206:44:4;;-1:-1:-1;;;;;6206:44:4;;6180:74;-1:-1:-1;;;6042:219:4:o;3410:239:15:-;3575:4;-1:-1:-1;;;;;2471:18:22;;2479:10;2471:18;2467:81;;2505:32;2526:10;2505:20;:32::i;:::-;3595:47:15::1;3618:4;3624:2;3628:7;3637:4;3595:22;:47::i;:::-;3410:239:::0;;;;;:::o;1994:412:20:-;3747:7:15;1101:6:16;-1:-1:-1;;;;;1101:6:16;2090:10:20;:21;2086:70;;2134:11;;-1:-1:-1;;;2134:11:20;;;;;;;;;;;2086:70;2239:31;;-1:-1:-1;;;2239:31:20;;;;2235:93;;;2293:24;;-1:-1:-1;;;2293:24:20;;;;;;;;;;;2235:93;2338:22;:61;;-1:-1:-1;;;;;;2338:61:20;-1:-1:-1;;;;;2338:61:20;;;;;;;;;;1994:412::o;4924:924:4:-;5099:23;2090:80;5192:6;:4;:6::i;:::-;5176:24;;;;;;5202:12;10973:9;;10850:172;5202:12;5148:82;;;;;;;12201:25:23;;;;12242:18;;;12235:34;;;;12285:18;;;12278:34;;;;5224:4:4;12328:18:23;;;;12321:60;;;;5148:82:4;;;;;;;;;;12173:19:23;;;5148:82:4;;5125:115;;;;;;2315:71;5281:57;;;12623:25:23;-1:-1:-1;;;;;12684:32:23;;12664:18;;;12657:60;12733:18;;;12726:34;;;12776:18;;;;12769:34;;;5281:57:4;;;;;;;;;;12595:19:23;;;5281:57:4;;;5271:68;;;;;;;-1:-1:-1;;;5376:57:4;;;13072:27:23;13115:11;;;13108:27;;;13151:12;;;13144:28;;;5125:115:4;;-1:-1:-1;;;13188:12:23;;5376:57:4;;;-1:-1:-1;;5376:57:4;;;;;;;;;5366:68;;5376:57;5366:68;;;;5444:17;5464:26;;;;;;;;;13438:25:23;;;13511:4;13499:17;;13479:18;;;13472:45;;;;13533:18;;;13526:34;;;13576:18;;;13569:34;;;5366:68:4;;-1:-1:-1;5444:17:4;5464:26;;13410:19:23;;5464:26:4;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5464:26:4;;-1:-1:-1;;5464:26:4;;;-1:-1:-1;;;;;;;5508:23:4;;5500:90;;;;-1:-1:-1;;;5500:90:4;;13816:2:23;5500:90:4;;;13798:21:23;13855:2;13835:18;;;13828:30;13894:34;13874:18;;;13867:62;-1:-1:-1;;;13945:18:23;;;13938:52;14007:19;;5500:90:4;13614:418:23;5500:90:4;-1:-1:-1;;;;;5617:17:4;;;;;;:6;:17;;;;;:19;;;;;;:::i;:::-;;;;;5608:5;:28;5600:91;;;;-1:-1:-1;;;5600:91:4;;14239:2:23;5600:91:4;;;14221:21:23;14278:2;14258:18;;;14251:30;14317:34;14297:18;;;14290:62;-1:-1:-1;;;14368:18:23;;;14361:48;14426:19;;5600:91:4;14037:414:23;5600:91:4;5728:6;5709:15;:25;;5701:92;;;;-1:-1:-1;;;5701:92:4;;14658:2:23;5701:92:4;;;14640:21:23;14697:2;14677:18;;;14670:30;14736:34;14716:18;;;14709:62;-1:-1:-1;;;14787:18:23;;;14780:52;14849:19;;5701:92:4;14456:418:23;5701:92:4;5810:31;5820:9;5831;5810;:31::i;:::-;5803:38;;;;4924:924;;;;;;;:::o;5583:432:15:-;7256:4:3;6865:16;;;:7;:16;;;;;;5681:13:15;;-1:-1:-1;;;;;6865:16:3;5714:51:15;;;;-1:-1:-1;;;5714:51:15;;15081:2:23;5714:51:15;;;15063:21:23;15120:2;15100:18;;;15093:30;-1:-1:-1;;;15139:18:23;;;15132:51;15200:18;;5714:51:15;14879:345:23;5714:51:15;5872:7;5905:26;5922:8;5905:16;:26::i;:::-;5830:156;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5779:225;;5583:432;;;:::o;1981:136::-;3747:7;1101:6:16;-1:-1:-1;;;;;1101:6:16;719:10:1;1241:23:16;1233:68;;;;-1:-1:-1;;;1233:68:16;;;;;;;:::i;:::-;-1:-1:-1;;;;;6957:26:15;;;;;;:9;:26;;;;;:35;;-1:-1:-1;;6957:35:15;;;;;;;6546:21:::1;6463:111:::0;:::o;3049:190:4:-;3114:6;3139:93;3146:20;3156:9;3146;:20::i;:::-;3139:93;;;;;;;;;;;;;;;;;:6;:93::i;2280:360:15:-;-1:-1:-1;;;;;2419:19:15;;2386:4;2419:19;;;:9;:19;;;;;;;;:28;2411:84;;;;-1:-1:-1;;;2411:84:15;;17171:2:23;2411:84:15;;;17153:21:23;17210:2;17190:18;;;17183:30;17249:34;17229:18;;;17222:62;-1:-1:-1;;;17300:18:23;;;17293:41;17351:19;;2411:84:15;16969:407:23;2411:84:15;-1:-1:-1;;;;;2511:20:15;;;;;;:10;:20;;;;;;;;:28;;:20;:28;2507:70;;-1:-1:-1;2562:4:15;2555:11;;2507:70;-1:-1:-1;;;;;4443:25:3;;;4420:4;4443:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;2594:39:15;4323:162:3;1911:198:16;3747:7:15;1101:6:16;-1:-1:-1;;;;;1101:6:16;719:10:1;1241:23:16;1233:68;;;;-1:-1:-1;;;1233:68:16;;;;;;;:::i;:::-;-1:-1:-1;;;;;1999:22:16;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:16;;17583:2:23;1991:73:16::1;::::0;::::1;17565:21:23::0;17622:2;17602:18;;;17595:30;17661:34;17641:18;;;17634:62;-1:-1:-1;;;17712:18:23;;;17705:36;17758:19;;1991:73:16::1;17381:402:23::0;1991:73:16::1;2074:28;2093:8;2074:18;:28::i;6183:136:15:-:0;3747:7;1101:6:16;-1:-1:-1;;;;;1101:6:16;719:10:1;1241:23:16;1233:68;;;;-1:-1:-1;;;1233:68:16;;;;;;;:::i;:::-;6257:6:15::1;:16:::0;;-1:-1:-1;;;;;;6257:16:15::1;-1:-1:-1::0;;;;;6257:16:15;;;::::1;::::0;;;::::1;::::0;;6183:136::o;1505:300:3:-;1607:4;-1:-1:-1;;;;;;1642:40:3;;-1:-1:-1;;;1642:40:3;;:104;;-1:-1:-1;;;;;;;1698:48:3;;-1:-1:-1;;;1698:48:3;1642:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:2;;;1762:36:3;829:155:2;13401:133:3;7256:4;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:3;13474:53;;;;-1:-1:-1;;;13474:53:3;;10062:2:23;13474:53:3;;;10044:21:23;10101:2;10081:18;;;10074:30;-1:-1:-1;;;10120:18:23;;;10113:54;10184:18;;13474:53:3;9860:348:23;1538:207:20;1639:22;;-1:-1:-1;;;;;1639:22:20;1631:45;1627:112;;1692:36;1719:8;1692:26;:36::i;3403:406:3:-;3483:13;3499:23;3514:7;3499:14;:23::i;:::-;3483:39;;3546:5;-1:-1:-1;;;;;3540:11:3;:2;-1:-1:-1;;;;;3540:11:3;;3532:57;;;;-1:-1:-1;;;3532:57:3;;17990:2:23;3532:57:3;;;17972:21:23;18029:2;18009:18;;;18002:30;18068:34;18048:18;;;18041:62;-1:-1:-1;;;18119:18:23;;;18112:31;18160:19;;3532:57:3;17788:397:23;3532:57:3;719:10:1;-1:-1:-1;;;;;3621:21:3;;;;:62;;-1:-1:-1;3646:37:3;3663:5;719:10:1;2280:360:15;:::i;3646:37:3:-;3600:170;;;;-1:-1:-1;;;3600:170:3;;18392:2:23;3600:170:3;;;18374:21:23;18431:2;18411:18;;;18404:30;18470:34;18450:18;;;18443:62;18541:31;18521:18;;;18514:59;18590:19;;3600:170:3;18190:425:23;3600:170:3;3781:21;3790:2;3794:7;3781:8;:21::i;4547:326::-;4736:41;719:10:1;4769:7:3;4736:18;:41::i;:::-;4728:99;;;;-1:-1:-1;;;4728:99:3;;;;;;;:::i;:::-;4838:28;4848:4;4854:2;4858:7;4838:9;:28::i;4939:179::-;5072:39;5089:4;5095:2;5099:7;5072:39;;;;;;;;;;;;:16;:39::i;10272:762::-;10331:13;10347:23;10362:7;10347:14;:23::i;:::-;10331:39;;10381:51;10402:5;10417:1;10421:7;10430:1;10381:20;:51::i;:::-;10542:23;10557:7;10542:14;:23::i;:::-;10610:24;;;;:15;:24;;;;;;;;10603:31;;-1:-1:-1;;;;;;10603:31:3;;;;;;-1:-1:-1;;;;;10850:16:3;;;;;:9;:16;;;;;:21;;-1:-1:-1;;10850:21:3;;;10898:16;;;:7;:16;;;;;;10891:23;;;;;;;10930:36;10534:31;;-1:-1:-1;10626:7:3;;10930:36;;10610:24;;10930:36;6546:21:15::1;6463:111:::0;:::o;7894:481:4:-;8094:23;8120:20;8130:9;8120;:20::i;:::-;-1:-1:-1;;;;;8151:21:4;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;8151:33:4;;;;;;;;;;8200:54;;8094:46;;-1:-1:-1;8151:33:4;8200:54;;;;;;8151:21;8200:54;8265:13;8281:26;8297:9;8281:15;:26::i;:::-;8265:42;;8318:50;8333:15;8350:9;8361:6;8318:14;:50::i;7251:169:15:-;7315:7;7334:18;7340:2;7344:7;7334:5;:18::i;:::-;7367:21;;7380:7;;7367:21;;;;;-1:-1:-1;7406:7:15;7251:169;-1:-1:-1;7251:169:15:o;2263:187:16:-;2336:16;2355:6;;-1:-1:-1;;;;;2371:17:16;;;-1:-1:-1;;;;;;2371:17:16;;;;;;2403:40;;2355:6;;;;;;;2403:40;;2336:16;2403:40;2326:124;2263:187;:::o;4104:153:3:-;4198:52;719:10:1;4231:8:3;4241;4198:18;:52::i;5184:314::-;5352:41;719:10:1;5385:7:3;5352:18;:41::i;:::-;5344:99;;;;-1:-1:-1;;;5344:99:3;;;;;;;:::i;:::-;5453:38;5467:4;5473:2;5477:7;5486:4;5453:13;:38::i;410:696:21:-;466:13;515:14;532:17;543:5;532:10;:17::i;:::-;552:1;532:21;515:38;;567:20;601:6;590:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;590:18:21;-1:-1:-1;567:41:21;-1:-1:-1;728:28:21;;;744:2;728:28;783:280;-1:-1:-1;;814:5:21;-1:-1:-1;;;948:2:21;937:14;;932:30;814:5;919:44;1007:2;998:11;;;-1:-1:-1;1027:21:21;783:280;1027:21;-1:-1:-1;1083:6:21;410:696;-1:-1:-1;;;410:696:21:o;10265:161:4:-;10343:6;10380:12;-1:-1:-1;;;10369:9:4;;10361:32;;;;-1:-1:-1;;;10361:32:4;;;;;;;;:::i;:::-;-1:-1:-1;10417:1:4;;10265:161;-1:-1:-1;;10265:161:4:o;3323:482:22:-;3438:22;;-1:-1:-1;;;;;3438:22:22;3579:31;;;;;:68;;;3646:1;3622:8;-1:-1:-1;;;;;3614:29:22;;:33;3579:68;3575:224;;;3668:51;;-1:-1:-1;;;3668:51:22;;3703:4;3668:51;;;19246:34:23;-1:-1:-1;;;;;19316:15:23;;;19296:18;;;19289:43;3668:26:22;;;;;19181:18:23;;3668:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3663:126;;3746:28;;-1:-1:-1;;;3746:28:22;;-1:-1:-1;;;;;1529:32:23;;3746:28:22;;;1511:51:23;1484:18;;3746:28:22;1365:203:23;12703:171:3;12777:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;12777:29:3;-1:-1:-1;;;;;12777:29:3;;;;;;;;:24;;12830:23;12777:24;12830:14;:23::i;:::-;-1:-1:-1;;;;;12821:46:3;;;;;;;;;;;12703:171;;:::o;7475:261::-;7568:4;7584:13;7600:23;7615:7;7600:14;:23::i;:::-;7584:39;;7652:5;-1:-1:-1;;;;;7641:16:3;:7;-1:-1:-1;;;;;7641:16:3;;:52;;;;7661:32;7678:5;7685:7;7661:16;:32::i;:::-;7641:87;;;;7721:7;-1:-1:-1;;;;;7697:31:3;:20;7709:7;7697:11;:20::i;:::-;-1:-1:-1;;;;;7697:31:3;;7641:87;7633:96;7475:261;-1:-1:-1;;;;7475:261:3:o;11358:1233::-;11512:4;-1:-1:-1;;;;;11485:31:3;:23;11500:7;11485:14;:23::i;:::-;-1:-1:-1;;;;;11485:31:3;;11477:81;;;;-1:-1:-1;;;11477:81:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;11576:16:3;;11568:65;;;;-1:-1:-1;;;11568:65:3;;20201:2:23;11568:65:3;;;20183:21:23;20240:2;20220:18;;;20213:30;20279:34;20259:18;;;20252:62;-1:-1:-1;;;20330:18:23;;;20323:34;20374:19;;11568:65:3;19999:400:23;11568:65:3;11644:42;11665:4;11671:2;11675:7;11684:1;11644:20;:42::i;:::-;11813:4;-1:-1:-1;;;;;11786:31:3;:23;11801:7;11786:14;:23::i;:::-;-1:-1:-1;;;;;11786:31:3;;11778:81;;;;-1:-1:-1;;;11778:81:3;;;;;;;:::i;:::-;11928:24;;;;:15;:24;;;;;;;;11921:31;;-1:-1:-1;;;;;;11921:31:3;;;;;;-1:-1:-1;;;;;12396:15:3;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12396:20:3;;;12430:13;;;;;;;;;:18;;11921:31;12430:18;;;12468:16;;;:7;:16;;;;;;:21;;;;;;;;;;12505:27;;11944:7;;12505:27;;;2856:172:15;;;:::o;3801:397:4:-;3959:56;3986:4;3992:2;3996:7;4005:9;3959:26;:56::i;:::-;4142:49;4157:15;4167:4;4157:9;:15::i;:::-;4174:13;4184:2;4174:9;:13::i;:::-;4189:1;8381:983;8515:6;-1:-1:-1;;;;;8505:16:4;:6;-1:-1:-1;;;;;8505:16:4;;;:30;;;;;8534:1;8525:6;-1:-1:-1;;;;;8525:10:4;;8505:30;8501:857;;;-1:-1:-1;;;;;8555:20:4;;;8551:392;;-1:-1:-1;;;;;8614:22:4;;8595:16;8614:22;;;:14;:22;;;;;;;;;8673:13;:60;;8732:1;8673:60;;;-1:-1:-1;;;;;8689:19:4;;;;;;:11;:19;;;;;;8709:13;8721:1;8709:9;:13;:::i;:::-;8689:34;;;;;;;;;;;;;-1:-1:-1;8689:34:4;:40;-1:-1:-1;;;8689:40:4;;-1:-1:-1;;;;;8689:40:4;8673:60;8654:79;;8751:16;8770:83;8776:9;8787:6;8770:83;;;;;;;;;;;;;;;;;:5;:83::i;:::-;8751:102;;8871:57;8888:6;8896:9;8907;8918;8871:16;:57::i;:::-;8577:366;;;8551:392;-1:-1:-1;;;;;8961:20:4;;;8957:391;;-1:-1:-1;;;;;9020:22:4;;9001:16;9020:22;;;:14;:22;;;;;;;;;9079:13;:60;;9138:1;9079:60;;;-1:-1:-1;;;;;9095:19:4;;;;;;:11;:19;;;;;;9115:13;9127:1;9115:9;:13;:::i;:::-;9095:34;;;;;;;;;;;;;-1:-1:-1;9095:34:4;:40;-1:-1:-1;;;9095:40:4;;-1:-1:-1;;;;;9095:40:4;9079:60;9060:79;;9157:16;9176:82;9182:9;9193:6;9176:82;;;;;;;;;;;;;;;;;:5;:82::i;:::-;9157:101;;9276:57;9293:6;9301:9;9312;9323;9276:16;:57::i;9026:920:3:-;-1:-1:-1;;;;;9105:16:3;;9097:61;;;;-1:-1:-1;;;9097:61:3;;20606:2:23;9097:61:3;;;20588:21:23;;;20625:18;;;20618:30;20684:34;20664:18;;;20657:62;20736:18;;9097:61:3;20404:356:23;9097:61:3;7256:4;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:3;7279:31;9168:58;;;;-1:-1:-1;;;9168:58:3;;20967:2:23;9168:58:3;;;20949:21:23;21006:2;20986:18;;;20979:30;21045;21025:18;;;21018:58;21093:18;;9168:58:3;20765:352:23;9168:58:3;9237:48;9266:1;9270:2;9274:7;9283:1;9237:20;:48::i;:::-;7256:4;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:3;7279:31;9372:58;;;;-1:-1:-1;;;9372:58:3;;20967:2:23;9372:58:3;;;20949:21:23;21006:2;20986:18;;;20979:30;21045;21025:18;;;21018:58;21093:18;;9372:58:3;20765:352:23;9372:58:3;-1:-1:-1;;;;;9772:13:3;;;;;;:9;:13;;;;;;;;:18;;9789:1;9772:18;;;9811:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9811:21:3;;;;;9848:33;9819:7;;9772:13;;9848:33;;9772:13;;9848:33;6546:21:15::1;6463:111:::0;:::o;13010:307:3:-;13160:8;-1:-1:-1;;;;;13151:17:3;:5;-1:-1:-1;;;;;13151:17:3;;13143:55;;;;-1:-1:-1;;;13143:55:3;;21324:2:23;13143:55:3;;;21306:21:23;21363:2;21343:18;;;21336:30;21402:27;21382:18;;;21375:55;21447:18;;13143:55:3;21122:349:23;13143:55:3;-1:-1:-1;;;;;13208:25:3;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13208:46:3;;;;;;;;;;13269:41;;540::23;;;13269::3;;513:18:23;13269:41:3;;;;;;;13010:307;;;:::o;6359:305::-;6509:28;6519:4;6525:2;6529:7;6509:9;:28::i;:::-;6555:47;6578:4;6584:2;6588:7;6597:4;6555:22;:47::i;:::-;6547:110;;;;-1:-1:-1;;;6547:110:3;;;;;;;:::i;9889:890:14:-;9942:7;;-1:-1:-1;;;10017:15:14;;10013:99;;-1:-1:-1;;;10052:15:14;;;-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;2111::5:-;2282:61;2309:4;2315:2;2319:12;2333:9;2282:26;:61::i;:::-;2370:1;2358:9;:13;2354:219;;;2499:63;;-1:-1:-1;;;2499:63:5;;22097:2:23;2499:63:5;;;22079:21:23;22136:2;22116:18;;;22109:30;22175:34;22155:18;;;22148:62;-1:-1:-1;;;22226:18:23;;;22219:51;22287:19;;2499:63:5;21895:417:23;2354:219:5;2601:12;-1:-1:-1;;;;;2628:18:5;;2624:183;;2662:40;2694:7;3810:10;:17;;3783:24;;;;:15;:24;;;;;:44;;;3837:24;;;;;;;;;;;;3707:161;2662:40;2624:183;;;2731:2;-1:-1:-1;;;;;2723:10:5;:4;-1:-1:-1;;;;;2723:10:5;;2719:88;;2749:47;2782:4;2788:7;2749:32;:47::i;:::-;-1:-1:-1;;;;;2820:16:5;;2816:179;;2852:45;2889:7;2852:36;:45::i;:::-;2816:179;;;2924:4;-1:-1:-1;;;;;2918:10:5;:2;-1:-1:-1;;;;;2918:10:5;;2914:81;;2944:40;2972:2;2976:7;2944:27;:40::i;10652:192:4:-;10768:6;10799:1;-1:-1:-1;;;;;10794:6:4;:1;-1:-1:-1;;;;;10794:6:4;;;10802:12;10786:29;;;;;-1:-1:-1;;;10786:29:4;;;;;;;;:::i;:::-;-1:-1:-1;10832:5:4;10836:1;10832;:5;:::i;9370:722::-;9527:18;9548:126;9568:12;9548:126;;;;;;;;;;;;;;;;;:6;:126::i;:::-;9527:147;;9704:1;9689:12;:16;;;:85;;;;-1:-1:-1;;;;;;9709:22:4;;;;;;:11;:22;;;;;:65;;;;9732:16;9747:1;9732:12;:16;:::i;:::-;9709:40;;;;;;;;;;;;;;;-1:-1:-1;9709:40:4;:50;;:65;9689:85;9685:334;;;-1:-1:-1;;;;;9790:22:4;;;;;;:11;:22;;;;;9839:8;;9813:16;9828:1;9813:12;:16;:::i;:::-;9790:40;;;;;;;;;;;;;-1:-1:-1;9790:40:4;:57;;-1:-1:-1;;;;;9790:57:4;;;;-1:-1:-1;;;9790:57:4;-1:-1:-1;;9790:57:4;;;;;;;;;9685:334;;;9917:33;;;;;;;;;;;;;;-1:-1:-1;;;;;9917:33:4;;;;;;;;;;-1:-1:-1;;;;;9878:22:4;;-1:-1:-1;9878:22:4;;;:11;:22;;;;;:36;;;;;;;;;;;;:72;;;;;;;;;-1:-1:-1;;;9878:72:4;-1:-1:-1;;9878:72:4;;;;;;;;;;;;9992:16;9901:12;9878:72;9992:16;:::i;:::-;-1:-1:-1;;;;;9964:25:4;;;;;;:14;:25;;;;;:44;;-1:-1:-1;;9964:44:4;;;;;;;;;;;;9685:334;10034:51;;;-1:-1:-1;;;;;23027:15:23;;;23009:34;;23079:15;;23074:2;23059:18;;23052:43;-1:-1:-1;;;;;10034:51:4;;;;;22937:18:23;10034:51:4;;;;;;;9517:575;9370:722;;;;:::o;10432:214::-;10548:6;;10577:5;10581:1;10577;:5;:::i;:::-;10566:16;;10605:1;-1:-1:-1;;;;;10600:6:4;:1;-1:-1:-1;;;;;10600:6:4;;;10608:12;10592:29;;;;;-1:-1:-1;;;10592:29:4;;;;;;;;:::i;:::-;-1:-1:-1;10638:1:4;10432:214;-1:-1:-1;;;;10432:214:4:o;14086:831:3:-;14235:4;-1:-1:-1;;;;;14255:13:3;;1465:19:0;:23;14251:660:3;;14290:71;;-1:-1:-1;;;14290:71:3;;-1:-1:-1;;;;;14290:36:3;;;;;:71;;719:10:1;;14341:4:3;;14347:7;;14356:4;;14290:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14290:71:3;;;;;;;;-1:-1:-1;;14290:71:3;;;;;;;;;;;;:::i;:::-;;;14286:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14528:6;:13;14545:1;14528:18;14524:321;;14570:60;;-1:-1:-1;;;14570:60:3;;;;;;;:::i;14524:321::-;14797:6;14791:13;14782:6;14778:2;14774:15;14767:38;14286:573;-1:-1:-1;;;;;;14411:51:3;-1:-1:-1;;;14411:51:3;;-1:-1:-1;14404:58:3;;14251:660;-1:-1:-1;14896:4:3;14086:831;;;;;;:::o;15633:396::-;15817:1;15805:9;:13;15801:222;;;-1:-1:-1;;;;;15838:18:3;;;15834:85;;-1:-1:-1;;;;;15876:15:3;;;;;;:9;:15;;;;;:28;;15895:9;;15876:15;:28;;15895:9;;15876:28;:::i;:::-;;;;-1:-1:-1;;15834:85:3;-1:-1:-1;;;;;15936:16:3;;;15932:81;;-1:-1:-1;;;;;15972:13:3;;;;;;:9;:13;;;;;:26;;15989:9;;15972:13;:26;;15989:9;;15972:26;:::i;:::-;;;;-1:-1:-1;;15633:396:3;;;;:::o;4485:970:5:-;4747:22;4797:1;4772:22;4789:4;4772:16;:22::i;:::-;:26;;;;:::i;:::-;4808:18;4829:26;;;:17;:26;;;;;;4747:51;;-1:-1:-1;4959:28:5;;;4955:323;;-1:-1:-1;;;;;5025:18:5;;5003:19;5025:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5074:30;;;;;;:44;;;5190:30;;:17;:30;;;;;:43;;;4955:323;-1:-1:-1;5371:26:5;;;;:17;:26;;;;;;;;5364:33;;;-1:-1:-1;;;;;5414:18:5;;;;;:12;:18;;;;;:34;;;;;;;5407:41;4485:970::o;5743:1061::-;6017:10;:17;5992:22;;6017:21;;6037:1;;6017:21;:::i;:::-;6048:18;6069:24;;;:15;:24;;;;;;6437:10;:26;;5992:46;;-1:-1:-1;6069:24:5;;5992:46;;6437:26;;;;;;:::i;:::-;;;;;;;;;6415:48;;6499:11;6474:10;6485;6474:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6578:28;;;:15;:28;;;;;;;:41;;;6747:24;;;;;6740:31;6781:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5814:990;;;5743:1061;:::o;3295:217::-;3379:14;3396:20;3413:2;3396:16;:20::i;:::-;-1:-1:-1;;;;;3426:16:5;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3470:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3295:217:5:o;10098:161:4:-;10176:6;10213:12;-1:-1:-1;;;10202:9:4;;10194:32;;;;-1:-1:-1;;;10194:32:4;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:23;-1:-1:-1;;;;;;88:32:23;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:23;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:23;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:23:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1573:180::-;1632:6;1685:2;1673:9;1664:7;1660:23;1656:32;1653:52;;;1701:1;1698;1691:12;1653:52;-1:-1:-1;1724:23:23;;1573:180;-1:-1:-1;1573:180:23:o;1758:173::-;1826:20;;-1:-1:-1;;;;;1875:31:23;;1865:42;;1855:70;;1921:1;1918;1911:12;1936:254;2004:6;2012;2065:2;2053:9;2044:7;2040:23;2036:32;2033:52;;;2081:1;2078;2071:12;2033:52;2104:29;2123:9;2104:29;:::i;:::-;2094:39;2180:2;2165:18;;;;2152:32;;-1:-1:-1;;;1936:254:23:o;2559:328::-;2636:6;2644;2652;2705:2;2693:9;2684:7;2680:23;2676:32;2673:52;;;2721:1;2718;2711:12;2673:52;2744:29;2763:9;2744:29;:::i;:::-;2734:39;;2792:38;2826:2;2815:9;2811:18;2792:38;:::i;:::-;2782:48;;2877:2;2866:9;2862:18;2849:32;2839:42;;2559:328;;;;;:::o;3081:127::-;3142:10;3137:3;3133:20;3130:1;3123:31;3173:4;3170:1;3163:15;3197:4;3194:1;3187:15;3213:632;3278:5;3308:18;3349:2;3341:6;3338:14;3335:40;;;3355:18;;:::i;:::-;3430:2;3424:9;3398:2;3484:15;;-1:-1:-1;;3480:24:23;;;3506:2;3476:33;3472:42;3460:55;;;3530:18;;;3550:22;;;3527:46;3524:72;;;3576:18;;:::i;:::-;3616:10;3612:2;3605:22;3645:6;3636:15;;3675:6;3667;3660:22;3715:3;3706:6;3701:3;3697:16;3694:25;3691:45;;;3732:1;3729;3722:12;3691:45;3782:6;3777:3;3770:4;3762:6;3758:17;3745:44;3837:1;3830:4;3821:6;3813;3809:19;3805:30;3798:41;;;;3213:632;;;;;:::o;3850:451::-;3919:6;3972:2;3960:9;3951:7;3947:23;3943:32;3940:52;;;3988:1;3985;3978:12;3940:52;4028:9;4015:23;4061:18;4053:6;4050:30;4047:50;;;4093:1;4090;4083:12;4047:50;4116:22;;4169:4;4161:13;;4157:27;-1:-1:-1;4147:55:23;;4198:1;4195;4188:12;4147:55;4221:74;4287:7;4282:2;4269:16;4264:2;4260;4256:11;4221:74;:::i;4306:186::-;4365:6;4418:2;4406:9;4397:7;4393:23;4389:32;4386:52;;;4434:1;4431;4424:12;4386:52;4457:29;4476:9;4457:29;:::i;4694:118::-;4780:5;4773:13;4766:21;4759:5;4756:32;4746:60;;4802:1;4799;4792:12;4817:315;4882:6;4890;4943:2;4931:9;4922:7;4918:23;4914:32;4911:52;;;4959:1;4956;4949:12;4911:52;4982:29;5001:9;4982:29;:::i;:::-;4972:39;;5061:2;5050:9;5046:18;5033:32;5074:28;5096:5;5074:28;:::i;:::-;5121:5;5111:15;;;4817:315;;;;;:::o;5590:667::-;5685:6;5693;5701;5709;5762:3;5750:9;5741:7;5737:23;5733:33;5730:53;;;5779:1;5776;5769:12;5730:53;5802:29;5821:9;5802:29;:::i;:::-;5792:39;;5850:38;5884:2;5873:9;5869:18;5850:38;:::i;:::-;5840:48;;5935:2;5924:9;5920:18;5907:32;5897:42;;5990:2;5979:9;5975:18;5962:32;6017:18;6009:6;6006:30;6003:50;;;6049:1;6046;6039:12;6003:50;6072:22;;6125:4;6117:13;;6113:27;-1:-1:-1;6103:55:23;;6154:1;6151;6144:12;6103:55;6177:74;6243:7;6238:2;6225:16;6220:2;6216;6212:11;6177:74;:::i;:::-;6167:84;;;5590:667;;;;;;;:::o;6262:618::-;6364:6;6372;6380;6388;6396;6404;6457:3;6445:9;6436:7;6432:23;6428:33;6425:53;;;6474:1;6471;6464:12;6425:53;6497:29;6516:9;6497:29;:::i;:::-;6487:39;;6573:2;6562:9;6558:18;6545:32;6535:42;;6624:2;6613:9;6609:18;6596:32;6586:42;;6678:2;6667:9;6663:18;6650:32;6722:4;6715:5;6711:16;6704:5;6701:27;6691:55;;6742:1;6739;6732:12;6691:55;6262:618;;;;-1:-1:-1;6262:618:23;;6817:3;6802:19;;6789:33;;6869:3;6854:19;;;6841:33;;-1:-1:-1;6262:618:23;-1:-1:-1;;6262:618:23:o;6885:260::-;6953:6;6961;7014:2;7002:9;6993:7;6989:23;6985:32;6982:52;;;7030:1;7027;7020:12;6982:52;7053:29;7072:9;7053:29;:::i;:::-;7043:39;;7101:38;7135:2;7124:9;7120:18;7101:38;:::i;:::-;7091:48;;6885:260;;;;;:::o;7150:350::-;7217:6;7225;7278:2;7266:9;7257:7;7253:23;7249:32;7246:52;;;7294:1;7291;7284:12;7246:52;7317:29;7336:9;7317:29;:::i;:::-;7307:39;;7396:2;7385:9;7381:18;7368:32;7440:10;7433:5;7429:22;7422:5;7419:33;7409:61;;7466:1;7463;7456:12;7804:380;7883:1;7879:12;;;;7926;;;7947:61;;8001:4;7993:6;7989:17;7979:27;;7947:61;8054:2;8046:6;8043:14;8023:18;8020:38;8017:161;;8100:10;8095:3;8091:20;8088:1;8081:31;8135:4;8132:1;8125:15;8163:4;8160:1;8153:15;8017:161;;7804:380;;;:::o;8601:348::-;8803:2;8785:21;;;8842:2;8822:18;;;8815:30;8881:26;8876:2;8861:18;;8854:54;8940:2;8925:18;;8601:348::o;9367:127::-;9428:10;9423:3;9419:20;9416:1;9409:31;9459:4;9456:1;9449:15;9483:4;9480:1;9473:15;9499:356;9701:2;9683:21;;;9720:18;;;9713:30;9779:34;9774:2;9759:18;;9752:62;9846:2;9831:18;;9499:356::o;10213:127::-;10274:10;10269:3;10265:20;10262:1;10255:31;10305:4;10302:1;10295:15;10329:4;10326:1;10319:15;10345:135;10384:3;10405:17;;;10402:43;;10425:18;;:::i;:::-;-1:-1:-1;10472:1:23;10461:13;;10345:135::o;11319:221::-;11358:4;11387:10;11447;;;;11417;;11469:12;;;11466:38;;;11484:18;;:::i;:::-;11521:13;;11319:221;-1:-1:-1;;;11319:221:23:o;11677:288::-;11716:1;11742:10;11779:2;11776:1;11772:10;11801:3;11791:134;;11847:10;11842:3;11838:20;11835:1;11828:31;11882:4;11879:1;11872:15;11910:4;11907:1;11900:15;11791:134;11943:10;;11939:20;;;;;11677:288;-1:-1:-1;;11677:288:23:o;15355:185::-;15397:3;15435:5;15429:12;15450:52;15495:6;15490:3;15483:4;15476:5;15472:16;15450:52;:::i;:::-;15518:16;;;;;15355:185;-1:-1:-1;;15355:185:23:o;15663:1301::-;15940:3;15969:1;16002:6;15996:13;16032:3;16054:1;16082:9;16078:2;16074:18;16064:28;;16142:2;16131:9;16127:18;16164;16154:61;;16208:4;16200:6;16196:17;16186:27;;16154:61;16234:2;16282;16274:6;16271:14;16251:18;16248:38;16245:165;;-1:-1:-1;;;16309:33:23;;16365:4;16362:1;16355:15;16395:4;16316:3;16383:17;16245:165;16426:18;16453:104;;;;16571:1;16566:320;;;;16419:467;;16453:104;-1:-1:-1;;16486:24:23;;16474:37;;16531:16;;;;-1:-1:-1;16453:104:23;;16566:320;15302:1;15295:14;;;15339:4;15326:18;;16661:1;16675:165;16689:6;16686:1;16683:13;16675:165;;;16767:14;;16754:11;;;16747:35;16810:16;;;;16704:10;;16675:165;;;16679:3;;16869:6;16864:3;16860:16;16853:23;;16419:467;;;;;;;16902:56;16927:30;16953:3;16945:6;16927:30;:::i;:::-;-1:-1:-1;;;15605:20:23;;15650:1;15641:11;;15545:113;16902:56;16895:63;15663:1301;-1:-1:-1;;;;;15663:1301:23:o;18620:409::-;18822:2;18804:21;;;18861:2;18841:18;;;18834:30;18900:34;18895:2;18880:18;;18873:62;-1:-1:-1;;;18966:2:23;18951:18;;18944:43;19019:3;19004:19;;18620:409::o;19343:245::-;19410:6;19463:2;19451:9;19442:7;19438:23;19434:32;19431:52;;;19479:1;19476;19469:12;19431:52;19511:9;19505:16;19530:28;19552:5;19530:28;:::i;19593:401::-;19795:2;19777:21;;;19834:2;19814:18;;;19807:30;19873:34;19868:2;19853:18;;19846:62;-1:-1:-1;;;19939:2:23;19924:18;;19917:35;19984:3;19969:19;;19593:401::o;21476:414::-;21678:2;21660:21;;;21717:2;21697:18;;;21690:30;21756:34;21751:2;21736:18;;21729:62;-1:-1:-1;;;21822:2:23;21807:18;;21800:48;21880:3;21865:19;;21476:414::o;22317:237::-;22356:4;-1:-1:-1;;;;;22461:10:23;;;;22431;;22483:12;;;22480:38;;;22498:18;;:::i;22559:228::-;22598:3;22626:10;22663:2;22660:1;22656:10;22693:2;22690:1;22686:10;22724:3;22720:2;22716:12;22711:3;22708:21;22705:47;;;22732:18;;:::i;:::-;22768:13;;22559:228;-1:-1:-1;;;;22559:228:23:o;23106:244::-;23145:3;-1:-1:-1;;;;;23226:2:23;23223:1;23219:10;23256:2;23253:1;23249:10;23287:3;23283:2;23279:12;23274:3;23271:21;23268:47;;;23295:18;;:::i;23355:500::-;-1:-1:-1;;;;;23624:15:23;;;23606:34;;23676:15;;23671:2;23656:18;;23649:43;23723:2;23708:18;;23701:34;;;23771:3;23766:2;23751:18;;23744:31;;;23549:4;;23792:57;;23829:19;;23821:6;23792:57;:::i;:::-;23784:65;23355:500;-1:-1:-1;;;;;;23355:500:23:o;23860:249::-;23929:6;23982:2;23970:9;23961:7;23957:23;23953:32;23950:52;;;23998:1;23995;23988:12;23950:52;24030:9;24024:16;24049:30;24073:5;24049:30;:::i;24114:125::-;24154:4;24182:1;24179;24176:8;24173:34;;;24187:18;;:::i;:::-;-1:-1:-1;24224:9:23;;24114:125::o;24244:128::-;24284:3;24315:1;24311:6;24308:1;24305:13;24302:39;;;24321:18;;:::i;:::-;-1:-1:-1;24357:9:23;;24244:128::o;24377:127::-;24438:10;24433:3;24429:20;24426:1;24419:31;24469:4;24466:1;24459:15;24493:4;24490:1;24483:15
Swarm Source
ipfs://127e3cdd28888825c1253f50a0d2550e5b14b10d16e85f0db7bc087e9129646a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.