ERC-721
Overview
Max Total Supply
333 OPSC
Holders
195
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 OPSCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OPSumoClub
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-16 */ //SPDX-License-Identifier: UNLISENCED pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } 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 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 Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } 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; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } abstract contract Ownable { address public owner; constructor() { owner = msg.sender; } modifier onlyOwner { require(owner == msg.sender, "Not Owner!"); _; } function transferOwnership(address new_) external onlyOwner { owner = new_; } } interface IRender { function tokenURI(uint256 tokenId) external view returns (string memory); } /* 強すぎる相撲クラブ(フルオンチェーン) */ contract OPSumoClub is ERC721, Ownable { address public constant burnAddress = 0x000000000000000000000000000000000000dEaD; bool public paused; uint256 public totalSupply = 0; uint256 public constant maxToken = 333; uint256[] public sumoDNA; IRender private Render; IERC721 private OPSC; constructor () ERC721 ("OPSumoClub","OPSC") {} function ownerMint(address _address, uint256[] calldata tokenIds) external onlyOwner { uint256 l = tokenIds.length; uint256 i; unchecked { do { require(0 < tokenIds[i] && tokenIds[i] < 334, "Between 1 to 333"); require(totalSupply + l <= maxToken, "No more NFTs"); _mint(_address, tokenIds[i]); } while (++i < l); } totalSupply += l; } function sumoMint(uint256[] calldata tokenIds) external onlySender { require(paused, "Paused"); uint256 l = tokenIds.length; uint256 i; unchecked { do { require(msg.sender == OPSC.ownerOf(tokenIds[i]), "You do not own this"); require(totalSupply + l <= maxToken, "No more NFTs"); OPSC.transferFrom(msg.sender, burnAddress, tokenIds[i]); _mint(msg.sender, tokenIds[i]); } while (++i < l); } totalSupply += l; } modifier onlySender() { require(msg.sender == tx.origin, "No smart contract"); _; } function _addDNA(uint256 _dna) internal { sumoDNA.push(_dna); } function addManyDNA(uint256[] calldata _dna) external onlyOwner { for (uint256 i = 0; i < _dna.length; i++) { _addDNA(_dna[i]); } } function clearDNA() external onlyOwner { delete sumoDNA; } function setOPSC(address address_) external onlyOwner { OPSC = IERC721(address_); } function setRender(address _address) external onlyOwner { Render = IRender(_address); } function setPause() public onlyOwner { paused = !paused; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "Sumo not found"); return Render.tokenURI(tokenId); } }
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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256[]","name":"_dna","type":"uint256[]"}],"name":"addManyDNA","outputs":[],"stateMutability":"nonpayable","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":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearDNA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"setOPSC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setRender","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sumoDNA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"sumoMint","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":"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":"new_","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260006007553480156200001657600080fd5b50604080518082018252600a81526927a829bab6b7a1b63ab160b11b6020808301918252835180850190945260048452634f50534360e01b908401528151919291620000659160009162000096565b5080516200007b90600190602084019062000096565b5050600680546001600160a01b031916331790555062000179565b828054620000a4906200013c565b90600052602060002090601f016020900481019282620000c8576000855562000113565b82601f10620000e357805160ff191683800117855562000113565b8280016001018555821562000113579182015b8281111562000113578251825591602001919060010190620000f6565b506200012192915062000125565b5090565b5b8082111562000121576000815560010162000126565b600181811c908216806200015157607f821691505b602082108114156200017357634e487b7160e01b600052602260045260246000fd5b50919050565b611b1c80620001896000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80638da5cb5b116100f9578063ca69e32311610097578063e985e9c511610071578063e985e9c514610364578063f0c136cb146103a0578063f2fde38b146103b3578063ff44db62146103c657600080fd5b8063ca69e32314610340578063d431b1ac14610349578063e16cdee91461035157600080fd5b8063a3488b00116100d3578063a3488b00146102ff578063b88d4fde14610312578063bc68a65614610325578063c87b56dd1461032d57600080fd5b80638da5cb5b146102d157806395d89b41146102e4578063a22cb465146102ec57600080fd5b806323b872dd116101665780636352211e116101405780636352211e1461028f578063680269c0146102a257806370a08231146102b557806370d5ae05146102c857600080fd5b806323b872dd1461025557806342842e0e146102685780635c975abb1461027b57600080fd5b806301ffc9a7146101ae578063024896e7146101d657806306fdde03146101eb578063081812fc14610200578063095ea7b31461022b57806318160ddd1461023e575b600080fd5b6101c16101bc366004611765565b6103d9565b60405190151581526020015b60405180910390f35b6101e96101e4366004611723565b61042b565b005b6101f36106cb565b6040516101cd9190611898565b61021361020e366004611816565b61075d565b6040516001600160a01b0390911681526020016101cd565b6101e96102393660046116f7565b610784565b61024760075481565b6040519081526020016101cd565b6101e961026336600461157f565b61089a565b6101e961027636600461157f565b6108cb565b6006546101c190600160a01b900460ff1681565b61021361029d366004611816565b6108e6565b6101e96102b0366004611505565b610946565b6102476102c3366004611505565b610992565b61021361dead81565b600654610213906001600160a01b031681565b6101f3610a18565b6101e96102fa3660046116c4565b610a27565b6101e961030d36600461166f565b610a36565b6101e96103203660046115c0565b610b67565b6101e9610b9f565b6101f361033b366004611816565b610bd7565b61024761014d81565b6101e9610caf565b61024761035f366004611816565b610cfa565b6101c1610372366004611546565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101e96103ae366004611505565b610d1b565b6101e96103c1366004611505565b610d67565b6101e96103d4366004611723565b610db3565b60006001600160e01b031982166380ac58cd60e01b148061040a57506001600160e01b03198216635b5e139f60e01b145b8061042557506301ffc9a760e01b6001600160e01b03198316145b92915050565b3332146104735760405162461bcd60e51b8152602060048201526011602482015270139bc81cdb585c9d0818dbdb9d1c9858dd607a1b60448201526064015b60405180910390fd5b600654600160a01b900460ff166104b55760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b604482015260640161046a565b8060005b600a546001600160a01b0316636352211e8585848181106104dc576104dc611a8f565b905060200201356040518263ffffffff1660e01b815260040161050191815260200190565b60206040518083038186803b15801561051957600080fd5b505afa15801561052d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611529565b6001600160a01b0316336001600160a01b0316146105a75760405162461bcd60e51b8152602060048201526013602482015272596f7520646f206e6f74206f776e207468697360681b604482015260640161046a565b61014d826007540111156105ec5760405162461bcd60e51b815260206004820152600c60248201526b4e6f206d6f7265204e46547360a01b604482015260640161046a565b600a546001600160a01b03166323b872dd3361dead87878681811061061357610613611a8f565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561066a57600080fd5b505af115801561067e573d6000803e3d6000fd5b505050506106a43385858481811061069857610698611a8f565b90506020020135610e4b565b6001018181106104b95781600760008282546106c091906119c8565b909155505050505050565b6060600080546106da90611a23565b80601f016020809104026020016040519081016040528092919081815260200182805461070690611a23565b80156107535780601f1061072857610100808354040283529160200191610753565b820191906000526020600020905b81548152906001019060200180831161073657829003601f168201915b5050505050905090565b600061076882610f8d565b506000908152600460205260409020546001600160a01b031690565b600061078f826108e6565b9050806001600160a01b0316836001600160a01b031614156107fd5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161046a565b336001600160a01b038216148061081957506108198133610372565b61088b5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161046a565b6108958383610fef565b505050565b6108a4338261105d565b6108c05760405162461bcd60e51b815260040161046a90611921565b6108958383836110dc565b61089583838360405180602001604052806000815250610b67565b6000818152600260205260408120546001600160a01b0316806104255760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161046a565b6006546001600160a01b031633146109705760405162461bcd60e51b815260040161046a906118ab565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166109fc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161046a565b506001600160a01b031660009081526003602052604090205490565b6060600180546106da90611a23565b610a32338383611278565b5050565b6006546001600160a01b03163314610a605760405162461bcd60e51b815260040161046a906118ab565b8060005b838382818110610a7657610a76611a8f565b905060200201356000108015610aa5575061014e848483818110610a9c57610a9c611a8f565b90506020020135105b610ae45760405162461bcd60e51b815260206004820152601060248201526f4265747765656e203120746f2033333360801b604482015260640161046a565b61014d82600754011115610b295760405162461bcd60e51b815260206004820152600c60248201526b4e6f206d6f7265204e46547360a01b604482015260640161046a565b610b3f8585858481811061069857610698611a8f565b600101818110610a64578160076000828254610b5b91906119c8565b90915550505050505050565b610b71338361105d565b610b8d5760405162461bcd60e51b815260040161046a90611921565b610b9984848484611347565b50505050565b6006546001600160a01b03163314610bc95760405162461bcd60e51b815260040161046a906118ab565b610bd560086000611487565b565b6000818152600260205260409020546060906001600160a01b0316610c2f5760405162461bcd60e51b815260206004820152600e60248201526d14dd5b5bc81b9bdd08199bdd5b9960921b604482015260640161046a565b60095460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd9060240160006040518083038186803b158015610c7357600080fd5b505afa158015610c87573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610425919081019061179f565b6006546001600160a01b03163314610cd95760405162461bcd60e51b815260040161046a906118ab565b6006805460ff60a01b198116600160a01b9182900460ff1615909102179055565b60088181548110610d0a57600080fd5b600091825260209091200154905081565b6006546001600160a01b03163314610d455760405162461bcd60e51b815260040161046a906118ab565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610d915760405162461bcd60e51b815260040161046a906118ab565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610ddd5760405162461bcd60e51b815260040161046a906118ab565b60005b8181101561089557610e39838383818110610dfd57610dfd611a8f565b90506020020135600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b80610e4381611a5e565b915050610de0565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161046a565b6000818152600260205260409020546001600160a01b031615610f065760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161046a565b6001600160a01b0382166000908152600360205260408120805460019290610f2f9084906119c8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260409020546001600160a01b0316610fec5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161046a565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611024826108e6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611069836108e6565b9050806001600160a01b0316846001600160a01b031614806110b057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806110d45750836001600160a01b03166110c98461075d565b6001600160a01b0316145b949350505050565b826001600160a01b03166110ef826108e6565b6001600160a01b0316146111535760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161046a565b6001600160a01b0382166111b55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161046a565b6111c0600082610fef565b6001600160a01b03831660009081526003602052604081208054600192906111e99084906119e0565b90915550506001600160a01b03821660009081526003602052604081208054600192906112179084906119c8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031614156112da5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161046a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6113528484846110dc565b61135e8484848461137a565b610b995760405162461bcd60e51b815260040161046a906118cf565b60006001600160a01b0384163b1561147c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906113be90339089908890889060040161185b565b602060405180830381600087803b1580156113d857600080fd5b505af1925050508015611408575060408051601f3d908101601f1916820190925261140591810190611782565b60015b611462573d808015611436576040519150601f19603f3d011682016040523d82523d6000602084013e61143b565b606091505b50805161145a5760405162461bcd60e51b815260040161046a906118cf565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110d4565b506001949350505050565b5080546000825590600052602060002090810190610fec91905b808211156114b557600081556001016114a1565b5090565b60008083601f8401126114cb57600080fd5b50813567ffffffffffffffff8111156114e357600080fd5b6020830191508360208260051b85010111156114fe57600080fd5b9250929050565b60006020828403121561151757600080fd5b813561152281611abb565b9392505050565b60006020828403121561153b57600080fd5b815161152281611abb565b6000806040838503121561155957600080fd5b823561156481611abb565b9150602083013561157481611abb565b809150509250929050565b60008060006060848603121561159457600080fd5b833561159f81611abb565b925060208401356115af81611abb565b929592945050506040919091013590565b600080600080608085870312156115d657600080fd5b84356115e181611abb565b935060208501356115f181611abb565b925060408501359150606085013567ffffffffffffffff81111561161457600080fd5b8501601f8101871361162557600080fd5b8035611638611633826119a0565b61196f565b81815288602083850101111561164d57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060006040848603121561168457600080fd5b833561168f81611abb565b9250602084013567ffffffffffffffff8111156116ab57600080fd5b6116b7868287016114b9565b9497909650939450505050565b600080604083850312156116d757600080fd5b82356116e281611abb565b91506020830135801515811461157457600080fd5b6000806040838503121561170a57600080fd5b823561171581611abb565b946020939093013593505050565b6000806020838503121561173657600080fd5b823567ffffffffffffffff81111561174d57600080fd5b611759858286016114b9565b90969095509350505050565b60006020828403121561177757600080fd5b813561152281611ad0565b60006020828403121561179457600080fd5b815161152281611ad0565b6000602082840312156117b157600080fd5b815167ffffffffffffffff8111156117c857600080fd5b8201601f810184136117d957600080fd5b80516117e7611633826119a0565b8181528560208385010111156117fc57600080fd5b61180d8260208301602086016119f7565b95945050505050565b60006020828403121561182857600080fd5b5035919050565b600081518084526118478160208601602086016119f7565b601f01601f19169290920160200192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061188e9083018461182f565b9695505050505050565b602081526000611522602083018461182f565b6020808252600a90820152694e6f74204f776e65722160b01b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561199857611998611aa5565b604052919050565b600067ffffffffffffffff8211156119ba576119ba611aa5565b50601f01601f191660200190565b600082198211156119db576119db611a79565b500190565b6000828210156119f2576119f2611a79565b500390565b60005b83811015611a125781810151838201526020016119fa565b83811115610b995750506000910152565b600181811c90821680611a3757607f821691505b60208210811415611a5857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a7257611a72611a79565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610fec57600080fd5b6001600160e01b031981168114610fec57600080fdfea2646970667358221220b207f51854f39ba5f6687d55e6f86d6d762720f49f74b31c02a00ebb4d10df8164736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80638da5cb5b116100f9578063ca69e32311610097578063e985e9c511610071578063e985e9c514610364578063f0c136cb146103a0578063f2fde38b146103b3578063ff44db62146103c657600080fd5b8063ca69e32314610340578063d431b1ac14610349578063e16cdee91461035157600080fd5b8063a3488b00116100d3578063a3488b00146102ff578063b88d4fde14610312578063bc68a65614610325578063c87b56dd1461032d57600080fd5b80638da5cb5b146102d157806395d89b41146102e4578063a22cb465146102ec57600080fd5b806323b872dd116101665780636352211e116101405780636352211e1461028f578063680269c0146102a257806370a08231146102b557806370d5ae05146102c857600080fd5b806323b872dd1461025557806342842e0e146102685780635c975abb1461027b57600080fd5b806301ffc9a7146101ae578063024896e7146101d657806306fdde03146101eb578063081812fc14610200578063095ea7b31461022b57806318160ddd1461023e575b600080fd5b6101c16101bc366004611765565b6103d9565b60405190151581526020015b60405180910390f35b6101e96101e4366004611723565b61042b565b005b6101f36106cb565b6040516101cd9190611898565b61021361020e366004611816565b61075d565b6040516001600160a01b0390911681526020016101cd565b6101e96102393660046116f7565b610784565b61024760075481565b6040519081526020016101cd565b6101e961026336600461157f565b61089a565b6101e961027636600461157f565b6108cb565b6006546101c190600160a01b900460ff1681565b61021361029d366004611816565b6108e6565b6101e96102b0366004611505565b610946565b6102476102c3366004611505565b610992565b61021361dead81565b600654610213906001600160a01b031681565b6101f3610a18565b6101e96102fa3660046116c4565b610a27565b6101e961030d36600461166f565b610a36565b6101e96103203660046115c0565b610b67565b6101e9610b9f565b6101f361033b366004611816565b610bd7565b61024761014d81565b6101e9610caf565b61024761035f366004611816565b610cfa565b6101c1610372366004611546565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101e96103ae366004611505565b610d1b565b6101e96103c1366004611505565b610d67565b6101e96103d4366004611723565b610db3565b60006001600160e01b031982166380ac58cd60e01b148061040a57506001600160e01b03198216635b5e139f60e01b145b8061042557506301ffc9a760e01b6001600160e01b03198316145b92915050565b3332146104735760405162461bcd60e51b8152602060048201526011602482015270139bc81cdb585c9d0818dbdb9d1c9858dd607a1b60448201526064015b60405180910390fd5b600654600160a01b900460ff166104b55760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b604482015260640161046a565b8060005b600a546001600160a01b0316636352211e8585848181106104dc576104dc611a8f565b905060200201356040518263ffffffff1660e01b815260040161050191815260200190565b60206040518083038186803b15801561051957600080fd5b505afa15801561052d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611529565b6001600160a01b0316336001600160a01b0316146105a75760405162461bcd60e51b8152602060048201526013602482015272596f7520646f206e6f74206f776e207468697360681b604482015260640161046a565b61014d826007540111156105ec5760405162461bcd60e51b815260206004820152600c60248201526b4e6f206d6f7265204e46547360a01b604482015260640161046a565b600a546001600160a01b03166323b872dd3361dead87878681811061061357610613611a8f565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561066a57600080fd5b505af115801561067e573d6000803e3d6000fd5b505050506106a43385858481811061069857610698611a8f565b90506020020135610e4b565b6001018181106104b95781600760008282546106c091906119c8565b909155505050505050565b6060600080546106da90611a23565b80601f016020809104026020016040519081016040528092919081815260200182805461070690611a23565b80156107535780601f1061072857610100808354040283529160200191610753565b820191906000526020600020905b81548152906001019060200180831161073657829003601f168201915b5050505050905090565b600061076882610f8d565b506000908152600460205260409020546001600160a01b031690565b600061078f826108e6565b9050806001600160a01b0316836001600160a01b031614156107fd5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161046a565b336001600160a01b038216148061081957506108198133610372565b61088b5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161046a565b6108958383610fef565b505050565b6108a4338261105d565b6108c05760405162461bcd60e51b815260040161046a90611921565b6108958383836110dc565b61089583838360405180602001604052806000815250610b67565b6000818152600260205260408120546001600160a01b0316806104255760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161046a565b6006546001600160a01b031633146109705760405162461bcd60e51b815260040161046a906118ab565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166109fc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161046a565b506001600160a01b031660009081526003602052604090205490565b6060600180546106da90611a23565b610a32338383611278565b5050565b6006546001600160a01b03163314610a605760405162461bcd60e51b815260040161046a906118ab565b8060005b838382818110610a7657610a76611a8f565b905060200201356000108015610aa5575061014e848483818110610a9c57610a9c611a8f565b90506020020135105b610ae45760405162461bcd60e51b815260206004820152601060248201526f4265747765656e203120746f2033333360801b604482015260640161046a565b61014d82600754011115610b295760405162461bcd60e51b815260206004820152600c60248201526b4e6f206d6f7265204e46547360a01b604482015260640161046a565b610b3f8585858481811061069857610698611a8f565b600101818110610a64578160076000828254610b5b91906119c8565b90915550505050505050565b610b71338361105d565b610b8d5760405162461bcd60e51b815260040161046a90611921565b610b9984848484611347565b50505050565b6006546001600160a01b03163314610bc95760405162461bcd60e51b815260040161046a906118ab565b610bd560086000611487565b565b6000818152600260205260409020546060906001600160a01b0316610c2f5760405162461bcd60e51b815260206004820152600e60248201526d14dd5b5bc81b9bdd08199bdd5b9960921b604482015260640161046a565b60095460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd9060240160006040518083038186803b158015610c7357600080fd5b505afa158015610c87573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610425919081019061179f565b6006546001600160a01b03163314610cd95760405162461bcd60e51b815260040161046a906118ab565b6006805460ff60a01b198116600160a01b9182900460ff1615909102179055565b60088181548110610d0a57600080fd5b600091825260209091200154905081565b6006546001600160a01b03163314610d455760405162461bcd60e51b815260040161046a906118ab565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610d915760405162461bcd60e51b815260040161046a906118ab565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610ddd5760405162461bcd60e51b815260040161046a906118ab565b60005b8181101561089557610e39838383818110610dfd57610dfd611a8f565b90506020020135600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b80610e4381611a5e565b915050610de0565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161046a565b6000818152600260205260409020546001600160a01b031615610f065760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161046a565b6001600160a01b0382166000908152600360205260408120805460019290610f2f9084906119c8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260409020546001600160a01b0316610fec5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161046a565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611024826108e6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611069836108e6565b9050806001600160a01b0316846001600160a01b031614806110b057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806110d45750836001600160a01b03166110c98461075d565b6001600160a01b0316145b949350505050565b826001600160a01b03166110ef826108e6565b6001600160a01b0316146111535760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161046a565b6001600160a01b0382166111b55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161046a565b6111c0600082610fef565b6001600160a01b03831660009081526003602052604081208054600192906111e99084906119e0565b90915550506001600160a01b03821660009081526003602052604081208054600192906112179084906119c8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031614156112da5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161046a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6113528484846110dc565b61135e8484848461137a565b610b995760405162461bcd60e51b815260040161046a906118cf565b60006001600160a01b0384163b1561147c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906113be90339089908890889060040161185b565b602060405180830381600087803b1580156113d857600080fd5b505af1925050508015611408575060408051601f3d908101601f1916820190925261140591810190611782565b60015b611462573d808015611436576040519150601f19603f3d011682016040523d82523d6000602084013e61143b565b606091505b50805161145a5760405162461bcd60e51b815260040161046a906118cf565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110d4565b506001949350505050565b5080546000825590600052602060002090810190610fec91905b808211156114b557600081556001016114a1565b5090565b60008083601f8401126114cb57600080fd5b50813567ffffffffffffffff8111156114e357600080fd5b6020830191508360208260051b85010111156114fe57600080fd5b9250929050565b60006020828403121561151757600080fd5b813561152281611abb565b9392505050565b60006020828403121561153b57600080fd5b815161152281611abb565b6000806040838503121561155957600080fd5b823561156481611abb565b9150602083013561157481611abb565b809150509250929050565b60008060006060848603121561159457600080fd5b833561159f81611abb565b925060208401356115af81611abb565b929592945050506040919091013590565b600080600080608085870312156115d657600080fd5b84356115e181611abb565b935060208501356115f181611abb565b925060408501359150606085013567ffffffffffffffff81111561161457600080fd5b8501601f8101871361162557600080fd5b8035611638611633826119a0565b61196f565b81815288602083850101111561164d57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060006040848603121561168457600080fd5b833561168f81611abb565b9250602084013567ffffffffffffffff8111156116ab57600080fd5b6116b7868287016114b9565b9497909650939450505050565b600080604083850312156116d757600080fd5b82356116e281611abb565b91506020830135801515811461157457600080fd5b6000806040838503121561170a57600080fd5b823561171581611abb565b946020939093013593505050565b6000806020838503121561173657600080fd5b823567ffffffffffffffff81111561174d57600080fd5b611759858286016114b9565b90969095509350505050565b60006020828403121561177757600080fd5b813561152281611ad0565b60006020828403121561179457600080fd5b815161152281611ad0565b6000602082840312156117b157600080fd5b815167ffffffffffffffff8111156117c857600080fd5b8201601f810184136117d957600080fd5b80516117e7611633826119a0565b8181528560208385010111156117fc57600080fd5b61180d8260208301602086016119f7565b95945050505050565b60006020828403121561182857600080fd5b5035919050565b600081518084526118478160208601602086016119f7565b601f01601f19169290920160200192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061188e9083018461182f565b9695505050505050565b602081526000611522602083018461182f565b6020808252600a90820152694e6f74204f776e65722160b01b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561199857611998611aa5565b604052919050565b600067ffffffffffffffff8211156119ba576119ba611aa5565b50601f01601f191660200190565b600082198211156119db576119db611a79565b500190565b6000828210156119f2576119f2611a79565b500390565b60005b83811015611a125781810151838201526020016119fa565b83811115610b995750506000910152565b600181811c90821680611a3757607f821691505b60208210811415611a5857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a7257611a72611a79565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610fec57600080fd5b6001600160e01b031981168114610fec57600080fdfea2646970667358221220b207f51854f39ba5f6687d55e6f86d6d762720f49f74b31c02a00ebb4d10df8164736f6c63430008070033
Deployed Bytecode Sourcemap
34872:2276:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20819:305;;;;;;:::i;:::-;;:::i;:::-;;;7366:14:1;;7359:22;7341:41;;7329:2;7314:18;20819:305:0;;;;;;;;35684:513;;;;;;:::i;:::-;;:::i;:::-;;21746:100;;;:::i;:::-;;;;;;;:::i;23259:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6284:32:1;;;6266:51;;6254:2;6239:18;23259:171:0;6120:203:1;22776:417:0;;;;;;:::i;:::-;;:::i;35032:30::-;;;;;;;;;14472:25:1;;;14460:2;14445:18;35032:30:0;14326:177:1;23959:336:0;;;;;;:::i;:::-;;:::i;24366:185::-;;;;;;:::i;:::-;;:::i;35007:18::-;;;;;-1:-1:-1;;;35007:18:0;;;;;;21457:222;;;;;;:::i;:::-;;:::i;36659:97::-;;;;;;:::i;:::-;;:::i;21188:207::-;;;;;;:::i;:::-;;:::i;34920:80::-;;34958:42;34920:80;;34034:20;;;;;-1:-1:-1;;;;;34034:20:0;;;21915:104;;;:::i;23502:155::-;;;;;;:::i;:::-;;:::i;35259:417::-;;;;;;:::i;:::-;;:::i;24622:323::-;;;;;;:::i;:::-;;:::i;36579:72::-;;;:::i;36953:192::-;;;;;;:::i;:::-;;:::i;35069:38::-;;35104:3;35069:38;;36873:72;;;:::i;35114:24::-;;;;;;:::i;:::-;;:::i;23728:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;23849:25:0;;;23825:4;23849:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23728:164;36764:101;;;;;;:::i;:::-;;:::i;34180:77::-;;;;;;:::i;:::-;;:::i;36404:167::-;;;;;;:::i;:::-;;:::i;20819:305::-;20921:4;-1:-1:-1;;;;;;20958:40:0;;-1:-1:-1;;;20958:40:0;;:105;;-1:-1:-1;;;;;;;21015:48:0;;-1:-1:-1;;;21015:48:0;20958:105;:158;;;-1:-1:-1;;;;;;;;;;14128:40:0;;;21080:36;20938:178;20819:305;-1:-1:-1;;20819:305:0:o;35684:513::-;36246:10;36260:9;36246:23;36238:53;;;;-1:-1:-1;;;36238:53:0;;9674:2:1;36238:53:0;;;9656:21:1;9713:2;9693:18;;;9686:30;-1:-1:-1;;;9732:18:1;;;9725:47;9789:18;;36238:53:0;;;;;;;;;35770:6:::1;::::0;-1:-1:-1;;;35770:6:0;::::1;;;35762:25;;;::::0;-1:-1:-1;;;35762:25:0;;8158:2:1;35762:25:0::1;::::0;::::1;8140:21:1::0;8197:1;8177:18;;;8170:29;-1:-1:-1;;;8215:18:1;;;8208:36;8261:18;;35762:25:0::1;7956:329:1::0;35762:25:0::1;35810:8:::0;35798:9:::1;35859:300;35899:4;::::0;-1:-1:-1;;;;;35899:4:0::1;:12;35912:8:::0;;35921:1;35912:11;;::::1;;;;;:::i;:::-;;;;;;;35899:25;;;;;;;;;;;;;14472::1::0;;14460:2;14445:18;;14326:177;35899:25:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;35885:39:0::1;:10;-1:-1:-1::0;;;;;35885:39:0::1;;35877:71;;;::::0;-1:-1:-1;;;35877:71:0;;10020:2:1;35877:71:0::1;::::0;::::1;10002:21:1::0;10059:2;10039:18;;;10032:30;-1:-1:-1;;;10078:18:1;;;10071:49;10137:18;;35877:71:0::1;9818:343:1::0;35877:71:0::1;35104:3;35985:1;35971:11;;:15;:27;;35963:52;;;::::0;-1:-1:-1;;;35963:52:0;;13772:2:1;35963:52:0::1;::::0;::::1;13754:21:1::0;13811:2;13791:18;;;13784:30;-1:-1:-1;;;13830:18:1;;;13823:42;13882:18;;35963:52:0::1;13570:336:1::0;35963:52:0::1;36030:4;::::0;-1:-1:-1;;;;;36030:4:0::1;:17;36048:10;34958:42;36073:8:::0;;36082:1;36073:11;;::::1;;;;;:::i;:::-;36030:55;::::0;-1:-1:-1;;;;;;36030:55:0::1;::::0;;;;;;-1:-1:-1;;;;;6586:15:1;;;36030:55:0::1;::::0;::::1;6568:34:1::0;6638:15;;;;6618:18;;;6611:43;-1:-1:-1;36073:11:0::1;::::0;;::::1;;;6670:18:1::0;;;6663:34;6503:18;;36030:55:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;36100:30;36106:10;36118:8;;36127:1;36118:11;;;;;;;:::i;:::-;;;;;;;36100:5;:30::i;:::-;36150:3;;:7:::0;;::::1;35859:300;;36188:1;36173:11;;:16;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;;35684:513:0:o;21746:100::-;21800:13;21833:5;21826:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21746:100;:::o;23259:171::-;23335:7;23355:23;23370:7;23355:14;:23::i;:::-;-1:-1:-1;23398:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23398:24:0;;23259:171::o;22776:417::-;22857:13;22873:23;22888:7;22873:14;:23::i;:::-;22857:39;;22921:5;-1:-1:-1;;;;;22915:11:0;:2;-1:-1:-1;;;;;22915:11:0;;;22907:57;;;;-1:-1:-1;;;22907:57:0;;13370:2:1;22907:57:0;;;13352:21:1;13409:2;13389:18;;;13382:30;13448:34;13428:18;;;13421:62;-1:-1:-1;;;13499:18:1;;;13492:31;13540:19;;22907:57:0;13168:397:1;22907:57:0;3058:10;-1:-1:-1;;;;;22999:21:0;;;;:62;;-1:-1:-1;23024:37:0;23041:5;3058:10;23728:164;:::i;23024:37::-;22977:174;;;;-1:-1:-1;;;22977:174:0;;11537:2:1;22977:174:0;;;11519:21:1;11576:2;11556:18;;;11549:30;11615:34;11595:18;;;11588:62;11686:32;11666:18;;;11659:60;11736:19;;22977:174:0;11335:426:1;22977:174:0;23164:21;23173:2;23177:7;23164:8;:21::i;:::-;22846:347;22776:417;;:::o;23959:336::-;24154:41;3058:10;24187:7;24154:18;:41::i;:::-;24146:100;;;;-1:-1:-1;;;24146:100:0;;;;;;;:::i;:::-;24259:28;24269:4;24275:2;24279:7;24259:9;:28::i;24366:185::-;24504:39;24521:4;24527:2;24531:7;24504:39;;;;;;;;;;;;:16;:39::i;21457:222::-;21529:7;21565:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21565:16:0;21600:19;21592:56;;;;-1:-1:-1;;;21592:56:0;;13017:2:1;21592:56:0;;;12999:21:1;13056:2;13036:18;;;13029:30;-1:-1:-1;;;13075:18:1;;;13068:54;13139:18;;21592:56:0;12815:348:1;36659:97:0;34134:5;;-1:-1:-1;;;;;34134:5:0;34143:10;34134:19;34126:42;;;;-1:-1:-1;;;34126:42:0;;;;;;;:::i;:::-;36724:4:::1;:24:::0;;-1:-1:-1;;;;;;36724:24:0::1;-1:-1:-1::0;;;;;36724:24:0;;;::::1;::::0;;;::::1;::::0;;36659:97::o;21188:207::-;21260:7;-1:-1:-1;;;;;21288:19:0;;21280:73;;;;-1:-1:-1;;;21280:73:0;;11127:2:1;21280:73:0;;;11109:21:1;11166:2;11146:18;;;11139:30;11205:34;11185:18;;;11178:62;-1:-1:-1;;;11256:18:1;;;11249:39;11305:19;;21280:73:0;10925:405:1;21280:73:0;-1:-1:-1;;;;;;21371:16:0;;;;;:9;:16;;;;;;;21188:207::o;21915:104::-;21971:13;22004:7;21997:14;;;;;:::i;23502:155::-;23597:52;3058:10;23630:8;23640;23597:18;:52::i;:::-;23502:155;;:::o;35259:417::-;34134:5;;-1:-1:-1;;;;;34134:5:0;34143:10;34134:19;34126:42;;;;-1:-1:-1;;;34126:42:0;;;;;;;:::i;:::-;35367:8;35355:9:::1;35416:222;35446:8;;35455:1;35446:11;;;;;;;:::i;:::-;;;;;;;35442:1;:15;:36;;;;;35475:3;35461:8;;35470:1;35461:11;;;;;;;:::i;:::-;;;;;;;:17;35442:36;35434:65;;;::::0;-1:-1:-1;;;35434:65:0;;12329:2:1;35434:65:0::1;::::0;::::1;12311:21:1::0;12368:2;12348:18;;;12341:30;-1:-1:-1;;;12387:18:1;;;12380:46;12443:18;;35434:65:0::1;12127:340:1::0;35434:65:0::1;35104:3;35536:1;35522:11;;:15;:27;;35514:52;;;::::0;-1:-1:-1;;;35514:52:0;;13772:2:1;35514:52:0::1;::::0;::::1;13754:21:1::0;13811:2;13791:18;;;13784:30;-1:-1:-1;;;13830:18:1;;;13823:42;13882:18;;35514:52:0::1;13570:336:1::0;35514:52:0::1;35581:28;35587:8;35597;;35606:1;35597:11;;;;;;;:::i;35581:28::-;35629:3;;:7:::0;;::::1;35416:222;;35667:1;35652:11;;:16;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;35259:417:0:o;24622:323::-;24796:41;3058:10;24829:7;24796:18;:41::i;:::-;24788:100;;;;-1:-1:-1;;;24788:100:0;;;;;;;:::i;:::-;24899:38;24913:4;24919:2;24923:7;24932:4;24899:13;:38::i;:::-;24622:323;;;;:::o;36579:72::-;34134:5;;-1:-1:-1;;;;;34134:5:0;34143:10;34134:19;34126:42;;;;-1:-1:-1;;;34126:42:0;;;;;;;:::i;:::-;36629:14:::1;36636:7;;36629:14;:::i;:::-;36579:72::o:0;36953:192::-;26517:4;26541:16;;;:7;:16;;;;;;37026:13;;-1:-1:-1;;;;;26541:16:0;37052:43;;;;-1:-1:-1;;;37052:43:0;;12674:2:1;37052:43:0;;;12656:21:1;12713:2;12693:18;;;12686:30;-1:-1:-1;;;12732:18:1;;;12725:44;12786:18;;37052:43:0;12472:338:1;37052:43:0;37113:6;;:24;;-1:-1:-1;;;37113:24:0;;;;;14472:25:1;;;-1:-1:-1;;;;;37113:6:0;;;;:15;;14445:18:1;;37113:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37113:24:0;;;;;;;;;;;;:::i;36873:72::-;34134:5;;-1:-1:-1;;;;;34134:5:0;34143:10;34134:19;34126:42;;;;-1:-1:-1;;;34126:42:0;;;;;;;:::i;:::-;36931:6:::1;::::0;;-1:-1:-1;;;;36921:16:0;::::1;-1:-1:-1::0;;;36931:6:0;;;::::1;;;36930:7;36921:16:::0;;::::1;;::::0;;36873:72::o;35114:24::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35114:24:0;:::o;36764:101::-;34134:5;;-1:-1:-1;;;;;34134:5:0;34143:10;34134:19;34126:42;;;;-1:-1:-1;;;34126:42:0;;;;;;;:::i;:::-;36831:6:::1;:26:::0;;-1:-1:-1;;;;;;36831:26:0::1;-1:-1:-1::0;;;;;36831:26:0;;;::::1;::::0;;;::::1;::::0;;36764:101::o;34180:77::-;34134:5;;-1:-1:-1;;;;;34134:5:0;34143:10;34134:19;34126:42;;;;-1:-1:-1;;;34126:42:0;;;;;;;:::i;:::-;34242:5:::1;:12:::0;;-1:-1:-1;;;;;;34242:12:0::1;-1:-1:-1::0;;;;;34242:12:0;;;::::1;::::0;;;::::1;::::0;;34180:77::o;36404:167::-;34134:5;;-1:-1:-1;;;;;34134:5:0;34143:10;34134:19;34126:42;;;;-1:-1:-1;;;34126:42:0;;;;;;;:::i;:::-;36484:9:::1;36479:85;36499:15:::0;;::::1;36479:85;;;36536:16;36544:4;;36549:1;36544:7;;;;;;;:::i;:::-;;;;;;;36370::::0;:18;;;;;;;-1:-1:-1;36370:18:0;;;;;;;36319:77;36536:16:::1;36516:3:::0;::::1;::::0;::::1;:::i;:::-;;;;36479:85;;28344:439:::0;-1:-1:-1;;;;;28424:16:0;;28416:61;;;;-1:-1:-1;;;28416:61:0;;11968:2:1;28416:61:0;;;11950:21:1;;;11987:18;;;11980:30;12046:34;12026:18;;;12019:62;12098:18;;28416:61:0;11766:356:1;28416:61:0;26517:4;26541:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26541:16:0;:30;28488:58;;;;-1:-1:-1;;;28488:58:0;;9317:2:1;28488:58:0;;;9299:21:1;9356:2;9336:18;;;9329:30;9395;9375:18;;;9368:58;9443:18;;28488:58:0;9115:352:1;28488:58:0;-1:-1:-1;;;;;28617:13:0;;;;;;:9;:13;;;;;:18;;28634:1;;28617:13;:18;;28634:1;;28617:18;:::i;:::-;;;;-1:-1:-1;;28646:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28646:21:0;-1:-1:-1;;;;;28646:21:0;;;;;;;;28685:33;;28646:16;;;28685:33;;28646:16;;28685:33;23502:155;;:::o;31234:135::-;26517:4;26541:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26541:16:0;31308:53;;;;-1:-1:-1;;;31308:53:0;;13017:2:1;31308:53:0;;;12999:21:1;13056:2;13036:18;;;13029:30;-1:-1:-1;;;13075:18:1;;;13068:54;13139:18;;31308:53:0;12815:348:1;31308:53:0;31234:135;:::o;30513:174::-;30588:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30588:29:0;-1:-1:-1;;;;;30588:29:0;;;;;;;;:24;;30642:23;30588:24;30642:14;:23::i;:::-;-1:-1:-1;;;;;30633:46:0;;;;;;;;;;;30513:174;;:::o;26746:264::-;26839:4;26856:13;26872:23;26887:7;26872:14;:23::i;:::-;26856:39;;26925:5;-1:-1:-1;;;;;26914:16:0;:7;-1:-1:-1;;;;;26914:16:0;;:52;;;-1:-1:-1;;;;;;23849:25:0;;;23825:4;23849:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;26934:32;26914:87;;;;26994:7;-1:-1:-1;;;;;26970:31:0;:20;26982:7;26970:11;:20::i;:::-;-1:-1:-1;;;;;26970:31:0;;26914:87;26906:96;26746:264;-1:-1:-1;;;;26746:264:0:o;29769:625::-;29928:4;-1:-1:-1;;;;;29901:31:0;:23;29916:7;29901:14;:23::i;:::-;-1:-1:-1;;;;;29901:31:0;;29893:81;;;;-1:-1:-1;;;29893:81:0;;8911:2:1;29893:81:0;;;8893:21:1;8950:2;8930:18;;;8923:30;8989:34;8969:18;;;8962:62;-1:-1:-1;;;9040:18:1;;;9033:35;9085:19;;29893:81:0;8709:401:1;29893:81:0;-1:-1:-1;;;;;29993:16:0;;29985:65;;;;-1:-1:-1;;;29985:65:0;;10368:2:1;29985:65:0;;;10350:21:1;10407:2;10387:18;;;10380:30;10446:34;10426:18;;;10419:62;-1:-1:-1;;;10497:18:1;;;10490:34;10541:19;;29985:65:0;10166:400:1;29985:65:0;30167:29;30184:1;30188:7;30167:8;:29::i;:::-;-1:-1:-1;;;;;30209:15:0;;;;;;:9;:15;;;;;:20;;30228:1;;30209:15;:20;;30228:1;;30209:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30240:13:0;;;;;;:9;:13;;;;;:18;;30257:1;;30240:13;:18;;30257:1;;30240:18;:::i;:::-;;;;-1:-1:-1;;30269:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30269:21:0;-1:-1:-1;;;;;30269:21:0;;;;;;;;;30308:27;;30269:16;;30308:27;;;;;;;22846:347;22776:417;;:::o;30830:315::-;30985:8;-1:-1:-1;;;;;30976:17:0;:5;-1:-1:-1;;;;;30976:17:0;;;30968:55;;;;-1:-1:-1;;;30968:55:0;;10773:2:1;30968:55:0;;;10755:21:1;10812:2;10792:18;;;10785:30;10851:27;10831:18;;;10824:55;10896:18;;30968:55:0;10571:349:1;30968:55:0;-1:-1:-1;;;;;31034:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;31034:46:0;;;;;;;;;;31096:41;;7341::1;;;31096::0;;7314:18:1;31096:41:0;;;;;;;30830:315;;;:::o;25826:313::-;25982:28;25992:4;25998:2;26002:7;25982:9;:28::i;:::-;26029:47;26052:4;26058:2;26062:7;26071:4;26029:22;:47::i;:::-;26021:110;;;;-1:-1:-1;;;26021:110:0;;;;;;;:::i;31933:853::-;32087:4;-1:-1:-1;;;;;32108:13:0;;4593:19;:23;32104:675;;32144:71;;-1:-1:-1;;;32144:71:0;;-1:-1:-1;;;;;32144:36:0;;;;;:71;;3058:10;;32195:4;;32201:7;;32210:4;;32144:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32144:71:0;;;;;;;;-1:-1:-1;;32144:71:0;;;;;;;;;;;;:::i;:::-;;;32140:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32385:13:0;;32381:328;;32428:60;;-1:-1:-1;;;32428:60:0;;;;;;;:::i;32381:328::-;32659:6;32653:13;32644:6;32640:2;32636:15;32629:38;32140:584;-1:-1:-1;;;;;;32266:51:0;-1:-1:-1;;;32266:51:0;;-1:-1:-1;32259:58:0;;32104:675;-1:-1:-1;32763:4:0;31933:853;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:367:1:-;77:8;87:6;141:3;134:4;126:6;122:17;118:27;108:55;;159:1;156;149:12;108:55;-1:-1:-1;182:20:1;;225:18;214:30;;211:50;;;257:1;254;247:12;211:50;294:4;286:6;282:17;270:29;;354:3;347:4;337:6;334:1;330:14;322:6;318:27;314:38;311:47;308:67;;;371:1;368;361:12;308:67;14:367;;;;;:::o;386:247::-;445:6;498:2;486:9;477:7;473:23;469:32;466:52;;;514:1;511;504:12;466:52;553:9;540:23;572:31;597:5;572:31;:::i;:::-;622:5;386:247;-1:-1:-1;;;386:247:1:o;638:251::-;708:6;761:2;749:9;740:7;736:23;732:32;729:52;;;777:1;774;767:12;729:52;809:9;803:16;828:31;853:5;828:31;:::i;894:388::-;962:6;970;1023:2;1011:9;1002:7;998:23;994:32;991:52;;;1039:1;1036;1029:12;991:52;1078:9;1065:23;1097:31;1122:5;1097:31;:::i;:::-;1147:5;-1:-1:-1;1204:2:1;1189:18;;1176:32;1217:33;1176:32;1217:33;:::i;:::-;1269:7;1259:17;;;894:388;;;;;:::o;1287:456::-;1364:6;1372;1380;1433:2;1421:9;1412:7;1408:23;1404:32;1401:52;;;1449:1;1446;1439:12;1401:52;1488:9;1475:23;1507:31;1532:5;1507:31;:::i;:::-;1557:5;-1:-1:-1;1614:2:1;1599:18;;1586:32;1627:33;1586:32;1627:33;:::i;:::-;1287:456;;1679:7;;-1:-1:-1;;;1733:2:1;1718:18;;;;1705:32;;1287:456::o;1748:1016::-;1843:6;1851;1859;1867;1920:3;1908:9;1899:7;1895:23;1891:33;1888:53;;;1937:1;1934;1927:12;1888:53;1976:9;1963:23;1995:31;2020:5;1995:31;:::i;:::-;2045:5;-1:-1:-1;2102:2:1;2087:18;;2074:32;2115:33;2074:32;2115:33;:::i;:::-;2167:7;-1:-1:-1;2221:2:1;2206:18;;2193:32;;-1:-1:-1;2276:2:1;2261:18;;2248:32;2303:18;2292:30;;2289:50;;;2335:1;2332;2325:12;2289:50;2358:22;;2411:4;2403:13;;2399:27;-1:-1:-1;2389:55:1;;2440:1;2437;2430:12;2389:55;2476:2;2463:16;2501:48;2517:31;2545:2;2517:31;:::i;:::-;2501:48;:::i;:::-;2572:2;2565:5;2558:17;2612:7;2607:2;2602;2598;2594:11;2590:20;2587:33;2584:53;;;2633:1;2630;2623:12;2584:53;2688:2;2683;2679;2675:11;2670:2;2663:5;2659:14;2646:45;2732:1;2727:2;2722;2715:5;2711:14;2707:23;2700:34;2753:5;2743:15;;;;;1748:1016;;;;;;;:::o;2769:572::-;2864:6;2872;2880;2933:2;2921:9;2912:7;2908:23;2904:32;2901:52;;;2949:1;2946;2939:12;2901:52;2988:9;2975:23;3007:31;3032:5;3007:31;:::i;:::-;3057:5;-1:-1:-1;3113:2:1;3098:18;;3085:32;3140:18;3129:30;;3126:50;;;3172:1;3169;3162:12;3126:50;3211:70;3273:7;3264:6;3253:9;3249:22;3211:70;:::i;:::-;2769:572;;3300:8;;-1:-1:-1;3185:96:1;;-1:-1:-1;;;;2769:572:1:o;3346:416::-;3411:6;3419;3472:2;3460:9;3451:7;3447:23;3443:32;3440:52;;;3488:1;3485;3478:12;3440:52;3527:9;3514:23;3546:31;3571:5;3546:31;:::i;:::-;3596:5;-1:-1:-1;3653:2:1;3638:18;;3625:32;3695:15;;3688:23;3676:36;;3666:64;;3726:1;3723;3716:12;3767:315;3835:6;3843;3896:2;3884:9;3875:7;3871:23;3867:32;3864:52;;;3912:1;3909;3902:12;3864:52;3951:9;3938:23;3970:31;3995:5;3970:31;:::i;:::-;4020:5;4072:2;4057:18;;;;4044:32;;-1:-1:-1;;;3767:315:1:o;4087:437::-;4173:6;4181;4234:2;4222:9;4213:7;4209:23;4205:32;4202:52;;;4250:1;4247;4240:12;4202:52;4290:9;4277:23;4323:18;4315:6;4312:30;4309:50;;;4355:1;4352;4345:12;4309:50;4394:70;4456:7;4447:6;4436:9;4432:22;4394:70;:::i;:::-;4483:8;;4368:96;;-1:-1:-1;4087:437:1;-1:-1:-1;;;;4087:437:1:o;4529:245::-;4587:6;4640:2;4628:9;4619:7;4615:23;4611:32;4608:52;;;4656:1;4653;4646:12;4608:52;4695:9;4682:23;4714:30;4738:5;4714:30;:::i;4779:249::-;4848:6;4901:2;4889:9;4880:7;4876:23;4872:32;4869:52;;;4917:1;4914;4907:12;4869:52;4949:9;4943:16;4968:30;4992:5;4968:30;:::i;5033:635::-;5113:6;5166:2;5154:9;5145:7;5141:23;5137:32;5134:52;;;5182:1;5179;5172:12;5134:52;5215:9;5209:16;5248:18;5240:6;5237:30;5234:50;;;5280:1;5277;5270:12;5234:50;5303:22;;5356:4;5348:13;;5344:27;-1:-1:-1;5334:55:1;;5385:1;5382;5375:12;5334:55;5414:2;5408:9;5439:48;5455:31;5483:2;5455:31;:::i;5439:48::-;5510:2;5503:5;5496:17;5550:7;5545:2;5540;5536;5532:11;5528:20;5525:33;5522:53;;;5571:1;5568;5561:12;5522:53;5584:54;5635:2;5630;5623:5;5619:14;5614:2;5610;5606:11;5584:54;:::i;:::-;5657:5;5033:635;-1:-1:-1;;;;;5033:635:1:o;5673:180::-;5732:6;5785:2;5773:9;5764:7;5760:23;5756:32;5753:52;;;5801:1;5798;5791:12;5753:52;-1:-1:-1;5824:23:1;;5673:180;-1:-1:-1;5673:180:1:o;5858:257::-;5899:3;5937:5;5931:12;5964:6;5959:3;5952:19;5980:63;6036:6;6029:4;6024:3;6020:14;6013:4;6006:5;6002:16;5980:63;:::i;:::-;6097:2;6076:15;-1:-1:-1;;6072:29:1;6063:39;;;;6104:4;6059:50;;5858:257;-1:-1:-1;;5858:257:1:o;6708:488::-;-1:-1:-1;;;;;6977:15:1;;;6959:34;;7029:15;;7024:2;7009:18;;7002:43;7076:2;7061:18;;7054:34;;;7124:3;7119:2;7104:18;;7097:31;;;6902:4;;7145:45;;7170:19;;7162:6;7145:45;:::i;:::-;7137:53;6708:488;-1:-1:-1;;;;;;6708:488:1:o;7393:219::-;7542:2;7531:9;7524:21;7505:4;7562:44;7602:2;7591:9;7587:18;7579:6;7562:44;:::i;7617:334::-;7819:2;7801:21;;;7858:2;7838:18;;;7831:30;-1:-1:-1;;;7892:2:1;7877:18;;7870:40;7942:2;7927:18;;7617:334::o;8290:414::-;8492:2;8474:21;;;8531:2;8511:18;;;8504:30;8570:34;8565:2;8550:18;;8543:62;-1:-1:-1;;;8636:2:1;8621:18;;8614:48;8694:3;8679:19;;8290:414::o;13911:410::-;14113:2;14095:21;;;14152:2;14132:18;;;14125:30;14191:34;14186:2;14171:18;;14164:62;-1:-1:-1;;;14257:2:1;14242:18;;14235:44;14311:3;14296:19;;13911:410::o;14508:275::-;14579:2;14573:9;14644:2;14625:13;;-1:-1:-1;;14621:27:1;14609:40;;14679:18;14664:34;;14700:22;;;14661:62;14658:88;;;14726:18;;:::i;:::-;14762:2;14755:22;14508:275;;-1:-1:-1;14508:275:1:o;14788:186::-;14836:4;14869:18;14861:6;14858:30;14855:56;;;14891:18;;:::i;:::-;-1:-1:-1;14957:2:1;14936:15;-1:-1:-1;;14932:29:1;14963:4;14928:40;;14788:186::o;14979:128::-;15019:3;15050:1;15046:6;15043:1;15040:13;15037:39;;;15056:18;;:::i;:::-;-1:-1:-1;15092:9:1;;14979:128::o;15112:125::-;15152:4;15180:1;15177;15174:8;15171:34;;;15185:18;;:::i;:::-;-1:-1:-1;15222:9:1;;15112:125::o;15242:258::-;15314:1;15324:113;15338:6;15335:1;15332:13;15324:113;;;15414:11;;;15408:18;15395:11;;;15388:39;15360:2;15353:10;15324:113;;;15455:6;15452:1;15449:13;15446:48;;;-1:-1:-1;;15490:1:1;15472:16;;15465:27;15242:258::o;15505:380::-;15584:1;15580:12;;;;15627;;;15648:61;;15702:4;15694:6;15690:17;15680:27;;15648:61;15755:2;15747:6;15744:14;15724:18;15721:38;15718:161;;;15801:10;15796:3;15792:20;15789:1;15782:31;15836:4;15833:1;15826:15;15864:4;15861:1;15854:15;15718:161;;15505:380;;;:::o;15890:135::-;15929:3;-1:-1:-1;;15950:17:1;;15947:43;;;15970:18;;:::i;:::-;-1:-1:-1;16017:1:1;16006:13;;15890:135::o;16030:127::-;16091:10;16086:3;16082:20;16079:1;16072:31;16122:4;16119:1;16112:15;16146:4;16143:1;16136:15;16162:127;16223:10;16218:3;16214:20;16211:1;16204:31;16254:4;16251:1;16244:15;16278:4;16275:1;16268:15;16294:127;16355:10;16350:3;16346:20;16343:1;16336:31;16386:4;16383:1;16376:15;16410:4;16407:1;16400:15;16426:131;-1:-1:-1;;;;;16501:31:1;;16491:42;;16481:70;;16547:1;16544;16537:12;16562:131;-1:-1:-1;;;;;;16636:32:1;;16626:43;;16616:71;;16683:1;16680;16673:12
Swarm Source
ipfs://b207f51854f39ba5f6687d55e6f86d6d762720f49f74b31c02a00ebb4d10df81
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.