Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 19 from a total of 19 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 18381264 | 884 days ago | IN | 0 ETH | 0.00031874 | ||||
| Set Approval For... | 16239087 | 1185 days ago | IN | 0 ETH | 0.00058855 | ||||
| Safe Transfer Fr... | 16239082 | 1185 days ago | IN | 0 ETH | 0.00064536 | ||||
| Set Approval For... | 16160058 | 1196 days ago | IN | 0 ETH | 0.00035105 | ||||
| Set Approval For... | 16159949 | 1196 days ago | IN | 0 ETH | 0.00065456 | ||||
| Set Approval For... | 15881393 | 1235 days ago | IN | 0 ETH | 0.00050127 | ||||
| Set Approval For... | 15776256 | 1250 days ago | IN | 0 ETH | 0.00120278 | ||||
| Safe Transfer Fr... | 15699632 | 1261 days ago | IN | 0 ETH | 0.00031834 | ||||
| Public Mint | 15675683 | 1264 days ago | IN | 0 ETH | 0.00049567 | ||||
| Public Mint | 15675682 | 1264 days ago | IN | 0 ETH | 0.00076699 | ||||
| Public Mint | 15675679 | 1264 days ago | IN | 0 ETH | 0.00048048 | ||||
| Set Approval For... | 15675654 | 1264 days ago | IN | 0 ETH | 0.00078385 | ||||
| Transfer Ownersh... | 15675551 | 1264 days ago | IN | 0 ETH | 0.00144164 | ||||
| Safe Transfer Fr... | 15672709 | 1264 days ago | IN | 0 ETH | 0.00049497 | ||||
| Transfer From | 15672687 | 1264 days ago | IN | 0 ETH | 0.00044929 | ||||
| Set Approval For... | 15672421 | 1264 days ago | IN | 0 ETH | 0.00056326 | ||||
| Shark Drop | 15671817 | 1264 days ago | IN | 0 ETH | 0.00189823 | ||||
| Shark Drop | 15671781 | 1264 days ago | IN | 0 ETH | 0.17477524 | ||||
| Set Pre Reveal | 15671752 | 1264 days ago | IN | 0 ETH | 0.00095181 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ZIPSharks
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 1500 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.21 <9.0.0;
// Relevant Libraries
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract ZIPSharks is ERC721, Ownable {
// Utils Used
using Counters for Counters.Counter;
using SafeMath for uint256;
using Strings for uint256;
//Team
address payable kTuck = payable(0xe40c8deA5EdAB02C3B778605cf7b9dD1301062d0);
address payable samurai =
payable(0xac4Bc126Ea4D2a1e2bE965f0811c3c51E1817F91);
address payable mufasa =
payable(0xf21df340812629D44264474d478be0215Ea60eb6);
// Properties
bool public publicSale;
uint256 public whitelistPrice = 0.02 ether;
uint256 public mintPrice = 0.03 ether;
uint16 public maxSupply = 2222;
string public uri;
string public pUri;
bytes32 public root;
bool public revealed;
Counters.Counter private _tokenIdTracker;
// Mappings
mapping(address => bool) whitelistClaimed;
mapping(address => uint256) sharksMinted;
constructor() ERC721("ZIPSharks", "ZIPS") {}
// Modifiers
modifier whitelistConfig() {
require(whitelistClaimed[msg.sender] != true);
_;
}
function whitelistMint(bytes32[] calldata _proof)
public
payable
whitelistConfig
{
require(
(
MerkleProof.verify(
_proof,
root,
keccak256(abi.encodePacked(msg.sender))
)
),
"This wallet is not registered. Try again with another wallet."
);
uint256 _amount = 0;
uint256 _balance = msg.value;
// Uses the balance sent to generate set number of NFTs
while (_balance >= whitelistPrice) {
_balance = _balance.sub(whitelistPrice);
_amount = _amount.add(1);
}
// Limits the number minted per wallet
require(
sharksMinted[msg.sender].add(_amount) <= 20,
"Max mint per wallet is 20. Try another wallet."
);
// Limits the TokenID to MaxSupply
require(
(_tokenIdTracker.current().add(_amount)) <= maxSupply,
"Current Mint Limit Reached. Try minting less."
);
// Runs a for loop to continue minting for the set amount asked.
for (uint8 counter = 0; counter < _amount; counter++) {
// 1.Mints the NFT to the current tokenID
// 2. Maps the current tokenChoice to the current URI
// 3. Adds one to tokenIDtracker
_tokenIdTracker.increment();
_mint(msg.sender, _tokenIdTracker.current());
}
// WhitelistClaim and MintNumber Recorded
sharksMinted[msg.sender] = sharksMinted[msg.sender] + _amount;
whitelistClaimed[msg.sender] = true;
}
function publicMint() public payable {
require(
msg.value.mod(mintPrice) == 0,
"Please mint through the website."
);
uint256 _amount = 0;
uint256 _balance = msg.value;
// Uses the balance sent to generate set number of NFTs
while (_balance >= mintPrice) {
_balance = _balance.sub(mintPrice);
_amount = _amount.add(1);
}
// Limits the number minted per wallet
require(
sharksMinted[msg.sender].add(_amount) <= 20,
"Max mint per wallet is 20. Try another wallet."
);
// Limits the TokenID
require(
(_tokenIdTracker.current().add(_amount)) <= maxSupply,
"Current Mint Limit Reached. Try minting less."
);
// Runs a for loop to continue minting for the set amount asked.
for (uint8 counter = 0; counter < _amount; counter++) {
// 1.Mints the NFT to the current tokenID
// 2. Maps the current tokenChoice to the current URI
// 3. Adds one to tokenIDtracker
_tokenIdTracker.increment();
_mint(msg.sender, _tokenIdTracker.current());
}
sharksMinted[msg.sender] = sharksMinted[msg.sender] + _amount;
}
// ADMIN Methods
// SharkDrop Method
function sharkDrop(address[] calldata _addresses, uint8 _x)
public
onlyOwner
{
for (uint256 counter = 0; counter < _addresses.length; counter++) {
// Mints x amount per wallet inputed
for (uint256 n = 0; n < _x; n++) {
_tokenIdTracker.increment();
_mint(_addresses[counter], _tokenIdTracker.current());
sharksMinted[_addresses[counter]].add(1);
}
}
}
// Reveals Sharks
function sharkReveal() public onlyOwner {
bool current = revealed;
revealed = !current;
}
// Switches sale to public
function switchToPublic() public onlyOwner {
bool current = publicSale;
publicSale = !current;
}
//Withdraw Method
function withdraw() public onlyOwner {
uint256 _balance = address(this).balance;
uint256 _balanceDiv = _balance.div(100);
kTuck.transfer(_balanceDiv.mul(4));
mufasa.transfer(_balanceDiv.mul(11));
samurai.transfer(_balanceDiv.mul(85));
}
// TotalSupply Method
function totalSupply() public view returns (uint256) {
return _tokenIdTracker.current();
}
// Update Merkle Root
function updateRoot(bytes32 _x) public onlyOwner {
root = _x;
}
// URI methods
function tokenURI(uint256 tokenId)
public
view
virtual
override
returns (string memory)
{
if (revealed) {
return
string(
abi.encodePacked(uri, Strings.toString(tokenId), ".json")
);
} else {
return
string(
abi.encodePacked(pUri, Strings.toString(tokenId), ".json")
);
}
}
function setBaseUri(string memory _uri) public onlyOwner {
uri = _uri;
}
function setPreReveal(string memory _uri) public onlyOwner {
pUri = _uri;
}
// OVERRIDE BaseURI Methods
function _baseURI() internal view virtual override returns (string memory) {
return uri;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 subtraction 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
// 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
// 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 (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
*
* See `test/utils/cryptography/MerkleProof.test.js` for some examples.
*
* WARNING: You should avoid using leaf values that are 64 bytes long prior to
* hashing, or use a hash function other than keccak256 for hashing leaves.
* This is because the concatenation of a sorted pair of internal nodes in
* the merkle tree could be reinterpreted as a leaf value.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
bytes32 proofElement = proof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = _efficientHash(computedHash, proofElement);
} else {
// Hash(current element of the proof + current computed hash)
computedHash = _efficientHash(proofElement, computedHash);
}
}
return computedHash;
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}// 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/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/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 (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// 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 (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits 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 {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// 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);
}
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 1500
},
"evmVersion": "byzantium",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"string","name":"_uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setPreReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint8","name":"_x","type":"uint8"}],"name":"sharkDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sharkReveal","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":"switchToPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_x","type":"bytes32"}],"name":"updateRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405260078054600160a060020a031990811673e40c8dea5edab02c3b778605cf7b9dd1301062d01790915560088054821673ac4bc126ea4d2a1e2be965f0811c3c51e1817f911790556009805490911673f21df340812629d44264474d478be0215ea60eb617905566470de4df820000600a55666a94d74f430000600b55600c805461ffff19166108ae1790553480156200009c57600080fd5b506040518060400160405280600981526020017f5a4950536861726b7300000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f5a4950530000000000000000000000000000000000000000000000000000000081525081600090816200011a91906200028b565b5060016200012982826200028b565b50505062000158620001496200015e640100000000026401000000009004565b64010000000062000162810204565b6200035e565b3390565b60068054600160a060020a03838116600160a060020a0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600281046001821680620001f857607f821691505b60208210810362000232577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111562000286576000818152602081206020601f86010481016020861015620002615750805b6020601f860104820191505b8181101562000282578281556001016200026d565b5050505b505050565b815167ffffffffffffffff811115620002a857620002a8620001b4565b620002c081620002b98454620001e3565b8462000238565b602080601f831160018114620002fc5760008415620002df5750858301515b60028086026008870290910a600019041982161786555062000282565b600085815260208120601f198616915b828110156200032d578886015182559484019460019091019084016200030c565b50858210156200034e57878501516008601f88160260020a60001904191681555b5050505050600202600101905550565b612b3a806200036e6000396000f3fe608060405260043610610236576000357c010000000000000000000000000000000000000000000000000000000090048063715018a61161013a578063c87b56dd116100cd578063eac989f81161009c578063f2fde38b11610081578063f2fde38b1461060a578063f5112ef91461062a578063fc1a1c361461064a57600080fd5b8063eac989f8146105df578063ebf0c717146105f457600080fd5b8063c87b56dd14610528578063d5abeb0114610548578063e985e9c514610576578063e9d2e74c146105bf57600080fd5b80639f64fdb0116101095780639f64fdb0146104b3578063a0bcfc7f146104c8578063a22cb465146104e8578063b88d4fde1461050857600080fd5b8063715018a6146104565780638da5cb5b1461046b5780638fd0aeb21461048957806395d89b411461049e57600080fd5b806326092b83116101cd57806342842e0e1161019c5780636352211e116101815780636352211e146104005780636817c76c1461042057806370a082311461043657600080fd5b806342842e0e146103c657806351830227146103e657600080fd5b806326092b831461036457806333bc1c5c1461036c578063372f657c1461039e5780633ccfd60b146103b157600080fd5b80630f188151116102095780630f188151146102ec57806318160ddd1461030157806321ff99701461032457806323b872dd1461034457600080fd5b806301ffc9a71461023b57806306fdde0314610270578063081812fc14610292578063095ea7b3146102ca575b600080fd5b34801561024757600080fd5b5061025b610256366004612357565b610660565b60405190151581526020015b60405180910390f35b34801561027c57600080fd5b50610285610745565b60405161026791906123c4565b34801561029e57600080fd5b506102b26102ad3660046123d7565b6107d7565b604051600160a060020a039091168152602001610267565b3480156102d657600080fd5b506102ea6102e5366004612407565b61088a565b005b3480156102f857600080fd5b506102856109e9565b34801561030d57600080fd5b50610316610a77565b604051908152602001610267565b34801561033057600080fd5b506102ea61033f3660046123d7565b610a87565b34801561035057600080fd5b506102ea61035f366004612431565b610aee565b6102ea610b7d565b34801561037857600080fd5b5060095461025b9074010000000000000000000000000000000000000000900460ff1681565b6102ea6103ac3660046124b8565b610dae565b3480156103bd57600080fd5b506102ea611096565b3480156103d257600080fd5b506102ea6103e1366004612431565b6111d2565b3480156103f257600080fd5b5060105461025b9060ff1681565b34801561040c57600080fd5b506102b261041b3660046123d7565b6111ed565b34801561042c57600080fd5b50610316600b5481565b34801561044257600080fd5b506103166104513660046124fa565b611280565b34801561046257600080fd5b506102ea611322565b34801561047757600080fd5b50600654600160a060020a03166102b2565b34801561049557600080fd5b506102ea611390565b3480156104aa57600080fd5b5061028561143f565b3480156104bf57600080fd5b506102ea61144e565b3480156104d457600080fd5b506102ea6104e33660046125ba565b6114c4565b3480156104f457600080fd5b506102ea610503366004612603565b611536565b34801561051457600080fd5b506102ea61052336600461263f565b611541565b34801561053457600080fd5b506102856105433660046123d7565b6115d7565b34801561055457600080fd5b50600c546105639061ffff1681565b60405161ffff9091168152602001610267565b34801561058257600080fd5b5061025b6105913660046126bb565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105cb57600080fd5b506102ea6105da3660046126ee565b611627565b3480156105eb57600080fd5b50610285611758565b34801561060057600080fd5b50610316600f5481565b34801561061657600080fd5b506102ea6106253660046124fa565b611765565b34801561063657600080fd5b506102ea6106453660046125ba565b611857565b34801561065657600080fd5b50610316600a5481565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806106f357507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061073f57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546107549061274b565b80601f01602080910402602001604051908101604052809291908181526020018280546107809061274b565b80156107cd5780601f106107a2576101008083540402835291602001916107cd565b820191906000526020600020905b8154815290600101906020018083116107b057829003601f168201915b5050505050905090565b600081815260026020526040812054600160a060020a031661086e57604051600080516020612ae5833981519152815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260046020526040902054600160a060020a031690565b6000610895826111ed565b905080600160a060020a031683600160a060020a03160361092657604051600080516020612ae5833981519152815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610865565b33600160a060020a03821614806109605750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b6109da57604051600080516020612ae5833981519152815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610865565b6109e483836118c5565b505050565b600e80546109f69061274b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a229061274b565b8015610a6f5780601f10610a4457610100808354040283529160200191610a6f565b820191906000526020600020905b815481529060010190602001808311610a5257829003601f168201915b505050505081565b6000610a8260115490565b905090565b600654600160a060020a03163314610ae957604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b600f55565b610af83382611940565b610b7257604051600080516020612ae5833981519152815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610865565b6109e4838383611a50565b600b54610b8b903490611c3a565b15610be057604051600080516020612ae5833981519152815260206004820181905260248201527f506c65617365206d696e74207468726f7567682074686520776562736974652e6044820152606401610865565b6000345b600b548110610c0f57600b54610bfb908290611c4d565b9050610c08826001611c59565b9150610be4565b33600090815260136020526040902054601490610c2c9084611c59565b1115610ca857604051600080516020612ae5833981519152815260206004820152602e60248201527f4d6178206d696e74207065722077616c6c65742069732032302e20547279206160448201527f6e6f746865722077616c6c65742e0000000000000000000000000000000000006064820152608401610865565b600c5461ffff16610cc283610cbc60115490565b90611c59565b1115610d3e57604051600080516020612ae5833981519152815260206004820152602d60248201527f43757272656e74204d696e74204c696d697420526561636865642e205472792060448201527f6d696e74696e67206c6573732e000000000000000000000000000000000000006064820152608401610865565b60005b828160ff161015610d7e57610d5a601180546001019055565b610d6c33610d6760115490565b611c65565b80610d76816127cd565b915050610d41565b5033600090815260136020526040902054610d9a9083906127ec565b336000908152601360205260409020555050565b3360009081526012602052604090205460ff161515600103610dcf57600080fd5b610e4182828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040516c0100000000000000000000000033026020820152909250603401905060405160208183030381529060405280519060200120611dc4565b610ebb57604051600080516020612ae5833981519152815260206004820152603d60248201527f546869732077616c6c6574206973206e6f7420726567697374657265642e205460448201527f727920616761696e207769746820616e6f746865722077616c6c65742e0000006064820152608401610865565b6000345b600a548110610eea57600a54610ed6908290611c4d565b9050610ee3826001611c59565b9150610ebf565b33600090815260136020526040902054601490610f079084611c59565b1115610f8357604051600080516020612ae5833981519152815260206004820152602e60248201527f4d6178206d696e74207065722077616c6c65742069732032302e20547279206160448201527f6e6f746865722077616c6c65742e0000000000000000000000000000000000006064820152608401610865565b600c5461ffff16610f9783610cbc60115490565b111561101357604051600080516020612ae5833981519152815260206004820152602d60248201527f43757272656e74204d696e74204c696d697420526561636865642e205472792060448201527f6d696e74696e67206c6573732e000000000000000000000000000000000000006064820152608401610865565b60005b828160ff16101561104e5761102f601180546001019055565b61103c33610d6760115490565b80611046816127cd565b915050611016565b503360009081526013602052604090205461106a9083906127ec565b336000908152601360209081526040808320939093556012905220805460ff1916600117905550505050565b600654600160a060020a031633146110f857604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b30316000611107826064611dda565b600754909150600160a060020a03166108fc611124836004611de6565b6040518115909202916000818181858888f1935050505015801561114c573d6000803e3d6000fd5b50600954600160a060020a03166108fc61116783600b611de6565b6040518115909202916000818181858888f1935050505015801561118f573d6000803e3d6000fd5b50600854600160a060020a03166108fc6111aa836055611de6565b6040518115909202916000818181858888f193505050501580156109e4573d6000803e3d6000fd5b6109e483838360405180602001604052806000815250611541565b600081815260026020526040812054600160a060020a03168061073f57604051600080516020612ae5833981519152815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610865565b6000600160a060020a03821661130657604051600080516020612ae5833981519152815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610865565b50600160a060020a031660009081526003602052604090205490565b600654600160a060020a0316331461138457604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b61138e6000611df2565b565b600654600160a060020a031633146113f257604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b600980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8116740100000000000000000000000000000000000000009182900460ff1615909102179055565b6060600180546107549061274b565b600654600160a060020a031633146114b057604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b6010805460ff19811660ff90911615179055565b600654600160a060020a0316331461152657604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b600d611532828261284d565b5050565b611532338383611e51565b61154b3383611940565b6115c557604051600080516020612ae5833981519152815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610865565b6115d184848484611f27565b50505050565b60105460609060ff161561161757600d6115f083611fb8565b604051602001611601929190612913565b6040516020818303038152906040529050919050565b600e6115f083611fb8565b919050565b600654600160a060020a0316331461168957604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b60005b828110156115d15760005b8260ff16811015611745576116b0601180546001019055565b6116e28585848181106116c5576116c56129c2565b90506020020160208101906116da91906124fa565b601154611c65565b6117326001601360008888878181106116fd576116fd6129c2565b905060200201602081019061171291906124fa565b600160a060020a0316815260208101919091526040016000205490611c59565b508061173d816129f1565b915050611697565b5080611750816129f1565b91505061168c565b600d80546109f69061274b565b600654600160a060020a031633146117c757604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b600160a060020a03811661184b57604051600080516020612ae5833981519152815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610865565b61185481611df2565b50565b600654600160a060020a031633146118b957604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b600e611532828261284d565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384169081179091558190611907826111ed565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815260026020526040812054600160a060020a03166119d257604051600080516020612ae5833981519152815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610865565b60006119dd836111ed565b905080600160a060020a031684600160a060020a03161480611a245750600160a060020a0380821660009081526005602090815260408083209388168352929052205460ff165b80611a48575083600160a060020a0316611a3d846107d7565b600160a060020a0316145b949350505050565b82600160a060020a0316611a63826111ed565b600160a060020a031614611ae757604051600080516020612ae5833981519152815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610865565b600160a060020a038216611b6a57604051600080516020612ae58339815191528152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610865565b611b756000826118c5565b600160a060020a0383166000908152600360205260408120805460019290611b9e908490612a0a565b9091555050600160a060020a0382166000908152600360205260408120805460019290611bcc9084906127ec565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611c468284612a4c565b9392505050565b6000611c468284612a0a565b6000611c4682846127ec565b600160a060020a038216611cc357604051600080516020612ae5833981519152815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610865565b600081815260026020526040902054600160a060020a031615611d3057604051600080516020612ae5833981519152815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610865565b600160a060020a0382166000908152600360205260408120805460019290611d599084906127ec565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600082611dd1858461210c565b14949350505050565b6000611c468284612a60565b6000611c468284612a74565b60068054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b81600160a060020a031683600160a060020a031603611eba57604051600080516020612ae5833981519152815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610865565b600160a060020a03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611f32848484611a50565b611f3e84848484612180565b6115d157604051600080516020612ae5833981519152815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610865565b606081600003611ffb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612025578061200f816129f1565b915061201e9050600a83612a60565b9150611fff565b60008167ffffffffffffffff81111561204057612040612515565b6040519080825280601f01601f19166020018201604052801561206a576020820181803683370190505b5090505b8415611a485761207f600183612a0a565b915061208c600a86612a4c565b6120979060306127ec565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106120cb576120cb6129c2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612105600a86612a60565b945061206e565b600081815b845181101561217857600085828151811061212e5761212e6129c2565b602002602001015190508083116121545760008381526020829052604090209250612165565b600081815260208490526040902092505b5080612170816129f1565b915050612111565b509392505050565b6000600160a060020a0384163b1561231e576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a02906121dd903390899088908890600401612a8b565b6020604051808303816000875af1925050508015612218575060408051601f3d908101601f1916820190925261221591810190612ac7565b60015b6122d3573d808015612246576040519150601f19603f3d011682016040523d82523d6000602084013e61224b565b606091505b5080516000036122cb57604051600080516020612ae5833981519152815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610865565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611a48565b506001949350505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461185457600080fd5b60006020828403121561236957600080fd5b8135611c4681612329565b60005b8381101561238f578181015183820152602001612377565b50506000910152565b600081518084526123b0816020860160208601612374565b601f01601f19169290920160200192915050565b602081526000611c466020830184612398565b6000602082840312156123e957600080fd5b5035919050565b8035600160a060020a038116811461162257600080fd5b6000806040838503121561241a57600080fd5b612423836123f0565b946020939093013593505050565b60008060006060848603121561244657600080fd5b61244f846123f0565b925061245d602085016123f0565b9150604084013590509250925092565b60008083601f84011261247f57600080fd5b50813567ffffffffffffffff81111561249757600080fd5b60208301915083602080830285010111156124b157600080fd5b9250929050565b600080602083850312156124cb57600080fd5b823567ffffffffffffffff8111156124e257600080fd5b6124ee8582860161246d565b90969095509350505050565b60006020828403121561250c57600080fd5b611c46826123f0565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff8084111561255f5761255f612515565b604051601f8501601f19908116603f0116810190828211818310171561258757612587612515565b816040528093508581528686860111156125a057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156125cc57600080fd5b813567ffffffffffffffff8111156125e357600080fd5b8201601f810184136125f457600080fd5b611a4884823560208401612544565b6000806040838503121561261657600080fd5b61261f836123f0565b91506020830135801515811461263457600080fd5b809150509250929050565b6000806000806080858703121561265557600080fd5b61265e856123f0565b935061266c602086016123f0565b925060408501359150606085013567ffffffffffffffff81111561268f57600080fd5b8501601f810187136126a057600080fd5b6126af87823560208401612544565b91505092959194509250565b600080604083850312156126ce57600080fd5b6126d7836123f0565b91506126e5602084016123f0565b90509250929050565b60008060006040848603121561270357600080fd5b833567ffffffffffffffff81111561271a57600080fd5b6127268682870161246d565b909450925050602084013560ff8116811461274057600080fd5b809150509250925092565b60028104600182168061275f57607f821691505b602082108103612798577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060ff821660ff81036127e3576127e361279e565b60010192915050565b8082018082111561073f5761073f61279e565b601f8211156109e4576000818152602081206020601f860104810160208610156128265750805b6020601f860104820191505b8181101561284557828155600101612832565b505050505050565b815167ffffffffffffffff81111561286757612867612515565b61287b81612875845461274b565b846127ff565b602080601f8311600181146128b457600084156128985750858301515b60028086026008870290910a6000190419821617865550612845565b600085815260208120601f198616915b828110156128e3578886015182559484019460019091019084016128c4565b508582101561290357878501516008601f88160260020a60001904191681555b5050505050600202600101905550565b60008084546129218161274b565b60018281168015612939576001811461294e5761297d565b60ff198416875282151583028701945061297d565b8860005260208060002060005b858110156129745781548a82015290840190820161295b565b50505082870194505b505050508351612991818360208801612374565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060018201612a0357612a0361279e565b5060010190565b8181038181111561073f5761073f61279e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612a5b57612a5b612a1d565b500690565b600082612a6f57612a6f612a1d565b500490565b808202811582820484141761073f5761073f61279e565b6000600160a060020a03808716835280861660208401525083604083015260806060830152612abd6080830184612398565b9695505050505050565b600060208284031215612ad957600080fd5b8151611c468161232956fe08c379a000000000000000000000000000000000000000000000000000000000a264697066735822122034f9d4cb73ef975fe82b8df591e6f190516a7c5a23909dd8739f70adb8cb9ef364736f6c63430008110033
Deployed Bytecode
0x608060405260043610610236576000357c010000000000000000000000000000000000000000000000000000000090048063715018a61161013a578063c87b56dd116100cd578063eac989f81161009c578063f2fde38b11610081578063f2fde38b1461060a578063f5112ef91461062a578063fc1a1c361461064a57600080fd5b8063eac989f8146105df578063ebf0c717146105f457600080fd5b8063c87b56dd14610528578063d5abeb0114610548578063e985e9c514610576578063e9d2e74c146105bf57600080fd5b80639f64fdb0116101095780639f64fdb0146104b3578063a0bcfc7f146104c8578063a22cb465146104e8578063b88d4fde1461050857600080fd5b8063715018a6146104565780638da5cb5b1461046b5780638fd0aeb21461048957806395d89b411461049e57600080fd5b806326092b83116101cd57806342842e0e1161019c5780636352211e116101815780636352211e146104005780636817c76c1461042057806370a082311461043657600080fd5b806342842e0e146103c657806351830227146103e657600080fd5b806326092b831461036457806333bc1c5c1461036c578063372f657c1461039e5780633ccfd60b146103b157600080fd5b80630f188151116102095780630f188151146102ec57806318160ddd1461030157806321ff99701461032457806323b872dd1461034457600080fd5b806301ffc9a71461023b57806306fdde0314610270578063081812fc14610292578063095ea7b3146102ca575b600080fd5b34801561024757600080fd5b5061025b610256366004612357565b610660565b60405190151581526020015b60405180910390f35b34801561027c57600080fd5b50610285610745565b60405161026791906123c4565b34801561029e57600080fd5b506102b26102ad3660046123d7565b6107d7565b604051600160a060020a039091168152602001610267565b3480156102d657600080fd5b506102ea6102e5366004612407565b61088a565b005b3480156102f857600080fd5b506102856109e9565b34801561030d57600080fd5b50610316610a77565b604051908152602001610267565b34801561033057600080fd5b506102ea61033f3660046123d7565b610a87565b34801561035057600080fd5b506102ea61035f366004612431565b610aee565b6102ea610b7d565b34801561037857600080fd5b5060095461025b9074010000000000000000000000000000000000000000900460ff1681565b6102ea6103ac3660046124b8565b610dae565b3480156103bd57600080fd5b506102ea611096565b3480156103d257600080fd5b506102ea6103e1366004612431565b6111d2565b3480156103f257600080fd5b5060105461025b9060ff1681565b34801561040c57600080fd5b506102b261041b3660046123d7565b6111ed565b34801561042c57600080fd5b50610316600b5481565b34801561044257600080fd5b506103166104513660046124fa565b611280565b34801561046257600080fd5b506102ea611322565b34801561047757600080fd5b50600654600160a060020a03166102b2565b34801561049557600080fd5b506102ea611390565b3480156104aa57600080fd5b5061028561143f565b3480156104bf57600080fd5b506102ea61144e565b3480156104d457600080fd5b506102ea6104e33660046125ba565b6114c4565b3480156104f457600080fd5b506102ea610503366004612603565b611536565b34801561051457600080fd5b506102ea61052336600461263f565b611541565b34801561053457600080fd5b506102856105433660046123d7565b6115d7565b34801561055457600080fd5b50600c546105639061ffff1681565b60405161ffff9091168152602001610267565b34801561058257600080fd5b5061025b6105913660046126bb565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105cb57600080fd5b506102ea6105da3660046126ee565b611627565b3480156105eb57600080fd5b50610285611758565b34801561060057600080fd5b50610316600f5481565b34801561061657600080fd5b506102ea6106253660046124fa565b611765565b34801561063657600080fd5b506102ea6106453660046125ba565b611857565b34801561065657600080fd5b50610316600a5481565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806106f357507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061073f57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546107549061274b565b80601f01602080910402602001604051908101604052809291908181526020018280546107809061274b565b80156107cd5780601f106107a2576101008083540402835291602001916107cd565b820191906000526020600020905b8154815290600101906020018083116107b057829003601f168201915b5050505050905090565b600081815260026020526040812054600160a060020a031661086e57604051600080516020612ae5833981519152815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260046020526040902054600160a060020a031690565b6000610895826111ed565b905080600160a060020a031683600160a060020a03160361092657604051600080516020612ae5833981519152815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610865565b33600160a060020a03821614806109605750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b6109da57604051600080516020612ae5833981519152815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610865565b6109e483836118c5565b505050565b600e80546109f69061274b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a229061274b565b8015610a6f5780601f10610a4457610100808354040283529160200191610a6f565b820191906000526020600020905b815481529060010190602001808311610a5257829003601f168201915b505050505081565b6000610a8260115490565b905090565b600654600160a060020a03163314610ae957604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b600f55565b610af83382611940565b610b7257604051600080516020612ae5833981519152815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610865565b6109e4838383611a50565b600b54610b8b903490611c3a565b15610be057604051600080516020612ae5833981519152815260206004820181905260248201527f506c65617365206d696e74207468726f7567682074686520776562736974652e6044820152606401610865565b6000345b600b548110610c0f57600b54610bfb908290611c4d565b9050610c08826001611c59565b9150610be4565b33600090815260136020526040902054601490610c2c9084611c59565b1115610ca857604051600080516020612ae5833981519152815260206004820152602e60248201527f4d6178206d696e74207065722077616c6c65742069732032302e20547279206160448201527f6e6f746865722077616c6c65742e0000000000000000000000000000000000006064820152608401610865565b600c5461ffff16610cc283610cbc60115490565b90611c59565b1115610d3e57604051600080516020612ae5833981519152815260206004820152602d60248201527f43757272656e74204d696e74204c696d697420526561636865642e205472792060448201527f6d696e74696e67206c6573732e000000000000000000000000000000000000006064820152608401610865565b60005b828160ff161015610d7e57610d5a601180546001019055565b610d6c33610d6760115490565b611c65565b80610d76816127cd565b915050610d41565b5033600090815260136020526040902054610d9a9083906127ec565b336000908152601360205260409020555050565b3360009081526012602052604090205460ff161515600103610dcf57600080fd5b610e4182828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040516c0100000000000000000000000033026020820152909250603401905060405160208183030381529060405280519060200120611dc4565b610ebb57604051600080516020612ae5833981519152815260206004820152603d60248201527f546869732077616c6c6574206973206e6f7420726567697374657265642e205460448201527f727920616761696e207769746820616e6f746865722077616c6c65742e0000006064820152608401610865565b6000345b600a548110610eea57600a54610ed6908290611c4d565b9050610ee3826001611c59565b9150610ebf565b33600090815260136020526040902054601490610f079084611c59565b1115610f8357604051600080516020612ae5833981519152815260206004820152602e60248201527f4d6178206d696e74207065722077616c6c65742069732032302e20547279206160448201527f6e6f746865722077616c6c65742e0000000000000000000000000000000000006064820152608401610865565b600c5461ffff16610f9783610cbc60115490565b111561101357604051600080516020612ae5833981519152815260206004820152602d60248201527f43757272656e74204d696e74204c696d697420526561636865642e205472792060448201527f6d696e74696e67206c6573732e000000000000000000000000000000000000006064820152608401610865565b60005b828160ff16101561104e5761102f601180546001019055565b61103c33610d6760115490565b80611046816127cd565b915050611016565b503360009081526013602052604090205461106a9083906127ec565b336000908152601360209081526040808320939093556012905220805460ff1916600117905550505050565b600654600160a060020a031633146110f857604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b30316000611107826064611dda565b600754909150600160a060020a03166108fc611124836004611de6565b6040518115909202916000818181858888f1935050505015801561114c573d6000803e3d6000fd5b50600954600160a060020a03166108fc61116783600b611de6565b6040518115909202916000818181858888f1935050505015801561118f573d6000803e3d6000fd5b50600854600160a060020a03166108fc6111aa836055611de6565b6040518115909202916000818181858888f193505050501580156109e4573d6000803e3d6000fd5b6109e483838360405180602001604052806000815250611541565b600081815260026020526040812054600160a060020a03168061073f57604051600080516020612ae5833981519152815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610865565b6000600160a060020a03821661130657604051600080516020612ae5833981519152815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610865565b50600160a060020a031660009081526003602052604090205490565b600654600160a060020a0316331461138457604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b61138e6000611df2565b565b600654600160a060020a031633146113f257604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b600980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8116740100000000000000000000000000000000000000009182900460ff1615909102179055565b6060600180546107549061274b565b600654600160a060020a031633146114b057604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b6010805460ff19811660ff90911615179055565b600654600160a060020a0316331461152657604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b600d611532828261284d565b5050565b611532338383611e51565b61154b3383611940565b6115c557604051600080516020612ae5833981519152815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610865565b6115d184848484611f27565b50505050565b60105460609060ff161561161757600d6115f083611fb8565b604051602001611601929190612913565b6040516020818303038152906040529050919050565b600e6115f083611fb8565b919050565b600654600160a060020a0316331461168957604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b60005b828110156115d15760005b8260ff16811015611745576116b0601180546001019055565b6116e28585848181106116c5576116c56129c2565b90506020020160208101906116da91906124fa565b601154611c65565b6117326001601360008888878181106116fd576116fd6129c2565b905060200201602081019061171291906124fa565b600160a060020a0316815260208101919091526040016000205490611c59565b508061173d816129f1565b915050611697565b5080611750816129f1565b91505061168c565b600d80546109f69061274b565b600654600160a060020a031633146117c757604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b600160a060020a03811661184b57604051600080516020612ae5833981519152815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610865565b61185481611df2565b50565b600654600160a060020a031633146118b957604051600080516020612ae5833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610865565b600e611532828261284d565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384169081179091558190611907826111ed565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815260026020526040812054600160a060020a03166119d257604051600080516020612ae5833981519152815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610865565b60006119dd836111ed565b905080600160a060020a031684600160a060020a03161480611a245750600160a060020a0380821660009081526005602090815260408083209388168352929052205460ff165b80611a48575083600160a060020a0316611a3d846107d7565b600160a060020a0316145b949350505050565b82600160a060020a0316611a63826111ed565b600160a060020a031614611ae757604051600080516020612ae5833981519152815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610865565b600160a060020a038216611b6a57604051600080516020612ae58339815191528152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610865565b611b756000826118c5565b600160a060020a0383166000908152600360205260408120805460019290611b9e908490612a0a565b9091555050600160a060020a0382166000908152600360205260408120805460019290611bcc9084906127ec565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611c468284612a4c565b9392505050565b6000611c468284612a0a565b6000611c4682846127ec565b600160a060020a038216611cc357604051600080516020612ae5833981519152815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610865565b600081815260026020526040902054600160a060020a031615611d3057604051600080516020612ae5833981519152815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610865565b600160a060020a0382166000908152600360205260408120805460019290611d599084906127ec565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600082611dd1858461210c565b14949350505050565b6000611c468284612a60565b6000611c468284612a74565b60068054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b81600160a060020a031683600160a060020a031603611eba57604051600080516020612ae5833981519152815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610865565b600160a060020a03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611f32848484611a50565b611f3e84848484612180565b6115d157604051600080516020612ae5833981519152815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610865565b606081600003611ffb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612025578061200f816129f1565b915061201e9050600a83612a60565b9150611fff565b60008167ffffffffffffffff81111561204057612040612515565b6040519080825280601f01601f19166020018201604052801561206a576020820181803683370190505b5090505b8415611a485761207f600183612a0a565b915061208c600a86612a4c565b6120979060306127ec565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106120cb576120cb6129c2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612105600a86612a60565b945061206e565b600081815b845181101561217857600085828151811061212e5761212e6129c2565b602002602001015190508083116121545760008381526020829052604090209250612165565b600081815260208490526040902092505b5080612170816129f1565b915050612111565b509392505050565b6000600160a060020a0384163b1561231e576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a02906121dd903390899088908890600401612a8b565b6020604051808303816000875af1925050508015612218575060408051601f3d908101601f1916820190925261221591810190612ac7565b60015b6122d3573d808015612246576040519150601f19603f3d011682016040523d82523d6000602084013e61224b565b606091505b5080516000036122cb57604051600080516020612ae5833981519152815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610865565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611a48565b506001949350505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461185457600080fd5b60006020828403121561236957600080fd5b8135611c4681612329565b60005b8381101561238f578181015183820152602001612377565b50506000910152565b600081518084526123b0816020860160208601612374565b601f01601f19169290920160200192915050565b602081526000611c466020830184612398565b6000602082840312156123e957600080fd5b5035919050565b8035600160a060020a038116811461162257600080fd5b6000806040838503121561241a57600080fd5b612423836123f0565b946020939093013593505050565b60008060006060848603121561244657600080fd5b61244f846123f0565b925061245d602085016123f0565b9150604084013590509250925092565b60008083601f84011261247f57600080fd5b50813567ffffffffffffffff81111561249757600080fd5b60208301915083602080830285010111156124b157600080fd5b9250929050565b600080602083850312156124cb57600080fd5b823567ffffffffffffffff8111156124e257600080fd5b6124ee8582860161246d565b90969095509350505050565b60006020828403121561250c57600080fd5b611c46826123f0565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff8084111561255f5761255f612515565b604051601f8501601f19908116603f0116810190828211818310171561258757612587612515565b816040528093508581528686860111156125a057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156125cc57600080fd5b813567ffffffffffffffff8111156125e357600080fd5b8201601f810184136125f457600080fd5b611a4884823560208401612544565b6000806040838503121561261657600080fd5b61261f836123f0565b91506020830135801515811461263457600080fd5b809150509250929050565b6000806000806080858703121561265557600080fd5b61265e856123f0565b935061266c602086016123f0565b925060408501359150606085013567ffffffffffffffff81111561268f57600080fd5b8501601f810187136126a057600080fd5b6126af87823560208401612544565b91505092959194509250565b600080604083850312156126ce57600080fd5b6126d7836123f0565b91506126e5602084016123f0565b90509250929050565b60008060006040848603121561270357600080fd5b833567ffffffffffffffff81111561271a57600080fd5b6127268682870161246d565b909450925050602084013560ff8116811461274057600080fd5b809150509250925092565b60028104600182168061275f57607f821691505b602082108103612798577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060ff821660ff81036127e3576127e361279e565b60010192915050565b8082018082111561073f5761073f61279e565b601f8211156109e4576000818152602081206020601f860104810160208610156128265750805b6020601f860104820191505b8181101561284557828155600101612832565b505050505050565b815167ffffffffffffffff81111561286757612867612515565b61287b81612875845461274b565b846127ff565b602080601f8311600181146128b457600084156128985750858301515b60028086026008870290910a6000190419821617865550612845565b600085815260208120601f198616915b828110156128e3578886015182559484019460019091019084016128c4565b508582101561290357878501516008601f88160260020a60001904191681555b5050505050600202600101905550565b60008084546129218161274b565b60018281168015612939576001811461294e5761297d565b60ff198416875282151583028701945061297d565b8860005260208060002060005b858110156129745781548a82015290840190820161295b565b50505082870194505b505050508351612991818360208801612374565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060018201612a0357612a0361279e565b5060010190565b8181038181111561073f5761073f61279e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612a5b57612a5b612a1d565b500690565b600082612a6f57612a6f612a1d565b500490565b808202811582820484141761073f5761073f61279e565b6000600160a060020a03808716835280861660208401525083604083015260806060830152612abd6080830184612398565b9695505050505050565b600060208284031215612ad957600080fd5b8151611c468161232956fe08c379a000000000000000000000000000000000000000000000000000000000a264697066735822122034f9d4cb73ef975fe82b8df591e6f190516a7c5a23909dd8739f70adb8cb9ef364736f6c63430008110033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.