ERC-721
Overview
Max Total Supply
338 Punk-CP
Holders
89
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 Punk-CPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CouplePunks
Compiler Version
v0.8.3+commit.8d00100c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-08-09 */ /** *Submitted for verification at Etherscan.io on 2021-08-09 */ // SPDX-License-Identifier: MIT 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } 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); } 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; } 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); } 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); } 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); } 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; } } 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; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } 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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. 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; } } } pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } 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}. 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //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 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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 { } } // <3 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(); } } pragma solidity ^0.8.0; contract CouplePunks is Ownable, ERC721Enumerable, ReentrancyGuard { using Counters for Counters.Counter; using Strings for uint256; string public imageHash; bool public isSaleOn = false; bool public saleHasBeenStarted = false; uint256 public constant MAX_MINTABLE_AT_ONCE = 1000; uint256 private _price = 0.1 ether; // 100000000000000000 string public punkcontractURI; constructor() ERC721("CouplePunks", "Punk-CP") {} uint256[100000] private _availableTokens; uint256 private _numAvailableTokens = 100000; uint256 private _numFreeRollsGiven = 0; mapping(address => uint256) public freeRollPunks; uint256 private _lastTokenIdMintedInInitialSet = 100000; function numTotalPunks() public view virtual returns (uint256) { return 100000; } function freeRollMint() public nonReentrant() { require(freeRollPunks[msg.sender] > 0, "You don't have any free rolls!"); uint256 toMint = freeRollPunks[msg.sender]; freeRollPunks[msg.sender] = 0; uint256 remaining = numTotalPunks() - totalSupply(); if (toMint > remaining) { toMint = remaining; } _mint(toMint); } function getNumFreeRollPunks(address owner) public view returns (uint256) { return freeRollPunks[owner]; } function mint(uint256 _numToMint) public payable nonReentrant() { require(isSaleOn, "Sale hasn't started."); uint256 totalSupply = totalSupply(); require( totalSupply + _numToMint <= numTotalPunks(), "There aren't this many punks left." ); uint256 costForMintingPunks = _price * _numToMint; require( msg.value >= costForMintingPunks, "Too little sent, please send more eth." ); if (msg.value > costForMintingPunks) { payable(msg.sender).transfer(msg.value - costForMintingPunks); } _mint(_numToMint); } // internal minting function function _mint(uint256 _numToMint) internal { require(_numToMint <= MAX_MINTABLE_AT_ONCE, "Minting too many at once."); uint256 updatedNumAvailableTokens = _numAvailableTokens; for (uint256 i = 0; i < _numToMint; i++) { uint256 newTokenId = useRandomAvailableToken(_numToMint, i); _safeMint(msg.sender, newTokenId); updatedNumAvailableTokens--; } _numAvailableTokens = updatedNumAvailableTokens; } function useRandomAvailableToken(uint256 _numToFetch, uint256 _i) internal returns (uint256) { uint256 randomNum = uint256( keccak256( abi.encode( msg.sender, tx.gasprice, block.number, block.timestamp, blockhash(block.number - 1), _numToFetch, _i ) ) ); uint256 randomIndex = randomNum % _numAvailableTokens; return useAvailableTokenAtIndex(randomIndex); } function useAvailableTokenAtIndex(uint256 indexToUse) internal returns (uint256) { uint256 valAtIndex = _availableTokens[indexToUse]; uint256 result; if (valAtIndex == 0) { // This means the index itself is still an available token result = indexToUse; } else { // This means the index itself is not an available token, but the val at that index is. result = valAtIndex; } uint256 lastIndex = _numAvailableTokens - 1; if (indexToUse != lastIndex) { // Replace the value at indexToUse, now that it's been used. // Replace it with the data from the last index in the array, since we are going to decrease the array size afterwards. uint256 lastValInArray = _availableTokens[lastIndex]; if (lastValInArray == 0) { // This means the index itself is still an available token _availableTokens[indexToUse] = lastIndex; } else { // This means the index itself is not an available token, but the val at that index is. _availableTokens[indexToUse] = lastValInArray; } } _numAvailableTokens--; return result; } function getPrice() public view returns (uint256){ return _price; } function contractURI() public view returns (string memory){ return punkcontractURI; } function getCostForMintingPunks(uint256 _numToMint) public view returns (uint256) { require( totalSupply() + _numToMint <= numTotalPunks(), "There are not this many punks left." ); require( _numToMint <= MAX_MINTABLE_AT_ONCE, "You cannot mint that many punks." ); return _numToMint * _price; } function getPunksBelongingToOwner(address _owner) external view returns (uint256[] memory) { uint256 numPunks = balanceOf(_owner); if (numPunks == 0) { return new uint256[](0); } else { uint256[] memory result = new uint256[](numPunks); for (uint256 i = 0; i < numPunks; i++) { result[i] = tokenOfOwnerByIndex(_owner, i); } return result; } } /* * Dev stuff. */ // metadata URI string private _baseTokenURI; function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { string memory base = _baseURI(); string memory _tokenURI = Strings.toString(_tokenId); string memory ending = ".json"; // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } return string(abi.encodePacked(base, _tokenURI, ending)); } /* * Owner stuff */ // In case of catastrophic ETH movement function setPrice(uint256 _newPrice) public onlyOwner() { _price = _newPrice; } function startSale() public onlyOwner { isSaleOn = true; saleHasBeenStarted = true; } function endSale() public onlyOwner { isSaleOn = false; } function giveFreeRoll(address receiver, uint256 numRolls) public onlyOwner { // max number of free mints we can give to the community for promotions/marketing require(_numFreeRollsGiven < 1000, "Already given max number of free rolls"); require(freeRollPunks[receiver] + numRolls < 21, "Cannot exceed 20 unused free rolls!"); uint256 freeRolls = freeRollPunks[receiver]; freeRollPunks[receiver] = freeRolls + numRolls; _numFreeRollsGiven = _numFreeRollsGiven + numRolls; } // URIs function setBaseURI(string memory baseURI) external onlyOwner { _baseTokenURI = baseURI; } function setContractURI(string memory _contractURI) external onlyOwner { punkcontractURI = _contractURI; } function setImageHash(string memory _imageHash) external onlyOwner { imageHash = _imageHash; } function withdrawTeam() public onlyOwner { uint256 _balance = address(this).balance; require(payable(owner()).send(_balance)); } function withdrawFailsafe() public onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
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":[],"name":"MAX_MINTABLE_AT_ONCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeRollMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeRollPunks","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":"uint256","name":"_numToMint","type":"uint256"}],"name":"getCostForMintingPunks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getNumFreeRollPunks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getPunksBelongingToOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numRolls","type":"uint256"}],"name":"giveFreeRoll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"imageHash","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numToMint","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTotalPunks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"punkcontractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleHasBeenStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_imageHash","type":"string"}],"name":"setImageHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","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":"withdrawFailsafe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTeam","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600d805461ffff1916905567016345785d8a0000600e55620186a0620186b08190556000620186b155620186b3553480156200003f57600080fd5b506040518060400160405280600b81526020016a436f75706c6550756e6b7360a81b81525060405180604001604052806007815260200166050756e6b2d43560cc1b8152506000620000966200011960201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000f59060019060208501906200011d565b5080516200010b9060029060208401906200011d565b50506001600b555062000200565b3390565b8280546200012b90620001c3565b90600052602060002090601f0160209004810192826200014f57600085556200019a565b82601f106200016a57805160ff19168380011785556200019a565b828001600101855582156200019a579182015b828111156200019a5782518255916020019190600101906200017d565b50620001a8929150620001ac565b5090565b5b80821115620001a85760008155600101620001ad565b600181811c90821680620001d857607f821691505b60208210811415620001fa57634e487b7160e01b600052602260045260246000fd5b50919050565b612b3f80620002106000396000f3fe6080604052600436106102505760003560e01c80638da5cb5b11610139578063b88d4fde116100b6578063d2d6a5471161007a578063d2d6a54714610685578063e8a3d485146106b4578063e8e732a1146106c9578063e985e9c5146106f6578063f2f5ec151461073f578063f2fde38b1461075f57610250565b8063b88d4fde146105fa578063bb51f32d1461061a578063bc4eda101461062f578063c87b56dd1461064f578063cbf775b21461066f57610250565b80639fd83a15116100fd5780639fd83a151461055b578063a0712d6814610593578063a1d89819146105a6578063a22cb465146105c5578063b66a0e5d146105e557610250565b80638da5cb5b146104d357806391b7f5ed146104f1578063938e3d7b1461051157806395d89b411461053157806398d5fdca1461054657610250565b8063380d831b116101d257806355f804b31161019657806355f804b31461042e5780635b5a493d1461044e5780636352211e1461046457806370a0823114610484578063715018a6146104a4578063779e170d146104b957610250565b8063380d831b146103af5780633af03e8a146103c457806342842e0e146103d95780634f6ccce7146103f957806351605d801461041957610250565b8063081812fc11610219578063081812fc146102f8578063095ea7b31461033057806318160ddd1461035057806323b872dd1461036f5780632f745c591461038f57610250565b8062e6672c1461025557806301ffc9a71461026c57806304299b2a146102a157806306d120d5146102c157806306fdde03146102e3575b600080fd5b34801561026157600080fd5b5061026a61077f565b005b34801561027857600080fd5b5061028c610287366004612737565b610888565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b5061026a6102bc36600461276f565b61089b565b3480156102cd57600080fd5b506102d66108dc565b60405161029891906128bd565b3480156102ef57600080fd5b506102d661096a565b34801561030457600080fd5b506103186103133660046127b5565b6109fc565b6040516001600160a01b039091168152602001610298565b34801561033c57600080fd5b5061026a61034b36600461270e565b610a91565b34801561035c57600080fd5b506009545b604051908152602001610298565b34801561037b57600080fd5b5061026a61038a366004612620565b610ba7565b34801561039b57600080fd5b506103616103aa36600461270e565b610bd8565b3480156103bb57600080fd5b5061026a610c6e565b3480156103d057600080fd5b5061026a610ca4565b3480156103e557600080fd5b5061026a6103f4366004612620565b610d5c565b34801561040557600080fd5b506103616104143660046127b5565b610d77565b34801561042557600080fd5b506102d6610e18565b34801561043a57600080fd5b5061026a61044936600461276f565b610e25565b34801561045a57600080fd5b50620186a0610361565b34801561047057600080fd5b5061031861047f3660046127b5565b610e64565b34801561049057600080fd5b5061036161049f3660046125cd565b610edb565b3480156104b057600080fd5b5061026a610f62565b3480156104c557600080fd5b50600d5461028c9060ff1681565b3480156104df57600080fd5b506000546001600160a01b0316610318565b3480156104fd57600080fd5b5061026a61050c3660046127b5565b610fd6565b34801561051d57600080fd5b5061026a61052c36600461276f565b611005565b34801561053d57600080fd5b506102d6611042565b34801561055257600080fd5b50600e54610361565b34801561056757600080fd5b506103616105763660046125cd565b6001600160a01b03166000908152620186b2602052604090205490565b61026a6105a13660046127b5565b611051565b3480156105b257600080fd5b50600d5461028c90610100900460ff1681565b3480156105d157600080fd5b5061026a6105e03660046126d4565b61122a565b3480156105f157600080fd5b5061026a6112fc565b34801561060657600080fd5b5061026a61061536600461265b565b611337565b34801561062657600080fd5b5061026a61136f565b34801561063b57600080fd5b5061036161064a3660046127b5565b6113dc565b34801561065b57600080fd5b506102d661066a3660046127b5565b6114af565b34801561067b57600080fd5b506103616103e881565b34801561069157600080fd5b506103616106a03660046125cd565b620186b26020526000908152604090205481565b3480156106c057600080fd5b506102d6611526565b3480156106d557600080fd5b506106e96106e43660046125cd565b611535565b6040516102989190612879565b34801561070257600080fd5b5061028c6107113660046125ee565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561074b57600080fd5b5061026a61075a36600461270e565b611616565b34801561076b57600080fd5b5061026a61077a3660046125cd565b611780565b6002600b5414156107d75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600b55336000908152620186b2602052604090205461083a5760405162461bcd60e51b815260206004820152601e60248201527f596f7520646f6e2774206861766520616e79206672656520726f6c6c7321000060448201526064016107ce565b336000908152620186b2602052604081208054908290559061085b60095490565b61086890620186a06129f3565b905080821115610876578091505b61087f8261186a565b50506001600b55565b60006108938261190e565b90505b919050565b6000546001600160a01b031633146108c55760405162461bcd60e51b81526004016107ce90612922565b80516108d890600c9060208401906124a7565b5050565b600f80546108e990612a4d565b80601f016020809104026020016040519081016040528092919081815260200182805461091590612a4d565b80156109625780601f1061093757610100808354040283529160200191610962565b820191906000526020600020905b81548152906001019060200180831161094557829003601f168201915b505050505081565b60606001805461097990612a4d565b80601f01602080910402602001604051908101604052809291908181526020018280546109a590612a4d565b80156109f25780601f106109c7576101008083540402835291602001916109f2565b820191906000526020600020905b8154815290600101906020018083116109d557829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610a755760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ce565b506000908152600560205260409020546001600160a01b031690565b6000610a9c82610e64565b9050806001600160a01b0316836001600160a01b03161415610b0a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107ce565b336001600160a01b0382161480610b265750610b268133610711565b610b985760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107ce565b610ba28383611933565b505050565b610bb133826119a1565b610bcd5760405162461bcd60e51b81526004016107ce90612957565b610ba2838383611a98565b6000610be383610edb565b8210610c455760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107ce565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6000546001600160a01b03163314610c985760405162461bcd60e51b81526004016107ce90612922565b600d805460ff19169055565b6000546001600160a01b03163314610cce5760405162461bcd60e51b81526004016107ce90612922565b604051600090339047908381818185875af1925050503d8060008114610d10576040519150601f19603f3d011682016040523d82523d6000602084013e610d15565b606091505b5050905080610d595760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016107ce565b50565b610ba283838360405180602001604052806000815250611337565b6000610d8260095490565b8210610de55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107ce565b60098281548110610e0657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600c80546108e990612a4d565b6000546001600160a01b03163314610e4f5760405162461bcd60e51b81526004016107ce90612922565b80516108d890620186b49060208401906124a7565b6000818152600360205260408120546001600160a01b0316806108935760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107ce565b60006001600160a01b038216610f465760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107ce565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610f8c5760405162461bcd60e51b81526004016107ce90612922565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146110005760405162461bcd60e51b81526004016107ce90612922565b600e55565b6000546001600160a01b0316331461102f5760405162461bcd60e51b81526004016107ce90612922565b80516108d890600f9060208401906124a7565b60606002805461097990612a4d565b6002600b5414156110a45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107ce565b6002600b55600d5460ff166110f25760405162461bcd60e51b815260206004820152601460248201527329b0b632903430b9b713ba1039ba30b93a32b21760611b60448201526064016107ce565b60006110fd60095490565b9050620186a061110d83836129a8565b11156111665760405162461bcd60e51b815260206004820152602260248201527f5468657265206172656e27742074686973206d616e792070756e6b73206c65666044820152613a1760f11b60648201526084016107ce565b600082600e5461117691906129d4565b9050803410156111d75760405162461bcd60e51b815260206004820152602660248201527f546f6f206c6974746c652073656e742c20706c656173652073656e64206d6f72604482015265329032ba341760d11b60648201526084016107ce565b8034111561121757336108fc6111ed83346129f3565b6040518115909202916000818181858888f19350505050158015611215573d6000803e3d6000fd5b505b6112208361186a565b50506001600b5550565b6001600160a01b0382163314156112835760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107ce565b3360008181526006602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112f0911515815260200190565b60405180910390a35050565b6000546001600160a01b031633146113265760405162461bcd60e51b81526004016107ce90612922565b600d805461ffff1916610101179055565b61134133836119a1565b61135d5760405162461bcd60e51b81526004016107ce90612957565b61136984848484611c43565b50505050565b6000546001600160a01b031633146113995760405162461bcd60e51b81526004016107ce90612922565b476113ac6000546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050610d5957600080fd5b6000620186a0826113ec60095490565b6113f691906129a8565b11156114505760405162461bcd60e51b815260206004820152602360248201527f546865726520617265206e6f742074686973206d616e792070756e6b73206c65604482015262333a1760e91b60648201526084016107ce565b6103e88211156114a25760405162461bcd60e51b815260206004820181905260248201527f596f752063616e6e6f74206d696e742074686174206d616e792070756e6b732e60448201526064016107ce565b600e5461089390836129d4565b606060006114bb611c76565b905060006114c884611c87565b604080518082019091526005815264173539b7b760d91b60208201528351919250906114f8575091506108969050565b82828260405160200161150d939291906127f9565b6040516020818303038152906040529350505050919050565b6060600f805461097990612a4d565b6060600061154283610edb565b90508061155f575050604080516000815260208101909152610896565b60008167ffffffffffffffff81111561158857634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156115b1578160200160208202803683370190505b50905060005b82811015611606576115c98582610bd8565b8282815181106115e957634e487b7160e01b600052603260045260246000fd5b6020908102919091010152806115fe81612a82565b9150506115b7565b5091506108969050565b50919050565b6000546001600160a01b031633146116405760405162461bcd60e51b81526004016107ce90612922565b6103e8620186b154106116a45760405162461bcd60e51b815260206004820152602660248201527f416c726561647920676976656e206d6178206e756d626572206f66206672656560448201526520726f6c6c7360d01b60648201526084016107ce565b6001600160a01b0382166000908152620186b260205260409020546015906116cd9083906129a8565b106117265760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f742065786365656420323020756e75736564206672656520726f6c6044820152626c732160e81b60648201526084016107ce565b6001600160a01b0382166000908152620186b2602052604090205461174b82826129a8565b6001600160a01b0384166000908152620186b26020526040902055620186b1546117769083906129a8565b620186b155505050565b6000546001600160a01b031633146117aa5760405162461bcd60e51b81526004016107ce90612922565b6001600160a01b03811661180f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ce565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6103e88111156118bc5760405162461bcd60e51b815260206004820152601960248201527f4d696e74696e6720746f6f206d616e79206174206f6e63652e0000000000000060448201526064016107ce565b620186b05460005b828110156119055760006118d88483611da2565b90506118e43382611e34565b826118ee81612a36565b9350505080806118fd90612a82565b9150506118c4565b50620186b05550565b60006001600160e01b0319821663780e9d6360e01b1480610893575061089382611e4e565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061196882610e64565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b0316611a1a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ce565b6000611a2583610e64565b9050806001600160a01b0316846001600160a01b03161480611a605750836001600160a01b0316611a55846109fc565b6001600160a01b0316145b80611a9057506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611aab82610e64565b6001600160a01b031614611b135760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107ce565b6001600160a01b038216611b755760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107ce565b611b80838383611e9e565b611b8b600082611933565b6001600160a01b0383166000908152600460205260408120805460019290611bb49084906129f3565b90915550506001600160a01b0382166000908152600460205260408120805460019290611be29084906129a8565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611c4e848484611a98565b611c5a84848484611ea9565b6113695760405162461bcd60e51b81526004016107ce906128d0565b6060620186b4805461097990612a4d565b606081611cac57506040805180820190915260018152600360fc1b6020820152610896565b8160005b8115611cd65780611cc081612a82565b9150611ccf9050600a836129c0565b9150611cb0565b60008167ffffffffffffffff811115611cff57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d29576020820181803683370190505b5090505b8415611a9057611d3e6001836129f3565b9150611d4b600a86612a9d565b611d569060306129a8565b60f81b818381518110611d7957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611d9b600a866129c0565b9450611d2d565b600080333a4342611db46001836129f3565b604080516001600160a01b039096166020870152850193909352606084019190915260808301524060a082015260c0810185905260e08101849052610100016040516020818303038152906040528051906020012060001c90506000620186b05482611e209190612a9d565b9050611e2b81611fb6565b95945050505050565b6108d88282604051806020016040528060008152506120af565b60006001600160e01b031982166380ac58cd60e01b1480611e7f57506001600160e01b03198216635b5e139f60e01b145b8061089357506301ffc9a760e01b6001600160e01b0319831614610893565b610ba28383836120e2565b60006001600160a01b0384163b15611fab57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611eed90339089908890889060040161283c565b602060405180830381600087803b158015611f0757600080fd5b505af1925050508015611f37575060408051601f3d908101601f19168201909252611f3491810190612753565b60015b611f91573d808015611f65576040519150601f19603f3d011682016040523d82523d6000602084013e611f6a565b606091505b508051611f895760405162461bcd60e51b81526004016107ce906128d0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a90565b506001949350505050565b600080601083620186a08110611fdc57634e487b7160e01b600052603260045260246000fd5b01549050600081611fee575082611ff1565b50805b60006001620186b05461200491906129f3565b905080851461208f576000601082620186a0811061203257634e487b7160e01b600052603260045260246000fd5b01549050806120665781601087620186a0811061205f57634e487b7160e01b600052603260045260246000fd5b015561208d565b80601087620186a0811061208a57634e487b7160e01b600052603260045260246000fd5b01555b505b620186b080549060006120a183612a36565b909155509195945050505050565b6120b9838361219f565b6120c66000848484611ea9565b610ba25760405162461bcd60e51b81526004016107ce906128d0565b6001600160a01b03831661213d5761213881600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b612160565b816001600160a01b0316836001600160a01b0316146121605761216083826122ed565b6001600160a01b03821661217c576121778161238a565b610ba2565b826001600160a01b0316826001600160a01b031614610ba257610ba28282612463565b6001600160a01b0382166121f55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107ce565b6000818152600360205260409020546001600160a01b03161561225a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107ce565b61226660008383611e9e565b6001600160a01b038216600090815260046020526040812080546001929061228f9084906129a8565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016122fa84610edb565b61230491906129f3565b600083815260086020526040902054909150808214612357576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061239c906001906129f3565b6000838152600a6020526040812054600980549394509092849081106123d257634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061240157634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061244757634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061246e83610edb565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b8280546124b390612a4d565b90600052602060002090601f0160209004810192826124d5576000855561251b565b82601f106124ee57805160ff191683800117855561251b565b8280016001018555821561251b579182015b8281111561251b578251825591602001919060010190612500565b5061252792915061252b565b5090565b5b80821115612527576000815560010161252c565b600067ffffffffffffffff8084111561255b5761255b612add565b604051601f8501601f19908116603f0116810190828211818310171561258357612583612add565b8160405280935085815286868601111561259c57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461089657600080fd5b6000602082840312156125de578081fd5b6125e7826125b6565b9392505050565b60008060408385031215612600578081fd5b612609836125b6565b9150612617602084016125b6565b90509250929050565b600080600060608486031215612634578081fd5b61263d846125b6565b925061264b602085016125b6565b9150604084013590509250925092565b60008060008060808587031215612670578081fd5b612679856125b6565b9350612687602086016125b6565b925060408501359150606085013567ffffffffffffffff8111156126a9578182fd5b8501601f810187136126b9578182fd5b6126c887823560208401612540565b91505092959194509250565b600080604083850312156126e6578182fd5b6126ef836125b6565b915060208301358015158114612703578182fd5b809150509250929050565b60008060408385031215612720578182fd5b612729836125b6565b946020939093013593505050565b600060208284031215612748578081fd5b81356125e781612af3565b600060208284031215612764578081fd5b81516125e781612af3565b600060208284031215612780578081fd5b813567ffffffffffffffff811115612796578182fd5b8201601f810184136127a6578182fd5b611a9084823560208401612540565b6000602082840312156127c6578081fd5b5035919050565b600081518084526127e5816020860160208601612a0a565b601f01601f19169290920160200192915050565b6000845161280b818460208901612a0a565b84519083019061281f818360208901612a0a565b8451910190612832818360208801612a0a565b0195945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061286f908301846127cd565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156128b157835183529284019291840191600101612895565b50909695505050505050565b6000602082526125e760208301846127cd565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156129bb576129bb612ab1565b500190565b6000826129cf576129cf612ac7565b500490565b60008160001904831182151516156129ee576129ee612ab1565b500290565b600082821015612a0557612a05612ab1565b500390565b60005b83811015612a25578181015183820152602001612a0d565b838111156113695750506000910152565b600081612a4557612a45612ab1565b506000190190565b600181811c90821680612a6157607f821691505b6020821081141561161057634e487b7160e01b600052602260045260246000fd5b6000600019821415612a9657612a96612ab1565b5060010190565b600082612aac57612aac612ac7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d5957600080fdfea26469706673582212203a202244bdc7bfe2fa65266a7b6fc70eef759f39fbf1c300241c8e41ec725dd864736f6c63430008030033
Deployed Bytecode
0x6080604052600436106102505760003560e01c80638da5cb5b11610139578063b88d4fde116100b6578063d2d6a5471161007a578063d2d6a54714610685578063e8a3d485146106b4578063e8e732a1146106c9578063e985e9c5146106f6578063f2f5ec151461073f578063f2fde38b1461075f57610250565b8063b88d4fde146105fa578063bb51f32d1461061a578063bc4eda101461062f578063c87b56dd1461064f578063cbf775b21461066f57610250565b80639fd83a15116100fd5780639fd83a151461055b578063a0712d6814610593578063a1d89819146105a6578063a22cb465146105c5578063b66a0e5d146105e557610250565b80638da5cb5b146104d357806391b7f5ed146104f1578063938e3d7b1461051157806395d89b411461053157806398d5fdca1461054657610250565b8063380d831b116101d257806355f804b31161019657806355f804b31461042e5780635b5a493d1461044e5780636352211e1461046457806370a0823114610484578063715018a6146104a4578063779e170d146104b957610250565b8063380d831b146103af5780633af03e8a146103c457806342842e0e146103d95780634f6ccce7146103f957806351605d801461041957610250565b8063081812fc11610219578063081812fc146102f8578063095ea7b31461033057806318160ddd1461035057806323b872dd1461036f5780632f745c591461038f57610250565b8062e6672c1461025557806301ffc9a71461026c57806304299b2a146102a157806306d120d5146102c157806306fdde03146102e3575b600080fd5b34801561026157600080fd5b5061026a61077f565b005b34801561027857600080fd5b5061028c610287366004612737565b610888565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b5061026a6102bc36600461276f565b61089b565b3480156102cd57600080fd5b506102d66108dc565b60405161029891906128bd565b3480156102ef57600080fd5b506102d661096a565b34801561030457600080fd5b506103186103133660046127b5565b6109fc565b6040516001600160a01b039091168152602001610298565b34801561033c57600080fd5b5061026a61034b36600461270e565b610a91565b34801561035c57600080fd5b506009545b604051908152602001610298565b34801561037b57600080fd5b5061026a61038a366004612620565b610ba7565b34801561039b57600080fd5b506103616103aa36600461270e565b610bd8565b3480156103bb57600080fd5b5061026a610c6e565b3480156103d057600080fd5b5061026a610ca4565b3480156103e557600080fd5b5061026a6103f4366004612620565b610d5c565b34801561040557600080fd5b506103616104143660046127b5565b610d77565b34801561042557600080fd5b506102d6610e18565b34801561043a57600080fd5b5061026a61044936600461276f565b610e25565b34801561045a57600080fd5b50620186a0610361565b34801561047057600080fd5b5061031861047f3660046127b5565b610e64565b34801561049057600080fd5b5061036161049f3660046125cd565b610edb565b3480156104b057600080fd5b5061026a610f62565b3480156104c557600080fd5b50600d5461028c9060ff1681565b3480156104df57600080fd5b506000546001600160a01b0316610318565b3480156104fd57600080fd5b5061026a61050c3660046127b5565b610fd6565b34801561051d57600080fd5b5061026a61052c36600461276f565b611005565b34801561053d57600080fd5b506102d6611042565b34801561055257600080fd5b50600e54610361565b34801561056757600080fd5b506103616105763660046125cd565b6001600160a01b03166000908152620186b2602052604090205490565b61026a6105a13660046127b5565b611051565b3480156105b257600080fd5b50600d5461028c90610100900460ff1681565b3480156105d157600080fd5b5061026a6105e03660046126d4565b61122a565b3480156105f157600080fd5b5061026a6112fc565b34801561060657600080fd5b5061026a61061536600461265b565b611337565b34801561062657600080fd5b5061026a61136f565b34801561063b57600080fd5b5061036161064a3660046127b5565b6113dc565b34801561065b57600080fd5b506102d661066a3660046127b5565b6114af565b34801561067b57600080fd5b506103616103e881565b34801561069157600080fd5b506103616106a03660046125cd565b620186b26020526000908152604090205481565b3480156106c057600080fd5b506102d6611526565b3480156106d557600080fd5b506106e96106e43660046125cd565b611535565b6040516102989190612879565b34801561070257600080fd5b5061028c6107113660046125ee565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561074b57600080fd5b5061026a61075a36600461270e565b611616565b34801561076b57600080fd5b5061026a61077a3660046125cd565b611780565b6002600b5414156107d75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600b55336000908152620186b2602052604090205461083a5760405162461bcd60e51b815260206004820152601e60248201527f596f7520646f6e2774206861766520616e79206672656520726f6c6c7321000060448201526064016107ce565b336000908152620186b2602052604081208054908290559061085b60095490565b61086890620186a06129f3565b905080821115610876578091505b61087f8261186a565b50506001600b55565b60006108938261190e565b90505b919050565b6000546001600160a01b031633146108c55760405162461bcd60e51b81526004016107ce90612922565b80516108d890600c9060208401906124a7565b5050565b600f80546108e990612a4d565b80601f016020809104026020016040519081016040528092919081815260200182805461091590612a4d565b80156109625780601f1061093757610100808354040283529160200191610962565b820191906000526020600020905b81548152906001019060200180831161094557829003601f168201915b505050505081565b60606001805461097990612a4d565b80601f01602080910402602001604051908101604052809291908181526020018280546109a590612a4d565b80156109f25780601f106109c7576101008083540402835291602001916109f2565b820191906000526020600020905b8154815290600101906020018083116109d557829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610a755760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ce565b506000908152600560205260409020546001600160a01b031690565b6000610a9c82610e64565b9050806001600160a01b0316836001600160a01b03161415610b0a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107ce565b336001600160a01b0382161480610b265750610b268133610711565b610b985760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107ce565b610ba28383611933565b505050565b610bb133826119a1565b610bcd5760405162461bcd60e51b81526004016107ce90612957565b610ba2838383611a98565b6000610be383610edb565b8210610c455760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107ce565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6000546001600160a01b03163314610c985760405162461bcd60e51b81526004016107ce90612922565b600d805460ff19169055565b6000546001600160a01b03163314610cce5760405162461bcd60e51b81526004016107ce90612922565b604051600090339047908381818185875af1925050503d8060008114610d10576040519150601f19603f3d011682016040523d82523d6000602084013e610d15565b606091505b5050905080610d595760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016107ce565b50565b610ba283838360405180602001604052806000815250611337565b6000610d8260095490565b8210610de55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107ce565b60098281548110610e0657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600c80546108e990612a4d565b6000546001600160a01b03163314610e4f5760405162461bcd60e51b81526004016107ce90612922565b80516108d890620186b49060208401906124a7565b6000818152600360205260408120546001600160a01b0316806108935760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107ce565b60006001600160a01b038216610f465760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107ce565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610f8c5760405162461bcd60e51b81526004016107ce90612922565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146110005760405162461bcd60e51b81526004016107ce90612922565b600e55565b6000546001600160a01b0316331461102f5760405162461bcd60e51b81526004016107ce90612922565b80516108d890600f9060208401906124a7565b60606002805461097990612a4d565b6002600b5414156110a45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107ce565b6002600b55600d5460ff166110f25760405162461bcd60e51b815260206004820152601460248201527329b0b632903430b9b713ba1039ba30b93a32b21760611b60448201526064016107ce565b60006110fd60095490565b9050620186a061110d83836129a8565b11156111665760405162461bcd60e51b815260206004820152602260248201527f5468657265206172656e27742074686973206d616e792070756e6b73206c65666044820152613a1760f11b60648201526084016107ce565b600082600e5461117691906129d4565b9050803410156111d75760405162461bcd60e51b815260206004820152602660248201527f546f6f206c6974746c652073656e742c20706c656173652073656e64206d6f72604482015265329032ba341760d11b60648201526084016107ce565b8034111561121757336108fc6111ed83346129f3565b6040518115909202916000818181858888f19350505050158015611215573d6000803e3d6000fd5b505b6112208361186a565b50506001600b5550565b6001600160a01b0382163314156112835760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107ce565b3360008181526006602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112f0911515815260200190565b60405180910390a35050565b6000546001600160a01b031633146113265760405162461bcd60e51b81526004016107ce90612922565b600d805461ffff1916610101179055565b61134133836119a1565b61135d5760405162461bcd60e51b81526004016107ce90612957565b61136984848484611c43565b50505050565b6000546001600160a01b031633146113995760405162461bcd60e51b81526004016107ce90612922565b476113ac6000546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050610d5957600080fd5b6000620186a0826113ec60095490565b6113f691906129a8565b11156114505760405162461bcd60e51b815260206004820152602360248201527f546865726520617265206e6f742074686973206d616e792070756e6b73206c65604482015262333a1760e91b60648201526084016107ce565b6103e88211156114a25760405162461bcd60e51b815260206004820181905260248201527f596f752063616e6e6f74206d696e742074686174206d616e792070756e6b732e60448201526064016107ce565b600e5461089390836129d4565b606060006114bb611c76565b905060006114c884611c87565b604080518082019091526005815264173539b7b760d91b60208201528351919250906114f8575091506108969050565b82828260405160200161150d939291906127f9565b6040516020818303038152906040529350505050919050565b6060600f805461097990612a4d565b6060600061154283610edb565b90508061155f575050604080516000815260208101909152610896565b60008167ffffffffffffffff81111561158857634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156115b1578160200160208202803683370190505b50905060005b82811015611606576115c98582610bd8565b8282815181106115e957634e487b7160e01b600052603260045260246000fd5b6020908102919091010152806115fe81612a82565b9150506115b7565b5091506108969050565b50919050565b6000546001600160a01b031633146116405760405162461bcd60e51b81526004016107ce90612922565b6103e8620186b154106116a45760405162461bcd60e51b815260206004820152602660248201527f416c726561647920676976656e206d6178206e756d626572206f66206672656560448201526520726f6c6c7360d01b60648201526084016107ce565b6001600160a01b0382166000908152620186b260205260409020546015906116cd9083906129a8565b106117265760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f742065786365656420323020756e75736564206672656520726f6c6044820152626c732160e81b60648201526084016107ce565b6001600160a01b0382166000908152620186b2602052604090205461174b82826129a8565b6001600160a01b0384166000908152620186b26020526040902055620186b1546117769083906129a8565b620186b155505050565b6000546001600160a01b031633146117aa5760405162461bcd60e51b81526004016107ce90612922565b6001600160a01b03811661180f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ce565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6103e88111156118bc5760405162461bcd60e51b815260206004820152601960248201527f4d696e74696e6720746f6f206d616e79206174206f6e63652e0000000000000060448201526064016107ce565b620186b05460005b828110156119055760006118d88483611da2565b90506118e43382611e34565b826118ee81612a36565b9350505080806118fd90612a82565b9150506118c4565b50620186b05550565b60006001600160e01b0319821663780e9d6360e01b1480610893575061089382611e4e565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061196882610e64565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b0316611a1a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ce565b6000611a2583610e64565b9050806001600160a01b0316846001600160a01b03161480611a605750836001600160a01b0316611a55846109fc565b6001600160a01b0316145b80611a9057506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611aab82610e64565b6001600160a01b031614611b135760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107ce565b6001600160a01b038216611b755760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107ce565b611b80838383611e9e565b611b8b600082611933565b6001600160a01b0383166000908152600460205260408120805460019290611bb49084906129f3565b90915550506001600160a01b0382166000908152600460205260408120805460019290611be29084906129a8565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611c4e848484611a98565b611c5a84848484611ea9565b6113695760405162461bcd60e51b81526004016107ce906128d0565b6060620186b4805461097990612a4d565b606081611cac57506040805180820190915260018152600360fc1b6020820152610896565b8160005b8115611cd65780611cc081612a82565b9150611ccf9050600a836129c0565b9150611cb0565b60008167ffffffffffffffff811115611cff57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d29576020820181803683370190505b5090505b8415611a9057611d3e6001836129f3565b9150611d4b600a86612a9d565b611d569060306129a8565b60f81b818381518110611d7957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611d9b600a866129c0565b9450611d2d565b600080333a4342611db46001836129f3565b604080516001600160a01b039096166020870152850193909352606084019190915260808301524060a082015260c0810185905260e08101849052610100016040516020818303038152906040528051906020012060001c90506000620186b05482611e209190612a9d565b9050611e2b81611fb6565b95945050505050565b6108d88282604051806020016040528060008152506120af565b60006001600160e01b031982166380ac58cd60e01b1480611e7f57506001600160e01b03198216635b5e139f60e01b145b8061089357506301ffc9a760e01b6001600160e01b0319831614610893565b610ba28383836120e2565b60006001600160a01b0384163b15611fab57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611eed90339089908890889060040161283c565b602060405180830381600087803b158015611f0757600080fd5b505af1925050508015611f37575060408051601f3d908101601f19168201909252611f3491810190612753565b60015b611f91573d808015611f65576040519150601f19603f3d011682016040523d82523d6000602084013e611f6a565b606091505b508051611f895760405162461bcd60e51b81526004016107ce906128d0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a90565b506001949350505050565b600080601083620186a08110611fdc57634e487b7160e01b600052603260045260246000fd5b01549050600081611fee575082611ff1565b50805b60006001620186b05461200491906129f3565b905080851461208f576000601082620186a0811061203257634e487b7160e01b600052603260045260246000fd5b01549050806120665781601087620186a0811061205f57634e487b7160e01b600052603260045260246000fd5b015561208d565b80601087620186a0811061208a57634e487b7160e01b600052603260045260246000fd5b01555b505b620186b080549060006120a183612a36565b909155509195945050505050565b6120b9838361219f565b6120c66000848484611ea9565b610ba25760405162461bcd60e51b81526004016107ce906128d0565b6001600160a01b03831661213d5761213881600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b612160565b816001600160a01b0316836001600160a01b0316146121605761216083826122ed565b6001600160a01b03821661217c576121778161238a565b610ba2565b826001600160a01b0316826001600160a01b031614610ba257610ba28282612463565b6001600160a01b0382166121f55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107ce565b6000818152600360205260409020546001600160a01b03161561225a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107ce565b61226660008383611e9e565b6001600160a01b038216600090815260046020526040812080546001929061228f9084906129a8565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016122fa84610edb565b61230491906129f3565b600083815260086020526040902054909150808214612357576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061239c906001906129f3565b6000838152600a6020526040812054600980549394509092849081106123d257634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061240157634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061244757634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061246e83610edb565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b8280546124b390612a4d565b90600052602060002090601f0160209004810192826124d5576000855561251b565b82601f106124ee57805160ff191683800117855561251b565b8280016001018555821561251b579182015b8281111561251b578251825591602001919060010190612500565b5061252792915061252b565b5090565b5b80821115612527576000815560010161252c565b600067ffffffffffffffff8084111561255b5761255b612add565b604051601f8501601f19908116603f0116810190828211818310171561258357612583612add565b8160405280935085815286868601111561259c57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461089657600080fd5b6000602082840312156125de578081fd5b6125e7826125b6565b9392505050565b60008060408385031215612600578081fd5b612609836125b6565b9150612617602084016125b6565b90509250929050565b600080600060608486031215612634578081fd5b61263d846125b6565b925061264b602085016125b6565b9150604084013590509250925092565b60008060008060808587031215612670578081fd5b612679856125b6565b9350612687602086016125b6565b925060408501359150606085013567ffffffffffffffff8111156126a9578182fd5b8501601f810187136126b9578182fd5b6126c887823560208401612540565b91505092959194509250565b600080604083850312156126e6578182fd5b6126ef836125b6565b915060208301358015158114612703578182fd5b809150509250929050565b60008060408385031215612720578182fd5b612729836125b6565b946020939093013593505050565b600060208284031215612748578081fd5b81356125e781612af3565b600060208284031215612764578081fd5b81516125e781612af3565b600060208284031215612780578081fd5b813567ffffffffffffffff811115612796578182fd5b8201601f810184136127a6578182fd5b611a9084823560208401612540565b6000602082840312156127c6578081fd5b5035919050565b600081518084526127e5816020860160208601612a0a565b601f01601f19169290920160200192915050565b6000845161280b818460208901612a0a565b84519083019061281f818360208901612a0a565b8451910190612832818360208801612a0a565b0195945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061286f908301846127cd565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156128b157835183529284019291840191600101612895565b50909695505050505050565b6000602082526125e760208301846127cd565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156129bb576129bb612ab1565b500190565b6000826129cf576129cf612ac7565b500490565b60008160001904831182151516156129ee576129ee612ab1565b500290565b600082821015612a0557612a05612ab1565b500390565b60005b83811015612a25578181015183820152602001612a0d565b838111156113695750506000910152565b600081612a4557612a45612ab1565b506000190190565b600181811c90821680612a6157607f821691505b6020821081141561161057634e487b7160e01b600052602260045260246000fd5b6000600019821415612a9657612a96612ab1565b5060010190565b600082612aac57612aac612ac7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d5957600080fdfea26469706673582212203a202244bdc7bfe2fa65266a7b6fc70eef759f39fbf1c300241c8e41ec725dd864736f6c63430008030033
Deployed Bytecode Sourcemap
45845:8423:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46700:395;;;;;;;;;;;;;:::i;:::-;;54064:201;;;;;;;;;;-1:-1:-1;54064:201:0;;;;;:::i;:::-;;:::i;:::-;;;7478:14:1;;7471:22;7453:41;;7441:2;7426:18;54064:201:0;;;;;;;;53379:108;;;;;;;;;;-1:-1:-1;53379:108:0;;;;;:::i;:::-;;:::i;46236:29::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;27987:100::-;;;;;;;;;;;;;:::i;29439:221::-;;;;;;;;;;-1:-1:-1;29439:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5498:32:1;;;5480:51;;5468:2;5453:18;29439:221:0;5435:102:1;28976:397:0;;;;;;;;;;-1:-1:-1;28976:397:0;;;;;:::i;:::-;;:::i;40342:113::-;;;;;;;;;;-1:-1:-1;40430:10:0;:17;40342:113;;;18819:25:1;;;18807:2;18792:18;40342:113:0;18774:76:1;30329:305:0;;;;;;;;;;-1:-1:-1;30329:305:0;;;;;:::i;:::-;;:::i;40010:256::-;;;;;;;;;;-1:-1:-1;40010:256:0;;;;;:::i;:::-;;:::i;52506:71::-;;;;;;;;;;;;;:::i;53654:179::-;;;;;;;;;;;;;:::i;30705:151::-;;;;;;;;;;-1:-1:-1;30705:151:0;;;;;:::i;:::-;;:::i;40532:233::-;;;;;;;;;;-1:-1:-1;40532:233:0;;;;;:::i;:::-;;:::i;45995:23::-;;;;;;;;;;;;;:::i;53139:104::-;;;;;;;;;;-1:-1:-1;53139:104:0;;;;;:::i;:::-;;:::i;46597:95::-;;;;;;;;;;-1:-1:-1;46678:6:0;46597:95;;27681:239;;;;;;;;;;-1:-1:-1;27681:239:0;;;;;:::i;:::-;;:::i;27411:208::-;;;;;;;;;;-1:-1:-1;27411:208:0;;;;;:::i;:::-;;:::i;19384:148::-;;;;;;;;;;;;;:::i;46027:28::-;;;;;;;;;;-1:-1:-1;46027:28:0;;;;;;;;18733:87;;;;;;;;;;-1:-1:-1;18779:7:0;18806:6;-1:-1:-1;;;;;18806:6:0;18733:87;;52289:93;;;;;;;;;;-1:-1:-1;52289:93:0;;;;;:::i;:::-;;:::i;53251:120::-;;;;;;;;;;-1:-1:-1;53251:120:0;;;;;:::i;:::-;;:::i;28156:104::-;;;;;;;;;;;;;:::i;50389:81::-;;;;;;;;;;-1:-1:-1;50456:6:0;;50389:81;;47103:120;;;;;;;;;;-1:-1:-1;47103:120:0;;;;;:::i;:::-;-1:-1:-1;;;;;47195:20:0;47168:7;47195:20;;;:13;:20;;;;;;;47103:120;47231:664;;;;;;:::i;:::-;;:::i;46064:38::-;;;;;;;;;;-1:-1:-1;46064:38:0;;;;;;;;;;;29732:295;;;;;;;;;;-1:-1:-1;29732:295:0;;;;;:::i;:::-;;:::i;52390:108::-;;;;;;;;;;;;;:::i;30927:285::-;;;;;;;;;;-1:-1:-1;30927:285:0;;;;;:::i;:::-;;:::i;53495:151::-;;;;;;;;;;;;;:::i;50587:415::-;;;;;;;;;;-1:-1:-1;50587:415:0;;;;;:::i;:::-;;:::i;51721:472::-;;;;;;;;;;-1:-1:-1;51721:472:0;;;;;:::i;:::-;;:::i;46111:51::-;;;;;;;;;;;;46158:4;46111:51;;46476:48;;;;;;;;;;-1:-1:-1;46476:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;50478:99;;;;;;;;;;;;;:::i;51010:485::-;;;;;;;;;;-1:-1:-1;51010:485:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;30098:164::-;;;;;;;;;;-1:-1:-1;30098:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;30219:25:0;;;30195:4;30219:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;30098:164;52585:531;;;;;;;;;;-1:-1:-1;52585:531:0;;;;;:::i;:::-;;:::i;19687:244::-;;;;;;;;;;-1:-1:-1;19687:244:0;;;;;:::i;:::-;;:::i;46700:395::-;21616:1;22213:7;;:19;;22205:63;;;;-1:-1:-1;;;22205:63:0;;18515:2:1;22205:63:0;;;18497:21:1;18554:2;18534:18;;;18527:30;18593:33;18573:18;;;18566:61;18644:18;;22205:63:0;;;;;;;;;21616:1;22346:7;:18;46779:10:::1;46793:1;46765:25:::0;;;:13:::1;:25;::::0;;;;;46757:72:::1;;;::::0;-1:-1:-1;;;46757:72:0;;11047:2:1;46757:72:0::1;::::0;::::1;11029:21:1::0;11086:2;11066:18;;;11059:30;11125:32;11105:18;;;11098:60;11175:18;;46757:72:0::1;11019:180:1::0;46757:72:0::1;46871:10;46840:14;46857:25:::0;;;:13:::1;:25;::::0;;;;;;46893:29;;;;46857:25;46971:13:::1;40430:10:::0;:17;40342:113;;46971:13:::1;46953:31;::::0;46678:6;46953:31:::1;:::i;:::-;46933:51;;47008:9;46999:6;:18;46995:69;;;47043:9;47034:18;;46995:69;47074:13;47080:6;47074:5;:13::i;:::-;-1:-1:-1::0;;21572:1:0;22525:7;:22;46700:395::o;54064:201::-;54192:4;54221:36;54245:11;54221:23;:36::i;:::-;54214:43;;54064:201;;;;:::o;53379:108::-;18779:7;18806:6;-1:-1:-1;;;;;18806:6:0;752:10;18953:23;18945:68;;;;-1:-1:-1;;;18945:68:0;;;;;;;:::i;:::-;53457:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;53379:108:::0;:::o;46236:29::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;27987:100::-;28041:13;28074:5;28067:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27987:100;:::o;29439:221::-;29515:7;32768:16;;;:7;:16;;;;;;-1:-1:-1;;;;;32768:16:0;29535:73;;;;-1:-1:-1;;;29535:73:0;;13781:2:1;29535:73:0;;;13763:21:1;13820:2;13800:18;;;13793:30;13859:34;13839:18;;;13832:62;-1:-1:-1;;;13910:18:1;;;13903:42;13962:19;;29535:73:0;13753:234:1;29535:73:0;-1:-1:-1;29628:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;29628:24:0;;29439:221::o;28976:397::-;29057:13;29073:23;29088:7;29073:14;:23::i;:::-;29057:39;;29121:5;-1:-1:-1;;;;;29115:11:0;:2;-1:-1:-1;;;;;29115:11:0;;;29107:57;;;;-1:-1:-1;;;29107:57:0;;15319:2:1;29107:57:0;;;15301:21:1;15358:2;15338:18;;;15331:30;15397:34;15377:18;;;15370:62;-1:-1:-1;;;15448:18:1;;;15441:31;15489:19;;29107:57:0;15291:223:1;29107:57:0;752:10;-1:-1:-1;;;;;29185:21:0;;;;:62;;-1:-1:-1;29210:37:0;29227:5;752:10;29234:12;672:98;29210:37;29177:154;;;;-1:-1:-1;;;29177:154:0;;11406:2:1;29177:154:0;;;11388:21:1;11445:2;11425:18;;;11418:30;11484:34;11464:18;;;11457:62;11555:26;11535:18;;;11528:54;11599:19;;29177:154:0;11378:246:1;29177:154:0;29344:21;29353:2;29357:7;29344:8;:21::i;:::-;28976:397;;;:::o;30329:305::-;30490:41;752:10;30523:7;30490:18;:41::i;:::-;30482:103;;;;-1:-1:-1;;;30482:103:0;;;;;;;:::i;:::-;30598:28;30608:4;30614:2;30618:7;30598:9;:28::i;40010:256::-;40107:7;40143:23;40160:5;40143:16;:23::i;:::-;40135:5;:31;40127:87;;;;-1:-1:-1;;;40127:87:0;;8280:2:1;40127:87:0;;;8262:21:1;8319:2;8299:18;;;8292:30;8358:34;8338:18;;;8331:62;-1:-1:-1;;;8409:18:1;;;8402:41;8460:19;;40127:87:0;8252:233:1;40127:87:0;-1:-1:-1;;;;;;40232:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;40010:256::o;52506:71::-;18779:7;18806:6;-1:-1:-1;;;;;18806:6:0;752:10;18953:23;18945:68;;;;-1:-1:-1;;;18945:68:0;;;;;;;:::i;:::-;52553:8:::1;:16:::0;;-1:-1:-1;;52553:16:0::1;::::0;;52506:71::o;53654:179::-;18779:7;18806:6;-1:-1:-1;;;;;18806:6:0;752:10;18953:23;18945:68;;;;-1:-1:-1;;;18945:68:0;;;;;;;:::i;:::-;53729:49:::1;::::0;53711:12:::1;::::0;53729:10:::1;::::0;53752:21:::1;::::0;53711:12;53729:49;53711:12;53729:49;53752:21;53729:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53710:68;;;53797:7;53789:36;;;::::0;-1:-1:-1;;;53789:36:0;;16125:2:1;53789:36:0::1;::::0;::::1;16107:21:1::0;16164:2;16144:18;;;16137:30;-1:-1:-1;;;16183:18:1;;;16176:46;16239:18;;53789:36:0::1;16097:166:1::0;53789:36:0::1;19024:1;53654:179::o:0;30705:151::-;30809:39;30826:4;30832:2;30836:7;30809:39;;;;;;;;;;;;:16;:39::i;40532:233::-;40607:7;40643:30;40430:10;:17;40342:113;;40643:30;40635:5;:38;40627:95;;;;-1:-1:-1;;;40627:95:0;;16888:2:1;40627:95:0;;;16870:21:1;16927:2;16907:18;;;16900:30;16966:34;16946:18;;;16939:62;-1:-1:-1;;;17017:18:1;;;17010:42;17069:19;;40627:95:0;16860:234:1;40627:95:0;40740:10;40751:5;40740:17;;;;;;-1:-1:-1;;;40740:17:0;;;;;;;;;;;;;;;;;40733:24;;40532:233;;;:::o;45995:23::-;;;;;;;:::i;53139:104::-;18779:7;18806:6;-1:-1:-1;;;;;18806:6:0;752:10;18953:23;18945:68;;;;-1:-1:-1;;;18945:68:0;;;;;;;:::i;:::-;53212:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;27681:239::-:0;27753:7;27789:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27789:16:0;27824:19;27816:73;;;;-1:-1:-1;;;27816:73:0;;12242:2:1;27816:73:0;;;12224:21:1;12281:2;12261:18;;;12254:30;12320:34;12300:18;;;12293:62;-1:-1:-1;;;12371:18:1;;;12364:39;12420:19;;27816:73:0;12214:231:1;27411:208:0;27483:7;-1:-1:-1;;;;;27511:19:0;;27503:74;;;;-1:-1:-1;;;27503:74:0;;11831:2:1;27503:74:0;;;11813:21:1;11870:2;11850:18;;;11843:30;11909:34;11889:18;;;11882:62;-1:-1:-1;;;11960:18:1;;;11953:40;12010:19;;27503:74:0;11803:232:1;27503:74:0;-1:-1:-1;;;;;;27595:16:0;;;;;:9;:16;;;;;;;27411:208::o;19384:148::-;18779:7;18806:6;-1:-1:-1;;;;;18806:6:0;752:10;18953:23;18945:68;;;;-1:-1:-1;;;18945:68:0;;;;;;;:::i;:::-;19491:1:::1;19475:6:::0;;19454:40:::1;::::0;-1:-1:-1;;;;;19475:6:0;;::::1;::::0;19454:40:::1;::::0;19491:1;;19454:40:::1;19522:1;19505:19:::0;;-1:-1:-1;;;;;;19505:19:0::1;::::0;;19384:148::o;52289:93::-;18779:7;18806:6;-1:-1:-1;;;;;18806:6:0;752:10;18953:23;18945:68;;;;-1:-1:-1;;;18945:68:0;;;;;;;:::i;:::-;52356:6:::1;:18:::0;52289:93::o;53251:120::-;18779:7;18806:6;-1:-1:-1;;;;;18806:6:0;752:10;18953:23;18945:68;;;;-1:-1:-1;;;18945:68:0;;;;;;;:::i;:::-;53333:30;;::::1;::::0;:15:::1;::::0;:30:::1;::::0;::::1;::::0;::::1;:::i;28156:104::-:0;28212:13;28245:7;28238:14;;;;;:::i;47231:664::-;21616:1;22213:7;;:19;;22205:63;;;;-1:-1:-1;;;22205:63:0;;18515:2:1;22205:63:0;;;18497:21:1;18554:2;18534:18;;;18527:30;18593:33;18573:18;;;18566:61;18644:18;;22205:63:0;18487:181:1;22205:63:0;21616:1;22346:7;:18;47314:8:::1;::::0;::::1;;47306:41;;;::::0;-1:-1:-1;;;47306:41:0;;7931:2:1;47306:41:0::1;::::0;::::1;7913:21:1::0;7970:2;7950:18;;;7943:30;-1:-1:-1;;;7989:18:1;;;7982:50;8049:18;;47306:41:0::1;7903:170:1::0;47306:41:0::1;47358:19;47380:13;40430:10:::0;:17;40342:113;;47380:13:::1;47358:35:::0;-1:-1:-1;46678:6:0;47426:24:::1;47440:10:::0;47426:11;:24:::1;:::i;:::-;:43;;47404:127;;;::::0;-1:-1:-1;;;47404:127:0;;17708:2:1;47404:127:0::1;::::0;::::1;17690:21:1::0;17747:2;17727:18;;;17720:30;17786:34;17766:18;;;17759:62;-1:-1:-1;;;17837:18:1;;;17830:32;17879:19;;47404:127:0::1;17680:224:1::0;47404:127:0::1;47542:27;47581:10;47572:6;;:19;;;;:::i;:::-;47542:49;;47637:19;47624:9;:32;;47602:120;;;::::0;-1:-1:-1;;;47602:120:0;;12652:2:1;47602:120:0::1;::::0;::::1;12634:21:1::0;12691:2;12671:18;;;12664:30;12730:34;12710:18;;;12703:62;-1:-1:-1;;;12781:18:1;;;12774:36;12827:19;;47602:120:0::1;12624:228:1::0;47602:120:0::1;47749:19;47737:9;:31;47733:125;;;47793:10;47785:61;47814:31;47826:19:::0;47814:9:::1;:31;:::i;:::-;47785:61;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;47733:125;47870:17;47876:10;47870:5;:17::i;:::-;-1:-1:-1::0;;21572:1:0;22525:7;:22;-1:-1:-1;47231:664:0:o;29732:295::-;-1:-1:-1;;;;;29835:24:0;;752:10;29835:24;;29827:62;;;;-1:-1:-1;;;29827:62:0;;10280:2:1;29827:62:0;;;10262:21:1;10319:2;10299:18;;;10292:30;10358:27;10338:18;;;10331:55;10403:18;;29827:62:0;10252:175:1;29827:62:0;752:10;29902:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;29902:42:0;;;;;;;;;;:53;;-1:-1:-1;;29902:53:0;;;;;;;:42;-1:-1:-1;;;;;29971:48:0;;30010:8;29971:48;;;;7478:14:1;7471:22;7453:41;;7441:2;7426:18;;7408:92;29971:48:0;;;;;;;;29732:295;;:::o;52390:108::-;18779:7;18806:6;-1:-1:-1;;;;;18806:6:0;752:10;18953:23;18945:68;;;;-1:-1:-1;;;18945:68:0;;;;;;;:::i;:::-;52439:8:::1;:15:::0;;-1:-1:-1;;52465:25:0;;;;;52390:108::o;30927:285::-;31059:41;752:10;31092:7;31059:18;:41::i;:::-;31051:103;;;;-1:-1:-1;;;31051:103:0;;;;;;;:::i;:::-;31165:39;31179:4;31185:2;31189:7;31198:5;31165:13;:39::i;:::-;30927:285;;;;:::o;53495:151::-;18779:7;18806:6;-1:-1:-1;;;;;18806:6:0;752:10;18953:23;18945:68;;;;-1:-1:-1;;;18945:68:0;;;;;;;:::i;:::-;53566:21:::1;53614:7;18779::::0;18806:6;-1:-1:-1;;;;;18806:6:0;18733:87;;53614:7:::1;-1:-1:-1::0;;;;;53606:21:0::1;:31;53628:8;53606:31;;;;;;;;;;;;;;;;;;;;;;;53598:40;;;::::0;::::1;50587:415:::0;50675:7;46678:6;50738:10;50722:13;40430:10;:17;40342:113;;50722:13;:26;;;;:::i;:::-;:45;;50700:130;;;;-1:-1:-1;;;50700:130:0;;15721:2:1;50700:130:0;;;15703:21:1;15760:2;15740:18;;;15733:30;15799:34;15779:18;;;15772:62;-1:-1:-1;;;15850:18:1;;;15843:33;15893:19;;50700:130:0;15693:225:1;50700:130:0;46158:4;50863:10;:34;;50841:116;;;;-1:-1:-1;;;50841:116:0;;13420:2:1;50841:116:0;;;13402:21:1;;;13439:18;;;13432:30;13498:34;13478:18;;;13471:62;13550:18;;50841:116:0;13392:182:1;50841:116:0;50988:6;;50975:19;;:10;:19;:::i;51721:472::-;51807:13;51838:18;51859:10;:8;:10::i;:::-;51838:31;;51880:23;51906:26;51923:8;51906:16;:26::i;:::-;51943:30;;;;;;;;;;;;-1:-1:-1;;;51943:30:0;;;;52049:18;;51880:52;;-1:-1:-1;51943:30:0;52045:72;;-1:-1:-1;52096:9:0;-1:-1:-1;52089:16:0;;-1:-1:-1;52089:16:0;52045:72;52160:4;52166:9;52177:6;52143:41;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;52129:56;;;;;51721:472;;;:::o;50478:99::-;50522:13;50554:15;50547:22;;;;;:::i;51010:485::-;51098:16;51132;51151:17;51161:6;51151:9;:17::i;:::-;51132:36;-1:-1:-1;51183:13:0;51179:309;;-1:-1:-1;;51220:16:0;;;51234:1;51220:16;;;;;;;;51213:23;;51179:309;51269:23;51309:8;51295:23;;;;;;-1:-1:-1;;;51295:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51295:23:0;;51269:49;;51338:9;51333:116;51357:8;51353:1;:12;51333:116;;;51403:30;51423:6;51431:1;51403:19;:30::i;:::-;51391:6;51398:1;51391:9;;;;;;-1:-1:-1;;;51391:9:0;;;;;;;;;;;;;;;;;;:42;51367:3;;;;:::i;:::-;;;;51333:116;;;-1:-1:-1;51470:6:0;-1:-1:-1;51463:13:0;;-1:-1:-1;51463:13:0;51179:309;51010:485;;;;:::o;52585:531::-;18779:7;18806:6;-1:-1:-1;;;;;18806:6:0;752:10;18953:23;18945:68;;;;-1:-1:-1;;;18945:68:0;;;;;;;:::i;:::-;52791:4:::1;52770:18;;:25;52762:76;;;::::0;-1:-1:-1;;;52762:76:0;;17301:2:1;52762:76:0::1;::::0;::::1;17283:21:1::0;17340:2;17320:18;;;17313:30;17379:34;17359:18;;;17352:62;-1:-1:-1;;;17430:18:1;;;17423:36;17476:19;;52762:76:0::1;17273:228:1::0;52762:76:0::1;-1:-1:-1::0;;;;;52857:23:0;::::1;;::::0;;;:13:::1;:23;::::0;;;;;52894:2:::1;::::0;52857:34:::1;::::0;52883:8;;52857:34:::1;:::i;:::-;:39;52849:87;;;::::0;-1:-1:-1;;;52849:87:0;;18111:2:1;52849:87:0::1;::::0;::::1;18093:21:1::0;18150:2;18130:18;;;18123:30;18189:34;18169:18;;;18162:62;-1:-1:-1;;;18240:18:1;;;18233:33;18283:19;;52849:87:0::1;18083:225:1::0;52849:87:0::1;-1:-1:-1::0;;;;;52967:23:0;::::1;52947:17;52967:23:::0;;;:13:::1;:23;::::0;;;;;53027:20:::1;53039:8:::0;52967:23;53027:20:::1;:::i;:::-;-1:-1:-1::0;;;;;53001:23:0;::::1;;::::0;;;:13:::1;:23;::::0;;;;:46;53079:18:::1;::::0;:29:::1;::::0;53100:8;;53079:29:::1;:::i;:::-;53058:18;:50:::0;-1:-1:-1;;;52585:531:0:o;19687:244::-;18779:7;18806:6;-1:-1:-1;;;;;18806:6:0;752:10;18953:23;18945:68;;;;-1:-1:-1;;;18945:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19776:22:0;::::1;19768:73;;;::::0;-1:-1:-1;;;19768:73:0;;9111:2:1;19768:73:0::1;::::0;::::1;9093:21:1::0;9150:2;9130:18;;;9123:30;9189:34;9169:18;;;9162:62;-1:-1:-1;;;9240:18:1;;;9233:36;9286:19;;19768:73:0::1;9083:228:1::0;19768:73:0::1;19878:6;::::0;;19857:38:::1;::::0;-1:-1:-1;;;;;19857:38:0;;::::1;::::0;19878:6;::::1;::::0;19857:38:::1;::::0;::::1;19906:6;:17:::0;;-1:-1:-1;;;;;;19906:17:0::1;-1:-1:-1::0;;;;;19906:17:0;;;::::1;::::0;;;::::1;::::0;;19687:244::o;47937:488::-;46158:4;48000:10;:34;;47992:72;;;;-1:-1:-1;;;47992:72:0;;14965:2:1;47992:72:0;;;14947:21:1;15004:2;14984:18;;;14977:30;15043:27;15023:18;;;15016:55;15088:18;;47992:72:0;14937:175:1;47992:72:0;48113:19;;48077:33;48143:217;48167:10;48163:1;:14;48143:217;;;48199:18;48220:38;48244:10;48256:1;48220:23;:38::i;:::-;48199:59;;48273:33;48283:10;48295;48273:9;:33::i;:::-;48321:27;;;;:::i;:::-;;;;48143:217;48179:3;;;;;:::i;:::-;;;;48143:217;;;-1:-1:-1;48370:19:0;:47;-1:-1:-1;47937:488:0:o;39693:233::-;39795:4;-1:-1:-1;;;;;;39819:50:0;;-1:-1:-1;;;39819:50:0;;:99;;;39882:36;39906:11;39882:23;:36::i;36556:174::-;36631:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;36631:29:0;-1:-1:-1;;;;;36631:29:0;;;;;;;;:24;;36685:23;36631:24;36685:14;:23::i;:::-;-1:-1:-1;;;;;36676:46:0;;;;;;;;;;;36556:174;;:::o;32973:348::-;33066:4;32768:16;;;:7;:16;;;;;;-1:-1:-1;;;;;32768:16:0;33083:73;;;;-1:-1:-1;;;33083:73:0;;10634:2:1;33083:73:0;;;10616:21:1;10673:2;10653:18;;;10646:30;10712:34;10692:18;;;10685:62;-1:-1:-1;;;10763:18:1;;;10756:42;10815:19;;33083:73:0;10606:234:1;33083:73:0;33167:13;33183:23;33198:7;33183:14;:23::i;:::-;33167:39;;33236:5;-1:-1:-1;;;;;33225:16:0;:7;-1:-1:-1;;;;;33225:16:0;;:51;;;;33269:7;-1:-1:-1;;;;;33245:31:0;:20;33257:7;33245:11;:20::i;:::-;-1:-1:-1;;;;;33245:31:0;;33225:51;:87;;;-1:-1:-1;;;;;;30219:25:0;;;30195:4;30219:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;33280:32;33217:96;32973:348;-1:-1:-1;;;;32973:348:0:o;35894:544::-;36019:4;-1:-1:-1;;;;;35992:31:0;:23;36007:7;35992:14;:23::i;:::-;-1:-1:-1;;;;;35992:31:0;;35984:85;;;;-1:-1:-1;;;35984:85:0;;14555:2:1;35984:85:0;;;14537:21:1;14594:2;14574:18;;;14567:30;14633:34;14613:18;;;14606:62;-1:-1:-1;;;14684:18:1;;;14677:39;14733:19;;35984:85:0;14527:231:1;35984:85:0;-1:-1:-1;;;;;36088:16:0;;36080:65;;;;-1:-1:-1;;;36080:65:0;;9875:2:1;36080:65:0;;;9857:21:1;9914:2;9894:18;;;9887:30;9953:34;9933:18;;;9926:62;-1:-1:-1;;;10004:18:1;;;9997:34;10048:19;;36080:65:0;9847:226:1;36080:65:0;36158:39;36179:4;36185:2;36189:7;36158:20;:39::i;:::-;36262:29;36279:1;36283:7;36262:8;:29::i;:::-;-1:-1:-1;;;;;36304:15:0;;;;;;:9;:15;;;;;:20;;36323:1;;36304:15;:20;;36323:1;;36304:20;:::i;:::-;;;;-1:-1:-1;;;;;;;36335:13:0;;;;;;:9;:13;;;;;:18;;36352:1;;36335:13;:18;;36352:1;;36335:18;:::i;:::-;;;;-1:-1:-1;;36364:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;36364:21:0;-1:-1:-1;;;;;36364:21:0;;;;;;;;;36403:27;;36364:16;;36403:27;;;;;;;35894:544;;;:::o;32094:272::-;32208:28;32218:4;32224:2;32228:7;32208:9;:28::i;:::-;32255:48;32278:4;32284:2;32288:7;32297:5;32255:22;:48::i;:::-;32247:111;;;;-1:-1:-1;;;32247:111:0;;;;;;;:::i;51599:114::-;51659:13;51692;51685:20;;;;;:::i;24044:723::-;24100:13;24321:10;24317:53;;-1:-1:-1;24348:10:0;;;;;;;;;;;;-1:-1:-1;;;24348:10:0;;;;;;24317:53;24395:5;24380:12;24436:78;24443:9;;24436:78;;24469:8;;;;:::i;:::-;;-1:-1:-1;24492:10:0;;-1:-1:-1;24500:2:0;24492:10;;:::i;:::-;;;24436:78;;;24524:19;24556:6;24546:17;;;;;;-1:-1:-1;;;24546:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24546:17:0;;24524:39;;24574:154;24581:10;;24574:154;;24608:11;24618:1;24608:11;;:::i;:::-;;-1:-1:-1;24677:10:0;24685:2;24677:5;:10;:::i;:::-;24664:24;;:2;:24;:::i;:::-;24651:39;;24634:6;24641;24634:14;;;;;;-1:-1:-1;;;24634:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;24634:56:0;;;;;;;;-1:-1:-1;24705:11:0;24714:2;24705:11;;:::i;:::-;;;24574:154;;48433:629;48527:7;;48664:10;48697:11;48731:12;48766:15;48814:16;48829:1;48731:12;48814:16;:::i;:::-;48631:278;;;-1:-1:-1;;;;;6368:32:1;;;48631:278:0;;;6350:51:1;6417:18;;6410:34;;;;6460:18;;;6453:34;;;;6503:18;;;6496:34;48804:27:0;6546:19:1;;;6539:35;6590:19;;;6583:35;;;6634:19;;;6627:35;;;6322:19;;48631:278:0;;;;;;;;;;;;48603:321;;;;;;48581:354;;48552:383;;48946:19;48980;;48968:9;:31;;;;:::i;:::-;48946:53;;49017:37;49042:11;49017:24;:37::i;:::-;49010:44;48433:629;-1:-1:-1;;;;;48433:629:0:o;33663:110::-;33739:26;33749:2;33753:7;33739:26;;;;;;;;;;;;:9;:26::i;27063:284::-;27165:4;-1:-1:-1;;;;;;27189:40:0;;-1:-1:-1;;;27189:40:0;;:101;;-1:-1:-1;;;;;;;27242:48:0;;-1:-1:-1;;;27242:48:0;27189:101;:150;;;-1:-1:-1;;;;;;;;;;9672:40:0;;;27303:36;9563:157;53841:215;54003:45;54030:4;54036:2;54040:7;54003:26;:45::i;37295:839::-;37412:4;-1:-1:-1;;;;;37438:13:0;;10802:20;10841:8;37434:693;;37474:72;;-1:-1:-1;;;37474:72:0;;-1:-1:-1;;;;;37474:36:0;;;;;:72;;752:10;;37525:4;;37531:7;;37540:5;;37474:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37474:72:0;;;;;;;;-1:-1:-1;;37474:72:0;;;;;;;;;;;;:::i;:::-;;;37470:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37720:13:0;;37716:341;;37763:60;;-1:-1:-1;;;37763:60:0;;;;;;;:::i;37716:341::-;38007:6;38001:13;37992:6;37988:2;37984:15;37977:38;37470:602;-1:-1:-1;;;;;;37597:55:0;-1:-1:-1;;;37597:55:0;;-1:-1:-1;37590:62:0;;37434:693;-1:-1:-1;38111:4:0;37295:839;;;;;;:::o;49070:1311::-;49152:7;49177:18;49198:16;49215:10;49198:28;;;;;-1:-1:-1;;;49198:28:0;;;;;;;;;;;;-1:-1:-1;49237:14:0;49266:15;49262:292;;-1:-1:-1;49379:10:0;49262:292;;;-1:-1:-1;49532:10:0;49262:292;49566:17;49608:1;49586:19;;:23;;;;:::i;:::-;49566:43;;49638:9;49624:10;:23;49620:696;;49871:22;49896:16;49913:9;49896:27;;;;;-1:-1:-1;;;49896:27:0;;;;;;;;;;;;-1:-1:-1;49942:19:0;49938:367;;50089:9;50058:16;50075:10;50058:28;;;;;-1:-1:-1;;;50058:28:0;;;;;;;;;;:40;49938:367;;;50275:14;50244:16;50261:10;50244:28;;;;;-1:-1:-1;;;50244:28:0;;;;;;;;;;:45;49938:367;49620:696;;50328:19;:21;;;:19;:21;;;:::i;:::-;;;;-1:-1:-1;50367:6:0;;49070:1311;-1:-1:-1;;;;;49070:1311:0:o;34000:250::-;34096:18;34102:2;34106:7;34096:5;:18::i;:::-;34133:54;34164:1;34168:2;34172:7;34181:5;34133:22;:54::i;:::-;34125:117;;;;-1:-1:-1;;;34125:117:0;;;;;;;:::i;41378:555::-;-1:-1:-1;;;;;41550:18:0;;41546:187;;41585:40;41617:7;42760:10;:17;;42733:24;;;;:15;:24;;;;;:44;;;42788:24;;;;;;;;;;;;42656:164;41585:40;41546:187;;;41655:2;-1:-1:-1;;;;;41647:10:0;:4;-1:-1:-1;;;;;41647:10:0;;41643:90;;41674:47;41707:4;41713:7;41674:32;:47::i;:::-;-1:-1:-1;;;;;41747:16:0;;41743:183;;41780:45;41817:7;41780:36;:45::i;:::-;41743:183;;;41853:4;-1:-1:-1;;;;;41847:10:0;:2;-1:-1:-1;;;;;41847:10:0;;41843:83;;41874:40;41902:2;41906:7;41874:27;:40::i;34586:382::-;-1:-1:-1;;;;;34666:16:0;;34658:61;;;;-1:-1:-1;;;34658:61:0;;13059:2:1;34658:61:0;;;13041:21:1;;;13078:18;;;13071:30;13137:34;13117:18;;;13110:62;13189:18;;34658:61:0;13031:182:1;34658:61:0;32744:4;32768:16;;;:7;:16;;;;;;-1:-1:-1;;;;;32768:16:0;:30;34730:58;;;;-1:-1:-1;;;34730:58:0;;9518:2:1;34730:58:0;;;9500:21:1;9557:2;9537:18;;;9530:30;9596;9576:18;;;9569:58;9644:18;;34730:58:0;9490:178:1;34730:58:0;34801:45;34830:1;34834:2;34838:7;34801:20;:45::i;:::-;-1:-1:-1;;;;;34859:13:0;;;;;;:9;:13;;;;;:18;;34876:1;;34859:13;:18;;34876:1;;34859:18;:::i;:::-;;;;-1:-1:-1;;34888:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34888:21:0;-1:-1:-1;;;;;34888:21:0;;;;;;;;34927:33;;34888:16;;;34927:33;;34888:16;;34927:33;34586:382;;:::o;43447:988::-;43713:22;43763:1;43738:22;43755:4;43738:16;:22::i;:::-;:26;;;;:::i;:::-;43775:18;43796:26;;;:17;:26;;;;;;43713:51;;-1:-1:-1;43929:28:0;;;43925:328;;-1:-1:-1;;;;;43996:18:0;;43974:19;43996:18;;;:12;:18;;;;;;;;:34;;;;;;;;;44047:30;;;;;;:44;;;44164:30;;:17;:30;;;;;:43;;;43925:328;-1:-1:-1;44349:26:0;;;;:17;:26;;;;;;;;44342:33;;;-1:-1:-1;;;;;44393:18:0;;;;;:12;:18;;;;;:34;;;;;;;44386:41;43447:988::o;44730:1079::-;45008:10;:17;44983:22;;45008:21;;45028:1;;45008:21;:::i;:::-;45040:18;45061:24;;;:15;:24;;;;;;45434:10;:26;;44983:46;;-1:-1:-1;45061:24:0;;44983:46;;45434:26;;;;-1:-1:-1;;;45434:26:0;;;;;;;;;;;;;;;;;45412:48;;45498:11;45473:10;45484;45473:22;;;;;;-1:-1:-1;;;45473:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;45578:28;;;:15;:28;;;;;;;:41;;;45750:24;;;;;45743:31;45785:10;:16;;;;;-1:-1:-1;;;45785:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;44730:1079;;;;:::o;42234:221::-;42319:14;42336:20;42353:2;42336:16;:20::i;:::-;-1:-1:-1;;;;;42367:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;42412:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;42234:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;828:196;;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;:::-;979:39;898:126;-1:-1:-1;;;898:126:1:o;1029:270::-;;;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;;;;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;;;;;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:1;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;;;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;;;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:1:o;2989:255::-;;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:1;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:1;;4068:120;-1:-1:-1;4068:120:1:o;4193:257::-;;4272:5;4266:12;4299:6;4294:3;4287:19;4315:63;4371:6;4364:4;4359:3;4355:14;4348:4;4341:5;4337:16;4315:63;:::i;:::-;4432:2;4411:15;-1:-1:-1;;4407:29:1;4398:39;;;;4439:4;4394:50;;4242:208;-1:-1:-1;;4242:208:1:o;4455:664::-;;4720:6;4714:13;4736:53;4782:6;4777:3;4770:4;4762:6;4758:17;4736:53;:::i;:::-;4852:13;;4811:16;;;;4874:57;4852:13;4811:16;4908:4;4896:17;;4874:57;:::i;:::-;4998:13;;4953:20;;;5020:57;4998:13;4953:20;5054:4;5042:17;;5020:57;:::i;:::-;5093:20;;4690:429;-1:-1:-1;;;;;4690:429:1:o;5542:488::-;-1:-1:-1;;;;;5811:15:1;;;5793:34;;5863:15;;5858:2;5843:18;;5836:43;5910:2;5895:18;;5888:34;;;5958:3;5953:2;5938:18;;5931:31;;;5542:488;;5979:45;;6004:19;;5996:6;5979:45;:::i;:::-;5971:53;5745:285;-1:-1:-1;;;;;;5745:285:1:o;6673:635::-;6844:2;6896:21;;;6966:13;;6869:18;;;6988:22;;;6673:635;;6844:2;7067:15;;;;7041:2;7026:18;;;6673:635;7113:169;7127:6;7124:1;7121:13;7113:169;;;7188:13;;7176:26;;7257:15;;;;7222:12;;;;7149:1;7142:9;7113:169;;;-1:-1:-1;7299:3:1;;6824:484;-1:-1:-1;;;;;;6824:484:1:o;7505:219::-;;7654:2;7643:9;7636:21;7674:44;7714:2;7703:9;7699:18;7691:6;7674:44;:::i;8490:414::-;8692:2;8674:21;;;8731:2;8711:18;;;8704:30;8770:34;8765:2;8750:18;;8743:62;-1:-1:-1;;;8836:2:1;8821:18;;8814:48;8894:3;8879:19;;8664:240::o;13992:356::-;14194:2;14176:21;;;14213:18;;;14206:30;14272:34;14267:2;14252:18;;14245:62;14339:2;14324:18;;14166:182::o;16268:413::-;16470:2;16452:21;;;16509:2;16489:18;;;16482:30;16548:34;16543:2;16528:18;;16521:62;-1:-1:-1;;;16614:2:1;16599:18;;16592:47;16671:3;16656:19;;16442:239::o;18855:128::-;;18926:1;18922:6;18919:1;18916:13;18913:2;;;18932:18;;:::i;:::-;-1:-1:-1;18968:9:1;;18903:80::o;18988:120::-;;19054:1;19044:2;;19059:18;;:::i;:::-;-1:-1:-1;19093:9:1;;19034:74::o;19113:168::-;;19219:1;19215;19211:6;19207:14;19204:1;19201:21;19196:1;19189:9;19182:17;19178:45;19175:2;;;19226:18;;:::i;:::-;-1:-1:-1;19266:9:1;;19165:116::o;19286:125::-;;19354:1;19351;19348:8;19345:2;;;19359:18;;:::i;:::-;-1:-1:-1;19396:9:1;;19335:76::o;19416:258::-;19488:1;19498:113;19512:6;19509:1;19506:13;19498:113;;;19588:11;;;19582:18;19569:11;;;19562:39;19534:2;19527:10;19498:113;;;19629:6;19626:1;19623:13;19620:2;;;-1:-1:-1;;19664:1:1;19646:16;;19639:27;19469:205::o;19679:136::-;;19746:5;19736:2;;19755:18;;:::i;:::-;-1:-1:-1;;;19791:18:1;;19726:89::o;19820:380::-;19899:1;19895:12;;;;19942;;;19963:2;;20017:4;20009:6;20005:17;19995:27;;19963:2;20070;20062:6;20059:14;20039:18;20036:38;20033:2;;;20116:10;20111:3;20107:20;20104:1;20097:31;20151:4;20148:1;20141:15;20179:4;20176:1;20169:15;20205:135;;-1:-1:-1;;20265:17:1;;20262:2;;;20285:18;;:::i;:::-;-1:-1:-1;20332:1:1;20321:13;;20252:88::o;20345:112::-;;20403:1;20393:2;;20408:18;;:::i;:::-;-1:-1:-1;20442:9:1;;20383:74::o;20462:127::-;20523:10;20518:3;20514:20;20511:1;20504:31;20554:4;20551:1;20544:15;20578:4;20575:1;20568:15;20594:127;20655:10;20650:3;20646:20;20643:1;20636:31;20686:4;20683:1;20676:15;20710:4;20707:1;20700:15;20726:127;20787:10;20782:3;20778:20;20775:1;20768:31;20818:4;20815:1;20808:15;20842:4;20839:1;20832:15;20858:131;-1:-1:-1;;;;;;20932:32:1;;20922:43;;20912:2;;20979:1;20976;20969:12
Swarm Source
ipfs://3a202244bdc7bfe2fa65266a7b6fc70eef759f39fbf1c300241c8e41ec725dd8
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.