Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 4,885 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 24206698 | 53 days ago | IN | 0 ETH | 0.00000104 | ||||
| Set Approval For... | 24206697 | 53 days ago | IN | 0 ETH | 0.00000123 | ||||
| Set Approval For... | 24075941 | 71 days ago | IN | 0 ETH | 0.00000486 | ||||
| Set Approval For... | 23481130 | 155 days ago | IN | 0 ETH | 0.00001865 | ||||
| Set Approval For... | 18910688 | 794 days ago | IN | 0 ETH | 0.00045921 | ||||
| Set Approval For... | 18758552 | 815 days ago | IN | 0 ETH | 0.00164671 | ||||
| Transfer From | 18330577 | 875 days ago | IN | 0 ETH | 0.00033521 | ||||
| Set Approval For... | 16976461 | 1065 days ago | IN | 0 ETH | 0.00176511 | ||||
| Set Approval For... | 16662533 | 1109 days ago | IN | 0 ETH | 0.00164829 | ||||
| Set Approval For... | 16662533 | 1109 days ago | IN | 0 ETH | 0.00165126 | ||||
| Set Approval For... | 16645274 | 1112 days ago | IN | 0 ETH | 0.00122848 | ||||
| Set Approval For... | 16587230 | 1120 days ago | IN | 0 ETH | 0.00131045 | ||||
| Set Approval For... | 16587218 | 1120 days ago | IN | 0 ETH | 0.00135518 | ||||
| Set Approval For... | 16344757 | 1154 days ago | IN | 0 ETH | 0.00082162 | ||||
| Safe Transfer Fr... | 16293929 | 1161 days ago | IN | 0 ETH | 0.00076863 | ||||
| Safe Transfer Fr... | 16293923 | 1161 days ago | IN | 0 ETH | 0.00112509 | ||||
| Set Approval For... | 16158570 | 1180 days ago | IN | 0 ETH | 0.00036551 | ||||
| Set Approval For... | 16156218 | 1180 days ago | IN | 0 ETH | 0.00068781 | ||||
| Set Approval For... | 15866129 | 1221 days ago | IN | 0 ETH | 0.00025774 | ||||
| Set Approval For... | 15861519 | 1221 days ago | IN | 0 ETH | 0.00044551 | ||||
| Set Approval For... | 15853560 | 1222 days ago | IN | 0 ETH | 0.00050431 | ||||
| Set Approval For... | 15843451 | 1224 days ago | IN | 0 ETH | 0.00059397 | ||||
| Set Approval For... | 15840824 | 1224 days ago | IN | 0 ETH | 0.00078377 | ||||
| Set Approval For... | 15833486 | 1225 days ago | IN | 0 ETH | 0.00119751 | ||||
| Set Approval For... | 15811682 | 1228 days ago | IN | 0 ETH | 0.00081293 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MockoTaco
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
/*
,╓▄▄▄▓███████████████▓▄▄▄,
,▄▓█████████████████████████████████▄,
,▄███████████████████████▀└╙████████████████▄,
╓▓██████████████▀┌_.╙██████▀___█████████▀▀█████████▄
▄████████████████▌______╙▀▀▀─____██████╙______╙████████▓
,▓██████████████████________________█████_________╟██████████,
▓███████████████████▀________________▀███___________╙▀▀▀╙└└╟████
╓███████████⌐__╙▀▀▀▀▀'_______________________________________╫█████▄
▄████████████_____________╫█████⌐______________█████▀_________████████
▓█████████████_____________▐█████_______________█████▌_________╫████████
▓███████▀╙█████______________▀███▀_______________╙████'__________└▀▀███▀██
▐███████▌__╙▀▀▀'__▄▄___________'└_____▐█⌐_____]█⌐___└└__________▄▄_______╙█▌
████████_________j█▌___________________▀██▄▄▄▓█▀________________╟█⌐_______╟█
▐█▌ █▌_________╟█______________________╙╙▀╙└___________________█▌_______╙█▌
▐█ ▐█▒_________██______________________________________________██________█▌
╫███████████████████_████████████████████████████████████████████ ████████████
██ j█▌ █▌ ▓█
_▀█⌐ j█▌ █▌ "█▀_
j█▌, ██,
╙▀▀▀▀ ╙╙▀▀▀¬
*/
pragma solidity ^0.8.15;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract MockoTaco is ERC721A, Ownable, ReentrancyGuard {
using Strings for uint256;
uint256 public constant MAX_MINT_SUPPLY = 4005;
uint256 public constant AMOUNT_FOR_OWNER = 100;
uint256 public constant MAX_MINT_PER_TRANSACTION = 1;
uint256 public ownerMinted = 0;
uint256 public mintPrice = 0 ether;
// Sale Status
bool public publicSaleActive = false;
bool public allowListSaleActive = false;
bool public revealed = false;
// PRESALE MERKLE MINT
mapping (address => bool) public mintMerkleWalletList;
bytes32 public mintMerkleRoot;
string private baseURI;
string private notRevealedURI;
string private baseExtension;
/**
* @notice triggered when minted
*/
event Minted(address minter, uint256 amount);
/**
* @notice triggered after owner withdraws funds
*/
event Withdrawal(address to, uint amount);
/**
* @notice triggered after the owner sets the base uri
*/
event BaseURIChanged(string newBaseURI);
/**
* @notice triggered after the public sale status in enabled/disabled
*/
event TogglePublicSaleStatus(bool publicSaleStatus);
/**
* @notice triggered after the allowlist sale status in enabled/disabled
*/
event ToggleAllowlistSaleStatus(bool allowlistSaleStatus);
constructor() ERC721A("Mocko Taco", "MOCKOTACO") {
}
/**
* @notice The function to call for allowlist minting
* @param _merkleProof The merkle proof to validate on allowlist
*/
function mintAllowlistTaco(bytes32[] calldata _merkleProof) external {
require(
allowListSaleActive,
"Allowlist sale is not active"
);
require(
mintMerkleWalletList[msg.sender] == false,
"You are not on the wallet list or have already minted"
);
require(
_totalMinted() + 1 <= MAX_MINT_SUPPLY,
"Max mint supply reached"
);
bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
require(MerkleProof.verify(_merkleProof, mintMerkleRoot, leaf), "Invalid Merkle Proof");
mintMerkleWalletList[msg.sender] = true;
_safeMint(msg.sender, 1);
emit Minted(msg.sender, 1);
}
/**
* @notice The function to call for public minting
* @param quantity the number of tokens to mint (up to MAX_MINT_PER_TRANSACTION)
*/
function mintPublicTaco(uint256 quantity) external payable {
require(
publicSaleActive,
"Public sale is not active"
);
require(
quantity <= MAX_MINT_PER_TRANSACTION,
"Over mint limit"
);
require(
_totalMinted() + quantity <= MAX_MINT_SUPPLY,
"Max mint supply reached"
);
require(msg.value == quantity * mintPrice, "Wrong amount of eth sent");
_safeMint(msg.sender, quantity);
emit Minted(msg.sender, quantity);
}
/**
* @notice The function to call for owner minting
* @param quantity the number of tokens to mint
*/
function mintOwnerTaco(uint256 quantity) external onlyOwner {
require(
_totalMinted() + quantity <= MAX_MINT_SUPPLY,
"Max mint supply reached"
);
require(
ownerMinted + quantity <= AMOUNT_FOR_OWNER,
"Exceeds maximum owner mint amount"
);
_safeMint(msg.sender, quantity);
ownerMinted += quantity;
emit Minted(msg.sender, quantity);
}
/**
* @notice The function to call for owner gift mints
* @param to the address to send the tokens to
* @param quantity the number of tokens to mint
*/
function giftTaco(address to, uint256 quantity) external onlyOwner {
require(
_totalMinted() + quantity <= MAX_MINT_SUPPLY,
"Max mint supply reached"
);
require(
ownerMinted + quantity <= AMOUNT_FOR_OWNER,
"Exceeds maximum owner mint amount"
);
require(to != address(0), "Cannot Send To Zero Address");
_safeMint(to, quantity);
ownerMinted += quantity;
emit Minted(msg.sender, quantity);
}
/**
* @notice Withdraws owner funds from the contract after the refund window
*/
function withdraw() external onlyOwner nonReentrant {
uint256 balance = address(this).balance;
Address.sendValue(payable(owner()), balance);
emit Withdrawal(owner(), balance);
}
/**
* @notice Gets the baseURI to be used to build a token URI
* @return the baseURI string
*/
function _baseURI() internal view override returns (string memory) {
if (!revealed) {
return notRevealedURI;
} else {
return baseURI;
}
}
/**
* @notice Returns the token URI, taking into account reveal
* @param tokenId The id of the token
* @return The token URI string
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory currentBaseURI = _baseURI();
if (!revealed) {
return bytes(currentBaseURI).length != 0 ? string(
abi.encodePacked(currentBaseURI)) : "";
} else {
return bytes(currentBaseURI).length != 0 ? string(
abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : "";
}
}
/**
* @notice Change the unrevealed URI
* @param notRevealedURI_ The new string to be used
*/
function setNotRevealedURI(string memory notRevealedURI_) external onlyOwner {
notRevealedURI = notRevealedURI_;
}
/**
* @notice Change the base URI
* @param uri_ The new string to be used
*/
function setBaseURI(string memory uri_) external onlyOwner {
baseURI = uri_;
emit BaseURIChanged(baseURI);
}
/**
* @notice Change the extension to be included on token URIs
* @param extension_ The new string to be used
*/
function setBaseExtension(string memory extension_) external onlyOwner {
baseExtension = extension_;
}
/**
* @notice Toggle the public sale status
*/
function togglePublicSaleStatus() external onlyOwner {
publicSaleActive = !publicSaleActive;
emit TogglePublicSaleStatus(publicSaleActive);
}
/**
* @notice Toggle the public sale status
*/
function toggleAllowlistSaleStatus() external onlyOwner {
allowListSaleActive = !allowListSaleActive;
emit ToggleAllowlistSaleStatus(allowListSaleActive);
}
/**
* @notice Change the token URI from unrevealed to revealed status
*/
function reveal() external onlyOwner {
revealed = true;
}
/**
* @notice Set the public mint price
* @param newPrice The price to use for public mint
*/
function setMintPrice(uint256 newPrice) external onlyOwner {
mintPrice = newPrice;
}
/**
* @notice sets Merkle Root for mint
*/
function setMerkleRoot(bytes32 _presaleMerkleRoot) public onlyOwner {
mintMerkleRoot = _presaleMerkleRoot;
}
/**
* @notice useful to reset a list of addresses to be able to presale mint again.
*/
function initMintMerkleWalletList(address[] memory walletList) external onlyOwner {
for (uint i; i < walletList.length; i++) {
mintMerkleWalletList[walletList[i]] = false;
}
}
/**
* @notice check if address minted presale
*/
function checkAddressOnMintMerkleWalletList(address wallet) public view returns (bool) {
return mintMerkleWalletList[wallet];
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol) pragma solidity ^0.8.0; import "../token/ERC721/IERC721.sol";
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Tree 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 Calldata version of {verify}
*
* _Available since v4.7._
*/
function verifyCalldata(
bytes32[] calldata proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProofCalldata(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++) {
computedHash = _hashPair(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Calldata version of {processProof}
*
* _Available since v4.7._
*/
function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = _hashPair(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
* `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
*
* _Available since v4.7._
*/
function multiProofVerify(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32 root,
bytes32[] memory leaves
) internal pure returns (bool) {
return processMultiProof(proof, proofFlags, leaves) == root;
}
/**
* @dev Calldata version of {multiProofVerify}
*
* _Available since v4.7._
*/
function multiProofVerifyCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32 root,
bytes32[] memory leaves
) internal pure returns (bool) {
return processMultiProofCalldata(proof, proofFlags, leaves) == root;
}
/**
* @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
* consuming from one or the other at each step according to the instructions given by
* `proofFlags`.
*
* _Available since v4.7._
*/
function processMultiProof(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32[] memory leaves
) internal pure returns (bytes32 merkleRoot) {
// This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the merkle tree.
uint256 leavesLen = leaves.length;
uint256 totalHashes = proofFlags.length;
// Check proof validity.
require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](totalHashes);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < totalHashes; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
hashes[i] = _hashPair(a, b);
}
if (totalHashes > 0) {
return hashes[totalHashes - 1];
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
/**
* @dev Calldata version of {processMultiProof}
*
* _Available since v4.7._
*/
function processMultiProofCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32[] memory leaves
) internal pure returns (bytes32 merkleRoot) {
// This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the merkle tree.
uint256 leavesLen = leaves.length;
uint256 totalHashes = proofFlags.length;
// Check proof validity.
require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](totalHashes);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < totalHashes; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
hashes[i] = _hashPair(a, b);
}
if (totalHashes > 0) {
return hashes[totalHashes - 1];
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
/// @solidity memory-safe-assembly
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
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);
}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
*
* Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
*
* Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is Context, ERC165, IERC721A {
using Address for address;
using Strings for uint256;
// The tokenId of the next token to be minted.
uint256 internal _currentIndex;
// The number of tokens burned.
uint256 internal _burnCounter;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
mapping(uint256 => TokenOwnership) internal _ownerships;
// Mapping owner address to address data
mapping(address => AddressData) private _addressData;
// 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;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
/**
* To change the starting tokenId, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
*/
function totalSupply() public view override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than _currentIndex - _startTokenId() times
unchecked {
return _currentIndex - _burnCounter - _startTokenId();
}
}
/**
* Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view returns (uint256) {
// Counter underflow is impossible as _currentIndex does not decrement,
// and it is initialized to _startTokenId()
unchecked {
return _currentIndex - _startTokenId();
}
}
/**
* @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 override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return uint256(_addressData[owner].balance);
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
return uint256(_addressData[owner].numberMinted);
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
return uint256(_addressData[owner].numberBurned);
}
/**
* Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
return _addressData[owner].aux;
}
/**
* Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
* If there are multiple variables, please pack them into a uint64.
*/
function _setAux(address owner, uint64 aux) internal {
_addressData[owner].aux = aux;
}
/**
* Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around in the collection over time.
*/
function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
uint256 curr = tokenId;
unchecked {
if (_startTokenId() <= curr) if (curr < _currentIndex) {
TokenOwnership memory ownership = _ownerships[curr];
if (!ownership.burned) {
if (ownership.addr != address(0)) {
return ownership;
}
// Invariant:
// There will always be an ownership that has an address and is not burned
// before an ownership that does not have an address and is not burned.
// Hence, curr will not underflow.
while (true) {
curr--;
ownership = _ownerships[curr];
if (ownership.addr != address(0)) {
return ownership;
}
}
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return _ownershipOf(tokenId).addr;
}
/**
* @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) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return '';
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public override {
address owner = ERC721A.ownerOf(tokenId);
if (to == owner) revert ApprovalToCurrentOwner();
if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_approve(to, tokenId, owner);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
if (operator == _msgSender()) revert ApproveToCaller();
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
_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 {
_transfer(from, to, tokenId);
if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @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`),
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
}
/**
* @dev Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal {
_safeMint(to, quantity, '');
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
// updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
if (to.isContract()) {
do {
emit Transfer(address(0), to, updatedIndex);
if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
} while (updatedIndex < end);
// Reentrancy protection
if (_currentIndex != startTokenId) revert();
} else {
do {
emit Transfer(address(0), to, updatedIndex++);
} while (updatedIndex < end);
}
_currentIndex = updatedIndex;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 quantity) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
// updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
do {
emit Transfer(address(0), to, updatedIndex++);
} while (updatedIndex < end);
_currentIndex = updatedIndex;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* 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
) private {
TokenOwnership memory prevOwnership = _ownershipOf(tokenId);
if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
bool isApprovedOrOwner = (_msgSender() == from ||
isApprovedForAll(from, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, from);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
unchecked {
_addressData[from].balance -= 1;
_addressData[to].balance += 1;
TokenOwnership storage currSlot = _ownerships[tokenId];
currSlot.addr = to;
currSlot.startTimestamp = uint64(block.timestamp);
// If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
TokenOwnership storage nextSlot = _ownerships[nextTokenId];
if (nextSlot.addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId != _currentIndex) {
nextSlot.addr = from;
nextSlot.startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Equivalent to `_burn(tokenId, false)`.
*/
function _burn(uint256 tokenId) internal virtual {
_burn(tokenId, false);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
TokenOwnership memory prevOwnership = _ownershipOf(tokenId);
address from = prevOwnership.addr;
if (approvalCheck) {
bool isApprovedOrOwner = (_msgSender() == from ||
isApprovedForAll(from, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
}
_beforeTokenTransfers(from, address(0), tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, from);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
unchecked {
AddressData storage addressData = _addressData[from];
addressData.balance -= 1;
addressData.numberBurned += 1;
// Keep track of who burned the token, and the timestamp of burning.
TokenOwnership storage currSlot = _ownerships[tokenId];
currSlot.addr = from;
currSlot.startTimestamp = uint64(block.timestamp);
currSlot.burned = true;
// If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
TokenOwnership storage nextSlot = _ownerships[nextTokenId];
if (nextSlot.addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId != _currentIndex) {
nextSlot.addr = from;
nextSlot.startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, address(0), tokenId);
_afterTokenTransfers(from, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(
address to,
uint256 tokenId,
address owner
) private {
_tokenApprovals[tokenId] = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
/**
* @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
* And also called before burning one token.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* 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, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
* minting.
* And also called after one token has been burned.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/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.7.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
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// 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
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
/**
* @dev Interface of an ERC721A compliant contract.
*/
interface IERC721A is IERC721, IERC721Metadata {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCallerNotOwnerNorApproved();
/**
* The token does not exist.
*/
error ApprovalQueryForNonexistentToken();
/**
* The caller cannot approve to their own address.
*/
error ApproveToCaller();
/**
* The caller cannot approve to the current owner.
*/
error ApprovalToCurrentOwner();
/**
* Cannot query the balance for the zero address.
*/
error BalanceQueryForZeroAddress();
/**
* Cannot mint to the zero address.
*/
error MintToZeroAddress();
/**
* The quantity of tokens minted must be more than zero.
*/
error MintZeroQuantity();
/**
* The token does not exist.
*/
error OwnerQueryForNonexistentToken();
/**
* The caller must own the token or be an approved operator.
*/
error TransferCallerNotOwnerNorApproved();
/**
* The token must be owned by `from`.
*/
error TransferFromIncorrectOwner();
/**
* Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
*/
error TransferToNonERC721ReceiverImplementer();
/**
* Cannot transfer to the zero address.
*/
error TransferToZeroAddress();
/**
* The token does not exist.
*/
error URIQueryForNonexistentToken();
// Compiler will pack this into a single 256bit word.
struct TokenOwnership {
// The address of the owner.
address addr;
// Keeps track of the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
}
// Compiler will pack this into a single 256bit word.
struct AddressData {
// Realistically, 2**64-1 is more than enough.
uint64 balance;
// Keeps track of mint count with minimal overhead for tokenomics.
uint64 numberMinted;
// Keeps track of burn count with minimal overhead for tokenomics.
uint64 numberBurned;
// For miscellaneous variable(s) pertaining to the address
// (e.g. number of whitelist mint slots used).
// If there are multiple variables, please pack them into a uint64.
uint64 aux;
}
/**
* @dev Returns the total amount of tokens stored by the contract.
*
* Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
*/
function totalSupply() external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 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 v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/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);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"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"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","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":false,"internalType":"bool","name":"allowlistSaleStatus","type":"bool"}],"name":"ToggleAllowlistSaleStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"publicSaleStatus","type":"bool"}],"name":"TogglePublicSaleStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"AMOUNT_FOR_OWNER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_TRANSACTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"checkAddressOnMintMerkleWalletList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"giftTaco","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"walletList","type":"address[]"}],"name":"initMintMerkleWalletList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintAllowlistTaco","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintMerkleWalletList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintOwnerTaco","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPublicTaco","outputs":[],"stateMutability":"payable","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":[],"name":"ownerMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"extension_","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_presaleMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"notRevealedURI_","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleAllowlistSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526000600a556000600b556000600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff0219169083151502179055506000600c60026101000a81548160ff0219169083151502179055503480156200006c57600080fd5b506040518060400160405280600a81526020017f4d6f636b6f205461636f000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f4d4f434b4f5441434f00000000000000000000000000000000000000000000008152508160029081620000ea919062000490565b508060039081620000fc919062000490565b506200010d6200014360201b60201c565b600081905550505062000135620001296200014860201b60201c565b6200015060201b60201c565b600160098190555062000577565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200029857607f821691505b602082108103620002ae57620002ad62000250565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003187fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002d9565b620003248683620002d9565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003716200036b62000365846200033c565b62000346565b6200033c565b9050919050565b6000819050919050565b6200038d8362000350565b620003a56200039c8262000378565b848454620002e6565b825550505050565b600090565b620003bc620003ad565b620003c981848462000382565b505050565b5b81811015620003f157620003e5600082620003b2565b600181019050620003cf565b5050565b601f82111562000440576200040a81620002b4565b6200041584620002c9565b8101602085101562000425578190505b6200043d6200043485620002c9565b830182620003ce565b50505b505050565b600082821c905092915050565b6000620004656000198460080262000445565b1980831691505092915050565b600062000480838362000452565b9150826002028217905092915050565b6200049b8262000216565b67ffffffffffffffff811115620004b757620004b662000221565b5b620004c382546200027f565b620004d0828285620003f5565b600060209050601f831160018114620005085760008415620004f3578287015190505b620004ff858262000472565b8655506200056f565b601f1984166200051886620002b4565b60005b8281101562000542578489015182556001820191506020850194506020810190506200051b565b868310156200056257848901516200055e601f89168262000452565b8355505b6001600288020188555050505b505050505050565b61493280620005876000396000f3fe6080604052600436106102515760003560e01c80637cb6475911610139578063b9ad9fde116100b6578063da3ef23f1161007a578063da3ef23f14610859578063e985e9c514610882578063ea013ee6146108bf578063f2c4ce1e146108e8578063f2fde38b14610911578063f4a0a5281461093a57610251565b8063b9ad9fde14610788578063bc8893b41461079f578063c87b56dd146107ca578063d28902ab14610807578063d2c57fc91461083057610251565b80639e3af031116100fd5780639e3af031146106c9578063a22cb465146106f4578063a329e1db1461071d578063a475b5dd14610748578063b88d4fde1461075f57610251565b80637cb647591461060857806381c13a181461063157806384bce46b1461065c5780638da5cb5b1461067357806395d89b411461069e57610251565b80633ccfd60b116101d257806355f804b31161019657806355f804b3146104e65780636352211e1461050f5780636817c76c1461054c57806370a0823114610577578063715018a6146105b4578063780cc345146105cb57610251565b80633ccfd60b1461042757806342842e0e1461043e57806344331077146104675780634f252b751461049257806351830227146104bb57610251565b806318160ddd1161021957806318160ddd1461034f57806323b872dd1461037a57806324ef901e146103a3578063309c617b146103ce57806339e1c77c146103ea57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630bf7a62714610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613136565b610963565b60405161028a919061317e565b60405180910390f35b34801561029f57600080fd5b506102a8610a45565b6040516102b59190613232565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e0919061328a565b610ad7565b6040516102f291906132f8565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d919061333f565b610b53565b005b34801561033057600080fd5b50610339610c57565b604051610346919061338e565b60405180910390f35b34801561035b57600080fd5b50610364610c5d565b604051610371919061338e565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c91906133a9565b610c74565b005b3480156103af57600080fd5b506103b8610c84565b6040516103c5919061338e565b60405180910390f35b6103e860048036038101906103e3919061328a565b610c89565b005b3480156103f657600080fd5b50610411600480360381019061040c91906133fc565b610e08565b60405161041e919061317e565b60405180910390f35b34801561043357600080fd5b5061043c610e5e565b005b34801561044a57600080fd5b50610465600480360381019061046091906133a9565b610f14565b005b34801561047357600080fd5b5061047c610f34565b6040516104899190613442565b60405180910390f35b34801561049e57600080fd5b506104b960048036038101906104b4919061333f565b610f3a565b005b3480156104c757600080fd5b506104d06110b9565b6040516104dd919061317e565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190613592565b6110cc565b005b34801561051b57600080fd5b506105366004803603810190610531919061328a565b61111f565b60405161054391906132f8565b60405180910390f35b34801561055857600080fd5b50610561611135565b60405161056e919061338e565b60405180910390f35b34801561058357600080fd5b5061059e600480360381019061059991906133fc565b61113b565b6040516105ab919061338e565b60405180910390f35b3480156105c057600080fd5b506105c961120a565b005b3480156105d757600080fd5b506105f260048036038101906105ed91906133fc565b61121e565b6040516105ff919061317e565b60405180910390f35b34801561061457600080fd5b5061062f600480360381019061062a9190613607565b61123e565b005b34801561063d57600080fd5b50610646611250565b604051610653919061317e565b60405180910390f35b34801561066857600080fd5b50610671611263565b005b34801561067f57600080fd5b506106886112dd565b60405161069591906132f8565b60405180910390f35b3480156106aa57600080fd5b506106b3611307565b6040516106c09190613232565b60405180910390f35b3480156106d557600080fd5b506106de611399565b6040516106eb919061338e565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613660565b61139e565b005b34801561072957600080fd5b50610732611515565b60405161073f919061338e565b60405180910390f35b34801561075457600080fd5b5061075d61151b565b005b34801561076b57600080fd5b5061078660048036038101906107819190613741565b611540565b005b34801561079457600080fd5b5061079d6115b8565b005b3480156107ab57600080fd5b506107b4611632565b6040516107c1919061317e565b60405180910390f35b3480156107d657600080fd5b506107f160048036038101906107ec919061328a565b611645565b6040516107fe9190613232565b60405180910390f35b34801561081357600080fd5b5061082e6004803603810190610829919061388c565b611742565b005b34801561083c57600080fd5b506108576004803603810190610852919061328a565b6117df565b005b34801561086557600080fd5b50610880600480360381019061087b9190613592565b6118ee565b005b34801561088e57600080fd5b506108a960048036038101906108a491906138d5565b611909565b6040516108b6919061317e565b60405180910390f35b3480156108cb57600080fd5b506108e660048036038101906108e19190613970565b61199d565b005b3480156108f457600080fd5b5061090f600480360381019061090a9190613592565b611c31565b005b34801561091d57600080fd5b50610938600480360381019061093391906133fc565b611c4c565b005b34801561094657600080fd5b50610961600480360381019061095c919061328a565b611ccf565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a3e5750610a3d82611ce1565b5b9050919050565b606060028054610a54906139ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610a80906139ec565b8015610acd5780601f10610aa257610100808354040283529160200191610acd565b820191906000526020600020905b815481529060010190602001808311610ab057829003601f168201915b5050505050905090565b6000610ae282611d4b565b610b18576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5e8261111f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bc5576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be4611d99565b73ffffffffffffffffffffffffffffffffffffffff1614610c4757610c1081610c0b611d99565b611909565b610c46576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610c52838383611da1565b505050565b600a5481565b6000610c67611e53565b6001546000540303905090565b610c7f838383611e58565b505050565b600181565b600c60009054906101000a900460ff16610cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccf90613a69565b60405180910390fd5b6001811115610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1390613ad5565b60405180910390fd5b610fa581610d2861230c565b610d329190613b24565b1115610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a90613bc6565b60405180910390fd5b600b5481610d819190613be6565b3414610dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db990613c8c565b60405180910390fd5b610dcc338261231f565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe3382604051610dfd929190613cac565b60405180910390a150565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610e6661233d565b600260095403610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea290613d21565b60405180910390fd5b60026009819055506000479050610ec9610ec36112dd565b826123bb565b7f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65610ef26112dd565b82604051610f01929190613cac565b60405180910390a1506001600981905550565b610f2f83838360405180602001604052806000815250611540565b505050565b600e5481565b610f4261233d565b610fa581610f4e61230c565b610f589190613b24565b1115610f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9090613bc6565b60405180910390fd5b606481600a54610fa99190613b24565b1115610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe190613db3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611059576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105090613e1f565b60405180910390fd5b611063828261231f565b80600a60008282546110759190613b24565b925050819055507f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe33826040516110ad929190613cac565b60405180910390a15050565b600c60029054906101000a900460ff1681565b6110d461233d565b80600f90816110e39190613feb565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6600f6040516111149190614141565b60405180910390a150565b600061112a826124af565b600001519050919050565b600b5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111a2576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61121261233d565b61121c600061273a565b565b600d6020528060005260406000206000915054906101000a900460ff1681565b61124661233d565b80600e8190555050565b600c60019054906101000a900460ff1681565b61126b61233d565b600c60019054906101000a900460ff1615600c60016101000a81548160ff0219169083151502179055507fe757524f867f01e09dd838f969c5014af69c90ba4755c835f2cc31ecc8e622ac600c60019054906101000a900460ff166040516112d3919061317e565b60405180910390a1565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611316906139ec565b80601f0160208091040260200160405190810160405280929190818152602001828054611342906139ec565b801561138f5780601f106113645761010080835404028352916020019161138f565b820191906000526020600020905b81548152906001019060200180831161137257829003601f168201915b5050505050905090565b606481565b6113a6611d99565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361140a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611417611d99565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114c4611d99565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611509919061317e565b60405180910390a35050565b610fa581565b61152361233d565b6001600c60026101000a81548160ff021916908315150217905550565b61154b848484611e58565b61156a8373ffffffffffffffffffffffffffffffffffffffff16612800565b156115b25761157b84848484612823565b6115b1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6115c061233d565b600c60009054906101000a900460ff1615600c60006101000a81548160ff0219169083151502179055507f528d17b963a5e65960148c812bfda41eb605f62d50b844abc5f64e6a66ee1b8e600c60009054906101000a900460ff16604051611628919061317e565b60405180910390a1565b600c60009054906101000a900460ff1681565b606061165082611d4b565b611686576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611690612973565b9050600c60029054906101000a900460ff166116ed5760008151036116c457604051806020016040528060008152506116e5565b806040516020016116d5919061419f565b6040516020818303038152906040525b91505061173d565b600081510361170b5760405180602001604052806000815250611739565b8061171584612aac565b601160405160200161172993929190614239565b6040516020818303038152906040525b9150505b919050565b61174a61233d565b60005b81518110156117db576000600d600084848151811061176f5761176e61426a565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806117d390614299565b91505061174d565b5050565b6117e761233d565b610fa5816117f361230c565b6117fd9190613b24565b111561183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613bc6565b60405180910390fd5b606481600a5461184e9190613b24565b111561188f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188690613db3565b60405180910390fd5b611899338261231f565b80600a60008282546118ab9190613b24565b925050819055507f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe33826040516118e3929190613cac565b60405180910390a150565b6118f661233d565b80601190816119059190613feb565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60019054906101000a900460ff166119ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e39061432d565b60405180910390fd5b60001515600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a76906143bf565b60405180910390fd5b610fa56001611a8c61230c565b611a969190613b24565b1115611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace90613bc6565b60405180910390fd5b600033604051602001611aea9190614427565b604051602081830303815290604052805190602001209050611b50838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5483612c0c565b611b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b869061448e565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611bf233600161231f565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe336001604051611c249291906144e9565b60405180910390a1505050565b611c3961233d565b8060109081611c489190613feb565b5050565b611c5461233d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cba90614584565b60405180910390fd5b611ccc8161273a565b50565b611cd761233d565b80600b8190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611d56611e53565b11158015611d65575060005482105b8015611d92575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611e63826124af565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611ece576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611eef611d99565b73ffffffffffffffffffffffffffffffffffffffff161480611f1e5750611f1d85611f18611d99565b611909565b5b80611f635750611f2c611d99565b73ffffffffffffffffffffffffffffffffffffffff16611f4b84610ad7565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611f9c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612002576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61200f8585856001612c23565b61201b60008487611da1565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361229a57600054821461229957878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123058585856001612c29565b5050505050565b6000612316611e53565b60005403905090565b612339828260405180602001604052806000815250612c2f565b5050565b612345611d99565b73ffffffffffffffffffffffffffffffffffffffff166123636112dd565b73ffffffffffffffffffffffffffffffffffffffff16146123b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b0906145f0565b60405180910390fd5b565b804710156123fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f59061465c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612424906146ad565b60006040518083038185875af1925050503d8060008114612461576040519150601f19603f3d011682016040523d82523d6000602084013e612466565b606091505b50509050806124aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a190614734565b60405180910390fd5b505050565b6124b7613087565b6000829050806124c5611e53565b1161270357600054811015612702576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161270057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146125e4578092505050612735565b5b6001156126ff57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126fa578092505050612735565b6125e5565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612849611d99565b8786866040518563ffffffff1660e01b815260040161286b94939291906147a9565b6020604051808303816000875af19250505080156128a757506040513d601f19601f820116820180604052508101906128a4919061480a565b60015b612920573d80600081146128d7576040519150601f19603f3d011682016040523d82523d6000602084013e6128dc565b606091505b506000815103612918576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600c60029054906101000a900460ff16612a1b5760108054612996906139ec565b80601f01602080910402602001604051908101604052809291908181526020018280546129c2906139ec565b8015612a0f5780601f106129e457610100808354040283529160200191612a0f565b820191906000526020600020905b8154815290600101906020018083116129f257829003601f168201915b50505050509050612aa9565b600f8054612a28906139ec565b80601f0160208091040260200160405190810160405280929190818152602001828054612a54906139ec565b8015612aa15780601f10612a7657610100808354040283529160200191612aa1565b820191906000526020600020905b815481529060010190602001808311612a8457829003601f168201915b505050505090505b90565b606060008203612af3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c07565b600082905060005b60008214612b25578080612b0e90614299565b915050600a82612b1e9190614866565b9150612afb565b60008167ffffffffffffffff811115612b4157612b40613467565b5b6040519080825280601f01601f191660200182016040528015612b735781602001600182028036833780820191505090505b5090505b60008514612c0057600182612b8c9190614897565b9150600a85612b9b91906148cb565b6030612ba79190613b24565b60f81b818381518110612bbd57612bbc61426a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612bf99190614866565b9450612b77565b8093505050505b919050565b600082612c198584612fef565b1490509392505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612c9b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612cd5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ce26000858386612c23565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050612ea38673ffffffffffffffffffffffffffffffffffffffff16612800565b15612f68575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f186000878480600101955087612823565b612f4e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612ea9578260005414612f6357600080fd5b612fd3565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612f69575b816000819055505050612fe96000858386612c29565b50505050565b60008082905060005b845181101561303a57613025828683815181106130185761301761426a565b5b6020026020010151613045565b9150808061303290614299565b915050612ff8565b508091505092915050565b600081831061305d576130588284613070565b613068565b6130678383613070565b5b905092915050565b600082600052816020526040600020905092915050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613113816130de565b811461311e57600080fd5b50565b6000813590506131308161310a565b92915050565b60006020828403121561314c5761314b6130d4565b5b600061315a84828501613121565b91505092915050565b60008115159050919050565b61317881613163565b82525050565b6000602082019050613193600083018461316f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131d35780820151818401526020810190506131b8565b838111156131e2576000848401525b50505050565b6000601f19601f8301169050919050565b600061320482613199565b61320e81856131a4565b935061321e8185602086016131b5565b613227816131e8565b840191505092915050565b6000602082019050818103600083015261324c81846131f9565b905092915050565b6000819050919050565b61326781613254565b811461327257600080fd5b50565b6000813590506132848161325e565b92915050565b6000602082840312156132a05761329f6130d4565b5b60006132ae84828501613275565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132e2826132b7565b9050919050565b6132f2816132d7565b82525050565b600060208201905061330d60008301846132e9565b92915050565b61331c816132d7565b811461332757600080fd5b50565b60008135905061333981613313565b92915050565b60008060408385031215613356576133556130d4565b5b60006133648582860161332a565b925050602061337585828601613275565b9150509250929050565b61338881613254565b82525050565b60006020820190506133a3600083018461337f565b92915050565b6000806000606084860312156133c2576133c16130d4565b5b60006133d08682870161332a565b93505060206133e18682870161332a565b92505060406133f286828701613275565b9150509250925092565b600060208284031215613412576134116130d4565b5b60006134208482850161332a565b91505092915050565b6000819050919050565b61343c81613429565b82525050565b60006020820190506134576000830184613433565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61349f826131e8565b810181811067ffffffffffffffff821117156134be576134bd613467565b5b80604052505050565b60006134d16130ca565b90506134dd8282613496565b919050565b600067ffffffffffffffff8211156134fd576134fc613467565b5b613506826131e8565b9050602081019050919050565b82818337600083830152505050565b6000613535613530846134e2565b6134c7565b90508281526020810184848401111561355157613550613462565b5b61355c848285613513565b509392505050565b600082601f8301126135795761357861345d565b5b8135613589848260208601613522565b91505092915050565b6000602082840312156135a8576135a76130d4565b5b600082013567ffffffffffffffff8111156135c6576135c56130d9565b5b6135d284828501613564565b91505092915050565b6135e481613429565b81146135ef57600080fd5b50565b600081359050613601816135db565b92915050565b60006020828403121561361d5761361c6130d4565b5b600061362b848285016135f2565b91505092915050565b61363d81613163565b811461364857600080fd5b50565b60008135905061365a81613634565b92915050565b60008060408385031215613677576136766130d4565b5b60006136858582860161332a565b92505060206136968582860161364b565b9150509250929050565b600067ffffffffffffffff8211156136bb576136ba613467565b5b6136c4826131e8565b9050602081019050919050565b60006136e46136df846136a0565b6134c7565b905082815260208101848484011115613700576136ff613462565b5b61370b848285613513565b509392505050565b600082601f8301126137285761372761345d565b5b81356137388482602086016136d1565b91505092915050565b6000806000806080858703121561375b5761375a6130d4565b5b60006137698782880161332a565b945050602061377a8782880161332a565b935050604061378b87828801613275565b925050606085013567ffffffffffffffff8111156137ac576137ab6130d9565b5b6137b887828801613713565b91505092959194509250565b600067ffffffffffffffff8211156137df576137de613467565b5b602082029050602081019050919050565b600080fd5b6000613808613803846137c4565b6134c7565b9050808382526020820190506020840283018581111561382b5761382a6137f0565b5b835b818110156138545780613840888261332a565b84526020840193505060208101905061382d565b5050509392505050565b600082601f8301126138735761387261345d565b5b81356138838482602086016137f5565b91505092915050565b6000602082840312156138a2576138a16130d4565b5b600082013567ffffffffffffffff8111156138c0576138bf6130d9565b5b6138cc8482850161385e565b91505092915050565b600080604083850312156138ec576138eb6130d4565b5b60006138fa8582860161332a565b925050602061390b8582860161332a565b9150509250929050565b600080fd5b60008083601f8401126139305761392f61345d565b5b8235905067ffffffffffffffff81111561394d5761394c613915565b5b602083019150836020820283011115613969576139686137f0565b5b9250929050565b60008060208385031215613987576139866130d4565b5b600083013567ffffffffffffffff8111156139a5576139a46130d9565b5b6139b18582860161391a565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a0457607f821691505b602082108103613a1757613a166139bd565b5b50919050565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b6000613a536019836131a4565b9150613a5e82613a1d565b602082019050919050565b60006020820190508181036000830152613a8281613a46565b9050919050565b7f4f766572206d696e74206c696d69740000000000000000000000000000000000600082015250565b6000613abf600f836131a4565b9150613aca82613a89565b602082019050919050565b60006020820190508181036000830152613aee81613ab2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b2f82613254565b9150613b3a83613254565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b6f57613b6e613af5565b5b828201905092915050565b7f4d6178206d696e7420737570706c792072656163686564000000000000000000600082015250565b6000613bb06017836131a4565b9150613bbb82613b7a565b602082019050919050565b60006020820190508181036000830152613bdf81613ba3565b9050919050565b6000613bf182613254565b9150613bfc83613254565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c3557613c34613af5565b5b828202905092915050565b7f57726f6e6720616d6f756e74206f66206574682073656e740000000000000000600082015250565b6000613c766018836131a4565b9150613c8182613c40565b602082019050919050565b60006020820190508181036000830152613ca581613c69565b9050919050565b6000604082019050613cc160008301856132e9565b613cce602083018461337f565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613d0b601f836131a4565b9150613d1682613cd5565b602082019050919050565b60006020820190508181036000830152613d3a81613cfe565b9050919050565b7f45786365656473206d6178696d756d206f776e6572206d696e7420616d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d9d6021836131a4565b9150613da882613d41565b604082019050919050565b60006020820190508181036000830152613dcc81613d90565b9050919050565b7f43616e6e6f742053656e6420546f205a65726f20416464726573730000000000600082015250565b6000613e09601b836131a4565b9150613e1482613dd3565b602082019050919050565b60006020820190508181036000830152613e3881613dfc565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613ea17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613e64565b613eab8683613e64565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613ee8613ee3613ede84613254565b613ec3565b613254565b9050919050565b6000819050919050565b613f0283613ecd565b613f16613f0e82613eef565b848454613e71565b825550505050565b600090565b613f2b613f1e565b613f36818484613ef9565b505050565b5b81811015613f5a57613f4f600082613f23565b600181019050613f3c565b5050565b601f821115613f9f57613f7081613e3f565b613f7984613e54565b81016020851015613f88578190505b613f9c613f9485613e54565b830182613f3b565b50505b505050565b600082821c905092915050565b6000613fc260001984600802613fa4565b1980831691505092915050565b6000613fdb8383613fb1565b9150826002028217905092915050565b613ff482613199565b67ffffffffffffffff81111561400d5761400c613467565b5b61401782546139ec565b614022828285613f5e565b600060209050601f8311600181146140555760008415614043578287015190505b61404d8582613fcf565b8655506140b5565b601f19841661406386613e3f565b60005b8281101561408b57848901518255600182019150602085019450602081019050614066565b868310156140a857848901516140a4601f891682613fb1565b8355505b6001600288020188555050505b505050505050565b600081546140ca816139ec565b6140d481866131a4565b945060018216600081146140ef576001811461410557614138565b60ff198316865281151560200286019350614138565b61410e85613e3f565b60005b8381101561413057815481890152600182019150602081019050614111565b808801955050505b50505092915050565b6000602082019050818103600083015261415b81846140bd565b905092915050565b600081905092915050565b600061417982613199565b6141838185614163565b93506141938185602086016131b5565b80840191505092915050565b60006141ab828461416e565b915081905092915050565b600081546141c3816139ec565b6141cd8186614163565b945060018216600081146141e857600181146141fd57614230565b60ff1983168652811515820286019350614230565b61420685613e3f565b60005b8381101561422857815481890152600182019150602081019050614209565b838801955050505b50505092915050565b6000614245828661416e565b9150614251828561416e565b915061425d82846141b6565b9150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006142a482613254565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036142d6576142d5613af5565b5b600182019050919050565b7f416c6c6f776c6973742073616c65206973206e6f742061637469766500000000600082015250565b6000614317601c836131a4565b9150614322826142e1565b602082019050919050565b600060208201905081810360008301526143468161430a565b9050919050565b7f596f7520617265206e6f74206f6e207468652077616c6c6574206c697374206f60008201527f72206861766520616c7265616479206d696e7465640000000000000000000000602082015250565b60006143a96035836131a4565b91506143b48261434d565b604082019050919050565b600060208201905081810360008301526143d88161439c565b9050919050565b60008160601b9050919050565b60006143f7826143df565b9050919050565b6000614409826143ec565b9050919050565b61442161441c826132d7565b6143fe565b82525050565b60006144338284614410565b60148201915081905092915050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b60006144786014836131a4565b915061448382614442565b602082019050919050565b600060208201905081810360008301526144a78161446b565b9050919050565b6000819050919050565b60006144d36144ce6144c9846144ae565b613ec3565b613254565b9050919050565b6144e3816144b8565b82525050565b60006040820190506144fe60008301856132e9565b61450b60208301846144da565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061456e6026836131a4565b915061457982614512565b604082019050919050565b6000602082019050818103600083015261459d81614561565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145da6020836131a4565b91506145e5826145a4565b602082019050919050565b60006020820190508181036000830152614609816145cd565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614646601d836131a4565b915061465182614610565b602082019050919050565b6000602082019050818103600083015261467581614639565b9050919050565b600081905092915050565b50565b600061469760008361467c565b91506146a282614687565b600082019050919050565b60006146b88261468a565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061471e603a836131a4565b9150614729826146c2565b604082019050919050565b6000602082019050818103600083015261474d81614711565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061477b82614754565b614785818561475f565b93506147958185602086016131b5565b61479e816131e8565b840191505092915050565b60006080820190506147be60008301876132e9565b6147cb60208301866132e9565b6147d8604083018561337f565b81810360608301526147ea8184614770565b905095945050505050565b6000815190506148048161310a565b92915050565b6000602082840312156148205761481f6130d4565b5b600061482e848285016147f5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061487182613254565b915061487c83613254565b92508261488c5761488b614837565b5b828204905092915050565b60006148a282613254565b91506148ad83613254565b9250828210156148c0576148bf613af5565b5b828203905092915050565b60006148d682613254565b91506148e183613254565b9250826148f1576148f0614837565b5b82820690509291505056fea26469706673582212208e2eff39ba4c7aded61a09f9084cfe79f57d52c96622eb380ddfe4584fcb8c3a64736f6c634300080f0033
Deployed Bytecode
0x6080604052600436106102515760003560e01c80637cb6475911610139578063b9ad9fde116100b6578063da3ef23f1161007a578063da3ef23f14610859578063e985e9c514610882578063ea013ee6146108bf578063f2c4ce1e146108e8578063f2fde38b14610911578063f4a0a5281461093a57610251565b8063b9ad9fde14610788578063bc8893b41461079f578063c87b56dd146107ca578063d28902ab14610807578063d2c57fc91461083057610251565b80639e3af031116100fd5780639e3af031146106c9578063a22cb465146106f4578063a329e1db1461071d578063a475b5dd14610748578063b88d4fde1461075f57610251565b80637cb647591461060857806381c13a181461063157806384bce46b1461065c5780638da5cb5b1461067357806395d89b411461069e57610251565b80633ccfd60b116101d257806355f804b31161019657806355f804b3146104e65780636352211e1461050f5780636817c76c1461054c57806370a0823114610577578063715018a6146105b4578063780cc345146105cb57610251565b80633ccfd60b1461042757806342842e0e1461043e57806344331077146104675780634f252b751461049257806351830227146104bb57610251565b806318160ddd1161021957806318160ddd1461034f57806323b872dd1461037a57806324ef901e146103a3578063309c617b146103ce57806339e1c77c146103ea57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630bf7a62714610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613136565b610963565b60405161028a919061317e565b60405180910390f35b34801561029f57600080fd5b506102a8610a45565b6040516102b59190613232565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e0919061328a565b610ad7565b6040516102f291906132f8565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d919061333f565b610b53565b005b34801561033057600080fd5b50610339610c57565b604051610346919061338e565b60405180910390f35b34801561035b57600080fd5b50610364610c5d565b604051610371919061338e565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c91906133a9565b610c74565b005b3480156103af57600080fd5b506103b8610c84565b6040516103c5919061338e565b60405180910390f35b6103e860048036038101906103e3919061328a565b610c89565b005b3480156103f657600080fd5b50610411600480360381019061040c91906133fc565b610e08565b60405161041e919061317e565b60405180910390f35b34801561043357600080fd5b5061043c610e5e565b005b34801561044a57600080fd5b50610465600480360381019061046091906133a9565b610f14565b005b34801561047357600080fd5b5061047c610f34565b6040516104899190613442565b60405180910390f35b34801561049e57600080fd5b506104b960048036038101906104b4919061333f565b610f3a565b005b3480156104c757600080fd5b506104d06110b9565b6040516104dd919061317e565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190613592565b6110cc565b005b34801561051b57600080fd5b506105366004803603810190610531919061328a565b61111f565b60405161054391906132f8565b60405180910390f35b34801561055857600080fd5b50610561611135565b60405161056e919061338e565b60405180910390f35b34801561058357600080fd5b5061059e600480360381019061059991906133fc565b61113b565b6040516105ab919061338e565b60405180910390f35b3480156105c057600080fd5b506105c961120a565b005b3480156105d757600080fd5b506105f260048036038101906105ed91906133fc565b61121e565b6040516105ff919061317e565b60405180910390f35b34801561061457600080fd5b5061062f600480360381019061062a9190613607565b61123e565b005b34801561063d57600080fd5b50610646611250565b604051610653919061317e565b60405180910390f35b34801561066857600080fd5b50610671611263565b005b34801561067f57600080fd5b506106886112dd565b60405161069591906132f8565b60405180910390f35b3480156106aa57600080fd5b506106b3611307565b6040516106c09190613232565b60405180910390f35b3480156106d557600080fd5b506106de611399565b6040516106eb919061338e565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613660565b61139e565b005b34801561072957600080fd5b50610732611515565b60405161073f919061338e565b60405180910390f35b34801561075457600080fd5b5061075d61151b565b005b34801561076b57600080fd5b5061078660048036038101906107819190613741565b611540565b005b34801561079457600080fd5b5061079d6115b8565b005b3480156107ab57600080fd5b506107b4611632565b6040516107c1919061317e565b60405180910390f35b3480156107d657600080fd5b506107f160048036038101906107ec919061328a565b611645565b6040516107fe9190613232565b60405180910390f35b34801561081357600080fd5b5061082e6004803603810190610829919061388c565b611742565b005b34801561083c57600080fd5b506108576004803603810190610852919061328a565b6117df565b005b34801561086557600080fd5b50610880600480360381019061087b9190613592565b6118ee565b005b34801561088e57600080fd5b506108a960048036038101906108a491906138d5565b611909565b6040516108b6919061317e565b60405180910390f35b3480156108cb57600080fd5b506108e660048036038101906108e19190613970565b61199d565b005b3480156108f457600080fd5b5061090f600480360381019061090a9190613592565b611c31565b005b34801561091d57600080fd5b50610938600480360381019061093391906133fc565b611c4c565b005b34801561094657600080fd5b50610961600480360381019061095c919061328a565b611ccf565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a3e5750610a3d82611ce1565b5b9050919050565b606060028054610a54906139ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610a80906139ec565b8015610acd5780601f10610aa257610100808354040283529160200191610acd565b820191906000526020600020905b815481529060010190602001808311610ab057829003601f168201915b5050505050905090565b6000610ae282611d4b565b610b18576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5e8261111f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bc5576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be4611d99565b73ffffffffffffffffffffffffffffffffffffffff1614610c4757610c1081610c0b611d99565b611909565b610c46576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610c52838383611da1565b505050565b600a5481565b6000610c67611e53565b6001546000540303905090565b610c7f838383611e58565b505050565b600181565b600c60009054906101000a900460ff16610cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccf90613a69565b60405180910390fd5b6001811115610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1390613ad5565b60405180910390fd5b610fa581610d2861230c565b610d329190613b24565b1115610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a90613bc6565b60405180910390fd5b600b5481610d819190613be6565b3414610dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db990613c8c565b60405180910390fd5b610dcc338261231f565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe3382604051610dfd929190613cac565b60405180910390a150565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610e6661233d565b600260095403610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea290613d21565b60405180910390fd5b60026009819055506000479050610ec9610ec36112dd565b826123bb565b7f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65610ef26112dd565b82604051610f01929190613cac565b60405180910390a1506001600981905550565b610f2f83838360405180602001604052806000815250611540565b505050565b600e5481565b610f4261233d565b610fa581610f4e61230c565b610f589190613b24565b1115610f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9090613bc6565b60405180910390fd5b606481600a54610fa99190613b24565b1115610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe190613db3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611059576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105090613e1f565b60405180910390fd5b611063828261231f565b80600a60008282546110759190613b24565b925050819055507f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe33826040516110ad929190613cac565b60405180910390a15050565b600c60029054906101000a900460ff1681565b6110d461233d565b80600f90816110e39190613feb565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6600f6040516111149190614141565b60405180910390a150565b600061112a826124af565b600001519050919050565b600b5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111a2576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61121261233d565b61121c600061273a565b565b600d6020528060005260406000206000915054906101000a900460ff1681565b61124661233d565b80600e8190555050565b600c60019054906101000a900460ff1681565b61126b61233d565b600c60019054906101000a900460ff1615600c60016101000a81548160ff0219169083151502179055507fe757524f867f01e09dd838f969c5014af69c90ba4755c835f2cc31ecc8e622ac600c60019054906101000a900460ff166040516112d3919061317e565b60405180910390a1565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611316906139ec565b80601f0160208091040260200160405190810160405280929190818152602001828054611342906139ec565b801561138f5780601f106113645761010080835404028352916020019161138f565b820191906000526020600020905b81548152906001019060200180831161137257829003601f168201915b5050505050905090565b606481565b6113a6611d99565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361140a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611417611d99565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114c4611d99565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611509919061317e565b60405180910390a35050565b610fa581565b61152361233d565b6001600c60026101000a81548160ff021916908315150217905550565b61154b848484611e58565b61156a8373ffffffffffffffffffffffffffffffffffffffff16612800565b156115b25761157b84848484612823565b6115b1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6115c061233d565b600c60009054906101000a900460ff1615600c60006101000a81548160ff0219169083151502179055507f528d17b963a5e65960148c812bfda41eb605f62d50b844abc5f64e6a66ee1b8e600c60009054906101000a900460ff16604051611628919061317e565b60405180910390a1565b600c60009054906101000a900460ff1681565b606061165082611d4b565b611686576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611690612973565b9050600c60029054906101000a900460ff166116ed5760008151036116c457604051806020016040528060008152506116e5565b806040516020016116d5919061419f565b6040516020818303038152906040525b91505061173d565b600081510361170b5760405180602001604052806000815250611739565b8061171584612aac565b601160405160200161172993929190614239565b6040516020818303038152906040525b9150505b919050565b61174a61233d565b60005b81518110156117db576000600d600084848151811061176f5761176e61426a565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806117d390614299565b91505061174d565b5050565b6117e761233d565b610fa5816117f361230c565b6117fd9190613b24565b111561183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613bc6565b60405180910390fd5b606481600a5461184e9190613b24565b111561188f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188690613db3565b60405180910390fd5b611899338261231f565b80600a60008282546118ab9190613b24565b925050819055507f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe33826040516118e3929190613cac565b60405180910390a150565b6118f661233d565b80601190816119059190613feb565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60019054906101000a900460ff166119ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e39061432d565b60405180910390fd5b60001515600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a76906143bf565b60405180910390fd5b610fa56001611a8c61230c565b611a969190613b24565b1115611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace90613bc6565b60405180910390fd5b600033604051602001611aea9190614427565b604051602081830303815290604052805190602001209050611b50838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5483612c0c565b611b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b869061448e565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611bf233600161231f565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe336001604051611c249291906144e9565b60405180910390a1505050565b611c3961233d565b8060109081611c489190613feb565b5050565b611c5461233d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cba90614584565b60405180910390fd5b611ccc8161273a565b50565b611cd761233d565b80600b8190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611d56611e53565b11158015611d65575060005482105b8015611d92575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611e63826124af565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611ece576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611eef611d99565b73ffffffffffffffffffffffffffffffffffffffff161480611f1e5750611f1d85611f18611d99565b611909565b5b80611f635750611f2c611d99565b73ffffffffffffffffffffffffffffffffffffffff16611f4b84610ad7565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611f9c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612002576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61200f8585856001612c23565b61201b60008487611da1565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361229a57600054821461229957878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123058585856001612c29565b5050505050565b6000612316611e53565b60005403905090565b612339828260405180602001604052806000815250612c2f565b5050565b612345611d99565b73ffffffffffffffffffffffffffffffffffffffff166123636112dd565b73ffffffffffffffffffffffffffffffffffffffff16146123b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b0906145f0565b60405180910390fd5b565b804710156123fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f59061465c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612424906146ad565b60006040518083038185875af1925050503d8060008114612461576040519150601f19603f3d011682016040523d82523d6000602084013e612466565b606091505b50509050806124aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a190614734565b60405180910390fd5b505050565b6124b7613087565b6000829050806124c5611e53565b1161270357600054811015612702576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161270057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146125e4578092505050612735565b5b6001156126ff57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126fa578092505050612735565b6125e5565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612849611d99565b8786866040518563ffffffff1660e01b815260040161286b94939291906147a9565b6020604051808303816000875af19250505080156128a757506040513d601f19601f820116820180604052508101906128a4919061480a565b60015b612920573d80600081146128d7576040519150601f19603f3d011682016040523d82523d6000602084013e6128dc565b606091505b506000815103612918576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600c60029054906101000a900460ff16612a1b5760108054612996906139ec565b80601f01602080910402602001604051908101604052809291908181526020018280546129c2906139ec565b8015612a0f5780601f106129e457610100808354040283529160200191612a0f565b820191906000526020600020905b8154815290600101906020018083116129f257829003601f168201915b50505050509050612aa9565b600f8054612a28906139ec565b80601f0160208091040260200160405190810160405280929190818152602001828054612a54906139ec565b8015612aa15780601f10612a7657610100808354040283529160200191612aa1565b820191906000526020600020905b815481529060010190602001808311612a8457829003601f168201915b505050505090505b90565b606060008203612af3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c07565b600082905060005b60008214612b25578080612b0e90614299565b915050600a82612b1e9190614866565b9150612afb565b60008167ffffffffffffffff811115612b4157612b40613467565b5b6040519080825280601f01601f191660200182016040528015612b735781602001600182028036833780820191505090505b5090505b60008514612c0057600182612b8c9190614897565b9150600a85612b9b91906148cb565b6030612ba79190613b24565b60f81b818381518110612bbd57612bbc61426a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612bf99190614866565b9450612b77565b8093505050505b919050565b600082612c198584612fef565b1490509392505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612c9b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612cd5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ce26000858386612c23565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050612ea38673ffffffffffffffffffffffffffffffffffffffff16612800565b15612f68575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f186000878480600101955087612823565b612f4e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612ea9578260005414612f6357600080fd5b612fd3565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612f69575b816000819055505050612fe96000858386612c29565b50505050565b60008082905060005b845181101561303a57613025828683815181106130185761301761426a565b5b6020026020010151613045565b9150808061303290614299565b915050612ff8565b508091505092915050565b600081831061305d576130588284613070565b613068565b6130678383613070565b5b905092915050565b600082600052816020526040600020905092915050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613113816130de565b811461311e57600080fd5b50565b6000813590506131308161310a565b92915050565b60006020828403121561314c5761314b6130d4565b5b600061315a84828501613121565b91505092915050565b60008115159050919050565b61317881613163565b82525050565b6000602082019050613193600083018461316f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131d35780820151818401526020810190506131b8565b838111156131e2576000848401525b50505050565b6000601f19601f8301169050919050565b600061320482613199565b61320e81856131a4565b935061321e8185602086016131b5565b613227816131e8565b840191505092915050565b6000602082019050818103600083015261324c81846131f9565b905092915050565b6000819050919050565b61326781613254565b811461327257600080fd5b50565b6000813590506132848161325e565b92915050565b6000602082840312156132a05761329f6130d4565b5b60006132ae84828501613275565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132e2826132b7565b9050919050565b6132f2816132d7565b82525050565b600060208201905061330d60008301846132e9565b92915050565b61331c816132d7565b811461332757600080fd5b50565b60008135905061333981613313565b92915050565b60008060408385031215613356576133556130d4565b5b60006133648582860161332a565b925050602061337585828601613275565b9150509250929050565b61338881613254565b82525050565b60006020820190506133a3600083018461337f565b92915050565b6000806000606084860312156133c2576133c16130d4565b5b60006133d08682870161332a565b93505060206133e18682870161332a565b92505060406133f286828701613275565b9150509250925092565b600060208284031215613412576134116130d4565b5b60006134208482850161332a565b91505092915050565b6000819050919050565b61343c81613429565b82525050565b60006020820190506134576000830184613433565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61349f826131e8565b810181811067ffffffffffffffff821117156134be576134bd613467565b5b80604052505050565b60006134d16130ca565b90506134dd8282613496565b919050565b600067ffffffffffffffff8211156134fd576134fc613467565b5b613506826131e8565b9050602081019050919050565b82818337600083830152505050565b6000613535613530846134e2565b6134c7565b90508281526020810184848401111561355157613550613462565b5b61355c848285613513565b509392505050565b600082601f8301126135795761357861345d565b5b8135613589848260208601613522565b91505092915050565b6000602082840312156135a8576135a76130d4565b5b600082013567ffffffffffffffff8111156135c6576135c56130d9565b5b6135d284828501613564565b91505092915050565b6135e481613429565b81146135ef57600080fd5b50565b600081359050613601816135db565b92915050565b60006020828403121561361d5761361c6130d4565b5b600061362b848285016135f2565b91505092915050565b61363d81613163565b811461364857600080fd5b50565b60008135905061365a81613634565b92915050565b60008060408385031215613677576136766130d4565b5b60006136858582860161332a565b92505060206136968582860161364b565b9150509250929050565b600067ffffffffffffffff8211156136bb576136ba613467565b5b6136c4826131e8565b9050602081019050919050565b60006136e46136df846136a0565b6134c7565b905082815260208101848484011115613700576136ff613462565b5b61370b848285613513565b509392505050565b600082601f8301126137285761372761345d565b5b81356137388482602086016136d1565b91505092915050565b6000806000806080858703121561375b5761375a6130d4565b5b60006137698782880161332a565b945050602061377a8782880161332a565b935050604061378b87828801613275565b925050606085013567ffffffffffffffff8111156137ac576137ab6130d9565b5b6137b887828801613713565b91505092959194509250565b600067ffffffffffffffff8211156137df576137de613467565b5b602082029050602081019050919050565b600080fd5b6000613808613803846137c4565b6134c7565b9050808382526020820190506020840283018581111561382b5761382a6137f0565b5b835b818110156138545780613840888261332a565b84526020840193505060208101905061382d565b5050509392505050565b600082601f8301126138735761387261345d565b5b81356138838482602086016137f5565b91505092915050565b6000602082840312156138a2576138a16130d4565b5b600082013567ffffffffffffffff8111156138c0576138bf6130d9565b5b6138cc8482850161385e565b91505092915050565b600080604083850312156138ec576138eb6130d4565b5b60006138fa8582860161332a565b925050602061390b8582860161332a565b9150509250929050565b600080fd5b60008083601f8401126139305761392f61345d565b5b8235905067ffffffffffffffff81111561394d5761394c613915565b5b602083019150836020820283011115613969576139686137f0565b5b9250929050565b60008060208385031215613987576139866130d4565b5b600083013567ffffffffffffffff8111156139a5576139a46130d9565b5b6139b18582860161391a565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a0457607f821691505b602082108103613a1757613a166139bd565b5b50919050565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b6000613a536019836131a4565b9150613a5e82613a1d565b602082019050919050565b60006020820190508181036000830152613a8281613a46565b9050919050565b7f4f766572206d696e74206c696d69740000000000000000000000000000000000600082015250565b6000613abf600f836131a4565b9150613aca82613a89565b602082019050919050565b60006020820190508181036000830152613aee81613ab2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b2f82613254565b9150613b3a83613254565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b6f57613b6e613af5565b5b828201905092915050565b7f4d6178206d696e7420737570706c792072656163686564000000000000000000600082015250565b6000613bb06017836131a4565b9150613bbb82613b7a565b602082019050919050565b60006020820190508181036000830152613bdf81613ba3565b9050919050565b6000613bf182613254565b9150613bfc83613254565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c3557613c34613af5565b5b828202905092915050565b7f57726f6e6720616d6f756e74206f66206574682073656e740000000000000000600082015250565b6000613c766018836131a4565b9150613c8182613c40565b602082019050919050565b60006020820190508181036000830152613ca581613c69565b9050919050565b6000604082019050613cc160008301856132e9565b613cce602083018461337f565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613d0b601f836131a4565b9150613d1682613cd5565b602082019050919050565b60006020820190508181036000830152613d3a81613cfe565b9050919050565b7f45786365656473206d6178696d756d206f776e6572206d696e7420616d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d9d6021836131a4565b9150613da882613d41565b604082019050919050565b60006020820190508181036000830152613dcc81613d90565b9050919050565b7f43616e6e6f742053656e6420546f205a65726f20416464726573730000000000600082015250565b6000613e09601b836131a4565b9150613e1482613dd3565b602082019050919050565b60006020820190508181036000830152613e3881613dfc565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613ea17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613e64565b613eab8683613e64565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613ee8613ee3613ede84613254565b613ec3565b613254565b9050919050565b6000819050919050565b613f0283613ecd565b613f16613f0e82613eef565b848454613e71565b825550505050565b600090565b613f2b613f1e565b613f36818484613ef9565b505050565b5b81811015613f5a57613f4f600082613f23565b600181019050613f3c565b5050565b601f821115613f9f57613f7081613e3f565b613f7984613e54565b81016020851015613f88578190505b613f9c613f9485613e54565b830182613f3b565b50505b505050565b600082821c905092915050565b6000613fc260001984600802613fa4565b1980831691505092915050565b6000613fdb8383613fb1565b9150826002028217905092915050565b613ff482613199565b67ffffffffffffffff81111561400d5761400c613467565b5b61401782546139ec565b614022828285613f5e565b600060209050601f8311600181146140555760008415614043578287015190505b61404d8582613fcf565b8655506140b5565b601f19841661406386613e3f565b60005b8281101561408b57848901518255600182019150602085019450602081019050614066565b868310156140a857848901516140a4601f891682613fb1565b8355505b6001600288020188555050505b505050505050565b600081546140ca816139ec565b6140d481866131a4565b945060018216600081146140ef576001811461410557614138565b60ff198316865281151560200286019350614138565b61410e85613e3f565b60005b8381101561413057815481890152600182019150602081019050614111565b808801955050505b50505092915050565b6000602082019050818103600083015261415b81846140bd565b905092915050565b600081905092915050565b600061417982613199565b6141838185614163565b93506141938185602086016131b5565b80840191505092915050565b60006141ab828461416e565b915081905092915050565b600081546141c3816139ec565b6141cd8186614163565b945060018216600081146141e857600181146141fd57614230565b60ff1983168652811515820286019350614230565b61420685613e3f565b60005b8381101561422857815481890152600182019150602081019050614209565b838801955050505b50505092915050565b6000614245828661416e565b9150614251828561416e565b915061425d82846141b6565b9150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006142a482613254565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036142d6576142d5613af5565b5b600182019050919050565b7f416c6c6f776c6973742073616c65206973206e6f742061637469766500000000600082015250565b6000614317601c836131a4565b9150614322826142e1565b602082019050919050565b600060208201905081810360008301526143468161430a565b9050919050565b7f596f7520617265206e6f74206f6e207468652077616c6c6574206c697374206f60008201527f72206861766520616c7265616479206d696e7465640000000000000000000000602082015250565b60006143a96035836131a4565b91506143b48261434d565b604082019050919050565b600060208201905081810360008301526143d88161439c565b9050919050565b60008160601b9050919050565b60006143f7826143df565b9050919050565b6000614409826143ec565b9050919050565b61442161441c826132d7565b6143fe565b82525050565b60006144338284614410565b60148201915081905092915050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b60006144786014836131a4565b915061448382614442565b602082019050919050565b600060208201905081810360008301526144a78161446b565b9050919050565b6000819050919050565b60006144d36144ce6144c9846144ae565b613ec3565b613254565b9050919050565b6144e3816144b8565b82525050565b60006040820190506144fe60008301856132e9565b61450b60208301846144da565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061456e6026836131a4565b915061457982614512565b604082019050919050565b6000602082019050818103600083015261459d81614561565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145da6020836131a4565b91506145e5826145a4565b602082019050919050565b60006020820190508181036000830152614609816145cd565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614646601d836131a4565b915061465182614610565b602082019050919050565b6000602082019050818103600083015261467581614639565b9050919050565b600081905092915050565b50565b600061469760008361467c565b91506146a282614687565b600082019050919050565b60006146b88261468a565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061471e603a836131a4565b9150614729826146c2565b604082019050919050565b6000602082019050818103600083015261474d81614711565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061477b82614754565b614785818561475f565b93506147958185602086016131b5565b61479e816131e8565b840191505092915050565b60006080820190506147be60008301876132e9565b6147cb60208301866132e9565b6147d8604083018561337f565b81810360608301526147ea8184614770565b905095945050505050565b6000815190506148048161310a565b92915050565b6000602082840312156148205761481f6130d4565b5b600061482e848285016147f5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061487182613254565b915061487c83613254565b92508261488c5761488b614837565b5b828204905092915050565b60006148a282613254565b91506148ad83613254565b9250828210156148c0576148bf613af5565b5b828203905092915050565b60006148d682613254565b91506148e183613254565b9250826148f1576148f0614837565b5b82820690509291505056fea26469706673582212208e2eff39ba4c7aded61a09f9084cfe79f57d52c96622eb380ddfe4584fcb8c3a64736f6c634300080f0033
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.