ERC-721
Overview
Max Total Supply
10,000 SD
Holders
748
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
7 SDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Sandducks
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-01-29 */ // SPDX-License-Identifier: MIT 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}. */ 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); } library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } 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); } abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } 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; } 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); } 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; // metadata api after reveal string baseUri = "ipfs://QmQfJQS4FGEQzNfY3E7gDSfVJ4PBcR9dnPaiEsNJmW16Zw/Duck"; // metadata api before reveal string notRevealedUri = "ipfs://QmQfJQS4FGEQzNfY3E7gDSfVJ4PBcR9dnPaiEsNJmW16Zw/unknown"; bool public revealed = false; // for reveal NFT /** * @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"); if(revealed == false){ // string memory baseURI = _baseURI(); return bytes(notRevealedUri).length > 0 ? string(abi.encodePacked(notRevealedUri, ".json")) : ""; } else{ return bytes(baseUri).length > 0 ? string(abi.encodePacked(baseUri, tokenId.toString(),".json")) : ""; } } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ // function _baseURI() internal view virtual returns (string memory) { // return baseUri; // } /** * @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.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } contract Sandducks is ERC721, Ownable{ uint256 public totalSupply = 0; // Total Supply uint256 private constant totalSale = 10000; // for user minting bool public publicSaleIsActive = false; // minting paused modifier checkPublicSaleIsActive { require ( publicSaleIsActive == true, "Public Sale is not Started"); _; } constructor() ERC721("Sandducks", "SD"){ totalSupply++; _safeMint(owner(),totalSupply); } function mintByUser(uint256 quantity) public checkPublicSaleIsActive{ require(quantity > 0 && quantity <= 10, "Invalid Mint Quantity"); require(totalSupply < totalSale, "Minting End"); require(totalSupply + quantity <= totalSale, "Max Limit To Total Sale"); for (uint256 i=0; i < quantity; i++) { totalSupply++; _safeMint(msg.sender,totalSupply); } } function setPublicSaleStatus() external onlyOwner { publicSaleIsActive = !publicSaleIsActive; } function reveal() public onlyOwner { revealed = !revealed; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintByUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","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":[],"name":"setPublicSaleStatus","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052603a608081815290620021c060a039805162000029916006916020909101906200045e565b506040518060600160405280603d815260200162002183603d913980516200005a916007916020909101906200045e565b506008805460ff199081169091556000600955600a805490911690553480156200008357600080fd5b50604080518082018252600981526853616e646475636b7360b81b60208083019182528351808501909452600284526114d160f21b908401528151919291620000cf916000916200045e565b508051620000e59060019060208401906200045e565b50505062000102620000fc6200013760201b60201c565b6200013b565b600980549060006200011483620006c4565b909155506200013190506200012862000195565b600954620001a9565b620006f8565b3390565b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60085461010090046001600160a01b031690565b620001cb828260405180602001604052806000815250620001cf60201b60201c565b5050565b620001db838362000217565b620001ea600084848462000302565b620002125760405162461bcd60e51b81526004016200020990620005ae565b60405180910390fd5b505050565b6001600160a01b038216620002405760405162461bcd60e51b8152600401620002099062000637565b6200024b816200043b565b156200026b5760405162461bcd60e51b8152600401620002099062000600565b620002796000838362000212565b6001600160a01b0382166000908152600360205260408120805460019290620002a49084906200066c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000323846001600160a01b03166200045860201b620009db1760201c565b156200042f576001600160a01b03841663150b7a026200034262000137565b8786866040518563ffffffff1660e01b815260040162000366949392919062000535565b602060405180830381600087803b1580156200038157600080fd5b505af1925050508015620003b4575060408051601f3d908101601f19168201909252620003b19181019062000504565b60015b62000414573d808015620003e5576040519150601f19603f3d011682016040523d82523d6000602084013e620003ea565b606091505b5080516200040c5760405162461bcd60e51b81526004016200020990620005ae565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000433565b5060015b949350505050565b6000908152600260205260409020546001600160a01b0316151590565b3b151590565b8280546200046c9062000687565b90600052602060002090601f016020900481019282620004905760008555620004db565b82601f10620004ab57805160ff1916838001178555620004db565b82800160010185558215620004db579182015b82811115620004db578251825591602001919060010190620004be565b50620004e9929150620004ed565b5090565b5b80821115620004e95760008155600101620004ee565b60006020828403121562000516578081fd5b81516001600160e01b0319811681146200052e578182fd5b9392505050565b600060018060a01b0380871683526020818716818501528560408501526080606085015284519150816080850152825b82811015620005835785810182015185820160a00152810162000565565b8281111562000595578360a084870101525b5050601f01601f19169190910160a00195945050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60008219821115620006825762000682620006e2565b500190565b6002810460018216806200069c57607f821691505b60208210811415620006be57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620006db57620006db620006e2565b5060010190565b634e487b7160e01b600052601160045260246000fd5b611a7b80620007086000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b8578063a22cb4651161007c578063a22cb4651461025e578063a475b5dd14610271578063b88d4fde14610279578063c87b56dd1461028c578063e985e9c51461029f578063f2fde38b146102b257610142565b806370a082311461022b578063715018a61461023e5780637dfed9fe146102465780638da5cb5b1461024e57806395d89b411461025657610142565b806318160ddd1161010a57806318160ddd146101c257806323b872dd146101d757806342842e0e146101ea57806351830227146101fd5780636352211e1461020557806366102d2d1461021857610142565b806301ffc9a71461014757806306fdde0314610170578063081812fc14610185578063095ea7b3146101a55780630fcf2e75146101ba575b600080fd5b61015a6101553660046111fe565b6102c5565b60405161016791906113b9565b60405180910390f35b61017861030d565b60405161016791906113c4565b610198610193366004611236565b61039f565b6040516101679190611368565b6101b86101b33660046111d5565b6103eb565b005b61015a610483565b6101ca61048c565b60405161016791906118ff565b6101b86101e5366004611094565b610492565b6101b86101f8366004611094565b6104ca565b61015a6104e5565b610198610213366004611236565b6104ee565b6101b8610226366004611236565b610523565b6101ca610239366004611041565b61060b565b6101b861064f565b6101b861069a565b6101986106ed565b610178610701565b6101b861026c36600461119b565b610710565b6101b86107de565b6101b86102873660046110cf565b610831565b61017861029a366004611236565b610870565b61015a6102ad366004611062565b61093c565b6101b86102c0366004611041565b61096a565b60006001600160e01b031982166380ac58cd60e01b14806102f657506001600160e01b03198216635b5e139f60e01b145b806103055750610305826109e1565b90505b919050565b60606000805461031c90611983565b80601f016020809104026020016040519081016040528092919081815260200182805461034890611983565b80156103955780601f1061036a57610100808354040283529160200191610395565b820191906000526020600020905b81548152906001019060200180831161037857829003601f168201915b5050505050905090565b60006103aa826109fa565b6103cf5760405162461bcd60e51b81526004016103c690611692565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006103f6826104ee565b9050806001600160a01b0316836001600160a01b0316141561042a5760405162461bcd60e51b81526004016103c690611811565b806001600160a01b031661043c610a17565b6001600160a01b031614806104585750610458816102ad610a17565b6104745760405162461bcd60e51b81526004016103c69061156d565b61047e8383610a1b565b505050565b600a5460ff1681565b60095481565b6104a361049d610a17565b82610a89565b6104bf5760405162461bcd60e51b81526004016103c690611852565b61047e838383610b0e565b61047e83838360405180602001604052806000815250610831565b60085460ff1681565b6000818152600260205260408120546001600160a01b0316806103055760405162461bcd60e51b81526004016103c690611614565b600a5460ff16151560011461054a5760405162461bcd60e51b81526004016103c6906118c8565b60008111801561055b5750600a8111155b6105775760405162461bcd60e51b81526004016103c690611713565b6127106009541061059a5760405162461bcd60e51b81526004016103c6906118a3565b612710816009546105ab9190611914565b11156105c95760405162461bcd60e51b81526004016103c690611742565b60005b8181101561060757600980549060006105e4836119be565b91905055506105f533600954610c3b565b806105ff816119be565b9150506105cc565b5050565b60006001600160a01b0382166106335760405162461bcd60e51b81526004016103c6906115ca565b506001600160a01b031660009081526003602052604090205490565b610657610a17565b6001600160a01b03166106686106ed565b6001600160a01b03161461068e5760405162461bcd60e51b81526004016103c6906116de565b6106986000610c55565b565b6106a2610a17565b6001600160a01b03166106b36106ed565b6001600160a01b0316146106d95760405162461bcd60e51b81526004016103c6906116de565b600a805460ff19811660ff90911615179055565b60085461010090046001600160a01b031690565b60606001805461031c90611983565b610718610a17565b6001600160a01b0316826001600160a01b031614156107495760405162461bcd60e51b81526004016103c6906114ea565b8060056000610756610a17565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561079a610a17565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516107d291906113b9565b60405180910390a35050565b6107e6610a17565b6001600160a01b03166107f76106ed565b6001600160a01b03161461081d5760405162461bcd60e51b81526004016103c6906116de565b6008805460ff19811660ff90911615179055565b61084261083c610a17565b83610a89565b61085e5760405162461bcd60e51b81526004016103c690611852565b61086a84848484610caf565b50505050565b606061087b826109fa565b6108975760405162461bcd60e51b81526004016103c6906117c2565b60085460ff166108f5576000600780546108b090611983565b9050116108cc57604051806020016040528060008152506108ee565b60076040516020016108de9190611347565b6040516020818303038152906040525b9050610308565b60006006805461090490611983565b90501161092057604051806020016040528060008152506108ee565b600661092b83610ce2565b6040516020016108de929190611312565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610972610a17565b6001600160a01b03166109836106ed565b6001600160a01b0316146109a95760405162461bcd60e51b81526004016103c6906116de565b6001600160a01b0381166109cf5760405162461bcd60e51b81526004016103c690611429565b6109d881610c55565b50565b3b151590565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610a50826104ee565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610a94826109fa565b610ab05760405162461bcd60e51b81526004016103c690611521565b6000610abb836104ee565b9050806001600160a01b0316846001600160a01b03161480610af65750836001600160a01b0316610aeb8461039f565b6001600160a01b0316145b80610b065750610b06818561093c565b949350505050565b826001600160a01b0316610b21826104ee565b6001600160a01b031614610b475760405162461bcd60e51b81526004016103c690611779565b6001600160a01b038216610b6d5760405162461bcd60e51b81526004016103c6906114a6565b610b7883838361047e565b610b83600082610a1b565b6001600160a01b0383166000908152600360205260408120805460019290610bac908490611940565b90915550506001600160a01b0382166000908152600360205260408120805460019290610bda908490611914565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610607828260405180602001604052806000815250610dfd565b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610cba848484610b0e565b610cc684848484610e30565b61086a5760405162461bcd60e51b81526004016103c6906113d7565b606081610d0757506040805180820190915260018152600360fc1b6020820152610308565b8160005b8115610d315780610d1b816119be565b9150610d2a9050600a8361192c565b9150610d0b565b60008167ffffffffffffffff811115610d5a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610d84576020820181803683370190505b5090505b8415610b0657610d99600183611940565b9150610da6600a866119d9565b610db1906030611914565b60f81b818381518110610dd457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350610df6600a8661192c565b9450610d88565b610e078383610f4b565b610e146000848484610e30565b61047e5760405162461bcd60e51b81526004016103c6906113d7565b6000610e44846001600160a01b03166109db565b15610f4057836001600160a01b031663150b7a02610e60610a17565b8786866040518563ffffffff1660e01b8152600401610e82949392919061137c565b602060405180830381600087803b158015610e9c57600080fd5b505af1925050508015610ecc575060408051601f3d908101601f19168201909252610ec99181019061121a565b60015b610f26573d808015610efa576040519150601f19603f3d011682016040523d82523d6000602084013e610eff565b606091505b508051610f1e5760405162461bcd60e51b81526004016103c6906113d7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b06565b506001949350505050565b6001600160a01b038216610f715760405162461bcd60e51b81526004016103c69061165d565b610f7a816109fa565b15610f975760405162461bcd60e51b81526004016103c69061146f565b610fa36000838361047e565b6001600160a01b0382166000908152600360205260408120805460019290610fcc908490611914565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80356001600160a01b038116811461030857600080fd5b600060208284031215611052578081fd5b61105b8261102a565b9392505050565b60008060408385031215611074578081fd5b61107d8361102a565b915061108b6020840161102a565b90509250929050565b6000806000606084860312156110a8578081fd5b6110b18461102a565b92506110bf6020850161102a565b9150604084013590509250925092565b600080600080608085870312156110e4578081fd5b6110ed8561102a565b935060206110fc81870161102a565b935060408601359250606086013567ffffffffffffffff8082111561111f578384fd5b818801915088601f830112611132578384fd5b81358181111561114457611144611a19565b604051601f8201601f191681018501838111828210171561116757611167611a19565b60405281815283820185018b101561117d578586fd5b81858501868301379081019093019390935250939692955090935050565b600080604083850312156111ad578182fd5b6111b68361102a565b9150602083013580151581146111ca578182fd5b809150509250929050565b600080604083850312156111e7578182fd5b6111f08361102a565b946020939093013593505050565b60006020828403121561120f578081fd5b813561105b81611a2f565b60006020828403121561122b578081fd5b815161105b81611a2f565b600060208284031215611247578081fd5b5035919050565b60008151808452611266816020860160208601611957565b601f01601f19169290920160200192915050565b80546000906002810460018083168061129457607f831692505b60208084108214156112b457634e487b7160e01b86526022600452602486fd5b8180156112c857600181146112d957611306565b60ff19861689528489019650611306565b6112e288611908565b60005b868110156112fe5781548b8201529085019083016112e5565b505084890196505b50505050505092915050565b600061131e828561127a565b835161132e818360208801611957565b64173539b7b760d91b9101908152600501949350505050565b6000611353828461127a565b64173539b7b760d91b81526005019392505050565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906113af9083018461124e565b9695505050505050565b901515815260200190565b60006020825261105b602083018461124e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260159082015274496e76616c6964204d696e74205175616e7469747960581b604082015260600190565b60208082526017908201527f4d6178204c696d697420546f20546f74616c2053616c65000000000000000000604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252600b908201526a135a5b9d1a5b99c8115b9960aa1b604082015260600190565b6020808252601a908201527f5075626c69632053616c65206973206e6f742053746172746564000000000000604082015260600190565b90815260200190565b60009081526020902090565b60008219821115611927576119276119ed565b500190565b60008261193b5761193b611a03565b500490565b600082821015611952576119526119ed565b500390565b60005b8381101561197257818101518382015260200161195a565b8381111561086a5750506000910152565b60028104600182168061199757607f821691505b602082108114156119b857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119d2576119d26119ed565b5060010190565b6000826119e8576119e8611a03565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109d857600080fdfea2646970667358221220274de877a906818384dc28113038ca982d5f46594a76ddef2798a5cba6dcfd2e64736f6c63430008000033697066733a2f2f516d51664a515334464745517a4e665933453767445366564a345042635239646e50616945734e4a6d5731365a772f756e6b6e6f776e697066733a2f2f516d51664a515334464745517a4e665933453767445366564a345042635239646e50616945734e4a6d5731365a772f4475636b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b8578063a22cb4651161007c578063a22cb4651461025e578063a475b5dd14610271578063b88d4fde14610279578063c87b56dd1461028c578063e985e9c51461029f578063f2fde38b146102b257610142565b806370a082311461022b578063715018a61461023e5780637dfed9fe146102465780638da5cb5b1461024e57806395d89b411461025657610142565b806318160ddd1161010a57806318160ddd146101c257806323b872dd146101d757806342842e0e146101ea57806351830227146101fd5780636352211e1461020557806366102d2d1461021857610142565b806301ffc9a71461014757806306fdde0314610170578063081812fc14610185578063095ea7b3146101a55780630fcf2e75146101ba575b600080fd5b61015a6101553660046111fe565b6102c5565b60405161016791906113b9565b60405180910390f35b61017861030d565b60405161016791906113c4565b610198610193366004611236565b61039f565b6040516101679190611368565b6101b86101b33660046111d5565b6103eb565b005b61015a610483565b6101ca61048c565b60405161016791906118ff565b6101b86101e5366004611094565b610492565b6101b86101f8366004611094565b6104ca565b61015a6104e5565b610198610213366004611236565b6104ee565b6101b8610226366004611236565b610523565b6101ca610239366004611041565b61060b565b6101b861064f565b6101b861069a565b6101986106ed565b610178610701565b6101b861026c36600461119b565b610710565b6101b86107de565b6101b86102873660046110cf565b610831565b61017861029a366004611236565b610870565b61015a6102ad366004611062565b61093c565b6101b86102c0366004611041565b61096a565b60006001600160e01b031982166380ac58cd60e01b14806102f657506001600160e01b03198216635b5e139f60e01b145b806103055750610305826109e1565b90505b919050565b60606000805461031c90611983565b80601f016020809104026020016040519081016040528092919081815260200182805461034890611983565b80156103955780601f1061036a57610100808354040283529160200191610395565b820191906000526020600020905b81548152906001019060200180831161037857829003601f168201915b5050505050905090565b60006103aa826109fa565b6103cf5760405162461bcd60e51b81526004016103c690611692565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006103f6826104ee565b9050806001600160a01b0316836001600160a01b0316141561042a5760405162461bcd60e51b81526004016103c690611811565b806001600160a01b031661043c610a17565b6001600160a01b031614806104585750610458816102ad610a17565b6104745760405162461bcd60e51b81526004016103c69061156d565b61047e8383610a1b565b505050565b600a5460ff1681565b60095481565b6104a361049d610a17565b82610a89565b6104bf5760405162461bcd60e51b81526004016103c690611852565b61047e838383610b0e565b61047e83838360405180602001604052806000815250610831565b60085460ff1681565b6000818152600260205260408120546001600160a01b0316806103055760405162461bcd60e51b81526004016103c690611614565b600a5460ff16151560011461054a5760405162461bcd60e51b81526004016103c6906118c8565b60008111801561055b5750600a8111155b6105775760405162461bcd60e51b81526004016103c690611713565b6127106009541061059a5760405162461bcd60e51b81526004016103c6906118a3565b612710816009546105ab9190611914565b11156105c95760405162461bcd60e51b81526004016103c690611742565b60005b8181101561060757600980549060006105e4836119be565b91905055506105f533600954610c3b565b806105ff816119be565b9150506105cc565b5050565b60006001600160a01b0382166106335760405162461bcd60e51b81526004016103c6906115ca565b506001600160a01b031660009081526003602052604090205490565b610657610a17565b6001600160a01b03166106686106ed565b6001600160a01b03161461068e5760405162461bcd60e51b81526004016103c6906116de565b6106986000610c55565b565b6106a2610a17565b6001600160a01b03166106b36106ed565b6001600160a01b0316146106d95760405162461bcd60e51b81526004016103c6906116de565b600a805460ff19811660ff90911615179055565b60085461010090046001600160a01b031690565b60606001805461031c90611983565b610718610a17565b6001600160a01b0316826001600160a01b031614156107495760405162461bcd60e51b81526004016103c6906114ea565b8060056000610756610a17565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561079a610a17565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516107d291906113b9565b60405180910390a35050565b6107e6610a17565b6001600160a01b03166107f76106ed565b6001600160a01b03161461081d5760405162461bcd60e51b81526004016103c6906116de565b6008805460ff19811660ff90911615179055565b61084261083c610a17565b83610a89565b61085e5760405162461bcd60e51b81526004016103c690611852565b61086a84848484610caf565b50505050565b606061087b826109fa565b6108975760405162461bcd60e51b81526004016103c6906117c2565b60085460ff166108f5576000600780546108b090611983565b9050116108cc57604051806020016040528060008152506108ee565b60076040516020016108de9190611347565b6040516020818303038152906040525b9050610308565b60006006805461090490611983565b90501161092057604051806020016040528060008152506108ee565b600661092b83610ce2565b6040516020016108de929190611312565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610972610a17565b6001600160a01b03166109836106ed565b6001600160a01b0316146109a95760405162461bcd60e51b81526004016103c6906116de565b6001600160a01b0381166109cf5760405162461bcd60e51b81526004016103c690611429565b6109d881610c55565b50565b3b151590565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610a50826104ee565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610a94826109fa565b610ab05760405162461bcd60e51b81526004016103c690611521565b6000610abb836104ee565b9050806001600160a01b0316846001600160a01b03161480610af65750836001600160a01b0316610aeb8461039f565b6001600160a01b0316145b80610b065750610b06818561093c565b949350505050565b826001600160a01b0316610b21826104ee565b6001600160a01b031614610b475760405162461bcd60e51b81526004016103c690611779565b6001600160a01b038216610b6d5760405162461bcd60e51b81526004016103c6906114a6565b610b7883838361047e565b610b83600082610a1b565b6001600160a01b0383166000908152600360205260408120805460019290610bac908490611940565b90915550506001600160a01b0382166000908152600360205260408120805460019290610bda908490611914565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610607828260405180602001604052806000815250610dfd565b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610cba848484610b0e565b610cc684848484610e30565b61086a5760405162461bcd60e51b81526004016103c6906113d7565b606081610d0757506040805180820190915260018152600360fc1b6020820152610308565b8160005b8115610d315780610d1b816119be565b9150610d2a9050600a8361192c565b9150610d0b565b60008167ffffffffffffffff811115610d5a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610d84576020820181803683370190505b5090505b8415610b0657610d99600183611940565b9150610da6600a866119d9565b610db1906030611914565b60f81b818381518110610dd457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350610df6600a8661192c565b9450610d88565b610e078383610f4b565b610e146000848484610e30565b61047e5760405162461bcd60e51b81526004016103c6906113d7565b6000610e44846001600160a01b03166109db565b15610f4057836001600160a01b031663150b7a02610e60610a17565b8786866040518563ffffffff1660e01b8152600401610e82949392919061137c565b602060405180830381600087803b158015610e9c57600080fd5b505af1925050508015610ecc575060408051601f3d908101601f19168201909252610ec99181019061121a565b60015b610f26573d808015610efa576040519150601f19603f3d011682016040523d82523d6000602084013e610eff565b606091505b508051610f1e5760405162461bcd60e51b81526004016103c6906113d7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b06565b506001949350505050565b6001600160a01b038216610f715760405162461bcd60e51b81526004016103c69061165d565b610f7a816109fa565b15610f975760405162461bcd60e51b81526004016103c69061146f565b610fa36000838361047e565b6001600160a01b0382166000908152600360205260408120805460019290610fcc908490611914565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80356001600160a01b038116811461030857600080fd5b600060208284031215611052578081fd5b61105b8261102a565b9392505050565b60008060408385031215611074578081fd5b61107d8361102a565b915061108b6020840161102a565b90509250929050565b6000806000606084860312156110a8578081fd5b6110b18461102a565b92506110bf6020850161102a565b9150604084013590509250925092565b600080600080608085870312156110e4578081fd5b6110ed8561102a565b935060206110fc81870161102a565b935060408601359250606086013567ffffffffffffffff8082111561111f578384fd5b818801915088601f830112611132578384fd5b81358181111561114457611144611a19565b604051601f8201601f191681018501838111828210171561116757611167611a19565b60405281815283820185018b101561117d578586fd5b81858501868301379081019093019390935250939692955090935050565b600080604083850312156111ad578182fd5b6111b68361102a565b9150602083013580151581146111ca578182fd5b809150509250929050565b600080604083850312156111e7578182fd5b6111f08361102a565b946020939093013593505050565b60006020828403121561120f578081fd5b813561105b81611a2f565b60006020828403121561122b578081fd5b815161105b81611a2f565b600060208284031215611247578081fd5b5035919050565b60008151808452611266816020860160208601611957565b601f01601f19169290920160200192915050565b80546000906002810460018083168061129457607f831692505b60208084108214156112b457634e487b7160e01b86526022600452602486fd5b8180156112c857600181146112d957611306565b60ff19861689528489019650611306565b6112e288611908565b60005b868110156112fe5781548b8201529085019083016112e5565b505084890196505b50505050505092915050565b600061131e828561127a565b835161132e818360208801611957565b64173539b7b760d91b9101908152600501949350505050565b6000611353828461127a565b64173539b7b760d91b81526005019392505050565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906113af9083018461124e565b9695505050505050565b901515815260200190565b60006020825261105b602083018461124e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260159082015274496e76616c6964204d696e74205175616e7469747960581b604082015260600190565b60208082526017908201527f4d6178204c696d697420546f20546f74616c2053616c65000000000000000000604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252600b908201526a135a5b9d1a5b99c8115b9960aa1b604082015260600190565b6020808252601a908201527f5075626c69632053616c65206973206e6f742053746172746564000000000000604082015260600190565b90815260200190565b60009081526020902090565b60008219821115611927576119276119ed565b500190565b60008261193b5761193b611a03565b500490565b600082821015611952576119526119ed565b500390565b60005b8381101561197257818101518382015260200161195a565b8381111561086a5750506000910152565b60028104600182168061199757607f821691505b602082108114156119b857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119d2576119d26119ed565b5060010190565b6000826119e8576119e8611a03565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109d857600080fdfea2646970667358221220274de877a906818384dc28113038ca982d5f46594a76ddef2798a5cba6dcfd2e64736f6c63430008000033
Deployed Bytecode Sourcemap
32576:1179:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20203:305;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21148:100;;;:::i;:::-;;;;;;;:::i;22934:221::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;22457:411::-;;;;;;:::i;:::-;;:::i;:::-;;32749:38;;;:::i;32627:30::-;;;:::i;:::-;;;;;;;:::i;23824:339::-;;;;;;:::i;:::-;;:::i;24234:185::-;;;;;;:::i;:::-;;:::i;19844:28::-;;;:::i;20842:239::-;;;;;;:::i;:::-;;:::i;33090:446::-;;;;;;:::i;:::-;;:::i;20572:208::-;;;;;;:::i;:::-;;:::i;10279:103::-;;;:::i;33555:109::-;;;:::i;9628:87::-;;;:::i;21317:104::-;;;:::i;23227:295::-;;;;;;:::i;:::-;;:::i;33672:73::-;;;:::i;24490:328::-;;;;;;:::i;:::-;;:::i;21498:533::-;;;;;;:::i;:::-;;:::i;23593:164::-;;;;;;:::i;:::-;;:::i;10537:201::-;;;;;;:::i;:::-;;:::i;20203:305::-;20305:4;-1:-1:-1;;;;;;20342:40:0;;-1:-1:-1;;;20342:40:0;;:105;;-1:-1:-1;;;;;;;20399:48:0;;-1:-1:-1;;;20399:48:0;20342:105;:158;;;;20464:36;20488:11;20464:23;:36::i;:::-;20322:178;;20203:305;;;;:::o;21148:100::-;21202:13;21235:5;21228:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21148:100;:::o;22934:221::-;23010:7;23038:16;23046:7;23038;:16::i;:::-;23030:73;;;;-1:-1:-1;;;23030:73:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;23123:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23123:24:0;;22934:221::o;22457:411::-;22538:13;22554:23;22569:7;22554:14;:23::i;:::-;22538:39;;22602:5;-1:-1:-1;;;;;22596:11:0;:2;-1:-1:-1;;;;;22596:11:0;;;22588:57;;;;-1:-1:-1;;;22588:57:0;;;;;;;:::i;:::-;22696:5;-1:-1:-1;;;;;22680:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;22680:21:0;;:62;;;;22705:37;22722:5;22729:12;:10;:12::i;22705:37::-;22658:168;;;;-1:-1:-1;;;22658:168:0;;;;;;;:::i;:::-;22839:21;22848:2;22852:7;22839:8;:21::i;:::-;22457:411;;;:::o;32749:38::-;;;;;;:::o;32627:30::-;;;;:::o;23824:339::-;24019:41;24038:12;:10;:12::i;:::-;24052:7;24019:18;:41::i;:::-;24011:103;;;;-1:-1:-1;;;24011:103:0;;;;;;;:::i;:::-;24127:28;24137:4;24143:2;24147:7;24127:9;:28::i;24234:185::-;24372:39;24389:4;24395:2;24399:7;24372:39;;;;;;;;;;;;:16;:39::i;19844:28::-;;;;;;:::o;20842:239::-;20914:7;20950:16;;;:7;:16;;;;;;-1:-1:-1;;;;;20950:16:0;20985:19;20977:73;;;;-1:-1:-1;;;20977:73:0;;;;;;;:::i;33090:446::-;32870:18;;;;:26;;:18;:26;32860:67;;;;-1:-1:-1;;;32860:67:0;;;;;;;:::i;:::-;33194:1:::1;33183:8;:12;:30;;;;;33211:2;33199:8;:14;;33183:30;33175:64;;;;-1:-1:-1::0;;;33175:64:0::1;;;;;;;:::i;:::-;32717:5;33258:11;;:23;33250:47;;;;-1:-1:-1::0;;;33250:47:0::1;;;;;;;:::i;:::-;32717:5;33330:8;33316:11;;:22;;;;:::i;:::-;:35;;33308:71;;;;-1:-1:-1::0;;;33308:71:0::1;;;;;;;:::i;:::-;33404:9;33399:125;33421:8;33417:1;:12;33399:125;;;33451:11;:13:::0;;;:11:::1;:13;::::0;::::1;:::i;:::-;;;;;;33479:33;33489:10;33500:11;;33479:9;:33::i;:::-;33431:3:::0;::::1;::::0;::::1;:::i;:::-;;;;33399:125;;;;33090:446:::0;:::o;20572:208::-;20644:7;-1:-1:-1;;;;;20672:19:0;;20664:74;;;;-1:-1:-1;;;20664:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;20756:16:0;;;;;:9;:16;;;;;;;20572:208::o;10279:103::-;9859:12;:10;:12::i;:::-;-1:-1:-1;;;;;9848:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;9848:23:0;;9840:68;;;;-1:-1:-1;;;9840:68:0;;;;;;;:::i;:::-;10344:30:::1;10371:1;10344:18;:30::i;:::-;10279:103::o:0;33555:109::-;9859:12;:10;:12::i;:::-;-1:-1:-1;;;;;9848:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;9848:23:0;;9840:68;;;;-1:-1:-1;;;9840:68:0;;;;;;;:::i;:::-;33638:18:::1;::::0;;-1:-1:-1;;33616:40:0;::::1;33638:18;::::0;;::::1;33637:19;33616:40;::::0;;33555:109::o;9628:87::-;9701:6;;;;;-1:-1:-1;;;;;9701:6:0;;9628:87::o;21317:104::-;21373:13;21406:7;21399:14;;;;;:::i;23227:295::-;23342:12;:10;:12::i;:::-;-1:-1:-1;;;;;23330:24:0;:8;-1:-1:-1;;;;;23330:24:0;;;23322:62;;;;-1:-1:-1;;;23322:62:0;;;;;;;:::i;:::-;23442:8;23397:18;:32;23416:12;:10;:12::i;:::-;-1:-1:-1;;;;;23397:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;23397:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;23397:53:0;;;;;;;;;;;23481:12;:10;:12::i;:::-;-1:-1:-1;;;;;23466:48:0;;23505:8;23466:48;;;;;;:::i;:::-;;;;;;;;23227:295;;:::o;33672:73::-;9859:12;:10;:12::i;:::-;-1:-1:-1;;;;;9848:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;9848:23:0;;9840:68;;;;-1:-1:-1;;;9840:68:0;;;;;;;:::i;:::-;33729:8:::1;::::0;;-1:-1:-1;;33717:20:0;::::1;33729:8;::::0;;::::1;33728:9;33717:20;::::0;;33672:73::o;24490:328::-;24665:41;24684:12;:10;:12::i;:::-;24698:7;24665:18;:41::i;:::-;24657:103;;;;-1:-1:-1;;;24657:103:0;;;;;;;:::i;:::-;24771:39;24785:4;24791:2;24795:7;24804:5;24771:13;:39::i;:::-;24490:328;;;;:::o;21498:533::-;21571:13;21605:16;21613:7;21605;:16::i;:::-;21597:76;;;;-1:-1:-1;;;21597:76:0;;;;;;;:::i;:::-;21689:8;;;;21686:336;;21810:1;21785:14;21779:28;;;;;:::i;:::-;;;:32;:89;;;;;;;;;;;;;;;;;21838:14;21821:41;;;;;;;;:::i;:::-;;;;;;;;;;;;;21779:89;21772:96;;;;21686:336;21940:1;21922:7;21916:21;;;;;:::i;:::-;;;:25;:94;;;;;;;;;;;;;;;;;21968:7;21977:18;:7;:16;:18::i;:::-;21951:53;;;;;;;;;:::i;23593:164::-;-1:-1:-1;;;;;23714:25:0;;;23690:4;23714:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23593:164::o;10537:201::-;9859:12;:10;:12::i;:::-;-1:-1:-1;;;;;9848:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;9848:23:0;;9840:68;;;;-1:-1:-1;;;9840:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;10626:22:0;::::1;10618:73;;;;-1:-1:-1::0;;;10618:73:0::1;;;;;;;:::i;:::-;10702:28;10721:8;10702:18;:28::i;:::-;10537:201:::0;:::o;1634:387::-;1957:20;2005:8;;;1634:387::o;13617:157::-;-1:-1:-1;;;;;;13726:40:0;;-1:-1:-1;;;13726:40:0;13617:157;;;:::o;26328:127::-;26393:4;26417:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26417:16:0;:30;;;26328:127::o;9000:98::-;9080:10;9000:98;:::o;30326:174::-;30401:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30401:29:0;-1:-1:-1;;;;;30401:29:0;;;;;;;;:24;;30455:23;30401:24;30455:14;:23::i;:::-;-1:-1:-1;;;;;30446:46:0;;;;;;;;;;;30326:174;;:::o;26622:348::-;26715:4;26740:16;26748:7;26740;:16::i;:::-;26732:73;;;;-1:-1:-1;;;26732:73:0;;;;;;;:::i;:::-;26816:13;26832:23;26847:7;26832:14;:23::i;:::-;26816:39;;26885:5;-1:-1:-1;;;;;26874:16:0;:7;-1:-1:-1;;;;;26874:16:0;;:51;;;;26918:7;-1:-1:-1;;;;;26894:31:0;:20;26906:7;26894:11;:20::i;:::-;-1:-1:-1;;;;;26894:31:0;;26874:51;:87;;;;26929:32;26946:5;26953:7;26929:16;:32::i;:::-;26866:96;26622:348;-1:-1:-1;;;;26622:348:0:o;29618:578::-;29777:4;-1:-1:-1;;;;;29750:31:0;:23;29765:7;29750:14;:23::i;:::-;-1:-1:-1;;;;;29750:31:0;;29742:85;;;;-1:-1:-1;;;29742:85:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;29846:16:0;;29838:65;;;;-1:-1:-1;;;29838:65:0;;;;;;;:::i;:::-;29916:39;29937:4;29943:2;29947:7;29916:20;:39::i;:::-;30020:29;30037:1;30041:7;30020:8;:29::i;:::-;-1:-1:-1;;;;;30062:15:0;;;;;;:9;:15;;;;;:20;;30081:1;;30062:15;:20;;30081:1;;30062:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30093:13:0;;;;;;:9;:13;;;;;:18;;30110:1;;30093:13;:18;;30110:1;;30093:18;:::i;:::-;;;;-1:-1:-1;;30122:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30122:21:0;-1:-1:-1;;;;;30122:21:0;;;;;;;;;30161:27;;30122:16;;30161:27;;;;;;;29618:578;;;:::o;27312:110::-;27388:26;27398:2;27402:7;27388:26;;;;;;;;;;;;:9;:26::i;10898:191::-;10991:6;;;-1:-1:-1;;;;;11008:17:0;;;10991:6;11008:17;;;-1:-1:-1;;;;;;11008:17:0;;;;;;11041:40;;10991:6;;;;;;;;11041:40;;10972:16;;11041:40;10898:191;;:::o;25700:315::-;25857:28;25867:4;25873:2;25877:7;25857:9;:28::i;:::-;25904:48;25927:4;25933:2;25937:7;25946:5;25904:22;:48::i;:::-;25896:111;;;;-1:-1:-1;;;25896:111:0;;;;;;;:::i;11286:723::-;11342:13;11563:10;11559:53;;-1:-1:-1;11590:10:0;;;;;;;;;;;;-1:-1:-1;;;11590:10:0;;;;;;11559:53;11637:5;11622:12;11678:78;11685:9;;11678:78;;11711:8;;;;:::i;:::-;;-1:-1:-1;11734:10:0;;-1:-1:-1;11742:2:0;11734:10;;:::i;:::-;;;11678:78;;;11766:19;11798:6;11788:17;;;;;;-1:-1:-1;;;11788:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11788:17:0;;11766:39;;11816:154;11823:10;;11816:154;;11850:11;11860:1;11850:11;;:::i;:::-;;-1:-1:-1;11919:10:0;11927:2;11919:5;:10;:::i;:::-;11906:24;;:2;:24;:::i;:::-;11893:39;;11876:6;11883;11876:14;;;;;;-1:-1:-1;;;11876:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;11876:56:0;;;;;;;;-1:-1:-1;11947:11:0;11956:2;11947:11;;:::i;:::-;;;11816:154;;27649:321;27779:18;27785:2;27789:7;27779:5;:18::i;:::-;27830:54;27861:1;27865:2;27869:7;27878:5;27830:22;:54::i;:::-;27808:154;;;;-1:-1:-1;;;27808:154:0;;;;;;;:::i;31065:799::-;31220:4;31241:15;:2;-1:-1:-1;;;;;31241:13:0;;:15::i;:::-;31237:620;;;31293:2;-1:-1:-1;;;;;31277:36:0;;31314:12;:10;:12::i;:::-;31328:4;31334:7;31343:5;31277:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31277:72:0;;;;;;;;-1:-1:-1;;31277:72:0;;;;;;;;;;;;:::i;:::-;;;31273:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31519:13:0;;31515:272;;31562:60;;-1:-1:-1;;;31562:60:0;;;;;;;:::i;31515:272::-;31737:6;31731:13;31722:6;31718:2;31714:15;31707:38;31273:529;-1:-1:-1;;;;;;31400:51:0;-1:-1:-1;;;31400:51:0;;-1:-1:-1;31393:58:0;;31237:620;-1:-1:-1;31841:4:0;31065:799;;;;;;:::o;28306:386::-;-1:-1:-1;;;;;28386:16:0;;28378:61;;;;-1:-1:-1;;;28378:61:0;;;;;;;:::i;:::-;28459:16;28467:7;28459;:16::i;:::-;28458:17;28450:58;;;;-1:-1:-1;;;28450:58:0;;;;;;;:::i;:::-;28521:45;28550:1;28554:2;28558:7;28521:20;:45::i;:::-;-1:-1:-1;;;;;28579:13:0;;;;;;:9;:13;;;;;:18;;28596:1;;28579:13;:18;;28596:1;;28579:18;:::i;:::-;;;;-1:-1:-1;;28608:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28608:21:0;-1:-1:-1;;;;;28608:21:0;;;;;;;;28651:33;;28608:16;;;28651:33;;28608:16;;28651:33;28306:386;;:::o;14:175:1:-;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:198;;306:2;294:9;285:7;281:23;277:32;274:2;;;327:6;319;312:22;274:2;355:31;376:9;355:31;:::i;:::-;345:41;264:128;-1:-1:-1;;;264:128:1:o;397:274::-;;;526:2;514:9;505:7;501:23;497:32;494:2;;;547:6;539;532:22;494:2;575:31;596:9;575:31;:::i;:::-;565:41;;625:40;661:2;650:9;646:18;625:40;:::i;:::-;615:50;;484:187;;;;;:::o;676:342::-;;;;822:2;810:9;801:7;797:23;793:32;790:2;;;843:6;835;828:22;790:2;871:31;892:9;871:31;:::i;:::-;861:41;;921:40;957:2;946:9;942:18;921:40;:::i;:::-;911:50;;1008:2;997:9;993:18;980:32;970:42;;780:238;;;;;:::o;1023:1178::-;;;;;1195:3;1183:9;1174:7;1170:23;1166:33;1163:2;;;1217:6;1209;1202:22;1163:2;1245:31;1266:9;1245:31;:::i;:::-;1235:41;;1295:2;1316:40;1352:2;1341:9;1337:18;1316:40;:::i;:::-;1306:50;;1403:2;1392:9;1388:18;1375:32;1365:42;;1458:2;1447:9;1443:18;1430:32;1481:18;1522:2;1514:6;1511:14;1508:2;;;1543:6;1535;1528:22;1508:2;1586:6;1575:9;1571:22;1561:32;;1631:7;1624:4;1620:2;1616:13;1612:27;1602:2;;1658:6;1650;1643:22;1602:2;1699;1686:16;1721:2;1717;1714:10;1711:2;;;1727:18;;:::i;:::-;1776:2;1770:9;1845:2;1826:13;;-1:-1:-1;;1822:27:1;1810:40;;1806:49;;1870:18;;;1890:22;;;1867:46;1864:2;;;1916:18;;:::i;:::-;1952:2;1945:22;1976:18;;;2013:11;;;2009:20;;2006:33;-1:-1:-1;2003:2:1;;;2057:6;2049;2042:22;2003:2;2118;2113;2109;2105:11;2100:2;2092:6;2088:15;2075:46;2141:15;;;2137:24;;;2130:40;;;;-1:-1:-1;1153:1048:1;;;;-1:-1:-1;1153:1048:1;;-1:-1:-1;;1153:1048:1:o;2206:369::-;;;2332:2;2320:9;2311:7;2307:23;2303:32;2300:2;;;2353:6;2345;2338:22;2300:2;2381:31;2402:9;2381:31;:::i;:::-;2371:41;;2462:2;2451:9;2447:18;2434:32;2509:5;2502:13;2495:21;2488:5;2485:32;2475:2;;2536:6;2528;2521:22;2475:2;2564:5;2554:15;;;2290:285;;;;;:::o;2580:266::-;;;2709:2;2697:9;2688:7;2684:23;2680:32;2677:2;;;2730:6;2722;2715:22;2677:2;2758:31;2779:9;2758:31;:::i;:::-;2748:41;2836:2;2821:18;;;;2808:32;;-1:-1:-1;;;2667:179:1:o;2851:257::-;;2962:2;2950:9;2941:7;2937:23;2933:32;2930:2;;;2983:6;2975;2968:22;2930:2;3027:9;3014:23;3046:32;3072:5;3046:32;:::i;3113:261::-;;3235:2;3223:9;3214:7;3210:23;3206:32;3203:2;;;3256:6;3248;3241:22;3203:2;3293:9;3287:16;3312:32;3338:5;3312:32;:::i;3379:190::-;;3491:2;3479:9;3470:7;3466:23;3462:32;3459:2;;;3512:6;3504;3497:22;3459:2;-1:-1:-1;3540:23:1;;3449:120;-1:-1:-1;3449:120:1:o;3574:259::-;;3655:5;3649:12;3682:6;3677:3;3670:19;3698:63;3754:6;3747:4;3742:3;3738:14;3731:4;3724:5;3720:16;3698:63;:::i;:::-;3815:2;3794:15;-1:-1:-1;;3790:29:1;3781:39;;;;3822:4;3777:50;;3625:208;-1:-1:-1;;3625:208:1:o;3838:982::-;3925:12;;3838:982;;3997:1;3982:17;;4018:1;4054:18;;;;4081:2;;4135:4;4127:6;4123:17;4113:27;;4081:2;4161;4209;4201:6;4198:14;4178:18;4175:38;4172:2;;;-1:-1:-1;;;4236:33:1;;4292:4;4289:1;4282:15;4322:4;4243:3;4310:17;4172:2;4353:18;4380:104;;;;4498:1;4493:321;;;;4346:468;;4380:104;-1:-1:-1;;4413:24:1;;4401:37;;4458:16;;;;-1:-1:-1;4380:104:1;;4493:321;4529:38;4561:5;4529:38;:::i;:::-;4589:1;4603:165;4617:6;4614:1;4611:13;4603:165;;;4695:14;;4682:11;;;4675:35;4738:16;;;;4632:10;;4603:165;;;4607:3;;4797:6;4792:3;4788:16;4781:23;;4346:468;;;;;;;3898:922;;;;:::o;4825:545::-;;5130:40;5166:3;5158:6;5130:40;:::i;:::-;5199:6;5193:13;5215:52;5260:6;5256:2;5249:4;5241:6;5237:17;5215:52;:::i;:::-;-1:-1:-1;;;5289:15:1;;5313:22;;;5362:1;5351:13;;5110:260;-1:-1:-1;;;;5110:260:1:o;5375:357::-;;5632:40;5668:3;5660:6;5632:40;:::i;:::-;-1:-1:-1;;;5681:19:1;;5724:1;5716:10;;5612:120;-1:-1:-1;;;5612:120:1:o;5737:203::-;-1:-1:-1;;;;;5901:32:1;;;;5883:51;;5871:2;5856:18;;5838:102::o;5945:490::-;-1:-1:-1;;;;;6214:15:1;;;6196:34;;6266:15;;6261:2;6246:18;;6239:43;6313:2;6298:18;;6291:34;;;6361:3;6356:2;6341:18;;6334:31;;;5945:490;;6382:47;;6409:19;;6401:6;6382:47;:::i;:::-;6374:55;6148:287;-1:-1:-1;;;;;;6148:287:1:o;6440:187::-;6605:14;;6598:22;6580:41;;6568:2;6553:18;;6535:92::o;6632:221::-;;6781:2;6770:9;6763:21;6801:46;6843:2;6832:9;6828:18;6820:6;6801:46;:::i;6858:414::-;7060:2;7042:21;;;7099:2;7079:18;;;7072:30;7138:34;7133:2;7118:18;;7111:62;-1:-1:-1;;;7204:2:1;7189:18;;7182:48;7262:3;7247:19;;7032:240::o;7277:402::-;7479:2;7461:21;;;7518:2;7498:18;;;7491:30;7557:34;7552:2;7537:18;;7530:62;-1:-1:-1;;;7623:2:1;7608:18;;7601:36;7669:3;7654:19;;7451:228::o;7684:352::-;7886:2;7868:21;;;7925:2;7905:18;;;7898:30;7964;7959:2;7944:18;;7937:58;8027:2;8012:18;;7858:178::o;8041:400::-;8243:2;8225:21;;;8282:2;8262:18;;;8255:30;8321:34;8316:2;8301:18;;8294:62;-1:-1:-1;;;8387:2:1;8372:18;;8365:34;8431:3;8416:19;;8215:226::o;8446:349::-;8648:2;8630:21;;;8687:2;8667:18;;;8660:30;8726:27;8721:2;8706:18;;8699:55;8786:2;8771:18;;8620:175::o;8800:408::-;9002:2;8984:21;;;9041:2;9021:18;;;9014:30;9080:34;9075:2;9060:18;;9053:62;-1:-1:-1;;;9146:2:1;9131:18;;9124:42;9198:3;9183:19;;8974:234::o;9213:420::-;9415:2;9397:21;;;9454:2;9434:18;;;9427:30;9493:34;9488:2;9473:18;;9466:62;9564:26;9559:2;9544:18;;9537:54;9623:3;9608:19;;9387:246::o;9638:406::-;9840:2;9822:21;;;9879:2;9859:18;;;9852:30;9918:34;9913:2;9898:18;;9891:62;-1:-1:-1;;;9984:2:1;9969:18;;9962:40;10034:3;10019:19;;9812:232::o;10049:405::-;10251:2;10233:21;;;10290:2;10270:18;;;10263:30;10329:34;10324:2;10309:18;;10302:62;-1:-1:-1;;;10395:2:1;10380:18;;10373:39;10444:3;10429:19;;10223:231::o;10459:356::-;10661:2;10643:21;;;10680:18;;;10673:30;10739:34;10734:2;10719:18;;10712:62;10806:2;10791:18;;10633:182::o;10820:408::-;11022:2;11004:21;;;11061:2;11041:18;;;11034:30;11100:34;11095:2;11080:18;;11073:62;-1:-1:-1;;;11166:2:1;11151:18;;11144:42;11218:3;11203:19;;10994:234::o;11233:356::-;11435:2;11417:21;;;11454:18;;;11447:30;11513:34;11508:2;11493:18;;11486:62;11580:2;11565:18;;11407:182::o;11594:345::-;11796:2;11778:21;;;11835:2;11815:18;;;11808:30;-1:-1:-1;;;11869:2:1;11854:18;;11847:51;11930:2;11915:18;;11768:171::o;11944:347::-;12146:2;12128:21;;;12185:2;12165:18;;;12158:30;12224:25;12219:2;12204:18;;12197:53;12282:2;12267:18;;12118:173::o;12296:405::-;12498:2;12480:21;;;12537:2;12517:18;;;12510:30;12576:34;12571:2;12556:18;;12549:62;-1:-1:-1;;;12642:2:1;12627:18;;12620:39;12691:3;12676:19;;12470:231::o;12706:411::-;12908:2;12890:21;;;12947:2;12927:18;;;12920:30;12986:34;12981:2;12966:18;;12959:62;-1:-1:-1;;;13052:2:1;13037:18;;13030:45;13107:3;13092:19;;12880:237::o;13122:397::-;13324:2;13306:21;;;13363:2;13343:18;;;13336:30;13402:34;13397:2;13382:18;;13375:62;-1:-1:-1;;;13468:2:1;13453:18;;13446:31;13509:3;13494:19;;13296:223::o;13524:413::-;13726:2;13708:21;;;13765:2;13745:18;;;13738:30;13804:34;13799:2;13784:18;;13777:62;-1:-1:-1;;;13870:2:1;13855:18;;13848:47;13927:3;13912:19;;13698:239::o;13942:335::-;14144:2;14126:21;;;14183:2;14163:18;;;14156:30;-1:-1:-1;;;14217:2:1;14202:18;;14195:41;14268:2;14253:18;;14116:161::o;14282:350::-;14484:2;14466:21;;;14523:2;14503:18;;;14496:30;14562:28;14557:2;14542:18;;14535:56;14623:2;14608:18;;14456:176::o;14637:177::-;14783:25;;;14771:2;14756:18;;14738:76::o;14819:129::-;;14887:17;;;14937:4;14921:21;;;14877:71::o;14953:128::-;;15024:1;15020:6;15017:1;15014:13;15011:2;;;15030:18;;:::i;:::-;-1:-1:-1;15066:9:1;;15001:80::o;15086:120::-;;15152:1;15142:2;;15157:18;;:::i;:::-;-1:-1:-1;15191:9:1;;15132:74::o;15211:125::-;;15279:1;15276;15273:8;15270:2;;;15284:18;;:::i;:::-;-1:-1:-1;15321:9:1;;15260:76::o;15341:258::-;15413:1;15423:113;15437:6;15434:1;15431:13;15423:113;;;15513:11;;;15507:18;15494:11;;;15487:39;15459:2;15452:10;15423:113;;;15554:6;15551:1;15548:13;15545:2;;;-1:-1:-1;;15589:1:1;15571:16;;15564:27;15394:205::o;15604:380::-;15689:1;15679:12;;15736:1;15726:12;;;15747:2;;15801:4;15793:6;15789:17;15779:27;;15747:2;15854;15846:6;15843:14;15823:18;15820:38;15817:2;;;15900:10;15895:3;15891:20;15888:1;15881:31;15935:4;15932:1;15925:15;15963:4;15960:1;15953:15;15817:2;;15659:325;;;:::o;15989:135::-;;-1:-1:-1;;16049:17:1;;16046:2;;;16069:18;;:::i;:::-;-1:-1:-1;16116:1:1;16105:13;;16036:88::o;16129:112::-;;16187:1;16177:2;;16192:18;;:::i;:::-;-1:-1:-1;16226:9:1;;16167:74::o;16246:127::-;16307:10;16302:3;16298:20;16295:1;16288:31;16338:4;16335:1;16328:15;16362:4;16359:1;16352:15;16378:127;16439:10;16434:3;16430:20;16427:1;16420:31;16470:4;16467:1;16460:15;16494:4;16491:1;16484:15;16510:127;16571:10;16566:3;16562:20;16559:1;16552:31;16602:4;16599:1;16592:15;16626:4;16623:1;16616:15;16642:133;-1:-1:-1;;;;;;16718:32:1;;16708:43;;16698:2;;16765:1;16762;16755:12
Swarm Source
ipfs://274de877a906818384dc28113038ca982d5f46594a76ddef2798a5cba6dcfd2e
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.