Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 Juice Box
Holders
165
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 Juice BoxLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
JuiceBox
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* * JuiceBox.sol * * Created: October 27, 2021 * * Price: FREE * Rinkeby: 0x09494437a042494eAdA9801A85eE494cFB27D75b * Mainnet: * * Description: An ERC-721 token that will be claimable by anyone who owns 'the Plug' * * - There will be 4 variations, each with a different rarity (based on how likely it is * to receive, i.e. v1:60%, v2:20%, v3:15%, v4:5%) * - Owners with multiple Plugs will benefit through a distribution scheme that shifts * the probability of minting each variation towards 25% */ pragma solidity >=0.5.16 <0.9.0; import "./Kasbeer721.sol"; //@title Juice Box //@author Jack Kasbeer (gh:@jcksber, tw:@satoshigoat, ig:overprivilegd) contract JuiceBox is Kasbeer721 { // ------------- // EVENTS & VARS // ------------- event JuiceBoxMinted(uint256 indexed a); event JuiceBoxBurned(uint256 indexed a); //@dev This is how we'll keep track of who has already minted a JuiceBox mapping (address => bool) internal _boxHolders; //@dev Keep track of which token ID is associated with which hash mapping (uint256 => string) internal _tokenToHash; //@dev Initial production hashes string [NUM_ASSETS] boxHashes = ["QmbZH1NZLvUTqeaHXH37fVnb7QHcCFDsn4QKvicM1bmn5j", "QmVXiZFCwxBiJQJCpiSCKz8TkaWmnEBpT6stmxYqRK4FeY", "Qmds7Ag48sfeodwmtWmTokFGZoHiGZXYN2YbojtjTR7GhR", "QmeUPdEvAU5sSEv1Nwixbu1oxkSFCY194m8Drm9u3rtVWg"]; //cherry, berry, kiwi, lemon //@dev Associated weights of probability for hashes uint16 [NUM_ASSETS] boxWeights = [60, 23, 15, 2];//cherry, berry, kiwi, lemon //@dev Secret word to prevent etherscan claims string private _secret; constructor(string memory secret) Kasbeer721("Juice Box", "") { _whitelistActive = true; _secret = secret; _contractUri = "ipfs://QmdafigFsnSjondbSFKWhV2zbCf8qF5xEkgNoCYcnanhD6"; payoutAddress = 0x6b8C6E15818C74895c31A1C91390b3d42B336799;//logik } // ----------- // RESTRICTORS // ----------- modifier boxAvailable() { require(getCurrentId() < MAX_NUM_TOKENS, "JuiceBox: no JuiceBox's left to mint"); _; } modifier tokenExists(uint256 tokenId) { require(_exists(tokenId), "JuiceBox: nonexistent token"); _; } // --------------- // JUICE BOX MAGIC // --------------- //@dev Override 'tokenURI' to account for asset/hash cycling function tokenURI(uint256 tokenId) public view virtual override tokenExists(tokenId) returns (string memory) { return string(abi.encodePacked(_baseURI(), _tokenToHash[tokenId])); } //@dev Get the secret word function _getSecret() private view returns (string memory) { return _secret; } //// ---------------------- //// IPFS HASH MANIPULATION //// ---------------------- //@dev Get the hash stored at `idx` function getHashByIndex(uint8 idx) public view hashIndexInRange(idx) returns (string memory) { return boxHashes[idx]; } //@dev Allows us to update the IPFS hash values (one at a time) // 0:cherry, 1:berry, 2:kiwi, 3:lemon function updateHashForIndex(uint8 idx, string memory str) public isSquad hashIndexInRange(idx) { boxHashes[idx] = str; } // ------------------ // MINTING & CLAIMING // ------------------ //@dev Allows owners to mint for free function mint(address to) public virtual override isSquad boxAvailable returns (uint256 tid) { tid = _mintInternal(to); _assignHash(tid, 1); } //@dev Mint a specific juice box (owners only) function mintWithHash(address to, string memory hash) public isSquad returns (uint256 tid) { tid = _mintInternal(to); _tokenToHash[tid] = hash; } //@dev Claim a JuiceBox if you're a Plug holder function claim(address to, uint8 numPlugs, string memory secret) public boxAvailable whitelistEnabled onlyWhitelist(to) saleActive returns (uint256 tid, string memory hash) { require(!_boxHolders[to], "JuiceBox: cannot claim more than 1"); require(!_isContract(to), "JuiceBox: silly rabbit :P"); require(_stringsEqual(secret, _getSecret()), "JuiceBox: silly rabbit :P"); tid = _mintInternal(to); hash = _assignHash(tid, numPlugs); } //@dev Mints a single Juice Box & updates `_boxHolders` accordingly function _mintInternal(address to) internal virtual returns (uint256 newId) { _incrementTokenId(); newId = getCurrentId(); _safeMint(to, newId); _markAsClaimed(to); emit JuiceBoxMinted(newId); } //@dev Based on the number of Plugs owned by the sender, randomly select // a JuiceBox hash that will be associated with their token id function _assignHash(uint256 tid, uint8 numPlugs) private tokenExists(tid) returns (string memory hash) { uint8[] memory weights = new uint8[](NUM_ASSETS); //calculate new weights based on `numPlugs` if (numPlugs > 50) numPlugs = 50; weights[0] = uint8(boxWeights[0] - 35*((numPlugs-1)/50));//cherry: 60% -> 25% weights[1] = uint8(boxWeights[1] + 2*((numPlugs-1)/50));//berry: 23% -> 25% weights[2] = uint8(boxWeights[2] + 10*((numPlugs-1)/50));//kiwi: 15% -> 25% weights[3] = uint8(boxWeights[3] + 23*((numPlugs-1)/50));//lemon: 2% -> 25% uint16 rnd = random() % 100;//should be b/n 0 & 100 //randomly select a juice box hash uint8 i; for (i = 0; i < NUM_ASSETS; i++) { if (rnd < weights[i]) { hash = boxHashes[i]; break; } rnd -= weights[i]; } //assign the selected hash to this token id _tokenToHash[tid] = hash; } //@dev Update `_boxHolders` so that `a` cannot claim another juice box function _markAsClaimed(address a) private { _boxHolders[a] = true; } function getHashForTid(uint256 tid) public view tokenExists(tid) returns (string memory) { return _tokenToHash[tid]; } //@dev Pseudo-random number generator function random() public view returns (uint16 rnd) { return uint16(uint(keccak256(abi.encodePacked(block.difficulty, block.timestamp, boxWeights)))); } }
// SPDX-License-Identifier: MIT /* * Kasbeer721.sol * * Created: October 27, 2021 * * Tuned-up ERC721 that covers a multitude of features that are generally useful * so that it can be easily extended for quick customization . */ pragma solidity >=0.5.16 <0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./access/Whitelistable.sol"; import "./access/Pausable.sol"; import "./utils/LibPart.sol"; //@title Kasbeer721 - Beefed up ERC721 //@author Jack Kasbeer (git:@jcksber, tw:@satoshigoat, ig:overprivilegd) contract Kasbeer721 is ERC721, Whitelistable, Pausable { using SafeMath for uint256; using Counters for Counters.Counter; // ------------- // EVENTS & VARS // ------------- event Kasbeer721Minted(uint256 indexed tokenId); event Kasbeer721Burned(uint256 indexed tokenId); //@dev Token incrementing Counters.Counter internal _tokenIds; //@dev Important numbers uint constant NUM_ASSETS = 4;//4 juice box variations uint constant MAX_NUM_TOKENS = 413;//nomad+chi+st.l dream chasers //@dev Properties string internal _contractUri; address public payoutAddress; //@dev These are needed for contract compatability uint256 constant public royaltyFeeBps = 1000; // 10% bytes4 internal constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; bytes4 internal constant _INTERFACE_ID_ERC721 = 0x80ac58cd; bytes4 internal constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; bytes4 internal constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; bytes4 internal constant _INTERFACE_ID_EIP2981 = 0x2a55205a; bytes4 internal constant _INTERFACE_ID_ROYALTIES = 0xcad96cca; constructor(string memory temp_name, string memory temp_symbol) ERC721(temp_name, temp_symbol) {} // --------- // MODIFIERS // --------- modifier hashIndexInRange(uint8 idx) { require(0 <= idx && idx < NUM_ASSETS, "Kasbeer721: index OOB"); _; } modifier onlyValidTokenId(uint256 tokenId) { require(1 <= tokenId && tokenId <= MAX_NUM_TOKENS, "Kasbeer721: tokenId OOB"); _; } // ---------- // MAIN LOGIC // ---------- //@dev All of the asset's will be pinned to IPFS function _baseURI() internal view virtual override returns (string memory) { return "ipfs://"; } //@dev This is here as a reminder to override for custom transfer functionality function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); } //@dev Allows owners to mint for free function mint(address to) public virtual isSquad returns (uint256) { _tokenIds.increment(); uint256 newId = _tokenIds.current(); _safeMint(to, newId); emit Kasbeer721Minted(newId); return newId; } //@dev Custom burn function - nothing special function burn(uint256 tokenId) public virtual { require( isInSquad(_msgSender()) || _msgSender() == ownerOf(tokenId), "Kasbeer721: not owner or in squad." ); _burn(tokenId); emit Kasbeer721Burned(tokenId); } //// -------- //// CONTRACT //// -------- //@dev Controls the contract-level metadata to include things like royalties function contractURI() public view returns(string memory) { return _contractUri; } //@dev Ability to change the contract URI function updateContractUri(string memory updatedContractUri) public isSquad { _contractUri = updatedContractUri; } //@dev Allows us to withdraw funds collected function withdraw(address payable wallet, uint256 amount) public isSquad { require(amount <= address(this).balance, "Kasbeer721: Insufficient funds to withdraw"); wallet.transfer(amount); } //@dev Destroy contract and reclaim leftover funds function kill() public onlyOwner { selfdestruct(payable(_msgSender())); } // ------- // HELPERS // ------- //@dev Returns the current token id (number minted so far) function getCurrentId() public view returns (uint256) { return _tokenIds.current(); } //@dev Increments `_tokenIds` by 1 function _incrementTokenId() internal { _tokenIds.increment(); } //@dev Determine if two strings are equal using the length + hash method function _stringsEqual(string memory a, string memory b) internal pure returns (bool) { bytes memory A = bytes(a); bytes memory B = bytes(b); if (A.length != B.length) { return false; } else { return keccak256(A) == keccak256(B); } } //@dev Determine if an address is a smart contract function _isContract(address a) internal view returns (bool) { uint32 size; assembly { size := extcodesize(a) } return size > 0; } // ----------------- // SECONDARY MARKETS // ----------------- //@dev Rarible Royalties V2 function getRaribleV2Royalties(uint256 id) onlyValidTokenId(id) external view returns (LibPart.Part[] memory) { LibPart.Part[] memory royalties = new LibPart.Part[](1); royalties[0] = LibPart.Part({ account: payable(payoutAddress), value: uint96(royaltyFeeBps) }); return royalties; } //@dev EIP-2981 function royaltyInfo(uint256 tokenId, uint256 salePrice) external view onlyValidTokenId(tokenId) returns (address receiver, uint256 amount) { uint256 ourCut = SafeMath.div(SafeMath.mul(salePrice, royaltyFeeBps), 10000); return (payoutAddress, ourCut); } // ----------------- // INTERFACE SUPPORT // ----------------- //@dev Confirm that this contract is compatible w/ these interfaces function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == _INTERFACE_ID_ERC165 || interfaceId == _INTERFACE_ID_ROYALTIES || interfaceId == _INTERFACE_ID_ERC721 || interfaceId == _INTERFACE_ID_ERC721_METADATA || interfaceId == _INTERFACE_ID_ERC721_ENUMERABLE || interfaceId == _INTERFACE_ID_EIP2981 || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT /* * Whitelistable.sol * * Created: December 21, 2021 * * Provides functionality for a "whitelist"/"guestlist" for inheriting contracts. */ pragma solidity >=0.5.16 <0.9.0; import "./SquadOwnable.sol"; //@title Whitelistable //@author Jack Kasbeer (gh:@jcksber, tw:@satoshigoat, ig:overprivilegd) contract Whitelistable is SquadOwnable { // ------------- // EVENTS & VARS // ------------- event WhitelistActivated(address indexed a); event WhitelistDeactivated(address indexed a); //@dev Whitelist mapping for client addresses mapping (address => bool) internal _whitelist; //@dev Whitelist flag for active/inactive states bool internal _whitelistActive; constructor() { _whitelistActive = false; //add myself and then logik (client) _whitelist[0xB9699469c0b4dD7B1Dda11dA7678Fa4eFD51211b] = true; _whitelist[0x6b8C6E15818C74895c31A1C91390b3d42B336799] = true; } // --------- // MODIFIERS // --------- //@dev Determine if someone is in the whitelsit modifier onlyWhitelist(address a) { require(isWhitelisted(a), "Whitelistable: must be on whitelist"); _; } //@dev Prevent non-whitelist minting functions from being used modifier whitelistDisabled() { require(_whitelistActive == false, "Whitelistable: whitelist still active"); _; } //@dev Require that the whitelist is currently enabled modifier whitelistEnabled() { require(_whitelistActive == true, "Whitelistable: whitelist not active"); _; } // ---------- // MAIN LOGIC // ---------- //@dev Toggle the state of the whitelist (on/off) function toggleWhitelist() public isSquad { _whitelistActive = !_whitelistActive; if (_whitelistActive) { emit WhitelistActivated(_msgSender()); } else { emit WhitelistDeactivated(_msgSender()); } } //@dev Determine if `a` is in the `_whitelist function isWhitelisted(address a) public view returns (bool) { return _whitelist[a]; } //// ---------- //// ADD/REMOVE //// ---------- //@dev Add a single address to whitelist function addToWhitelist(address a) public isSquad { require(!isWhitelisted(a), "Whitelistable: already whitelisted"); _whitelist[a] = true; } //@dev Remove a single address from the whitelist function removeFromWhitelist(address a) public isSquad { require(isWhitelisted(a), "Whitelistable: not in whitelist"); _whitelist[a] = false; } //@dev Add a list of addresses to the whitelist function bulkAddToWhitelist(address[] memory addresses) public isSquad { uint addrLen = addresses.length; require(addrLen > 1, "Whitelistable: use `addToWhitelist` instead"); require(addrLen < 65536, "Whitelistable: cannot add more than 65535 at once"); uint16 i; for (i = 0; i < addrLen; i++) { if (!isWhitelisted(addresses[i])) { _whitelist[addresses[i]] = true; } } } }
// SPDX-License-Identifier: MIT /* * Pausable.sol * * Created: December 21, 2021 * * Provides functionality for pausing and unpausing the sale (or other functionality) */ pragma solidity >=0.5.16 <0.9.0; import "./SquadOwnable.sol"; //@title Pausable //@author Jack Kasbeer (gh:@jcksber, tw:@satoshigoat, ig:overprivilegd) contract Pausable is SquadOwnable { // ------------- // EVENTS & VARS // ------------- event Paused(address indexed a); event Unpaused(address indexed a); bool private _paused; constructor() { _paused = false; } // --------- // MODIFIERS // --------- //@dev This will require the sale to be unpaused modifier saleActive() { require(!_paused, "Pausable: sale paused."); _; } // ---------- // MAIN LOGIC // ---------- //@dev Pause or unpause minting function toggleSaleActive() public isSquad { _paused = !_paused; if (_paused) { emit Paused(_msgSender()); } else { emit Unpaused(_msgSender()); } } //@dev Determine if the sale is currently paused function paused() public view virtual returns (bool) { return _paused; } }
// SPDX-License-Identifier: MIT /* * LibPart.sol * * Author: Jack Kasbeer (taken from 'dot') * Created: October 20, 2021 */ pragma solidity >=0.5.16 <0.9.0; //@dev We need this libary for Rarible library LibPart { bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)"); struct Part { address payable account; uint96 value; } function hash(Part memory part) internal pure returns (bytes32) { return keccak256(abi.encode(TYPE_HASH, part.account, part.value)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT /* * SquadOwnable.sol * * Created: December 21, 2021 * * An extension of `Ownable.sol` to accomodate for a potential list of owners. * NOTE: this will need to be the last inherited contract to give all parents * access to the modifiers it provides */ pragma solidity >=0.5.16 <0.9.0; import "@openzeppelin/contracts/access/Ownable.sol"; //@title SquadOwnable //@author Jack Kasbeer (gh:@jcksber, tw:@satoshigoat, ig:overprivilegd) contract SquadOwnable is Ownable { //@dev Ownership - list of squad members (owners) mapping (address => bool) internal _squad; constructor() { //add myself and then logik (client) _squad[0xB9699469c0b4dD7B1Dda11dA7678Fa4eFD51211b] = true; _squad[0x6b8C6E15818C74895c31A1C91390b3d42B336799] = true; } //@dev Custom modifier for multiple owners modifier isSquad() { require(isInSquad(_msgSender()), "SquadOwnable: Caller not part of squad."); _; } //@dev Determine if address `a` is an approved owner function isInSquad(address a) public view returns (bool) { return _squad[a]; } //@dev Add `a` to the squad function addToSquad(address a) public onlyOwner { require(!isInSquad(a), "SquadOwnable: Address already in squad."); _squad[a] = true; } //@dev Remove `a` from the squad function removeFromSquad(address a) public onlyOwner { require(isInSquad(a), "SquadOwnable: Address already not in squad."); _squad[a] = false; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"secret","type":"string"}],"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":"uint256","name":"a","type":"uint256"}],"name":"JuiceBoxBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"a","type":"uint256"}],"name":"JuiceBoxMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Kasbeer721Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Kasbeer721Minted","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":"a","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"a","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"a","type":"address"}],"name":"WhitelistActivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"a","type":"address"}],"name":"WhitelistDeactivated","type":"event"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"addToSquad","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"addToWhitelist","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":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"bulkAddToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint8","name":"numPlugs","type":"uint8"},{"internalType":"string","name":"secret","type":"string"}],"name":"claim","outputs":[{"internalType":"uint256","name":"tid","type":"uint256"},{"internalType":"string","name":"hash","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"idx","type":"uint8"}],"name":"getHashByIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tid","type":"uint256"}],"name":"getHashForTid","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRaribleV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"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":"address","name":"a","type":"address"}],"name":"isInSquad","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kill","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"tid","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"hash","type":"string"}],"name":"mintWithHash","outputs":[{"internalType":"uint256","name":"tid","type":"uint256"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payoutAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"random","outputs":[{"internalType":"uint16","name":"rnd","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"removeFromSquad","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyFeeBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","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":"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"updatedContractUri","type":"string"}],"name":"updateContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"idx","type":"uint8"},{"internalType":"string","name":"str","type":"string"}],"name":"updateHashForIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610160604052602e610100818152608091829190620038216101203981526020016040518060600160405280602e81526020016200384f602e913981526020016040518060600160405280602e815260200162003790602e913981526020016040518060600160405280602e8152602001620037be602e913990526200008a90600f90600462000316565b5060408051608081018252603c815260176020820152600f9181019190915260026060820152620000c09060139060046200036d565b50348015620000ce57600080fd5b506040516200387d3803806200387d833981016040819052620000f191620004fc565b60405180604001604052806009815260200168094ead2c6ca4084def60bb1b81525060405180602001604052806000815250818181600090805190602001906200013d92919062000405565b5080516200015390600190602084019062000405565b505050620001706200016a620002c060201b60201c565b620002c4565b50507f1e8641352ea405ab894721c4470ed0840757efa91be5c7139614432b27746d608054600160ff1991821681179092557ff136ceb6f33de17e904630771b9b90c6d5ff132954a37f9160c62186a694860a805482168317905560098054600860209081527f33229407dcf1122ea1a85cd699b612f647606b8c3f4b9294fcb8b9160e8086c28054851686179055736b8c6e15818c74895c31a1c91390b3d42b3367996000527f449635ae2920e9bee2eacf80bf47b812f795c424e8f2da43e094a640589d75958054909416851790935561ffff1916909217909155815162000261916014919084019062000405565b50604051806060016040528060358152602001620037ec6035913980516200029291600b9160209091019062000405565b5050600c80546001600160a01b031916736b8c6e15818c74895c31a1c91390b3d42b3367991790556200062b565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82600481019282156200035b579160200282015b828111156200035b57825180516200034a91849160209091019062000405565b50916020019190600101906200032a565b506200036992915062000482565b5090565b600183019183908215620003f75791602002820160005b83821115620003c557835183826101000a81548161ffff021916908360ff160217905550926020019260020160208160010104928301926001030262000384565b8015620003f55782816101000a81549061ffff0219169055600201602081600101049283019260010302620003c5565b505b5062000369929150620004a3565b8280546200041390620005d8565b90600052602060002090601f016020900481019282620004375760008555620003f7565b82601f106200045257805160ff1916838001178555620003f7565b82800160010185558215620003f7579182015b82811115620003f757825182559160200191906001019062000465565b8082111562000369576000620004998282620004ba565b5060010162000482565b5b80821115620003695760008155600101620004a4565b508054620004c890620005d8565b6000825580601f10620004d9575050565b601f016020900490600052602060002090810190620004f99190620004a3565b50565b600060208083850312156200051057600080fd5b82516001600160401b03808211156200052857600080fd5b818501915085601f8301126200053d57600080fd5b81518181111562000552576200055262000615565b604051601f8201601f19908116603f011681019083821181831017156200057d576200057d62000615565b8160405282815288868487010111156200059657600080fd5b600093505b82841015620005ba57848401860151818501870152928501926200059b565b82841115620005cc5760008684830101525b98975050505050505050565b600181811c90821680620005ed57607f821691505b602082108114156200060f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b613155806200063b6000396000f3fe608060405234801561001057600080fd5b50600436106102695760003560e01c80636e3b5c1211610151578063b52f10d7116100c3578063df1ddfa211610087578063df1ddfa214610568578063e43252d714610589578063e8a3d4851461059c578063e985e9c5146105a4578063f2fde38b146105b7578063f3fef3a3146105ca57600080fd5b8063b52f10d7146104fc578063b88d4fde1461050f578063c87b56dd14610522578063cad96cca14610535578063d3ad3c191461055557600080fd5b80637e15144b116101155780637e15144b146104ac5780638ab1d681146104b45780638da5cb5b146104c757806391192765146104d857806395d89b41146104e1578063a22cb465146104e957600080fd5b80636e3b5c121461043f57806370a0823114610452578063715018a61461046557806371f24d4c1461046d5780637c461e181461048057600080fd5b806342842e0e116101ea5780635c975abb116101ae5780635c975abb146103d35780635ec01e4d146103e35780636352211e146103fe5780636a627842146104115780636c143862146104245780636c79af101461042c57600080fd5b806342842e0e1461037457806342966c681461038757806347c8ff5e1461039a5780634dc91393146103ad5780635b8d02d7146103c057600080fd5b806323b872dd1161023157806323b872dd1461030c5780632a55205a1461031f5780633100a535146103515780633af32abf1461035957806341c0e1b51461036c57600080fd5b806301ffc9a71461026e57806306fdde0314610296578063081812fc146102ab578063095ea7b3146102d65780630cf7a288146102eb575b600080fd5b61028161027c366004612a67565b6105dd565b60405190151581526020015b60405180910390f35b61029e61068f565b60405161028d9190612cc8565b6102be6102b9366004612ad6565b610721565b6040516001600160a01b03909116815260200161028d565b6102e96102e43660046127a5565b6107ae565b005b6102fe6102f93660046128fe565b6108c4565b60405190815260200161028d565b6102e961031a36600461280a565b61091f565b61033261032d366004612aef565b610950565b604080516001600160a01b03909316835260208301919091520161028d565b6102e96109de565b610281610367366004612788565b610a86565b6102e9610aa4565b6102e961038236600461280a565b610ad1565b6102e9610395366004612ad6565b610aec565b6102e96103a8366004612aa1565b610ba7565b61029e6103bb366004612b11565b610be3565b600c546102be906001600160a01b031681565b600954610100900460ff16610281565b6103eb610cda565b60405161ffff909116815260200161028d565b6102be61040c366004612ad6565b610d49565b6102fe61041f366004612788565b610dc0565b6102fe610e25565b6102e961043a3660046129ae565b610e35565b6102e961044d366004612788565b610fd3565b6102fe610460366004612788565b611087565b6102e961110e565b61029e61047b366004612ad6565b611142565b61028161048e366004612788565b6001600160a01b031660009081526007602052604090205460ff1690565b6102e9611183565b6102e96104c2366004612788565b61121d565b6006546001600160a01b03166102be565b6102fe6103e881565b61029e6112b8565b6102e96104f73660046128cb565b6112c7565b6102e961050a366004612b2c565b6112d2565b6102e961051d36600461284b565b611374565b61029e610530366004612ad6565b6113a6565b610548610543366004612ad6565b61141f565b60405161028d9190612c62565b6102e9610563366004612788565b611501565b61057b61057636600461294e565b6115b5565b60405161028d929190612e75565b6102e9610597366004612788565b611835565b61029e6118df565b6102816105b23660046127d1565b6118ee565b6102e96105c5366004612788565b61191c565b6102e96105d83660046127a5565b6119b7565b60006001600160e01b031982166301ffc9a760e01b148061060e57506001600160e01b0319821663656cb66560e11b145b8061062957506001600160e01b031982166380ac58cd60e01b145b8061064457506001600160e01b03198216635b5e139f60e01b145b8061065f57506001600160e01b0319821663780e9d6360e01b145b8061067a57506001600160e01b0319821663152a902d60e11b145b80610689575061068982611a75565b92915050565b60606000805461069e90613004565b80601f01602080910402602001604051908101604052809291908181526020018280546106ca90613004565b80156107175780601f106106ec57610100808354040283529160200191610717565b820191906000526020600020905b8154815290600101906020018083116106fa57829003601f168201915b5050505050905090565b600061072c82611ac5565b6107925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107b982610d49565b9050806001600160a01b0316836001600160a01b031614156108275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610789565b336001600160a01b0382161480610843575061084381336118ee565b6108b55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610789565b6108bf8383611ae2565b505050565b60006108cf3361048e565b6108eb5760405162461bcd60e51b815260040161078990612ddd565b6108f483611b50565b6000818152600e602090815260409091208451929350610918929091850190612661565b5092915050565b6109293382611bc6565b6109455760405162461bcd60e51b815260040161078990612e24565b6108bf838383611c90565b6000808380600111158015610967575061019d8111155b6109ad5760405162461bcd60e51b815260206004820152601760248201527625b0b9b132b2b91b99189d103a37b5b2b724b21027a7a160491b6044820152606401610789565b60006109c66109be866103e8611e30565b612710611e43565b600c546001600160a01b031697909650945050505050565b6109e73361048e565b610a035760405162461bcd60e51b815260040161078990612ddd565b6009805460ff610100808304821615810261ff0019909316929092179283905591041615610a585760405133907f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25890600090a2565b60405133907f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa90600090a25b565b6001600160a01b031660009081526008602052604090205460ff1690565b6006546001600160a01b03163314610ace5760405162461bcd60e51b815260040161078990612da8565b33ff5b6108bf83838360405180602001604052806000815250611374565b610af53361048e565b80610b195750610b0481610d49565b6001600160a01b0316336001600160a01b0316145b610b705760405162461bcd60e51b815260206004820152602260248201527f4b6173626565723732313a206e6f74206f776e6572206f7220696e2073717561604482015261321760f11b6064820152608401610789565b610b7981611e4f565b60405181907f4caf76a5237dbe633d5ebc0b0b5a15c50e057b099d76b698c74a0d47cc3240ec90600090a250565b610bb03361048e565b610bcc5760405162461bcd60e51b815260040161078990612ddd565b8051610bdf90600b906020840190612661565b5050565b60608160048160ff1610610c315760405162461bcd60e51b815260206004820152601560248201527425b0b9b132b2b91b99189d1034b73232bc1027a7a160591b6044820152606401610789565b600f8360ff1660048110610c4757610c476130c8565b018054610c5390613004565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7f90613004565b8015610ccc5780601f10610ca157610100808354040283529160200191610ccc565b820191906000526020600020905b815481529060010190602001808311610caf57829003601f168201915b505050505091505b50919050565b600044426013604051602001610d2b939291909283526020808401929092525461ffff8082166040850152601082901c811660608501529181901c8216608084015260301c1660a082015260c00190565b6040516020818303038152906040528051906020012060001c905090565b6000818152600260205260408120546001600160a01b0316806106895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610789565b6000610dcb3361048e565b610de75760405162461bcd60e51b815260040161078990612ddd565b61019d610df2610e25565b10610e0f5760405162461bcd60e51b815260040161078990612cdb565b610e1882611b50565b9050610cd4816001611eea565b6000610e30600a5490565b905090565b610e3e3361048e565b610e5a5760405162461bcd60e51b815260040161078990612ddd565b805160018111610ec05760405162461bcd60e51b815260206004820152602b60248201527f57686974656c69737461626c653a207573652060616464546f57686974656c6960448201526a1cdd18081a5b9cdd19585960aa1b6064820152608401610789565b620100008110610f2c5760405162461bcd60e51b815260206004820152603160248201527f57686974656c69737461626c653a2063616e6e6f7420616464206d6f7265207460448201527068616e203635353335206174206f6e636560781b6064820152608401610789565b60005b818161ffff1610156108bf57610f61838261ffff1681518110610f5457610f546130c8565b6020026020010151610a86565b610fc157600160086000858461ffff1681518110610f8157610f816130c8565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055505b80610fcb81613039565b915050610f2f565b6006546001600160a01b03163314610ffd5760405162461bcd60e51b815260040161078990612da8565b6110068161048e565b6110665760405162461bcd60e51b815260206004820152602b60248201527f53717561644f776e61626c653a204164647265737320616c7265616479206e6f60448201526a3a1034b71039b8bab0b21760a91b6064820152608401610789565b6001600160a01b03166000908152600760205260409020805460ff19169055565b60006001600160a01b0382166110f25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610789565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146111385760405162461bcd60e51b815260040161078990612da8565b610a84600061222e565b60608161114e81611ac5565b61116a5760405162461bcd60e51b815260040161078990612d71565b6000838152600e602052604090208054610c5390613004565b61118c3361048e565b6111a85760405162461bcd60e51b815260040161078990612ddd565b6009805460ff19811660ff9182161590811790925516156111f05760405133907fe17ac05ff4095c2a1b270ddc6f70ea762311620bf4be3b1c2b0a9f4d5b16a53390600090a2565b60405133907f5a5fb1bb60b955fafbedf12a782cf1135ba3f37b851d547e79c04e55d1d9a2bb90600090a2565b6112263361048e565b6112425760405162461bcd60e51b815260040161078990612ddd565b61124b81610a86565b6112975760405162461bcd60e51b815260206004820152601f60248201527f57686974656c69737461626c653a206e6f7420696e2077686974656c697374006044820152606401610789565b6001600160a01b03166000908152600860205260409020805460ff19169055565b60606001805461069e90613004565b610bdf338383612280565b6112db3361048e565b6112f75760405162461bcd60e51b815260040161078990612ddd565b8160048160ff16106113435760405162461bcd60e51b815260206004820152601560248201527425b0b9b132b2b91b99189d1034b73232bc1027a7a160591b6044820152606401610789565b81600f8460ff166004811061135a5761135a6130c8565b01908051906020019061136e929190612661565b50505050565b61137e3383611bc6565b61139a5760405162461bcd60e51b815260040161078990612e24565b61136e8484848461234f565b6060816113b281611ac5565b6113ce5760405162461bcd60e51b815260040161078990612d71565b6040805180820182526007815266697066733a2f2f60c81b6020808301919091526000868152600e82528390209251611408939101612b74565b604051602081830303815290604052915050919050565b60608180600111158015611435575061019d8111155b61147b5760405162461bcd60e51b815260206004820152601760248201527625b0b9b132b2b91b99189d103a37b5b2b724b21027a7a160491b6044820152606401610789565b604080516001808252818301909252600091816020015b604080518082019091526000808252602082015281526020019060019003908161149257505060408051808201909152600c546001600160a01b031681526103e8602082015281519192509082906000906114ef576114ef6130c8565b60209081029190910101529392505050565b6006546001600160a01b0316331461152b5760405162461bcd60e51b815260040161078990612da8565b6115348161048e565b156115915760405162461bcd60e51b815260206004820152602760248201527f53717561644f776e61626c653a204164647265737320616c726561647920696e6044820152661039b8bab0b21760c91b6064820152608401610789565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000606061019d6115c4610e25565b106115e15760405162461bcd60e51b815260040161078990612cdb565b60095460ff1615156001146116445760405162461bcd60e51b815260206004820152602360248201527f57686974656c69737461626c653a2077686974656c697374206e6f742061637460448201526269766560e81b6064820152608401610789565b8461164e81610a86565b6116a65760405162461bcd60e51b815260206004820152602360248201527f57686974656c69737461626c653a206d757374206265206f6e2077686974656c6044820152621a5cdd60ea1b6064820152608401610789565b600954610100900460ff16156116f75760405162461bcd60e51b81526020600482015260166024820152752830bab9b0b136329d1039b0b632903830bab9b2b21760511b6044820152606401610789565b6001600160a01b0386166000908152600d602052604090205460ff161561176b5760405162461bcd60e51b815260206004820152602260248201527f4a75696365426f783a2063616e6e6f7420636c61696d206d6f7265207468616e604482015261203160f01b6064820152608401610789565b853b63ffffffff16156117bc5760405162461bcd60e51b815260206004820152601960248201527804a75696365426f783a2073696c6c7920726162626974203a5603c1b6044820152606401610789565b6117cd846117c8612382565b612391565b6118155760405162461bcd60e51b815260206004820152601960248201527804a75696365426f783a2073696c6c7920726162626974203a5603c1b6044820152606401610789565b61181e86611b50565b925061182a8386611eea565b915050935093915050565b61183e3361048e565b61185a5760405162461bcd60e51b815260040161078990612ddd565b61186381610a86565b156118bb5760405162461bcd60e51b815260206004820152602260248201527f57686974656c69737461626c653a20616c72656164792077686974656c697374604482015261195960f21b6064820152608401610789565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6060600b805461069e90613004565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b031633146119465760405162461bcd60e51b815260040161078990612da8565b6001600160a01b0381166119ab5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610789565b6119b48161222e565b50565b6119c03361048e565b6119dc5760405162461bcd60e51b815260040161078990612ddd565b47811115611a3f5760405162461bcd60e51b815260206004820152602a60248201527f4b6173626565723732313a20496e73756666696369656e742066756e647320746044820152696f20776974686472617760b01b6064820152608401610789565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156108bf573d6000803e3d6000fd5b60006001600160e01b031982166380ac58cd60e01b1480611aa657506001600160e01b03198216635b5e139f60e01b145b8061068957506301ffc9a760e01b6001600160e01b0319831614610689565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b1782610d49565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b5a6123c6565b611b62610e25565b9050611b6e82826123d4565b611b96826001600160a01b03166000908152600d60205260409020805460ff19166001179055565b60405181907fdde1a3991487ef0f8934a8fe012d98d074badad7df3d2dbb48d872087cf248e890600090a2919050565b6000611bd182611ac5565b611c325760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610789565b6000611c3d83610d49565b9050806001600160a01b0316846001600160a01b03161480611c785750836001600160a01b0316611c6d84610721565b6001600160a01b0316145b80611c885750611c8881856118ee565b949350505050565b826001600160a01b0316611ca382610d49565b6001600160a01b031614611d0b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610789565b6001600160a01b038216611d6d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610789565b611d78600082611ae2565b6001600160a01b0383166000908152600360205260408120805460019290611da1908490612f9e565b90915550506001600160a01b0382166000908152600360205260408120805460019290611dcf908490612ee5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611e3c8284612f33565b9392505050565b6000611e3c8284612efd565b6000611e5a82610d49565b9050611e67600083611ae2565b6001600160a01b0381166000908152600360205260408120805460019290611e90908490612f9e565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b606082611ef681611ac5565b611f125760405162461bcd60e51b815260040161078990612d71565b60408051600480825260a082019092526000916020820160808036833701905050905060328460ff161115611f4657603293505b6032611f53600186612fb5565b611f5d9190612f11565b611f68906023612f52565b601354611f7c9160ff169061ffff16612f7b565b81600081518110611f8f57611f8f6130c8565b60ff909216602092830291909101909101526032611fae600186612fb5565b611fb89190612f11565b611fc3906002612f52565b601354611fdd9160ff169062010000900461ffff16612ebf565b81600181518110611ff057611ff06130c8565b60ff90921660209283029190910190910152603261200f600186612fb5565b6120199190612f11565b61202490600a612f52565b6013546120409160ff1690640100000000900461ffff16612ebf565b81600281518110612053576120536130c8565b60ff909216602092830291909101909101526032612072600186612fb5565b61207c9190612f11565b612087906017612f52565b6013546120a59160ff16906601000000000000900461ffff16612ebf565b816003815181106120b8576120b86130c8565b602002602001019060ff16908160ff1681525050600060646120d8610cda565b6120e2919061307b565b905060005b60048160ff16101561220457828160ff1681518110612108576121086130c8565b602002602001015160ff168261ffff1610156121c557600f8160ff1660048110612134576121346130c8565b01805461214090613004565b80601f016020809104026020016040519081016040528092919081815260200182805461216c90613004565b80156121b95780601f1061218e576101008083540402835291602001916121b9565b820191906000526020600020905b81548152906001019060200180831161219c57829003601f168201915b50505050509450612204565b828160ff16815181106121da576121da6130c8565b602002602001015160ff16826121f09190612f7b565b9150806121fc8161305b565b9150506120e7565b6000878152600e60209081526040909120865161222392880190612661565b505050505092915050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156122e25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610789565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61235a848484611c90565b612366848484846123ee565b61136e5760405162461bcd60e51b815260040161078990612d1f565b60606014805461069e90613004565b8051825160009184918491146123ac57600092505050610689565b808051906020012082805190602001201492505050610689565b610a84600a80546001019055565b610bdf8282604051806020016040528060008152506124fb565b60006001600160a01b0384163b156124f057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612432903390899088908890600401612c25565b602060405180830381600087803b15801561244c57600080fd5b505af192505050801561247c575060408051601f3d908101601f1916820190925261247991810190612a84565b60015b6124d6573d8080156124aa576040519150601f19603f3d011682016040523d82523d6000602084013e6124af565b606091505b5080516124ce5760405162461bcd60e51b815260040161078990612d1f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c88565b506001949350505050565b612505838361252e565b61251260008484846123ee565b6108bf5760405162461bcd60e51b815260040161078990612d1f565b6001600160a01b0382166125845760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610789565b61258d81611ac5565b156125da5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610789565b6001600160a01b0382166000908152600360205260408120805460019290612603908490612ee5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461266d90613004565b90600052602060002090601f01602090048101928261268f57600085556126d5565b82601f106126a857805160ff19168380011785556126d5565b828001600101855582156126d5579182015b828111156126d55782518255916020019190600101906126ba565b506126e19291506126e5565b5090565b5b808211156126e157600081556001016126e6565b600067ffffffffffffffff831115612714576127146130de565b612727601f8401601f1916602001612e8e565b905082815283838301111561273b57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261276357600080fd5b611e3c838335602085016126fa565b803560ff8116811461278357600080fd5b919050565b60006020828403121561279a57600080fd5b8135611e3c816130f4565b600080604083850312156127b857600080fd5b82356127c3816130f4565b946020939093013593505050565b600080604083850312156127e457600080fd5b82356127ef816130f4565b915060208301356127ff816130f4565b809150509250929050565b60008060006060848603121561281f57600080fd5b833561282a816130f4565b9250602084013561283a816130f4565b929592945050506040919091013590565b6000806000806080858703121561286157600080fd5b843561286c816130f4565b9350602085013561287c816130f4565b925060408501359150606085013567ffffffffffffffff81111561289f57600080fd5b8501601f810187136128b057600080fd5b6128bf878235602084016126fa565b91505092959194509250565b600080604083850312156128de57600080fd5b82356128e9816130f4565b9150602083013580151581146127ff57600080fd5b6000806040838503121561291157600080fd5b823561291c816130f4565b9150602083013567ffffffffffffffff81111561293857600080fd5b61294485828601612752565b9150509250929050565b60008060006060848603121561296357600080fd5b833561296e816130f4565b925061297c60208501612772565b9150604084013567ffffffffffffffff81111561299857600080fd5b6129a486828701612752565b9150509250925092565b600060208083850312156129c157600080fd5b823567ffffffffffffffff808211156129d957600080fd5b818501915085601f8301126129ed57600080fd5b8135818111156129ff576129ff6130de565b8060051b9150612a10848301612e8e565b8181528481019084860184860187018a1015612a2b57600080fd5b600095505b83861015612a5a5780359450612a45856130f4565b84835260019590950194918601918601612a30565b5098975050505050505050565b600060208284031215612a7957600080fd5b8135611e3c81613109565b600060208284031215612a9657600080fd5b8151611e3c81613109565b600060208284031215612ab357600080fd5b813567ffffffffffffffff811115612aca57600080fd5b611c8884828501612752565b600060208284031215612ae857600080fd5b5035919050565b60008060408385031215612b0257600080fd5b50508035926020909101359150565b600060208284031215612b2357600080fd5b611e3c82612772565b60008060408385031215612b3f57600080fd5b61291c83612772565b60008151808452612b60816020860160208601612fd8565b601f01601f19169290920160200192915050565b600083516020612b878285838901612fd8565b845491840191600090600181811c9080831680612ba557607f831692505b858310811415612bc357634e487b7160e01b85526022600452602485fd5b808015612bd75760018114612be857612c15565b60ff19851688528388019550612c15565b60008b81526020902060005b85811015612c0d5781548a820152908401908801612bf4565b505083880195505b50939a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c5890830184612b48565b9695505050505050565b602080825282518282018190526000919060409081850190868401855b82811015612cbb57815180516001600160a01b031685528601516bffffffffffffffffffffffff16868501529284019290850190600101612c7f565b5091979650505050505050565b602081526000611e3c6020830184612b48565b60208082526024908201527f4a75696365426f783a206e6f204a75696365426f782773206c65667420746f206040820152631b5a5b9d60e21b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601b908201527f4a75696365426f783a206e6f6e6578697374656e7420746f6b656e0000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526027908201527f53717561644f776e61626c653a2043616c6c6572206e6f742070617274206f666040820152661039b8bab0b21760c91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b828152604060208201526000611c886040830184612b48565b604051601f8201601f1916810167ffffffffffffffff81118282101715612eb757612eb76130de565b604052919050565b600061ffff808316818516808303821115612edc57612edc61309c565b01949350505050565b60008219821115612ef857612ef861309c565b500190565b600082612f0c57612f0c6130b2565b500490565b600060ff831680612f2457612f246130b2565b8060ff84160491505092915050565b6000816000190483118215151615612f4d57612f4d61309c565b500290565b600060ff821660ff84168160ff0481118215151615612f7357612f7361309c565b029392505050565b600061ffff83811690831681811015612f9657612f9661309c565b039392505050565b600082821015612fb057612fb061309c565b500390565b600060ff821660ff841680821015612fcf57612fcf61309c565b90039392505050565b60005b83811015612ff3578181015183820152602001612fdb565b8381111561136e5750506000910152565b600181811c9082168061301857607f821691505b60208210811415610cd457634e487b7160e01b600052602260045260246000fd5b600061ffff808316818114156130515761305161309c565b6001019392505050565b600060ff821660ff8114156130725761307261309c565b60010192915050565b600061ffff80841680613090576130906130b2565b92169190910692915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146119b457600080fd5b6001600160e01b0319811681146119b457600080fdfea264697066735822122056e8235604968f352682c8f5a10cbd2de0222343e966ab07e11de5bbd2d8bff464736f6c63430008070033516d647337416734387366656f64776d74576d546f6b46475a6f4869475a58594e3259626f6a746a545237476852516d65555064457641553573534576314e7769786275316f786b534643593139346d3844726d3975337274565767697066733a2f2f516d646166696746736e536a6f6e646253464b576856327a6243663871463578456b674e6f4359636e616e684436516d625a48314e5a4c765554716561485848333766566e6237514863434644736e34514b7669634d31626d6e356a516d5658695a4643777842694a514a43706953434b7a38546b61576d6e454270543673746d785971524b344665590000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000872756d696e617465000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102695760003560e01c80636e3b5c1211610151578063b52f10d7116100c3578063df1ddfa211610087578063df1ddfa214610568578063e43252d714610589578063e8a3d4851461059c578063e985e9c5146105a4578063f2fde38b146105b7578063f3fef3a3146105ca57600080fd5b8063b52f10d7146104fc578063b88d4fde1461050f578063c87b56dd14610522578063cad96cca14610535578063d3ad3c191461055557600080fd5b80637e15144b116101155780637e15144b146104ac5780638ab1d681146104b45780638da5cb5b146104c757806391192765146104d857806395d89b41146104e1578063a22cb465146104e957600080fd5b80636e3b5c121461043f57806370a0823114610452578063715018a61461046557806371f24d4c1461046d5780637c461e181461048057600080fd5b806342842e0e116101ea5780635c975abb116101ae5780635c975abb146103d35780635ec01e4d146103e35780636352211e146103fe5780636a627842146104115780636c143862146104245780636c79af101461042c57600080fd5b806342842e0e1461037457806342966c681461038757806347c8ff5e1461039a5780634dc91393146103ad5780635b8d02d7146103c057600080fd5b806323b872dd1161023157806323b872dd1461030c5780632a55205a1461031f5780633100a535146103515780633af32abf1461035957806341c0e1b51461036c57600080fd5b806301ffc9a71461026e57806306fdde0314610296578063081812fc146102ab578063095ea7b3146102d65780630cf7a288146102eb575b600080fd5b61028161027c366004612a67565b6105dd565b60405190151581526020015b60405180910390f35b61029e61068f565b60405161028d9190612cc8565b6102be6102b9366004612ad6565b610721565b6040516001600160a01b03909116815260200161028d565b6102e96102e43660046127a5565b6107ae565b005b6102fe6102f93660046128fe565b6108c4565b60405190815260200161028d565b6102e961031a36600461280a565b61091f565b61033261032d366004612aef565b610950565b604080516001600160a01b03909316835260208301919091520161028d565b6102e96109de565b610281610367366004612788565b610a86565b6102e9610aa4565b6102e961038236600461280a565b610ad1565b6102e9610395366004612ad6565b610aec565b6102e96103a8366004612aa1565b610ba7565b61029e6103bb366004612b11565b610be3565b600c546102be906001600160a01b031681565b600954610100900460ff16610281565b6103eb610cda565b60405161ffff909116815260200161028d565b6102be61040c366004612ad6565b610d49565b6102fe61041f366004612788565b610dc0565b6102fe610e25565b6102e961043a3660046129ae565b610e35565b6102e961044d366004612788565b610fd3565b6102fe610460366004612788565b611087565b6102e961110e565b61029e61047b366004612ad6565b611142565b61028161048e366004612788565b6001600160a01b031660009081526007602052604090205460ff1690565b6102e9611183565b6102e96104c2366004612788565b61121d565b6006546001600160a01b03166102be565b6102fe6103e881565b61029e6112b8565b6102e96104f73660046128cb565b6112c7565b6102e961050a366004612b2c565b6112d2565b6102e961051d36600461284b565b611374565b61029e610530366004612ad6565b6113a6565b610548610543366004612ad6565b61141f565b60405161028d9190612c62565b6102e9610563366004612788565b611501565b61057b61057636600461294e565b6115b5565b60405161028d929190612e75565b6102e9610597366004612788565b611835565b61029e6118df565b6102816105b23660046127d1565b6118ee565b6102e96105c5366004612788565b61191c565b6102e96105d83660046127a5565b6119b7565b60006001600160e01b031982166301ffc9a760e01b148061060e57506001600160e01b0319821663656cb66560e11b145b8061062957506001600160e01b031982166380ac58cd60e01b145b8061064457506001600160e01b03198216635b5e139f60e01b145b8061065f57506001600160e01b0319821663780e9d6360e01b145b8061067a57506001600160e01b0319821663152a902d60e11b145b80610689575061068982611a75565b92915050565b60606000805461069e90613004565b80601f01602080910402602001604051908101604052809291908181526020018280546106ca90613004565b80156107175780601f106106ec57610100808354040283529160200191610717565b820191906000526020600020905b8154815290600101906020018083116106fa57829003601f168201915b5050505050905090565b600061072c82611ac5565b6107925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107b982610d49565b9050806001600160a01b0316836001600160a01b031614156108275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610789565b336001600160a01b0382161480610843575061084381336118ee565b6108b55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610789565b6108bf8383611ae2565b505050565b60006108cf3361048e565b6108eb5760405162461bcd60e51b815260040161078990612ddd565b6108f483611b50565b6000818152600e602090815260409091208451929350610918929091850190612661565b5092915050565b6109293382611bc6565b6109455760405162461bcd60e51b815260040161078990612e24565b6108bf838383611c90565b6000808380600111158015610967575061019d8111155b6109ad5760405162461bcd60e51b815260206004820152601760248201527625b0b9b132b2b91b99189d103a37b5b2b724b21027a7a160491b6044820152606401610789565b60006109c66109be866103e8611e30565b612710611e43565b600c546001600160a01b031697909650945050505050565b6109e73361048e565b610a035760405162461bcd60e51b815260040161078990612ddd565b6009805460ff610100808304821615810261ff0019909316929092179283905591041615610a585760405133907f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25890600090a2565b60405133907f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa90600090a25b565b6001600160a01b031660009081526008602052604090205460ff1690565b6006546001600160a01b03163314610ace5760405162461bcd60e51b815260040161078990612da8565b33ff5b6108bf83838360405180602001604052806000815250611374565b610af53361048e565b80610b195750610b0481610d49565b6001600160a01b0316336001600160a01b0316145b610b705760405162461bcd60e51b815260206004820152602260248201527f4b6173626565723732313a206e6f74206f776e6572206f7220696e2073717561604482015261321760f11b6064820152608401610789565b610b7981611e4f565b60405181907f4caf76a5237dbe633d5ebc0b0b5a15c50e057b099d76b698c74a0d47cc3240ec90600090a250565b610bb03361048e565b610bcc5760405162461bcd60e51b815260040161078990612ddd565b8051610bdf90600b906020840190612661565b5050565b60608160048160ff1610610c315760405162461bcd60e51b815260206004820152601560248201527425b0b9b132b2b91b99189d1034b73232bc1027a7a160591b6044820152606401610789565b600f8360ff1660048110610c4757610c476130c8565b018054610c5390613004565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7f90613004565b8015610ccc5780601f10610ca157610100808354040283529160200191610ccc565b820191906000526020600020905b815481529060010190602001808311610caf57829003601f168201915b505050505091505b50919050565b600044426013604051602001610d2b939291909283526020808401929092525461ffff8082166040850152601082901c811660608501529181901c8216608084015260301c1660a082015260c00190565b6040516020818303038152906040528051906020012060001c905090565b6000818152600260205260408120546001600160a01b0316806106895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610789565b6000610dcb3361048e565b610de75760405162461bcd60e51b815260040161078990612ddd565b61019d610df2610e25565b10610e0f5760405162461bcd60e51b815260040161078990612cdb565b610e1882611b50565b9050610cd4816001611eea565b6000610e30600a5490565b905090565b610e3e3361048e565b610e5a5760405162461bcd60e51b815260040161078990612ddd565b805160018111610ec05760405162461bcd60e51b815260206004820152602b60248201527f57686974656c69737461626c653a207573652060616464546f57686974656c6960448201526a1cdd18081a5b9cdd19585960aa1b6064820152608401610789565b620100008110610f2c5760405162461bcd60e51b815260206004820152603160248201527f57686974656c69737461626c653a2063616e6e6f7420616464206d6f7265207460448201527068616e203635353335206174206f6e636560781b6064820152608401610789565b60005b818161ffff1610156108bf57610f61838261ffff1681518110610f5457610f546130c8565b6020026020010151610a86565b610fc157600160086000858461ffff1681518110610f8157610f816130c8565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055505b80610fcb81613039565b915050610f2f565b6006546001600160a01b03163314610ffd5760405162461bcd60e51b815260040161078990612da8565b6110068161048e565b6110665760405162461bcd60e51b815260206004820152602b60248201527f53717561644f776e61626c653a204164647265737320616c7265616479206e6f60448201526a3a1034b71039b8bab0b21760a91b6064820152608401610789565b6001600160a01b03166000908152600760205260409020805460ff19169055565b60006001600160a01b0382166110f25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610789565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146111385760405162461bcd60e51b815260040161078990612da8565b610a84600061222e565b60608161114e81611ac5565b61116a5760405162461bcd60e51b815260040161078990612d71565b6000838152600e602052604090208054610c5390613004565b61118c3361048e565b6111a85760405162461bcd60e51b815260040161078990612ddd565b6009805460ff19811660ff9182161590811790925516156111f05760405133907fe17ac05ff4095c2a1b270ddc6f70ea762311620bf4be3b1c2b0a9f4d5b16a53390600090a2565b60405133907f5a5fb1bb60b955fafbedf12a782cf1135ba3f37b851d547e79c04e55d1d9a2bb90600090a2565b6112263361048e565b6112425760405162461bcd60e51b815260040161078990612ddd565b61124b81610a86565b6112975760405162461bcd60e51b815260206004820152601f60248201527f57686974656c69737461626c653a206e6f7420696e2077686974656c697374006044820152606401610789565b6001600160a01b03166000908152600860205260409020805460ff19169055565b60606001805461069e90613004565b610bdf338383612280565b6112db3361048e565b6112f75760405162461bcd60e51b815260040161078990612ddd565b8160048160ff16106113435760405162461bcd60e51b815260206004820152601560248201527425b0b9b132b2b91b99189d1034b73232bc1027a7a160591b6044820152606401610789565b81600f8460ff166004811061135a5761135a6130c8565b01908051906020019061136e929190612661565b50505050565b61137e3383611bc6565b61139a5760405162461bcd60e51b815260040161078990612e24565b61136e8484848461234f565b6060816113b281611ac5565b6113ce5760405162461bcd60e51b815260040161078990612d71565b6040805180820182526007815266697066733a2f2f60c81b6020808301919091526000868152600e82528390209251611408939101612b74565b604051602081830303815290604052915050919050565b60608180600111158015611435575061019d8111155b61147b5760405162461bcd60e51b815260206004820152601760248201527625b0b9b132b2b91b99189d103a37b5b2b724b21027a7a160491b6044820152606401610789565b604080516001808252818301909252600091816020015b604080518082019091526000808252602082015281526020019060019003908161149257505060408051808201909152600c546001600160a01b031681526103e8602082015281519192509082906000906114ef576114ef6130c8565b60209081029190910101529392505050565b6006546001600160a01b0316331461152b5760405162461bcd60e51b815260040161078990612da8565b6115348161048e565b156115915760405162461bcd60e51b815260206004820152602760248201527f53717561644f776e61626c653a204164647265737320616c726561647920696e6044820152661039b8bab0b21760c91b6064820152608401610789565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000606061019d6115c4610e25565b106115e15760405162461bcd60e51b815260040161078990612cdb565b60095460ff1615156001146116445760405162461bcd60e51b815260206004820152602360248201527f57686974656c69737461626c653a2077686974656c697374206e6f742061637460448201526269766560e81b6064820152608401610789565b8461164e81610a86565b6116a65760405162461bcd60e51b815260206004820152602360248201527f57686974656c69737461626c653a206d757374206265206f6e2077686974656c6044820152621a5cdd60ea1b6064820152608401610789565b600954610100900460ff16156116f75760405162461bcd60e51b81526020600482015260166024820152752830bab9b0b136329d1039b0b632903830bab9b2b21760511b6044820152606401610789565b6001600160a01b0386166000908152600d602052604090205460ff161561176b5760405162461bcd60e51b815260206004820152602260248201527f4a75696365426f783a2063616e6e6f7420636c61696d206d6f7265207468616e604482015261203160f01b6064820152608401610789565b853b63ffffffff16156117bc5760405162461bcd60e51b815260206004820152601960248201527804a75696365426f783a2073696c6c7920726162626974203a5603c1b6044820152606401610789565b6117cd846117c8612382565b612391565b6118155760405162461bcd60e51b815260206004820152601960248201527804a75696365426f783a2073696c6c7920726162626974203a5603c1b6044820152606401610789565b61181e86611b50565b925061182a8386611eea565b915050935093915050565b61183e3361048e565b61185a5760405162461bcd60e51b815260040161078990612ddd565b61186381610a86565b156118bb5760405162461bcd60e51b815260206004820152602260248201527f57686974656c69737461626c653a20616c72656164792077686974656c697374604482015261195960f21b6064820152608401610789565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6060600b805461069e90613004565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b031633146119465760405162461bcd60e51b815260040161078990612da8565b6001600160a01b0381166119ab5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610789565b6119b48161222e565b50565b6119c03361048e565b6119dc5760405162461bcd60e51b815260040161078990612ddd565b47811115611a3f5760405162461bcd60e51b815260206004820152602a60248201527f4b6173626565723732313a20496e73756666696369656e742066756e647320746044820152696f20776974686472617760b01b6064820152608401610789565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156108bf573d6000803e3d6000fd5b60006001600160e01b031982166380ac58cd60e01b1480611aa657506001600160e01b03198216635b5e139f60e01b145b8061068957506301ffc9a760e01b6001600160e01b0319831614610689565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b1782610d49565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b5a6123c6565b611b62610e25565b9050611b6e82826123d4565b611b96826001600160a01b03166000908152600d60205260409020805460ff19166001179055565b60405181907fdde1a3991487ef0f8934a8fe012d98d074badad7df3d2dbb48d872087cf248e890600090a2919050565b6000611bd182611ac5565b611c325760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610789565b6000611c3d83610d49565b9050806001600160a01b0316846001600160a01b03161480611c785750836001600160a01b0316611c6d84610721565b6001600160a01b0316145b80611c885750611c8881856118ee565b949350505050565b826001600160a01b0316611ca382610d49565b6001600160a01b031614611d0b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610789565b6001600160a01b038216611d6d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610789565b611d78600082611ae2565b6001600160a01b0383166000908152600360205260408120805460019290611da1908490612f9e565b90915550506001600160a01b0382166000908152600360205260408120805460019290611dcf908490612ee5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611e3c8284612f33565b9392505050565b6000611e3c8284612efd565b6000611e5a82610d49565b9050611e67600083611ae2565b6001600160a01b0381166000908152600360205260408120805460019290611e90908490612f9e565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b606082611ef681611ac5565b611f125760405162461bcd60e51b815260040161078990612d71565b60408051600480825260a082019092526000916020820160808036833701905050905060328460ff161115611f4657603293505b6032611f53600186612fb5565b611f5d9190612f11565b611f68906023612f52565b601354611f7c9160ff169061ffff16612f7b565b81600081518110611f8f57611f8f6130c8565b60ff909216602092830291909101909101526032611fae600186612fb5565b611fb89190612f11565b611fc3906002612f52565b601354611fdd9160ff169062010000900461ffff16612ebf565b81600181518110611ff057611ff06130c8565b60ff90921660209283029190910190910152603261200f600186612fb5565b6120199190612f11565b61202490600a612f52565b6013546120409160ff1690640100000000900461ffff16612ebf565b81600281518110612053576120536130c8565b60ff909216602092830291909101909101526032612072600186612fb5565b61207c9190612f11565b612087906017612f52565b6013546120a59160ff16906601000000000000900461ffff16612ebf565b816003815181106120b8576120b86130c8565b602002602001019060ff16908160ff1681525050600060646120d8610cda565b6120e2919061307b565b905060005b60048160ff16101561220457828160ff1681518110612108576121086130c8565b602002602001015160ff168261ffff1610156121c557600f8160ff1660048110612134576121346130c8565b01805461214090613004565b80601f016020809104026020016040519081016040528092919081815260200182805461216c90613004565b80156121b95780601f1061218e576101008083540402835291602001916121b9565b820191906000526020600020905b81548152906001019060200180831161219c57829003601f168201915b50505050509450612204565b828160ff16815181106121da576121da6130c8565b602002602001015160ff16826121f09190612f7b565b9150806121fc8161305b565b9150506120e7565b6000878152600e60209081526040909120865161222392880190612661565b505050505092915050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156122e25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610789565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61235a848484611c90565b612366848484846123ee565b61136e5760405162461bcd60e51b815260040161078990612d1f565b60606014805461069e90613004565b8051825160009184918491146123ac57600092505050610689565b808051906020012082805190602001201492505050610689565b610a84600a80546001019055565b610bdf8282604051806020016040528060008152506124fb565b60006001600160a01b0384163b156124f057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612432903390899088908890600401612c25565b602060405180830381600087803b15801561244c57600080fd5b505af192505050801561247c575060408051601f3d908101601f1916820190925261247991810190612a84565b60015b6124d6573d8080156124aa576040519150601f19603f3d011682016040523d82523d6000602084013e6124af565b606091505b5080516124ce5760405162461bcd60e51b815260040161078990612d1f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c88565b506001949350505050565b612505838361252e565b61251260008484846123ee565b6108bf5760405162461bcd60e51b815260040161078990612d1f565b6001600160a01b0382166125845760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610789565b61258d81611ac5565b156125da5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610789565b6001600160a01b0382166000908152600360205260408120805460019290612603908490612ee5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461266d90613004565b90600052602060002090601f01602090048101928261268f57600085556126d5565b82601f106126a857805160ff19168380011785556126d5565b828001600101855582156126d5579182015b828111156126d55782518255916020019190600101906126ba565b506126e19291506126e5565b5090565b5b808211156126e157600081556001016126e6565b600067ffffffffffffffff831115612714576127146130de565b612727601f8401601f1916602001612e8e565b905082815283838301111561273b57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261276357600080fd5b611e3c838335602085016126fa565b803560ff8116811461278357600080fd5b919050565b60006020828403121561279a57600080fd5b8135611e3c816130f4565b600080604083850312156127b857600080fd5b82356127c3816130f4565b946020939093013593505050565b600080604083850312156127e457600080fd5b82356127ef816130f4565b915060208301356127ff816130f4565b809150509250929050565b60008060006060848603121561281f57600080fd5b833561282a816130f4565b9250602084013561283a816130f4565b929592945050506040919091013590565b6000806000806080858703121561286157600080fd5b843561286c816130f4565b9350602085013561287c816130f4565b925060408501359150606085013567ffffffffffffffff81111561289f57600080fd5b8501601f810187136128b057600080fd5b6128bf878235602084016126fa565b91505092959194509250565b600080604083850312156128de57600080fd5b82356128e9816130f4565b9150602083013580151581146127ff57600080fd5b6000806040838503121561291157600080fd5b823561291c816130f4565b9150602083013567ffffffffffffffff81111561293857600080fd5b61294485828601612752565b9150509250929050565b60008060006060848603121561296357600080fd5b833561296e816130f4565b925061297c60208501612772565b9150604084013567ffffffffffffffff81111561299857600080fd5b6129a486828701612752565b9150509250925092565b600060208083850312156129c157600080fd5b823567ffffffffffffffff808211156129d957600080fd5b818501915085601f8301126129ed57600080fd5b8135818111156129ff576129ff6130de565b8060051b9150612a10848301612e8e565b8181528481019084860184860187018a1015612a2b57600080fd5b600095505b83861015612a5a5780359450612a45856130f4565b84835260019590950194918601918601612a30565b5098975050505050505050565b600060208284031215612a7957600080fd5b8135611e3c81613109565b600060208284031215612a9657600080fd5b8151611e3c81613109565b600060208284031215612ab357600080fd5b813567ffffffffffffffff811115612aca57600080fd5b611c8884828501612752565b600060208284031215612ae857600080fd5b5035919050565b60008060408385031215612b0257600080fd5b50508035926020909101359150565b600060208284031215612b2357600080fd5b611e3c82612772565b60008060408385031215612b3f57600080fd5b61291c83612772565b60008151808452612b60816020860160208601612fd8565b601f01601f19169290920160200192915050565b600083516020612b878285838901612fd8565b845491840191600090600181811c9080831680612ba557607f831692505b858310811415612bc357634e487b7160e01b85526022600452602485fd5b808015612bd75760018114612be857612c15565b60ff19851688528388019550612c15565b60008b81526020902060005b85811015612c0d5781548a820152908401908801612bf4565b505083880195505b50939a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c5890830184612b48565b9695505050505050565b602080825282518282018190526000919060409081850190868401855b82811015612cbb57815180516001600160a01b031685528601516bffffffffffffffffffffffff16868501529284019290850190600101612c7f565b5091979650505050505050565b602081526000611e3c6020830184612b48565b60208082526024908201527f4a75696365426f783a206e6f204a75696365426f782773206c65667420746f206040820152631b5a5b9d60e21b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601b908201527f4a75696365426f783a206e6f6e6578697374656e7420746f6b656e0000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526027908201527f53717561644f776e61626c653a2043616c6c6572206e6f742070617274206f666040820152661039b8bab0b21760c91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b828152604060208201526000611c886040830184612b48565b604051601f8201601f1916810167ffffffffffffffff81118282101715612eb757612eb76130de565b604052919050565b600061ffff808316818516808303821115612edc57612edc61309c565b01949350505050565b60008219821115612ef857612ef861309c565b500190565b600082612f0c57612f0c6130b2565b500490565b600060ff831680612f2457612f246130b2565b8060ff84160491505092915050565b6000816000190483118215151615612f4d57612f4d61309c565b500290565b600060ff821660ff84168160ff0481118215151615612f7357612f7361309c565b029392505050565b600061ffff83811690831681811015612f9657612f9661309c565b039392505050565b600082821015612fb057612fb061309c565b500390565b600060ff821660ff841680821015612fcf57612fcf61309c565b90039392505050565b60005b83811015612ff3578181015183820152602001612fdb565b8381111561136e5750506000910152565b600181811c9082168061301857607f821691505b60208210811415610cd457634e487b7160e01b600052602260045260246000fd5b600061ffff808316818114156130515761305161309c565b6001019392505050565b600060ff821660ff8114156130725761307261309c565b60010192915050565b600061ffff80841680613090576130906130b2565b92169190910692915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146119b457600080fd5b6001600160e01b0319811681146119b457600080fdfea264697066735822122056e8235604968f352682c8f5a10cbd2de0222343e966ab07e11de5bbd2d8bff464736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000872756d696e617465000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : secret (string): ruminate
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [2] : 72756d696e617465000000000000000000000000000000000000000000000000
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.