ERC-721
Overview
Max Total Supply
111 SAPE
Holders
23
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 SAPELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SmolApes
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-01-08 */ // File: @openzeppelin/[email protected]/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/[email protected]/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @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/[email protected]/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/[email protected]/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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/[email protected]/utils/Address.sol // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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/[email protected]/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/[email protected]/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/[email protected]/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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: @openzeppelin/[email protected]/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @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/[email protected]/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @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 tokenId); /** * @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/[email protected]/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @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/[email protected]/token/ERC721/ERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @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 { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/[email protected]/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: contracts/smolapes.sol /* _____ __ ___ / ___/____ ___ ____ / / / | ____ ___ _____ \__ \/ __ `__ \/ __ \/ / / /| | / __ \/ _ \/ ___/ ___/ / / / / / / /_/ / / / ___ |/ /_/ / __(__ ) /____/_/ /_/ /_/\____/_/ /_/ |_/ .___/\___/____/ /_/ */ pragma solidity ^0.8.2; contract SmolApes is ERC721, ERC721Enumerable, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; //project info string public projectName = "SmolApes"; string public projectSym = "SAPE"; uint256 public mintPrice = 0.03 ether; uint256 public maxSupply = 5000; uint256 public mintLimit = 10; uint256 public freeMintAmount = 1000; bool public publicSaleState = false; constructor() ERC721(projectName, projectSym) {} function _baseURI() internal pure override returns (string memory) { //swap this link with correct repository return "https://ipfs.io/ipfs/Qma3yC7h9d2dACwLo62cww1yvjdf9cgN4AuHc4yZMzBTDj"; } //toggle public sale function changeStatePublicSale() public onlyOwner returns(bool) { publicSaleState = !publicSaleState; return publicSaleState; } //public mint function function mint(uint numberOfTokens) external payable { require(publicSaleState, "Sale is not active"); require(_tokenIdCounter.current() <= maxSupply, "Not enough tokens left"); require(numberOfTokens <= mintLimit, "Too many tokens for one transaction"); if(_tokenIdCounter.current() >= freeMintAmount){ require(msg.value >= (mintPrice * numberOfTokens), "Insufficient payment"); } mintInternal(msg.sender, numberOfTokens); } //backend mint function mintInternal(address wallet, uint amount) internal { uint currentTokenSupply = _tokenIdCounter.current(); require((currentTokenSupply + amount) <= maxSupply, "Not enough tokens left"); for(uint i = 0; i< amount; i++){ currentTokenSupply++; _safeMint(wallet, currentTokenSupply); _tokenIdCounter.increment(); } } //change free mint amount function setfreeAmount(uint16 _newFreeMints) public onlyOwner() { freeMintAmount = _newFreeMints; } // The following functions are overrides required by Solidity. function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } //cashout function withdraw() public onlyOwner { require(address(this).balance > 0, "Balance is 0"); payable(owner()).transfer(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"changeStatePublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","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":[],"name":"projectName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectSym","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint16","name":"_newFreeMints","type":"uint16"}],"name":"setfreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526008608081905267536d6f6c4170657360c01b60a09081526200002b91600c919062000258565b50604080518082019091526004808252635341504560e01b60209092019182526200005991600d9162000258565b50666a94d74f430000600e55611388600f55600a6010556103e86011556012805460ff191690553480156200008d57600080fd5b50600c80546200009d90620002fe565b80601f0160208091040260200160405190810160405280929190818152602001828054620000cb90620002fe565b80156200011c5780601f10620000f0576101008083540402835291602001916200011c565b820191906000526020600020905b815481529060010190602001808311620000fe57829003601f168201915b5050505050600d80546200013090620002fe565b80601f01602080910402602001604051908101604052809291908181526020018280546200015e90620002fe565b8015620001af5780601f106200018357610100808354040283529160200191620001af565b820191906000526020600020905b8154815290600101906020018083116200019157829003601f168201915b50508451620001c993506000925060208601915062000258565b508051620001df90600190602084019062000258565b505050620001fc620001f66200020260201b60201c565b62000206565b6200033b565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200026690620002fe565b90600052602060002090601f0160209004810192826200028a5760008555620002d5565b82601f10620002a557805160ff1916838001178555620002d5565b82800160010185558215620002d5579182015b82811115620002d5578251825591602001919060010190620002b8565b50620002e3929150620002e7565b5090565b5b80821115620002e35760008155600101620002e8565b600181811c908216806200031357607f821691505b602082108114156200033557634e487b7160e01b600052602260045260246000fd5b50919050565b6120b3806200034b6000396000f3fe6080604052600436106101cd5760003560e01c806370a08231116100f7578063a0712d6811610095578063d1cbf17d11610064578063d1cbf17d146104d8578063d5abeb01146104ed578063e985e9c514610503578063f2fde38b1461054c57600080fd5b8063a0712d6814610465578063a22cb46514610478578063b88d4fde14610498578063c87b56dd146104b857600080fd5b80638da5cb5b116100d15780638da5cb5b1461040757806395d89b4114610425578063996517cf1461043a5780639a33e3001461045057600080fd5b806370a08231146103b8578063715018a6146103d857806371adc02a146103ed57600080fd5b80632d46d6ff1161016f57806342842e0e1161013e57806342842e0e146103425780634f6ccce7146103625780636352211e146103825780636817c76c146103a257600080fd5b80632d46d6ff146102d75780632f745c59146102f75780633a467e3d146103175780633ccfd60b1461032d57600080fd5b8063081812fc116101ab578063081812fc1461023e578063095ea7b31461027657806318160ddd1461029857806323b872dd146102b757600080fd5b806301ffc9a7146101d257806305f20d6e1461020757806306fdde0314610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611cc4565b61056c565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c61057d565b6040516101fe9190611dd3565b34801561023557600080fd5b5061021c61060b565b34801561024a57600080fd5b5061025e610259366004611d22565b61069d565b6040516001600160a01b0390911681526020016101fe565b34801561028257600080fd5b50610296610291366004611c9a565b610737565b005b3480156102a457600080fd5b506008545b6040519081526020016101fe565b3480156102c357600080fd5b506102966102d2366004611b46565b61084d565b3480156102e357600080fd5b506102966102f2366004611cfe565b61087e565b34801561030357600080fd5b506102a9610312366004611c9a565b6108b1565b34801561032357600080fd5b506102a960115481565b34801561033957600080fd5b50610296610947565b34801561034e57600080fd5b5061029661035d366004611b46565b6109ec565b34801561036e57600080fd5b506102a961037d366004611d22565b610a07565b34801561038e57600080fd5b5061025e61039d366004611d22565b610a9a565b3480156103ae57600080fd5b506102a9600e5481565b3480156103c457600080fd5b506102a96103d3366004611af8565b610b11565b3480156103e457600080fd5b50610296610b98565b3480156103f957600080fd5b506012546101f29060ff1681565b34801561041357600080fd5b50600a546001600160a01b031661025e565b34801561043157600080fd5b5061021c610bce565b34801561044657600080fd5b506102a960105481565b34801561045c57600080fd5b5061021c610bdd565b610296610473366004611d22565b610bea565b34801561048457600080fd5b50610296610493366004611c5e565b610d45565b3480156104a457600080fd5b506102966104b3366004611b82565b610d54565b3480156104c457600080fd5b5061021c6104d3366004611d22565b610d8c565b3480156104e457600080fd5b506101f2610e67565b3480156104f957600080fd5b506102a9600f5481565b34801561050f57600080fd5b506101f261051e366004611b13565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561055857600080fd5b50610296610567366004611af8565b610eae565b600061057782610f46565b92915050565b600d805461058a90611f4c565b80601f01602080910402602001604051908101604052809291908181526020018280546105b690611f4c565b80156106035780601f106105d857610100808354040283529160200191610603565b820191906000526020600020905b8154815290600101906020018083116105e657829003601f168201915b505050505081565b60606000805461061a90611f4c565b80601f016020809104026020016040519081016040528092919081815260200182805461064690611f4c565b80156106935780601f1061066857610100808354040283529160200191610693565b820191906000526020600020905b81548152906001019060200180831161067657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661071b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061074282610a9a565b9050806001600160a01b0316836001600160a01b031614156107b05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610712565b336001600160a01b03821614806107cc57506107cc813361051e565b61083e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610712565b6108488383610f6b565b505050565b6108573382610fd9565b6108735760405162461bcd60e51b815260040161071290611e6d565b6108488383836110d0565b600a546001600160a01b031633146108a85760405162461bcd60e51b815260040161071290611e38565b61ffff16601155565b60006108bc83610b11565b821061091e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610712565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146109715760405162461bcd60e51b815260040161071290611e38565b600047116109b05760405162461bcd60e51b815260206004820152600c60248201526b042616c616e636520697320360a41b6044820152606401610712565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156109e9573d6000803e3d6000fd5b50565b61084883838360405180602001604052806000815250610d54565b6000610a1260085490565b8210610a755760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610712565b60088281548110610a8857610a88611ff8565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105775760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610712565b60006001600160a01b038216610b7c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610712565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610bc25760405162461bcd60e51b815260040161071290611e38565b610bcc600061127b565b565b60606001805461061a90611f4c565b600c805461058a90611f4c565b60125460ff16610c315760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610712565b600f54600b541115610c7e5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610712565b601054811115610cdc5760405162461bcd60e51b815260206004820152602360248201527f546f6f206d616e7920746f6b656e7320666f72206f6e65207472616e7361637460448201526234b7b760e91b6064820152608401610712565b601154600b5410610d3b5780600e54610cf59190611eea565b341015610d3b5760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610712565b6109e933826112cd565b610d50338383611371565b5050565b610d5e3383610fd9565b610d7a5760405162461bcd60e51b815260040161071290611e6d565b610d8684848484611440565b50505050565b6000818152600260205260409020546060906001600160a01b0316610e0b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610712565b6000610e15611473565b90506000815111610e355760405180602001604052806000815250610e60565b80610e3f84611493565b604051602001610e50929190611d67565b6040516020818303038152906040525b9392505050565b600a546000906001600160a01b03163314610e945760405162461bcd60e51b815260040161071290611e38565b506012805460ff19811660ff918216159081179092551690565b600a546001600160a01b03163314610ed85760405162461bcd60e51b815260040161071290611e38565b6001600160a01b038116610f3d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610712565b6109e98161127b565b60006001600160e01b0319821663780e9d6360e01b1480610577575061057782611591565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fa082610a9a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166110525760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610712565b600061105d83610a9a565b9050806001600160a01b0316846001600160a01b031614806110985750836001600160a01b031661108d8461069d565b6001600160a01b0316145b806110c857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166110e382610a9a565b6001600160a01b03161461114b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610712565b6001600160a01b0382166111ad5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610712565b6111b88383836115e1565b6111c3600082610f6b565b6001600160a01b03831660009081526003602052604081208054600192906111ec908490611f09565b90915550506001600160a01b038216600090815260036020526040812080546001929061121a908490611ebe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006112d8600b5490565b600f549091506112e88383611ebe565b111561132f5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610712565b60005b82811015610d86578161134481611f87565b92505061135184836115ec565b61135f600b80546001019055565b8061136981611f87565b915050611332565b816001600160a01b0316836001600160a01b031614156113d35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610712565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61144b8484846110d0565b61145784848484611606565b610d865760405162461bcd60e51b815260040161071290611de6565b606060405180608001604052806043815260200161203b60439139905090565b6060816114b75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114e157806114cb81611f87565b91506114da9050600a83611ed6565b91506114bb565b60008167ffffffffffffffff8111156114fc576114fc61200e565b6040519080825280601f01601f191660200182016040528015611526576020820181803683370190505b5090505b84156110c85761153b600183611f09565b9150611548600a86611fa2565b611553906030611ebe565b60f81b81838151811061156857611568611ff8565b60200101906001600160f81b031916908160001a90535061158a600a86611ed6565b945061152a565b60006001600160e01b031982166380ac58cd60e01b14806115c257506001600160e01b03198216635b5e139f60e01b145b8061057757506301ffc9a760e01b6001600160e01b0319831614610577565b610848838383611713565b610d508282604051806020016040528060008152506117cb565b60006001600160a01b0384163b1561170857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061164a903390899088908890600401611d96565b602060405180830381600087803b15801561166457600080fd5b505af1925050508015611694575060408051601f3d908101601f1916820190925261169191810190611ce1565b60015b6116ee573d8080156116c2576040519150601f19603f3d011682016040523d82523d6000602084013e6116c7565b606091505b5080516116e65760405162461bcd60e51b815260040161071290611de6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110c8565b506001949350505050565b6001600160a01b03831661176e5761176981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611791565b816001600160a01b0316836001600160a01b0316146117915761179183826117fe565b6001600160a01b0382166117a8576108488161189b565b826001600160a01b0316826001600160a01b03161461084857610848828261194a565b6117d5838361198e565b6117e26000848484611606565b6108485760405162461bcd60e51b815260040161071290611de6565b6000600161180b84610b11565b6118159190611f09565b600083815260076020526040902054909150808214611868576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906118ad90600190611f09565b600083815260096020526040812054600880549394509092849081106118d5576118d5611ff8565b9060005260206000200154905080600883815481106118f6576118f6611ff8565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061192e5761192e611fe2565b6001900381819060005260206000200160009055905550505050565b600061195583610b11565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166119e45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610712565b6000818152600260205260409020546001600160a01b031615611a495760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610712565b611a55600083836115e1565b6001600160a01b0382166000908152600360205260408120805460019290611a7e908490611ebe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80356001600160a01b0381168114611af357600080fd5b919050565b600060208284031215611b0a57600080fd5b610e6082611adc565b60008060408385031215611b2657600080fd5b611b2f83611adc565b9150611b3d60208401611adc565b90509250929050565b600080600060608486031215611b5b57600080fd5b611b6484611adc565b9250611b7260208501611adc565b9150604084013590509250925092565b60008060008060808587031215611b9857600080fd5b611ba185611adc565b9350611baf60208601611adc565b925060408501359150606085013567ffffffffffffffff80821115611bd357600080fd5b818701915087601f830112611be757600080fd5b813581811115611bf957611bf961200e565b604051601f8201601f19908116603f01168101908382118183101715611c2157611c2161200e565b816040528281528a6020848701011115611c3a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611c7157600080fd5b611c7a83611adc565b915060208301358015158114611c8f57600080fd5b809150509250929050565b60008060408385031215611cad57600080fd5b611cb683611adc565b946020939093013593505050565b600060208284031215611cd657600080fd5b8135610e6081612024565b600060208284031215611cf357600080fd5b8151610e6081612024565b600060208284031215611d1057600080fd5b813561ffff81168114610e6057600080fd5b600060208284031215611d3457600080fd5b5035919050565b60008151808452611d53816020860160208601611f20565b601f01601f19169290920160200192915050565b60008351611d79818460208801611f20565b835190830190611d8d818360208801611f20565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611dc990830184611d3b565b9695505050505050565b602081526000610e606020830184611d3b565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611ed157611ed1611fb6565b500190565b600082611ee557611ee5611fcc565b500490565b6000816000190483118215151615611f0457611f04611fb6565b500290565b600082821015611f1b57611f1b611fb6565b500390565b60005b83811015611f3b578181015183820152602001611f23565b83811115610d865750506000910152565b600181811c90821680611f6057607f821691505b60208210811415611f8157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f9b57611f9b611fb6565b5060010190565b600082611fb157611fb1611fcc565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109e957600080fdfe68747470733a2f2f697066732e696f2f697066732f516d613379433768396432644143774c6f36326377773179766a64663963674e344175486334795a4d7a4254446aa26469706673582212200e25edeb0de634f98237c8445931d516cc4ed3608fec52b414af011accd9b79d64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c806370a08231116100f7578063a0712d6811610095578063d1cbf17d11610064578063d1cbf17d146104d8578063d5abeb01146104ed578063e985e9c514610503578063f2fde38b1461054c57600080fd5b8063a0712d6814610465578063a22cb46514610478578063b88d4fde14610498578063c87b56dd146104b857600080fd5b80638da5cb5b116100d15780638da5cb5b1461040757806395d89b4114610425578063996517cf1461043a5780639a33e3001461045057600080fd5b806370a08231146103b8578063715018a6146103d857806371adc02a146103ed57600080fd5b80632d46d6ff1161016f57806342842e0e1161013e57806342842e0e146103425780634f6ccce7146103625780636352211e146103825780636817c76c146103a257600080fd5b80632d46d6ff146102d75780632f745c59146102f75780633a467e3d146103175780633ccfd60b1461032d57600080fd5b8063081812fc116101ab578063081812fc1461023e578063095ea7b31461027657806318160ddd1461029857806323b872dd146102b757600080fd5b806301ffc9a7146101d257806305f20d6e1461020757806306fdde0314610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611cc4565b61056c565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c61057d565b6040516101fe9190611dd3565b34801561023557600080fd5b5061021c61060b565b34801561024a57600080fd5b5061025e610259366004611d22565b61069d565b6040516001600160a01b0390911681526020016101fe565b34801561028257600080fd5b50610296610291366004611c9a565b610737565b005b3480156102a457600080fd5b506008545b6040519081526020016101fe565b3480156102c357600080fd5b506102966102d2366004611b46565b61084d565b3480156102e357600080fd5b506102966102f2366004611cfe565b61087e565b34801561030357600080fd5b506102a9610312366004611c9a565b6108b1565b34801561032357600080fd5b506102a960115481565b34801561033957600080fd5b50610296610947565b34801561034e57600080fd5b5061029661035d366004611b46565b6109ec565b34801561036e57600080fd5b506102a961037d366004611d22565b610a07565b34801561038e57600080fd5b5061025e61039d366004611d22565b610a9a565b3480156103ae57600080fd5b506102a9600e5481565b3480156103c457600080fd5b506102a96103d3366004611af8565b610b11565b3480156103e457600080fd5b50610296610b98565b3480156103f957600080fd5b506012546101f29060ff1681565b34801561041357600080fd5b50600a546001600160a01b031661025e565b34801561043157600080fd5b5061021c610bce565b34801561044657600080fd5b506102a960105481565b34801561045c57600080fd5b5061021c610bdd565b610296610473366004611d22565b610bea565b34801561048457600080fd5b50610296610493366004611c5e565b610d45565b3480156104a457600080fd5b506102966104b3366004611b82565b610d54565b3480156104c457600080fd5b5061021c6104d3366004611d22565b610d8c565b3480156104e457600080fd5b506101f2610e67565b3480156104f957600080fd5b506102a9600f5481565b34801561050f57600080fd5b506101f261051e366004611b13565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561055857600080fd5b50610296610567366004611af8565b610eae565b600061057782610f46565b92915050565b600d805461058a90611f4c565b80601f01602080910402602001604051908101604052809291908181526020018280546105b690611f4c565b80156106035780601f106105d857610100808354040283529160200191610603565b820191906000526020600020905b8154815290600101906020018083116105e657829003601f168201915b505050505081565b60606000805461061a90611f4c565b80601f016020809104026020016040519081016040528092919081815260200182805461064690611f4c565b80156106935780601f1061066857610100808354040283529160200191610693565b820191906000526020600020905b81548152906001019060200180831161067657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661071b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061074282610a9a565b9050806001600160a01b0316836001600160a01b031614156107b05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610712565b336001600160a01b03821614806107cc57506107cc813361051e565b61083e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610712565b6108488383610f6b565b505050565b6108573382610fd9565b6108735760405162461bcd60e51b815260040161071290611e6d565b6108488383836110d0565b600a546001600160a01b031633146108a85760405162461bcd60e51b815260040161071290611e38565b61ffff16601155565b60006108bc83610b11565b821061091e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610712565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146109715760405162461bcd60e51b815260040161071290611e38565b600047116109b05760405162461bcd60e51b815260206004820152600c60248201526b042616c616e636520697320360a41b6044820152606401610712565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156109e9573d6000803e3d6000fd5b50565b61084883838360405180602001604052806000815250610d54565b6000610a1260085490565b8210610a755760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610712565b60088281548110610a8857610a88611ff8565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105775760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610712565b60006001600160a01b038216610b7c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610712565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610bc25760405162461bcd60e51b815260040161071290611e38565b610bcc600061127b565b565b60606001805461061a90611f4c565b600c805461058a90611f4c565b60125460ff16610c315760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610712565b600f54600b541115610c7e5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610712565b601054811115610cdc5760405162461bcd60e51b815260206004820152602360248201527f546f6f206d616e7920746f6b656e7320666f72206f6e65207472616e7361637460448201526234b7b760e91b6064820152608401610712565b601154600b5410610d3b5780600e54610cf59190611eea565b341015610d3b5760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610712565b6109e933826112cd565b610d50338383611371565b5050565b610d5e3383610fd9565b610d7a5760405162461bcd60e51b815260040161071290611e6d565b610d8684848484611440565b50505050565b6000818152600260205260409020546060906001600160a01b0316610e0b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610712565b6000610e15611473565b90506000815111610e355760405180602001604052806000815250610e60565b80610e3f84611493565b604051602001610e50929190611d67565b6040516020818303038152906040525b9392505050565b600a546000906001600160a01b03163314610e945760405162461bcd60e51b815260040161071290611e38565b506012805460ff19811660ff918216159081179092551690565b600a546001600160a01b03163314610ed85760405162461bcd60e51b815260040161071290611e38565b6001600160a01b038116610f3d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610712565b6109e98161127b565b60006001600160e01b0319821663780e9d6360e01b1480610577575061057782611591565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fa082610a9a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166110525760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610712565b600061105d83610a9a565b9050806001600160a01b0316846001600160a01b031614806110985750836001600160a01b031661108d8461069d565b6001600160a01b0316145b806110c857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166110e382610a9a565b6001600160a01b03161461114b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610712565b6001600160a01b0382166111ad5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610712565b6111b88383836115e1565b6111c3600082610f6b565b6001600160a01b03831660009081526003602052604081208054600192906111ec908490611f09565b90915550506001600160a01b038216600090815260036020526040812080546001929061121a908490611ebe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006112d8600b5490565b600f549091506112e88383611ebe565b111561132f5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610712565b60005b82811015610d86578161134481611f87565b92505061135184836115ec565b61135f600b80546001019055565b8061136981611f87565b915050611332565b816001600160a01b0316836001600160a01b031614156113d35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610712565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61144b8484846110d0565b61145784848484611606565b610d865760405162461bcd60e51b815260040161071290611de6565b606060405180608001604052806043815260200161203b60439139905090565b6060816114b75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114e157806114cb81611f87565b91506114da9050600a83611ed6565b91506114bb565b60008167ffffffffffffffff8111156114fc576114fc61200e565b6040519080825280601f01601f191660200182016040528015611526576020820181803683370190505b5090505b84156110c85761153b600183611f09565b9150611548600a86611fa2565b611553906030611ebe565b60f81b81838151811061156857611568611ff8565b60200101906001600160f81b031916908160001a90535061158a600a86611ed6565b945061152a565b60006001600160e01b031982166380ac58cd60e01b14806115c257506001600160e01b03198216635b5e139f60e01b145b8061057757506301ffc9a760e01b6001600160e01b0319831614610577565b610848838383611713565b610d508282604051806020016040528060008152506117cb565b60006001600160a01b0384163b1561170857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061164a903390899088908890600401611d96565b602060405180830381600087803b15801561166457600080fd5b505af1925050508015611694575060408051601f3d908101601f1916820190925261169191810190611ce1565b60015b6116ee573d8080156116c2576040519150601f19603f3d011682016040523d82523d6000602084013e6116c7565b606091505b5080516116e65760405162461bcd60e51b815260040161071290611de6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110c8565b506001949350505050565b6001600160a01b03831661176e5761176981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611791565b816001600160a01b0316836001600160a01b0316146117915761179183826117fe565b6001600160a01b0382166117a8576108488161189b565b826001600160a01b0316826001600160a01b03161461084857610848828261194a565b6117d5838361198e565b6117e26000848484611606565b6108485760405162461bcd60e51b815260040161071290611de6565b6000600161180b84610b11565b6118159190611f09565b600083815260076020526040902054909150808214611868576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906118ad90600190611f09565b600083815260096020526040812054600880549394509092849081106118d5576118d5611ff8565b9060005260206000200154905080600883815481106118f6576118f6611ff8565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061192e5761192e611fe2565b6001900381819060005260206000200160009055905550505050565b600061195583610b11565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166119e45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610712565b6000818152600260205260409020546001600160a01b031615611a495760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610712565b611a55600083836115e1565b6001600160a01b0382166000908152600360205260408120805460019290611a7e908490611ebe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80356001600160a01b0381168114611af357600080fd5b919050565b600060208284031215611b0a57600080fd5b610e6082611adc565b60008060408385031215611b2657600080fd5b611b2f83611adc565b9150611b3d60208401611adc565b90509250929050565b600080600060608486031215611b5b57600080fd5b611b6484611adc565b9250611b7260208501611adc565b9150604084013590509250925092565b60008060008060808587031215611b9857600080fd5b611ba185611adc565b9350611baf60208601611adc565b925060408501359150606085013567ffffffffffffffff80821115611bd357600080fd5b818701915087601f830112611be757600080fd5b813581811115611bf957611bf961200e565b604051601f8201601f19908116603f01168101908382118183101715611c2157611c2161200e565b816040528281528a6020848701011115611c3a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611c7157600080fd5b611c7a83611adc565b915060208301358015158114611c8f57600080fd5b809150509250929050565b60008060408385031215611cad57600080fd5b611cb683611adc565b946020939093013593505050565b600060208284031215611cd657600080fd5b8135610e6081612024565b600060208284031215611cf357600080fd5b8151610e6081612024565b600060208284031215611d1057600080fd5b813561ffff81168114610e6057600080fd5b600060208284031215611d3457600080fd5b5035919050565b60008151808452611d53816020860160208601611f20565b601f01601f19169290920160200192915050565b60008351611d79818460208801611f20565b835190830190611d8d818360208801611f20565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611dc990830184611d3b565b9695505050505050565b602081526000610e606020830184611d3b565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611ed157611ed1611fb6565b500190565b600082611ee557611ee5611fcc565b500490565b6000816000190483118215151615611f0457611f04611fb6565b500290565b600082821015611f1b57611f1b611fb6565b500390565b60005b83811015611f3b578181015183820152602001611f23565b83811115610d865750506000910152565b600181811c90821680611f6057607f821691505b60208210811415611f8157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f9b57611f9b611fb6565b5060010190565b600082611fb157611fb1611fcc565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109e957600080fdfe68747470733a2f2f697066732e696f2f697066732f516d613379433768396432644143774c6f36326377773179766a64663963674e344175486334795a4d7a4254446aa26469706673582212200e25edeb0de634f98237c8445931d516cc4ed3608fec52b414af011accd9b79d64736f6c63430008070033
Deployed Bytecode Sourcemap
46361:2698:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48654:212;;;;;;;;;;-1:-1:-1;48654:212:0;;;;;:::i;:::-;;:::i;:::-;;;5304:14:1;;5297:22;5279:41;;5267:2;5252:18;48654:212:0;;;;;;;;46585:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;27297:100::-;;;;;;;;;;;;;:::i;28856:221::-;;;;;;;;;;-1:-1:-1;28856:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4602:32:1;;;4584:51;;4572:2;4557:18;28856:221:0;4438:203:1;28379:411:0;;;;;;;;;;-1:-1:-1;28379:411:0;;;;;:::i;:::-;;:::i;:::-;;40449:113;;;;;;;;;;-1:-1:-1;40537:10:0;:17;40449:113;;;14700:25:1;;;14688:2;14673:18;40449:113:0;14554:177:1;29606:339:0;;;;;;;;;;-1:-1:-1;29606:339:0;;;;;:::i;:::-;;:::i;48253:111::-;;;;;;;;;;-1:-1:-1;48253:111:0;;;;;:::i;:::-;;:::i;40117:256::-;;;;;;;;;;-1:-1:-1;40117:256:0;;;;;:::i;:::-;;:::i;46743:36::-;;;;;;;;;;;;;;;;48889:165;;;;;;;;;;;;;:::i;30016:185::-;;;;;;;;;;-1:-1:-1;30016:185:0;;;;;:::i;:::-;;:::i;40639:233::-;;;;;;;;;;-1:-1:-1;40639:233:0;;;;;:::i;:::-;;:::i;26991:239::-;;;;;;;;;;-1:-1:-1;26991:239:0;;;;;:::i;:::-;;:::i;46625:37::-;;;;;;;;;;;;;;;;26721:208;;;;;;;;;;-1:-1:-1;26721:208:0;;;;;:::i;:::-;;:::i;6219:103::-;;;;;;;;;;;;;:::i;46786:35::-;;;;;;;;;;-1:-1:-1;46786:35:0;;;;;;;;5568:87;;;;;;;;;;-1:-1:-1;5641:6:0;;-1:-1:-1;;;;;5641:6:0;5568:87;;27466:104;;;;;;;;;;;;;:::i;46707:29::-;;;;;;;;;;;;;;;;46540:38;;;;;;;;;;;;;:::i;47312:483::-;;;;;;:::i;:::-;;:::i;29149:155::-;;;;;;;;;;-1:-1:-1;29149:155:0;;;;;:::i;:::-;;:::i;30272:328::-;;;;;;;;;;-1:-1:-1;30272:328:0;;;;;:::i;:::-;;:::i;27641:334::-;;;;;;;;;;-1:-1:-1;27641:334:0;;;;;:::i;:::-;;:::i;47130:146::-;;;;;;;;;;;;;:::i;46669:31::-;;;;;;;;;;;;;;;;29375:164;;;;;;;;;;-1:-1:-1;29375:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;29496:25:0;;;29472:4;29496:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29375:164;6477:201;;;;;;;;;;-1:-1:-1;6477:201:0;;;;;:::i;:::-;;:::i;48654:212::-;48793:4;48822:36;48846:11;48822:23;:36::i;:::-;48815:43;48654:212;-1:-1:-1;;48654:212:0:o;46585:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;27297:100::-;27351:13;27384:5;27377:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27297:100;:::o;28856:221::-;28932:7;32199:16;;;:7;:16;;;;;;-1:-1:-1;;;;;32199:16:0;28952:73;;;;-1:-1:-1;;;28952:73:0;;11923:2:1;28952:73:0;;;11905:21:1;11962:2;11942:18;;;11935:30;12001:34;11981:18;;;11974:62;-1:-1:-1;;;12052:18:1;;;12045:42;12104:19;;28952:73:0;;;;;;;;;-1:-1:-1;29045:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;29045:24:0;;28856:221::o;28379:411::-;28460:13;28476:23;28491:7;28476:14;:23::i;:::-;28460:39;;28524:5;-1:-1:-1;;;;;28518:11:0;:2;-1:-1:-1;;;;;28518:11:0;;;28510:57;;;;-1:-1:-1;;;28510:57:0;;13523:2:1;28510:57:0;;;13505:21:1;13562:2;13542:18;;;13535:30;13601:34;13581:18;;;13574:62;-1:-1:-1;;;13652:18:1;;;13645:31;13693:19;;28510:57:0;13321:397:1;28510:57:0;4366:10;-1:-1:-1;;;;;28602:21:0;;;;:62;;-1:-1:-1;28627:37:0;28644:5;4366:10;29375:164;:::i;28627:37::-;28580:168;;;;-1:-1:-1;;;28580:168:0;;9275:2:1;28580:168:0;;;9257:21:1;9314:2;9294:18;;;9287:30;9353:34;9333:18;;;9326:62;9424:26;9404:18;;;9397:54;9468:19;;28580:168:0;9073:420:1;28580:168:0;28761:21;28770:2;28774:7;28761:8;:21::i;:::-;28449:341;28379:411;;:::o;29606:339::-;29801:41;4366:10;29834:7;29801:18;:41::i;:::-;29793:103;;;;-1:-1:-1;;;29793:103:0;;;;;;;:::i;:::-;29909:28;29919:4;29925:2;29929:7;29909:9;:28::i;48253:111::-;5641:6;;-1:-1:-1;;;;;5641:6:0;4366:10;5788:23;5780:68;;;;-1:-1:-1;;;5780:68:0;;;;;;;:::i;:::-;48326:30:::1;;:14;:30:::0;48253:111::o;40117:256::-;40214:7;40250:23;40267:5;40250:16;:23::i;:::-;40242:5;:31;40234:87;;;;-1:-1:-1;;;40234:87:0;;6161:2:1;40234:87:0;;;6143:21:1;6200:2;6180:18;;;6173:30;6239:34;6219:18;;;6212:62;-1:-1:-1;;;6290:18:1;;;6283:41;6341:19;;40234:87:0;5959:407:1;40234:87:0;-1:-1:-1;;;;;;40339:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;40117:256::o;48889:165::-;5641:6;;-1:-1:-1;;;;;5641:6:0;4366:10;5788:23;5780:68;;;;-1:-1:-1;;;5780:68:0;;;;;;;:::i;:::-;48969:1:::1;48945:21;:25;48937:50;;;::::0;-1:-1:-1;;;48937:50:0;;11233:2:1;48937:50:0::1;::::0;::::1;11215:21:1::0;11272:2;11252:18;;;11245:30;-1:-1:-1;;;11291:18:1;;;11284:42;11343:18;;48937:50:0::1;11031:336:1::0;48937:50:0::1;5641:6:::0;;48998:48:::1;::::0;-1:-1:-1;;;;;5641:6:0;;;;49024:21:::1;48998:48:::0;::::1;;;::::0;::::1;::::0;;;49024:21;5641:6;48998:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;48889:165::o:0;30016:185::-;30154:39;30171:4;30177:2;30181:7;30154:39;;;;;;;;;;;;:16;:39::i;40639:233::-;40714:7;40750:30;40537:10;:17;;40449:113;40750:30;40742:5;:38;40734:95;;;;-1:-1:-1;;;40734:95:0;;14343:2:1;40734:95:0;;;14325:21:1;14382:2;14362:18;;;14355:30;14421:34;14401:18;;;14394:62;-1:-1:-1;;;14472:18:1;;;14465:42;14524:19;;40734:95:0;14141:408:1;40734:95:0;40847:10;40858:5;40847:17;;;;;;;;:::i;:::-;;;;;;;;;40840:24;;40639:233;;;:::o;26991:239::-;27063:7;27099:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27099:16:0;27134:19;27126:73;;;;-1:-1:-1;;;27126:73:0;;10111:2:1;27126:73:0;;;10093:21:1;10150:2;10130:18;;;10123:30;10189:34;10169:18;;;10162:62;-1:-1:-1;;;10240:18:1;;;10233:39;10289:19;;27126:73:0;9909:405:1;26721:208:0;26793:7;-1:-1:-1;;;;;26821:19:0;;26813:74;;;;-1:-1:-1;;;26813:74:0;;9700:2:1;26813:74:0;;;9682:21:1;9739:2;9719:18;;;9712:30;9778:34;9758:18;;;9751:62;-1:-1:-1;;;9829:18:1;;;9822:40;9879:19;;26813:74:0;9498:406:1;26813:74:0;-1:-1:-1;;;;;;26905:16:0;;;;;:9;:16;;;;;;;26721:208::o;6219:103::-;5641:6;;-1:-1:-1;;;;;5641:6:0;4366:10;5788:23;5780:68;;;;-1:-1:-1;;;5780:68:0;;;;;;;:::i;:::-;6284:30:::1;6311:1;6284:18;:30::i;:::-;6219:103::o:0;27466:104::-;27522:13;27555:7;27548:14;;;;;:::i;46540:38::-;;;;;;;:::i;47312:483::-;47382:15;;;;47374:46;;;;-1:-1:-1;;;47374:46:0;;8515:2:1;47374:46:0;;;8497:21:1;8554:2;8534:18;;;8527:30;-1:-1:-1;;;8573:18:1;;;8566:48;8631:18;;47374:46:0;8313:342:1;47374:46:0;47466:9;;47437:15;970:14;47437:38;;47429:73;;;;-1:-1:-1;;;47429:73:0;;10521:2:1;47429:73:0;;;10503:21:1;10560:2;10540:18;;;10533:30;-1:-1:-1;;;10579:18:1;;;10572:52;10641:18;;47429:73:0;10319:346:1;47429:73:0;47537:9;;47519:14;:27;;47511:75;;;;-1:-1:-1;;;47511:75:0;;5757:2:1;47511:75:0;;;5739:21:1;5796:2;5776:18;;;5769:30;5835:34;5815:18;;;5808:62;-1:-1:-1;;;5886:18:1;;;5879:33;5929:19;;47511:75:0;5555:399:1;47511:75:0;47627:14;;47598:15;970:14;47598:43;47595:144;;47689:14;47677:9;;:26;;;;:::i;:::-;47663:9;:41;;47655:74;;;;-1:-1:-1;;;47655:74:0;;11574:2:1;47655:74:0;;;11556:21:1;11613:2;11593:18;;;11586:30;-1:-1:-1;;;11632:18:1;;;11625:50;11692:18;;47655:74:0;11372:344:1;47655:74:0;47747:40;47760:10;47772:14;47747:12;:40::i;29149:155::-;29244:52;4366:10;29277:8;29287;29244:18;:52::i;:::-;29149:155;;:::o;30272:328::-;30447:41;4366:10;30480:7;30447:18;:41::i;:::-;30439:103;;;;-1:-1:-1;;;30439:103:0;;;;;;;:::i;:::-;30553:39;30567:4;30573:2;30577:7;30586:5;30553:13;:39::i;:::-;30272:328;;;;:::o;27641:334::-;32175:4;32199:16;;;:7;:16;;;;;;27714:13;;-1:-1:-1;;;;;32199:16:0;27740:76;;;;-1:-1:-1;;;27740:76:0;;13107:2:1;27740:76:0;;;13089:21:1;13146:2;13126:18;;;13119:30;13185:34;13165:18;;;13158:62;-1:-1:-1;;;13236:18:1;;;13229:45;13291:19;;27740:76:0;12905:411:1;27740:76:0;27829:21;27853:10;:8;:10::i;:::-;27829:34;;27905:1;27887:7;27881:21;:25;:86;;;;;;;;;;;;;;;;;27933:7;27942:18;:7;:16;:18::i;:::-;27916:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;27881:86;27874:93;27641:334;-1:-1:-1;;;27641:334:0:o;47130:146::-;5641:6;;47188:4;;-1:-1:-1;;;;;5641:6:0;4366:10;5788:23;5780:68;;;;-1:-1:-1;;;5780:68:0;;;;;;;:::i;:::-;-1:-1:-1;47222:15:0::1;::::0;;-1:-1:-1;;47203:34:0;::::1;47222:15;::::0;;::::1;47221:16;47203:34:::0;;::::1;::::0;;;47253:15;47130:146;:::o;6477:201::-;5641:6;;-1:-1:-1;;;;;5641:6:0;4366:10;5788:23;5780:68;;;;-1:-1:-1;;;5780:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;6566:22:0;::::1;6558:73;;;::::0;-1:-1:-1;;;6558:73:0;;6992:2:1;6558:73:0::1;::::0;::::1;6974:21:1::0;7031:2;7011:18;;;7004:30;7070:34;7050:18;;;7043:62;-1:-1:-1;;;7121:18:1;;;7114:36;7167:19;;6558:73:0::1;6790:402:1::0;6558:73:0::1;6642:28;6661:8;6642:18;:28::i;39809:224::-:0;39911:4;-1:-1:-1;;;;;;39935:50:0;;-1:-1:-1;;;39935:50:0;;:90;;;39989:36;40013:11;39989:23;:36::i;36092:174::-;36167:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;36167:29:0;-1:-1:-1;;;;;36167:29:0;;;;;;;;:24;;36221:23;36167:24;36221:14;:23::i;:::-;-1:-1:-1;;;;;36212:46:0;;;;;;;;;;;36092:174;;:::o;32404:348::-;32497:4;32199:16;;;:7;:16;;;;;;-1:-1:-1;;;;;32199:16:0;32514:73;;;;-1:-1:-1;;;32514:73:0;;8862:2:1;32514:73:0;;;8844:21:1;8901:2;8881:18;;;8874:30;8940:34;8920:18;;;8913:62;-1:-1:-1;;;8991:18:1;;;8984:42;9043:19;;32514:73:0;8660:408:1;32514:73:0;32598:13;32614:23;32629:7;32614:14;:23::i;:::-;32598:39;;32667:5;-1:-1:-1;;;;;32656:16:0;:7;-1:-1:-1;;;;;32656:16:0;;:51;;;;32700:7;-1:-1:-1;;;;;32676:31:0;:20;32688:7;32676:11;:20::i;:::-;-1:-1:-1;;;;;32676:31:0;;32656:51;:87;;;-1:-1:-1;;;;;;29496:25:0;;;29472:4;29496:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;32711:32;32648:96;32404:348;-1:-1:-1;;;;32404:348:0:o;35396:578::-;35555:4;-1:-1:-1;;;;;35528:31:0;:23;35543:7;35528:14;:23::i;:::-;-1:-1:-1;;;;;35528:31:0;;35520:85;;;;-1:-1:-1;;;35520:85:0;;12697:2:1;35520:85:0;;;12679:21:1;12736:2;12716:18;;;12709:30;12775:34;12755:18;;;12748:62;-1:-1:-1;;;12826:18:1;;;12819:39;12875:19;;35520:85:0;12495:405:1;35520:85:0;-1:-1:-1;;;;;35624:16:0;;35616:65;;;;-1:-1:-1;;;35616:65:0;;7756:2:1;35616:65:0;;;7738:21:1;7795:2;7775:18;;;7768:30;7834:34;7814:18;;;7807:62;-1:-1:-1;;;7885:18:1;;;7878:34;7929:19;;35616:65:0;7554:400:1;35616:65:0;35694:39;35715:4;35721:2;35725:7;35694:20;:39::i;:::-;35798:29;35815:1;35819:7;35798:8;:29::i;:::-;-1:-1:-1;;;;;35840:15:0;;;;;;:9;:15;;;;;:20;;35859:1;;35840:15;:20;;35859:1;;35840:20;:::i;:::-;;;;-1:-1:-1;;;;;;;35871:13:0;;;;;;:9;:13;;;;;:18;;35888:1;;35871:13;:18;;35888:1;;35871:18;:::i;:::-;;;;-1:-1:-1;;35900:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;35900:21:0;-1:-1:-1;;;;;35900:21:0;;;;;;;;;35939:27;;35900:16;;35939:27;;;;;;;35396:578;;;:::o;6838:191::-;6931:6;;;-1:-1:-1;;;;;6948:17:0;;;-1:-1:-1;;;;;;6948:17:0;;;;;;;6981:40;;6931:6;;;6948:17;6931:6;;6981:40;;6912:16;;6981:40;6901:128;6838:191;:::o;47824:390::-;47893:23;47919:25;:15;970:14;;878:114;47919:25;47994:9;;47893:51;;-1:-1:-1;47962:27:0;47983:6;47893:51;47962:27;:::i;:::-;47961:42;;47953:77;;;;-1:-1:-1;;;47953:77:0;;10521:2:1;47953:77:0;;;10503:21:1;10560:2;10540:18;;;10533:30;-1:-1:-1;;;10579:18:1;;;10572:52;10641:18;;47953:77:0;10319:346:1;47953:77:0;48047:6;48043:164;48062:6;48059:1;:9;48043:164;;;48087:20;;;;:::i;:::-;;;;48120:37;48130:6;48138:18;48120:9;:37::i;:::-;48170:27;:15;1089:19;;1107:1;1089:19;;;1000:127;48170:27;48070:3;;;;:::i;:::-;;;;48043:164;;36408:315;36563:8;-1:-1:-1;;;;;36554:17:0;:5;-1:-1:-1;;;;;36554:17:0;;;36546:55;;;;-1:-1:-1;;;36546:55:0;;8161:2:1;36546:55:0;;;8143:21:1;8200:2;8180:18;;;8173:30;8239:27;8219:18;;;8212:55;8284:18;;36546:55:0;7959:349:1;36546:55:0;-1:-1:-1;;;;;36612:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;36612:46:0;;;;;;;;;;36674:41;;5279::1;;;36674::0;;5252:18:1;36674:41:0;;;;;;;36408:315;;;:::o;31482:::-;31639:28;31649:4;31655:2;31659:7;31639:9;:28::i;:::-;31686:48;31709:4;31715:2;31719:7;31728:5;31686:22;:48::i;:::-;31678:111;;;;-1:-1:-1;;;31678:111:0;;;;;;;:::i;46886:210::-;46938:13;47012:76;;;;;;;;;;;;;;;;;;;46886:210;:::o;1842:723::-;1898:13;2119:10;2115:53;;-1:-1:-1;;2146:10:0;;;;;;;;;;;;-1:-1:-1;;;2146:10:0;;;;;1842:723::o;2115:53::-;2193:5;2178:12;2234:78;2241:9;;2234:78;;2267:8;;;;:::i;:::-;;-1:-1:-1;2290:10:0;;-1:-1:-1;2298:2:0;2290:10;;:::i;:::-;;;2234:78;;;2322:19;2354:6;2344:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2344:17:0;;2322:39;;2372:154;2379:10;;2372:154;;2406:11;2416:1;2406:11;;:::i;:::-;;-1:-1:-1;2475:10:0;2483:2;2475:5;:10;:::i;:::-;2462:24;;:2;:24;:::i;:::-;2449:39;;2432:6;2439;2432:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;2432:56:0;;;;;;;;-1:-1:-1;2503:11:0;2512:2;2503:11;;:::i;:::-;;;2372:154;;26352:305;26454:4;-1:-1:-1;;;;;;26491:40:0;;-1:-1:-1;;;26491:40:0;;:105;;-1:-1:-1;;;;;;;26548:48:0;;-1:-1:-1;;;26548:48:0;26491:105;:158;;;-1:-1:-1;;;;;;;;;;18133:40:0;;;26613:36;18024:157;48442:204;48593:45;48620:4;48626:2;48630:7;48593:26;:45::i;33094:110::-;33170:26;33180:2;33184:7;33170:26;;;;;;;;;;;;:9;:26::i;37288:799::-;37443:4;-1:-1:-1;;;;;37464:13:0;;8185:20;8233:8;37460:620;;37500:72;;-1:-1:-1;;;37500:72:0;;-1:-1:-1;;;;;37500:36:0;;;;;:72;;4366:10;;37551:4;;37557:7;;37566:5;;37500:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37500:72:0;;;;;;;;-1:-1:-1;;37500:72:0;;;;;;;;;;;;:::i;:::-;;;37496:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37742:13:0;;37738:272;;37785:60;;-1:-1:-1;;;37785:60:0;;;;;;;:::i;37738:272::-;37960:6;37954:13;37945:6;37941:2;37937:15;37930:38;37496:529;-1:-1:-1;;;;;;37623:51:0;-1:-1:-1;;;37623:51:0;;-1:-1:-1;37616:58:0;;37460:620;-1:-1:-1;38064:4:0;37288:799;;;;;;:::o;41485:589::-;-1:-1:-1;;;;;41691:18:0;;41687:187;;41726:40;41758:7;42901:10;:17;;42874:24;;;;:15;:24;;;;;:44;;;42929:24;;;;;;;;;;;;42797:164;41726:40;41687:187;;;41796:2;-1:-1:-1;;;;;41788:10:0;:4;-1:-1:-1;;;;;41788:10:0;;41784:90;;41815:47;41848:4;41854:7;41815:32;:47::i;:::-;-1:-1:-1;;;;;41888:16:0;;41884:183;;41921:45;41958:7;41921:36;:45::i;41884:183::-;41994:4;-1:-1:-1;;;;;41988:10:0;:2;-1:-1:-1;;;;;41988:10:0;;41984:83;;42015:40;42043:2;42047:7;42015:27;:40::i;33431:321::-;33561:18;33567:2;33571:7;33561:5;:18::i;:::-;33612:54;33643:1;33647:2;33651:7;33660:5;33612:22;:54::i;:::-;33590:154;;;;-1:-1:-1;;;33590:154:0;;;;;;;:::i;43588:988::-;43854:22;43904:1;43879:22;43896:4;43879:16;:22::i;:::-;:26;;;;:::i;:::-;43916:18;43937:26;;;:17;:26;;;;;;43854:51;;-1:-1:-1;44070:28:0;;;44066:328;;-1:-1:-1;;;;;44137:18:0;;44115:19;44137:18;;;:12;:18;;;;;;;;:34;;;;;;;;;44188:30;;;;;;:44;;;44305:30;;:17;:30;;;;;:43;;;44066:328;-1:-1:-1;44490:26:0;;;;:17;:26;;;;;;;;44483:33;;;-1:-1:-1;;;;;44534:18:0;;;;;:12;:18;;;;;:34;;;;;;;44527:41;43588:988::o;44871:1079::-;45149:10;:17;45124:22;;45149:21;;45169:1;;45149:21;:::i;:::-;45181:18;45202:24;;;:15;:24;;;;;;45575:10;:26;;45124:46;;-1:-1:-1;45202:24:0;;45124:46;;45575:26;;;;;;:::i;:::-;;;;;;;;;45553:48;;45639:11;45614:10;45625;45614:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;45719:28;;;:15;:28;;;;;;;:41;;;45891:24;;;;;45884:31;45926:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;44942:1008;;;44871:1079;:::o;42375:221::-;42460:14;42477:20;42494:2;42477:16;:20::i;:::-;-1:-1:-1;;;;;42508:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;42553:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;42375:221:0:o;34088:382::-;-1:-1:-1;;;;;34168:16:0;;34160:61;;;;-1:-1:-1;;;34160:61:0;;10872:2:1;34160:61:0;;;10854:21:1;;;10891:18;;;10884:30;10950:34;10930:18;;;10923:62;11002:18;;34160:61:0;10670:356:1;34160:61:0;32175:4;32199:16;;;:7;:16;;;;;;-1:-1:-1;;;;;32199:16:0;:30;34232:58;;;;-1:-1:-1;;;34232:58:0;;7399:2:1;34232:58:0;;;7381:21:1;7438:2;7418:18;;;7411:30;7477;7457:18;;;7450:58;7525:18;;34232:58:0;7197:352:1;34232:58:0;34303:45;34332:1;34336:2;34340:7;34303:20;:45::i;:::-;-1:-1:-1;;;;;34361:13:0;;;;;;:9;:13;;;;;:18;;34378:1;;34361:13;:18;;34378:1;;34361:18;:::i;:::-;;;;-1:-1:-1;;34390:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34390:21:0;-1:-1:-1;;;;;34390:21:0;;;;;;;;34429:33;;34390:16;;;34429:33;;34390:16;;34429:33;34088:382;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:1;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:347::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2415:5;2408:13;2401:21;2394:5;2391:32;2381:60;;2437:1;2434;2427:12;2381:60;2460:5;2450:15;;;2124:347;;;;;:::o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2476:254:1:o;2735:245::-;2793:6;2846:2;2834:9;2825:7;2821:23;2817:32;2814:52;;;2862:1;2859;2852:12;2814:52;2901:9;2888:23;2920:30;2944:5;2920:30;:::i;2985:249::-;3054:6;3107:2;3095:9;3086:7;3082:23;3078:32;3075:52;;;3123:1;3120;3113:12;3075:52;3155:9;3149:16;3174:30;3198:5;3174:30;:::i;3239:272::-;3297:6;3350:2;3338:9;3329:7;3325:23;3321:32;3318:52;;;3366:1;3363;3356:12;3318:52;3405:9;3392:23;3455:6;3448:5;3444:18;3437:5;3434:29;3424:57;;3477:1;3474;3467:12;3516:180;3575:6;3628:2;3616:9;3607:7;3603:23;3599:32;3596:52;;;3644:1;3641;3634:12;3596:52;-1:-1:-1;3667:23:1;;3516:180;-1:-1:-1;3516:180:1:o;3701:257::-;3742:3;3780:5;3774:12;3807:6;3802:3;3795:19;3823:63;3879:6;3872:4;3867:3;3863:14;3856:4;3849:5;3845:16;3823:63;:::i;:::-;3940:2;3919:15;-1:-1:-1;;3915:29:1;3906:39;;;;3947:4;3902:50;;3701:257;-1:-1:-1;;3701:257:1:o;3963:470::-;4142:3;4180:6;4174:13;4196:53;4242:6;4237:3;4230:4;4222:6;4218:17;4196:53;:::i;:::-;4312:13;;4271:16;;;;4334:57;4312:13;4271:16;4368:4;4356:17;;4334:57;:::i;:::-;4407:20;;3963:470;-1:-1:-1;;;;3963:470:1:o;4646:488::-;-1:-1:-1;;;;;4915:15:1;;;4897:34;;4967:15;;4962:2;4947:18;;4940:43;5014:2;4999:18;;4992:34;;;5062:3;5057:2;5042:18;;5035:31;;;4840:4;;5083:45;;5108:19;;5100:6;5083:45;:::i;:::-;5075:53;4646:488;-1:-1:-1;;;;;;4646:488:1:o;5331:219::-;5480:2;5469:9;5462:21;5443:4;5500:44;5540:2;5529:9;5525:18;5517:6;5500:44;:::i;6371:414::-;6573:2;6555:21;;;6612:2;6592:18;;;6585:30;6651:34;6646:2;6631:18;;6624:62;-1:-1:-1;;;6717:2:1;6702:18;;6695:48;6775:3;6760:19;;6371:414::o;12134:356::-;12336:2;12318:21;;;12355:18;;;12348:30;12414:34;12409:2;12394:18;;12387:62;12481:2;12466:18;;12134:356::o;13723:413::-;13925:2;13907:21;;;13964:2;13944:18;;;13937:30;14003:34;13998:2;13983:18;;13976:62;-1:-1:-1;;;14069:2:1;14054:18;;14047:47;14126:3;14111:19;;13723:413::o;14736:128::-;14776:3;14807:1;14803:6;14800:1;14797:13;14794:39;;;14813:18;;:::i;:::-;-1:-1:-1;14849:9:1;;14736:128::o;14869:120::-;14909:1;14935;14925:35;;14940:18;;:::i;:::-;-1:-1:-1;14974:9:1;;14869:120::o;14994:168::-;15034:7;15100:1;15096;15092:6;15088:14;15085:1;15082:21;15077:1;15070:9;15063:17;15059:45;15056:71;;;15107:18;;:::i;:::-;-1:-1:-1;15147:9:1;;14994:168::o;15167:125::-;15207:4;15235:1;15232;15229:8;15226:34;;;15240:18;;:::i;:::-;-1:-1:-1;15277:9:1;;15167:125::o;15297:258::-;15369:1;15379:113;15393:6;15390:1;15387:13;15379:113;;;15469:11;;;15463:18;15450:11;;;15443:39;15415:2;15408:10;15379:113;;;15510:6;15507:1;15504:13;15501:48;;;-1:-1:-1;;15545:1:1;15527:16;;15520:27;15297:258::o;15560:380::-;15639:1;15635:12;;;;15682;;;15703:61;;15757:4;15749:6;15745:17;15735:27;;15703:61;15810:2;15802:6;15799:14;15779:18;15776:38;15773:161;;;15856:10;15851:3;15847:20;15844:1;15837:31;15891:4;15888:1;15881:15;15919:4;15916:1;15909:15;15773:161;;15560:380;;;:::o;15945:135::-;15984:3;-1:-1:-1;;16005:17:1;;16002:43;;;16025:18;;:::i;:::-;-1:-1:-1;16072:1:1;16061:13;;15945:135::o;16085:112::-;16117:1;16143;16133:35;;16148:18;;:::i;:::-;-1:-1:-1;16182:9:1;;16085:112::o;16202:127::-;16263:10;16258:3;16254:20;16251:1;16244:31;16294:4;16291:1;16284:15;16318:4;16315:1;16308:15;16334:127;16395:10;16390:3;16386:20;16383:1;16376:31;16426:4;16423:1;16416:15;16450:4;16447:1;16440:15;16466:127;16527:10;16522:3;16518:20;16515:1;16508:31;16558:4;16555:1;16548:15;16582:4;16579:1;16572:15;16598:127;16659:10;16654:3;16650:20;16647:1;16640:31;16690:4;16687:1;16680:15;16714:4;16711:1;16704:15;16730:127;16791:10;16786:3;16782:20;16779:1;16772:31;16822:4;16819:1;16812:15;16846:4;16843:1;16836:15;16862:131;-1:-1:-1;;;;;;16936:32:1;;16926:43;;16916:71;;16983:1;16980;16973:12
Swarm Source
ipfs://0e25edeb0de634f98237c8445931d516cc4ed3608fec52b414af011accd9b79d
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.