Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 380 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 23652044 | 123 days ago | IN | 0 ETH | 0.00009753 | ||||
| Set Approval For... | 21593215 | 410 days ago | IN | 0 ETH | 0.00030583 | ||||
| Safe Transfer Fr... | 21320909 | 448 days ago | IN | 0 ETH | 0.00141971 | ||||
| Safe Transfer Fr... | 21320907 | 448 days ago | IN | 0 ETH | 0.00126744 | ||||
| Safe Transfer Fr... | 21320905 | 448 days ago | IN | 0 ETH | 0.00126378 | ||||
| Safe Transfer Fr... | 21313312 | 450 days ago | IN | 0 ETH | 0.00097413 | ||||
| Safe Transfer Fr... | 21313310 | 450 days ago | IN | 0 ETH | 0.00099307 | ||||
| Safe Transfer Fr... | 21313305 | 450 days ago | IN | 0 ETH | 0.00103585 | ||||
| Safe Transfer Fr... | 21305522 | 451 days ago | IN | 0 ETH | 0.00062538 | ||||
| Safe Transfer Fr... | 21305517 | 451 days ago | IN | 0 ETH | 0.00067421 | ||||
| Safe Transfer Fr... | 21305496 | 451 days ago | IN | 0 ETH | 0.00080018 | ||||
| Safe Transfer Fr... | 21261649 | 457 days ago | IN | 0 ETH | 0.00068857 | ||||
| Safe Transfer Fr... | 21261646 | 457 days ago | IN | 0 ETH | 0.00060357 | ||||
| Safe Transfer Fr... | 21261643 | 457 days ago | IN | 0 ETH | 0.00072695 | ||||
| Transfer From | 16938456 | 1063 days ago | IN | 0 ETH | 0.00223571 | ||||
| Withdraw | 16532385 | 1120 days ago | IN | 0 ETH | 0.00046868 | ||||
| Set Approval For... | 16189575 | 1167 days ago | IN | 0 ETH | 0.00063439 | ||||
| Mint | 16188479 | 1168 days ago | IN | 0.15 ETH | 0.00212297 | ||||
| Mint | 16008985 | 1193 days ago | IN | 0.15 ETH | 0.0020278 | ||||
| Transfer | 15773860 | 1225 days ago | IN | 0.009938 ETH | 0.0003292 | ||||
| Transfer From | 15680930 | 1238 days ago | IN | 0 ETH | 0.00038834 | ||||
| Transfer From | 15667216 | 1240 days ago | IN | 0 ETH | 0.00066824 | ||||
| Safe Transfer Fr... | 15613429 | 1248 days ago | IN | 0 ETH | 0.00066218 | ||||
| Set Approval For... | 15548969 | 1257 days ago | IN | 0 ETH | 0.00062399 | ||||
| Withdraw | 15543700 | 1258 days ago | IN | 0 ETH | 0.00052311 |
Latest 12 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 16532385 | 1120 days ago | 0.309938 ETH | ||||
| Transfer | 15543700 | 1258 days ago | 0.15 ETH | ||||
| Transfer | 15449070 | 1273 days ago | 0.45 ETH | ||||
| - | 15004853 | 1344 days ago | 0.15 ETH | ||||
| - | 14905122 | 1361 days ago | 0.3 ETH | ||||
| - | 14869215 | 1367 days ago | 0.75 ETH | ||||
| - | 14784448 | 1381 days ago | 0.45 ETH | ||||
| - | 14695405 | 1395 days ago | 0.45 ETH | ||||
| - | 14613534 | 1408 days ago | 2.7 ETH | ||||
| - | 14479683 | 1429 days ago | 2.1 ETH | ||||
| - | 14440334 | 1435 days ago | 3.9 ETH | ||||
| - | 14419547 | 1438 days ago | 30.3 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
EagerBeaverQueen
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
contract EagerBeaverQueen is ERC721Enumerable, Ownable {
using Strings for uint256;
using Counters for Counters.Counter;
// total number of tokenIds minted
Counters.Counter public tokenCount;
// last id of NFT minted
Counters.Counter public currentId;
// mapping to keep track of all tokenURIs
mapping(uint256 => string) private _tokenURIs;
bytes32 public _merkleRoot =
0x7e51034f82762fa3fa646105de61d65a8bb6997b76bbf98d66b9c459ab63d333;
/**
* @dev _baseTokenURI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`.
*/
string _baseTokenURI;
string _unrevealedURI =
"https://eb.mypinata.cloud/ipfs/QmRqwMoAArWmrCjrQYJJ6T6t5dGkXaNMrGaNhybNBGxygo/EB0322_hidden.json";
// _price is the price of one Eager Beaver Queen NFT
uint256 public _price = 0.15 ether;
// _revealed is used to indicate if the NFTs have been revealed or not
bool private _hasMintedForCreators;
// _revealed is used to indicate if the NFTs have been revealed or not
bool public _revealed;
// _paused is used to pause the contract in case of an emergency
bool public _paused;
// max number of EagerBeaver Queens
uint256 public maxTokenIds = 500;
// timestamp to keep track of if presale started
uint256 public timeToStartPresale = 1647500400;
// timestamp for when presale would end
uint256 public timeToEndPresale = 1647586800;
modifier onlyWhenNotPaused() {
require(!_paused, "Contract currently paused");
_;
}
modifier onlyWhenHasNotMintedForCreators() {
require(!_hasMintedForCreators, "Contract currently paused");
_;
}
modifier onlyWhenNotRevealed() {
require(!_revealed, "NFTs have already been revealed");
_;
}
/**
* @dev ERC721 constructor takes in a `name` and a `symbol` to the token collection.
* name in our case is `EagerBeaver-Queen` and symbol is `EBQ`.
*/
constructor() ERC721("EagerBeaver-Queen", "EBQ") {
mintForCreators(333);
_hasMintedForCreators = true;
}
function mintForCreators(uint256 tokenId)
private
onlyOwner
onlyWhenHasNotMintedForCreators
{
tokenCount.increment();
_safeMint(0x9ed3A670627dca21dAd982d47Bfd8a09E69f52Ec, tokenId);
}
/**
* @dev one time action to set baseURI in order to reveal NFT collection
*/
function revealCollection(string memory revealedBaseURI)
public
onlyOwner
onlyWhenNotRevealed
{
_baseTokenURI = revealedBaseURI;
_revealed = true;
}
/**
* @dev presaleMint allows an user to mint one NFT per transaction during the presale.
*/
function presaleMint(bytes32[] calldata _merkleProof)
public
payable
onlyWhenNotPaused
returns (uint256)
{
bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
require(
MerkleProof.verify(_merkleProof, _merkleRoot, leaf),
"You are not whitelisted"
);
require(
totalSupply() < maxTokenIds,
"Exceeded maximum Eager Beaver Queen supply"
);
require(
balanceOf(msg.sender) < 2,
"Cannot mint more than 2 NFTs during presale"
);
require(msg.value >= _price, "Invalid Ether amount sent");
currentId.increment();
tokenCount.increment();
// skip any already minted NFTs
while (_exists(currentId.current())) {
currentId.increment();
}
uint256 tokenId = currentId.current();
_safeMint(msg.sender, tokenId);
return tokenId;
}
/**
* @dev mint allows an user to mint 1 NFT per transaction after the presale has ended.
*/
function mint() public payable onlyWhenNotPaused returns (uint256) {
require(
block.timestamp > timeToEndPresale,
"Presale has not ended yet"
);
require(
totalSupply() < maxTokenIds,
"Exceeded maximum Eager Beaver Queen supply"
);
require(msg.value >= _price, "Invalid Ether amount sent");
currentId.increment();
tokenCount.increment();
// skip any already minted NFTs
while (_exists(currentId.current())) {
currentId.increment();
}
uint256 tokenId = currentId.current();
_safeMint(msg.sender, tokenId);
return tokenId;
}
function tokenURI(uint256 tokenId)
public
view
virtual
override
returns (string memory)
{
require(
_exists(tokenId),
"ERC721Metadata: URI query for nonexistent token"
);
string memory baseURI = _baseURI();
if (!_revealed) return _unrevealedURI;
return string(abi.encodePacked(baseURI, tokenId.toString(), ".json"));
}
function _baseURI() internal view virtual override returns (string memory) {
return _baseTokenURI;
}
function totalSupply() public view virtual override returns (uint256) {
return tokenCount.current();
}
/**
* @dev setPaused makes the contract paused or unpaused
*/
function setPaused(bool val) public onlyOwner {
_paused = val;
}
function withdraw() public onlyOwner {
address _owner = owner();
uint256 amount = address(this).balance;
(bool sent, ) = _owner.call{value: amount}("");
require(sent, "Failed to send Ether");
}
// Function to receive Ether. msg.data must be empty
receive() external payable {}
// Fallback function is called when msg.data is not empty
fallback() external payable {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
*
* See `test/utils/cryptography/MerkleProof.test.js` for some examples.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
bytes32 proofElement = proof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = _efficientHash(computedHash, proofElement);
} else {
// Hash(current element of the proof + current computed hash)
computedHash = _efficientHash(proofElement, computedHash);
}
}
return computedHash;
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "./IERC721Enumerable.sol";
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual override {
super._beforeTokenTransfer(from, to, tokenId);
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits a {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"_merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_revealed","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":[],"name":"currentId","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"presaleMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"revealedBaseURI","type":"string"}],"name":"revealCollection","outputs":[],"stateMutability":"nonpayable","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":"bool","name":"val","type":"bool"}],"name":"setPaused","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":"timeToEndPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeToStartPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCount","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60806040527f7e51034f82762fa3fa646105de61d65a8bb6997b76bbf98d66b9c459ab63d33360001b600e5560405180608001604052806060815260200162005bff60609139601090805190602001906200005c92919062000e2e565b50670214e8348c4f00006011556101f4601355636232dc706014556362342df06015553480156200008c57600080fd5b506040518060400160405280601181526020017f45616765724265617665722d517565656e0000000000000000000000000000008152506040518060400160405280600381526020017f454251000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200011192919062000e2e565b5080600190805190602001906200012a92919062000e2e565b5050506200014d620001416200018160201b60201c565b6200018960201b60201c565b6200016061014d6200024f60201b60201c565b6001601260006101000a81548160ff021916908315150217905550620014f4565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025f6200018160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002856200037160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002de576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d5906200114a565b60405180910390fd5b601260009054906101000a900460ff161562000331576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000328906200116c565b60405180910390fd5b62000348600b6200039b60201b620019251760201c565b6200036e739ed3a670627dca21dad982d47bfd8a09e69f52ec82620003b160201b60201c565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6001816000016000828254019250508190555050565b620003d3828260405180602001604052806000815250620003d760201b60201c565b5050565b620003e983836200044560201b60201c565b620003fe60008484846200063f60201b60201c565b62000440576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200043790620010c2565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004b8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004af9062001128565b60405180910390fd5b620004c981620007f960201b60201c565b156200050c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200050390620010e4565b60405180910390fd5b62000520600083836200086560201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620005729190620011bb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46200063b60008383620009ac60201b60201c565b5050565b60006200066d8473ffffffffffffffffffffffffffffffffffffffff16620009b160201b6200193b1760201c565b15620007ec578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200069f6200018160201b60201c565b8786866040518563ffffffff1660e01b8152600401620006c394939291906200106e565b602060405180830381600087803b158015620006de57600080fd5b505af19250505080156200071257506040513d601f19601f820116820180604052508101906200070f919062000ef5565b60015b6200079b573d806000811462000745576040519150601f19603f3d011682016040523d82523d6000602084013e6200074a565b606091505b5060008151141562000793576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200078a90620010c2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050620007f1565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6200087d838383620009d460201b6200195e1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620008ca57620008c481620009d960201b60201c565b62000912565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614620009115762000910838262000a2260201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200095f57620009598162000b9f60201b60201c565b620009a7565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620009a657620009a5828262000ce760201b60201c565b5b5b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000a3c8462000d7360201b6200118e1760201c565b62000a48919062001218565b905060006007600084815260200190815260200160002054905081811462000b2e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000bb5919062001218565b905060006009600084815260200190815260200160002054905060006008838154811062000c0c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811062000c55577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548062000ccb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600062000cff8362000d7360201b6200118e1760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000de7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000dde9062001106565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000e3c90620012f3565b90600052602060002090601f01602090048101928262000e60576000855562000eac565b82601f1062000e7b57805160ff191683800117855562000eac565b8280016001018555821562000eac579182015b8281111562000eab57825182559160200191906001019062000e8e565b5b50905062000ebb919062000ebf565b5090565b5b8082111562000eda57600081600090555060010162000ec0565b5090565b60008151905062000eef81620014da565b92915050565b60006020828403121562000f0857600080fd5b600062000f188482850162000ede565b91505092915050565b62000f2c8162001253565b82525050565b600062000f3f826200118e565b62000f4b818562001199565b935062000f5d818560208601620012bd565b62000f688162001387565b840191505092915050565b600062000f82603283620011aa565b915062000f8f8262001398565b604082019050919050565b600062000fa9601c83620011aa565b915062000fb682620013e7565b602082019050919050565b600062000fd0602a83620011aa565b915062000fdd8262001410565b604082019050919050565b600062000ff7602083620011aa565b915062001004826200145f565b602082019050919050565b60006200101e602083620011aa565b91506200102b8262001488565b602082019050919050565b600062001045601983620011aa565b91506200105282620014b1565b602082019050919050565b6200106881620012b3565b82525050565b600060808201905062001085600083018762000f21565b62001094602083018662000f21565b620010a360408301856200105d565b8181036060830152620010b7818462000f32565b905095945050505050565b60006020820190508181036000830152620010dd8162000f73565b9050919050565b60006020820190508181036000830152620010ff8162000f9a565b9050919050565b60006020820190508181036000830152620011218162000fc1565b9050919050565b60006020820190508181036000830152620011438162000fe8565b9050919050565b6000602082019050818103600083015262001165816200100f565b9050919050565b60006020820190508181036000830152620011878162001036565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000620011c882620012b3565b9150620011d583620012b3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200120d576200120c62001329565b5b828201905092915050565b60006200122582620012b3565b91506200123283620012b3565b92508282101562001248576200124762001329565b5b828203905092915050565b6000620012608262001293565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620012dd578082015181840152602081019050620012c0565b83811115620012ed576000848401525b50505050565b600060028204905060018216806200130c57607f821691505b6020821081141562001323576200132262001358565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436f6e74726163742063757272656e746c792070617573656400000000000000600082015250565b620014e58162001267565b8114620014f157600080fd5b50565b6146fb80620015046000396000f3fe6080604052600436106101f25760003560e01c80635f7696211161010d5780639f181b5e116100a0578063c87b56dd1161006f578063c87b56dd146106d8578063e00dd16114610715578063e985e9c514610740578063edc0c72c1461077d578063f2fde38b146107ad576101f9565b80639f181b5e14610630578063a22cb4651461065b578063b645355814610684578063b88d4fde146106af576101f9565b8063715018a6116100dc578063715018a61461059857806385c36d10146105af5780638da5cb5b146105da57806395d89b4114610605576101f9565b80635f769621146104c85780636352211e146104f35780636ebeac851461053057806370a082311461055b576101f9565b8063235b6ea1116101855780633ccfd60b116101545780633ccfd60b1461042257806342842e0e146104395780634f6ccce71461046257806350179bae1461049f576101f9565b8063235b6ea11461036657806323b872dd146103915780632f745c59146103ba5780632fc37ab2146103f7576101f9565b80631249c58b116101c15780631249c58b146102c957806316c38b3c146102e757806316c61ccc1461031057806318160ddd1461033b576101f9565b806301ffc9a7146101fb57806306fdde0314610238578063081812fc14610263578063095ea7b3146102a0576101f9565b366101f957005b005b34801561020757600080fd5b50610222600480360381019061021d9190613189565b6107d6565b60405161022f91906137d5565b60405180910390f35b34801561024457600080fd5b5061024d610850565b60405161025a919061380b565b60405180910390f35b34801561026f57600080fd5b5061028a6004803603810190610285919061321c565b6108e2565b604051610297919061376e565b60405180910390f35b3480156102ac57600080fd5b506102c760048036038101906102c291906130df565b610967565b005b6102d1610a7f565b6040516102de9190613b6d565b60405180910390f35b3480156102f357600080fd5b5061030e60048036038101906103099190613160565b610bff565b005b34801561031c57600080fd5b50610325610c98565b60405161033291906137d5565b60405180910390f35b34801561034757600080fd5b50610350610cab565b60405161035d9190613b6d565b60405180910390f35b34801561037257600080fd5b5061037b610cbc565b6040516103889190613b6d565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b39190612fd9565b610cc2565b005b3480156103c657600080fd5b506103e160048036038101906103dc91906130df565b610d22565b6040516103ee9190613b6d565b60405180910390f35b34801561040357600080fd5b5061040c610dc7565b60405161041991906137f0565b60405180910390f35b34801561042e57600080fd5b50610437610dcd565b005b34801561044557600080fd5b50610460600480360381019061045b9190612fd9565b610f0b565b005b34801561046e57600080fd5b506104896004803603810190610484919061321c565b610f2b565b6040516104969190613b6d565b60405180910390f35b3480156104ab57600080fd5b506104c660048036038101906104c191906131db565b610fc2565b005b3480156104d457600080fd5b506104dd6110c3565b6040516104ea9190613b6d565b60405180910390f35b3480156104ff57600080fd5b5061051a6004803603810190610515919061321c565b6110c9565b604051610527919061376e565b60405180910390f35b34801561053c57600080fd5b5061054561117b565b60405161055291906137d5565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190612f74565b61118e565b60405161058f9190613b6d565b60405180910390f35b3480156105a457600080fd5b506105ad611246565b005b3480156105bb57600080fd5b506105c46112ce565b6040516105d19190613b6d565b60405180910390f35b3480156105e657600080fd5b506105ef6112d4565b6040516105fc919061376e565b60405180910390f35b34801561061157600080fd5b5061061a6112fe565b604051610627919061380b565b60405180910390f35b34801561063c57600080fd5b50610645611390565b6040516106529190613b6d565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d91906130a3565b61139c565b005b34801561069057600080fd5b506106996113b2565b6040516106a69190613b6d565b60405180910390f35b3480156106bb57600080fd5b506106d660048036038101906106d19190613028565b6113b8565b005b3480156106e457600080fd5b506106ff60048036038101906106fa919061321c565b61141a565b60405161070c919061380b565b60405180910390f35b34801561072157600080fd5b5061072a61154a565b6040516107379190613b6d565b60405180910390f35b34801561074c57600080fd5b5061076760048036038101906107629190612f9d565b611556565b60405161077491906137d5565b60405180910390f35b6107976004803603810190610792919061311b565b6115ea565b6040516107a49190613b6d565b60405180910390f35b3480156107b957600080fd5b506107d460048036038101906107cf9190612f74565b61182d565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610849575061084882611963565b5b9050919050565b60606000805461085f90613dd8565b80601f016020809104026020016040519081016040528092919081815260200182805461088b90613dd8565b80156108d85780601f106108ad576101008083540402835291602001916108d8565b820191906000526020600020905b8154815290600101906020018083116108bb57829003601f168201915b5050505050905090565b60006108ed82611a45565b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092390613a4d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610972826110c9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109da90613acd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a02611ab1565b73ffffffffffffffffffffffffffffffffffffffff161480610a315750610a3081610a2b611ab1565b611556565b5b610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a67906139ad565b60405180910390fd5b610a7a8383611ab9565b505050565b6000601260029054906101000a900460ff1615610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac890613aad565b60405180910390fd5b6015544211610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c90613b4d565b60405180910390fd5b601354610b20610cab565b10610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b579061382d565b60405180910390fd5b601154341015610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c906138ed565b60405180910390fd5b610baf600c611925565b610bb9600b611925565b5b610bcc610bc7600c611b72565b611a45565b15610be057610bdb600c611925565b610bba565b6000610bec600c611b72565b9050610bf83382611b80565b8091505090565b610c07611ab1565b73ffffffffffffffffffffffffffffffffffffffff16610c256112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7290613a6d565b60405180910390fd5b80601260026101000a81548160ff02191690831515021790555050565b601260029054906101000a900460ff1681565b6000610cb7600b611b72565b905090565b60115481565b610cd3610ccd611ab1565b82611b9e565b610d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0990613aed565b60405180910390fd5b610d1d838383611c7c565b505050565b6000610d2d8361118e565b8210610d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d659061384d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e5481565b610dd5611ab1565b73ffffffffffffffffffffffffffffffffffffffff16610df36112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090613a6d565b60405180910390fd5b6000610e536112d4565b9050600047905060008273ffffffffffffffffffffffffffffffffffffffff1682604051610e8090613759565b60006040518083038185875af1925050503d8060008114610ebd576040519150601f19603f3d011682016040523d82523d6000602084013e610ec2565b606091505b5050905080610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd9061390d565b60405180910390fd5b505050565b610f26838383604051806020016040528060008152506113b8565b505050565b6000610f35611ee3565b8210610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d90613b0d565b60405180910390fd5b60088281548110610fb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610fca611ab1565b73ffffffffffffffffffffffffffffffffffffffff16610fe86112d4565b73ffffffffffffffffffffffffffffffffffffffff161461103e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103590613a6d565b60405180910390fd5b601260019054906101000a900460ff161561108e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108590613b2d565b60405180910390fd5b80600f90805190602001906110a4929190612d4e565b506001601260016101000a81548160ff02191690831515021790555050565b60135481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611172576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611169906139ed565b60405180910390fd5b80915050919050565b601260019054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f6906139cd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61124e611ab1565b73ffffffffffffffffffffffffffffffffffffffff1661126c6112d4565b73ffffffffffffffffffffffffffffffffffffffff16146112c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b990613a6d565b60405180910390fd5b6112cc6000611ef0565b565b60145481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461130d90613dd8565b80601f016020809104026020016040519081016040528092919081815260200182805461133990613dd8565b80156113865780601f1061135b57610100808354040283529160200191611386565b820191906000526020600020905b81548152906001019060200180831161136957829003601f168201915b5050505050905090565b600b8060000154905081565b6113ae6113a7611ab1565b8383611fb6565b5050565b60155481565b6113c96113c3611ab1565b83611b9e565b611408576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ff90613aed565b60405180910390fd5b61141484848484612123565b50505050565b606061142582611a45565b611464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145b90613a8d565b60405180910390fd5b600061146e61217f565b9050601260019054906101000a900460ff16611517576010805461149190613dd8565b80601f01602080910402602001604051908101604052809291908181526020018280546114bd90613dd8565b801561150a5780601f106114df5761010080835404028352916020019161150a565b820191906000526020600020905b8154815290600101906020018083116114ed57829003601f168201915b5050505050915050611545565b8061152184612211565b60405160200161153292919061372a565b6040516020818303038152906040529150505b919050565b600c8060000154905081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601260029054906101000a900460ff161561163c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163390613aad565b60405180910390fd5b60003360405160200161164f919061370f565b6040516020818303038152906040528051906020012090506116b5848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e54836123be565b6116f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116eb90613a2d565b60405180910390fd5b6013546116ff610cab565b1061173f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117369061382d565b60405180910390fd5b600261174a3361118e565b1061178a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117819061396d565b60405180910390fd5b6011543410156117cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c6906138ed565b60405180910390fd5b6117d9600c611925565b6117e3600b611925565b5b6117f66117f1600c611b72565b611a45565b1561180a57611805600c611925565b6117e4565b6000611816600c611b72565b90506118223382611b80565b809250505092915050565b611835611ab1565b73ffffffffffffffffffffffffffffffffffffffff166118536112d4565b73ffffffffffffffffffffffffffffffffffffffff16146118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090613a6d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611919576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119109061388d565b60405180910390fd5b61192281611ef0565b50565b6001816000016000828254019250508190555050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a2e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a3e5750611a3d826123d5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b2c836110c9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b611b9a82826040518060200160405280600081525061243f565b5050565b6000611ba982611a45565b611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdf9061398d565b60405180910390fd5b6000611bf3836110c9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c6257508373ffffffffffffffffffffffffffffffffffffffff16611c4a846108e2565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c735750611c728185611556565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c9c826110c9565b73ffffffffffffffffffffffffffffffffffffffff1614611cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce9906138ad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d599061392d565b60405180910390fd5b611d6d83838361249a565b611d78600082611ab9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dc89190613ce4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e1f9190613c5d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ede8383836125ae565b505050565b6000600880549050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201c9061394d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161211691906137d5565b60405180910390a3505050565b61212e848484611c7c565b61213a848484846125b3565b612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121709061386d565b60405180910390fd5b50505050565b6060600f805461218e90613dd8565b80601f01602080910402602001604051908101604052809291908181526020018280546121ba90613dd8565b80156122075780601f106121dc57610100808354040283529160200191612207565b820191906000526020600020905b8154815290600101906020018083116121ea57829003601f168201915b5050505050905090565b60606000821415612259576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123b9565b600082905060005b6000821461228b57808061227490613e3b565b915050600a826122849190613cb3565b9150612261565b60008167ffffffffffffffff8111156122cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122ff5781602001600182028036833780820191505090505b5090505b600085146123b2576001826123189190613ce4565b9150600a856123279190613ea8565b60306123339190613c5d565b60f81b81838151811061236f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123ab9190613cb3565b9450612303565b8093505050505b919050565b6000826123cb858461274a565b1490509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61244983836127e5565b61245660008484846125b3565b612495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248c9061386d565b60405180910390fd5b505050565b6124a583838361195e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124e8576124e3816129bf565b612527565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612526576125258382612a08565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561256a5761256581612b75565b6125a9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146125a8576125a78282612cb8565b5b5b505050565b505050565b60006125d48473ffffffffffffffffffffffffffffffffffffffff1661193b565b1561273d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125fd611ab1565b8786866040518563ffffffff1660e01b815260040161261f9493929190613789565b602060405180830381600087803b15801561263957600080fd5b505af192505050801561266a57506040513d601f19601f8201168201806040525081019061266791906131b2565b60015b6126ed573d806000811461269a576040519150601f19603f3d011682016040523d82523d6000602084013e61269f565b606091505b506000815114156126e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dc9061386d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612742565b600190505b949350505050565b60008082905060005b84518110156127da576000858281518110612797577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116127b9576127b28382612d37565b92506127c6565b6127c38184612d37565b92505b5080806127d290613e3b565b915050612753565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284c90613a0d565b60405180910390fd5b61285e81611a45565b1561289e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612895906138cd565b60405180910390fd5b6128aa6000838361249a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128fa9190613c5d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129bb600083836125ae565b5050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612a158461118e565b612a1f9190613ce4565b9050600060076000848152602001908152602001600020549050818114612b04576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612b899190613ce4565b9050600060096000848152602001908152602001600020549050600060088381548110612bdf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612c27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612c9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612cc38361118e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b828054612d5a90613dd8565b90600052602060002090601f016020900481019282612d7c5760008555612dc3565b82601f10612d9557805160ff1916838001178555612dc3565b82800160010185558215612dc3579182015b82811115612dc2578251825591602001919060010190612da7565b5b509050612dd09190612dd4565b5090565b5b80821115612ded576000816000905550600101612dd5565b5090565b6000612e04612dff84613bad565b613b88565b905082815260208101848484011115612e1c57600080fd5b612e27848285613d96565b509392505050565b6000612e42612e3d84613bde565b613b88565b905082815260208101848484011115612e5a57600080fd5b612e65848285613d96565b509392505050565b600081359050612e7c81614669565b92915050565b60008083601f840112612e9457600080fd5b8235905067ffffffffffffffff811115612ead57600080fd5b602083019150836020820283011115612ec557600080fd5b9250929050565b600081359050612edb81614680565b92915050565b600081359050612ef081614697565b92915050565b600081519050612f0581614697565b92915050565b600082601f830112612f1c57600080fd5b8135612f2c848260208601612df1565b91505092915050565b600082601f830112612f4657600080fd5b8135612f56848260208601612e2f565b91505092915050565b600081359050612f6e816146ae565b92915050565b600060208284031215612f8657600080fd5b6000612f9484828501612e6d565b91505092915050565b60008060408385031215612fb057600080fd5b6000612fbe85828601612e6d565b9250506020612fcf85828601612e6d565b9150509250929050565b600080600060608486031215612fee57600080fd5b6000612ffc86828701612e6d565b935050602061300d86828701612e6d565b925050604061301e86828701612f5f565b9150509250925092565b6000806000806080858703121561303e57600080fd5b600061304c87828801612e6d565b945050602061305d87828801612e6d565b935050604061306e87828801612f5f565b925050606085013567ffffffffffffffff81111561308b57600080fd5b61309787828801612f0b565b91505092959194509250565b600080604083850312156130b657600080fd5b60006130c485828601612e6d565b92505060206130d585828601612ecc565b9150509250929050565b600080604083850312156130f257600080fd5b600061310085828601612e6d565b925050602061311185828601612f5f565b9150509250929050565b6000806020838503121561312e57600080fd5b600083013567ffffffffffffffff81111561314857600080fd5b61315485828601612e82565b92509250509250929050565b60006020828403121561317257600080fd5b600061318084828501612ecc565b91505092915050565b60006020828403121561319b57600080fd5b60006131a984828501612ee1565b91505092915050565b6000602082840312156131c457600080fd5b60006131d284828501612ef6565b91505092915050565b6000602082840312156131ed57600080fd5b600082013567ffffffffffffffff81111561320757600080fd5b61321384828501612f35565b91505092915050565b60006020828403121561322e57600080fd5b600061323c84828501612f5f565b91505092915050565b61324e81613d18565b82525050565b61326561326082613d18565b613e84565b82525050565b61327481613d2a565b82525050565b61328381613d36565b82525050565b600061329482613c0f565b61329e8185613c25565b93506132ae818560208601613da5565b6132b781613f95565b840191505092915050565b60006132cd82613c1a565b6132d78185613c41565b93506132e7818560208601613da5565b6132f081613f95565b840191505092915050565b600061330682613c1a565b6133108185613c52565b9350613320818560208601613da5565b80840191505092915050565b6000613339602a83613c41565b915061334482613fb3565b604082019050919050565b600061335c602b83613c41565b915061336782614002565b604082019050919050565b600061337f603283613c41565b915061338a82614051565b604082019050919050565b60006133a2602683613c41565b91506133ad826140a0565b604082019050919050565b60006133c5602583613c41565b91506133d0826140ef565b604082019050919050565b60006133e8601c83613c41565b91506133f38261413e565b602082019050919050565b600061340b601983613c41565b915061341682614167565b602082019050919050565b600061342e601483613c41565b915061343982614190565b602082019050919050565b6000613451602483613c41565b915061345c826141b9565b604082019050919050565b6000613474601983613c41565b915061347f82614208565b602082019050919050565b6000613497602b83613c41565b91506134a282614231565b604082019050919050565b60006134ba602c83613c41565b91506134c582614280565b604082019050919050565b60006134dd603883613c41565b91506134e8826142cf565b604082019050919050565b6000613500602a83613c41565b915061350b8261431e565b604082019050919050565b6000613523602983613c41565b915061352e8261436d565b604082019050919050565b6000613546602083613c41565b9150613551826143bc565b602082019050919050565b6000613569601783613c41565b9150613574826143e5565b602082019050919050565b600061358c602c83613c41565b91506135978261440e565b604082019050919050565b60006135af600583613c52565b91506135ba8261445d565b600582019050919050565b60006135d2602083613c41565b91506135dd82614486565b602082019050919050565b60006135f5602f83613c41565b9150613600826144af565b604082019050919050565b6000613618601983613c41565b9150613623826144fe565b602082019050919050565b600061363b602183613c41565b915061364682614527565b604082019050919050565b600061365e600083613c36565b915061366982614576565b600082019050919050565b6000613681603183613c41565b915061368c82614579565b604082019050919050565b60006136a4602c83613c41565b91506136af826145c8565b604082019050919050565b60006136c7601f83613c41565b91506136d282614617565b602082019050919050565b60006136ea601983613c41565b91506136f582614640565b602082019050919050565b61370981613d8c565b82525050565b600061371b8284613254565b60148201915081905092915050565b600061373682856132fb565b915061374282846132fb565b915061374d826135a2565b91508190509392505050565b600061376482613651565b9150819050919050565b60006020820190506137836000830184613245565b92915050565b600060808201905061379e6000830187613245565b6137ab6020830186613245565b6137b86040830185613700565b81810360608301526137ca8184613289565b905095945050505050565b60006020820190506137ea600083018461326b565b92915050565b6000602082019050613805600083018461327a565b92915050565b6000602082019050818103600083015261382581846132c2565b905092915050565b600060208201905081810360008301526138468161332c565b9050919050565b600060208201905081810360008301526138668161334f565b9050919050565b6000602082019050818103600083015261388681613372565b9050919050565b600060208201905081810360008301526138a681613395565b9050919050565b600060208201905081810360008301526138c6816133b8565b9050919050565b600060208201905081810360008301526138e6816133db565b9050919050565b60006020820190508181036000830152613906816133fe565b9050919050565b6000602082019050818103600083015261392681613421565b9050919050565b6000602082019050818103600083015261394681613444565b9050919050565b6000602082019050818103600083015261396681613467565b9050919050565b600060208201905081810360008301526139868161348a565b9050919050565b600060208201905081810360008301526139a6816134ad565b9050919050565b600060208201905081810360008301526139c6816134d0565b9050919050565b600060208201905081810360008301526139e6816134f3565b9050919050565b60006020820190508181036000830152613a0681613516565b9050919050565b60006020820190508181036000830152613a2681613539565b9050919050565b60006020820190508181036000830152613a468161355c565b9050919050565b60006020820190508181036000830152613a668161357f565b9050919050565b60006020820190508181036000830152613a86816135c5565b9050919050565b60006020820190508181036000830152613aa6816135e8565b9050919050565b60006020820190508181036000830152613ac68161360b565b9050919050565b60006020820190508181036000830152613ae68161362e565b9050919050565b60006020820190508181036000830152613b0681613674565b9050919050565b60006020820190508181036000830152613b2681613697565b9050919050565b60006020820190508181036000830152613b46816136ba565b9050919050565b60006020820190508181036000830152613b66816136dd565b9050919050565b6000602082019050613b826000830184613700565b92915050565b6000613b92613ba3565b9050613b9e8282613e0a565b919050565b6000604051905090565b600067ffffffffffffffff821115613bc857613bc7613f66565b5b613bd182613f95565b9050602081019050919050565b600067ffffffffffffffff821115613bf957613bf8613f66565b5b613c0282613f95565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c6882613d8c565b9150613c7383613d8c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ca857613ca7613ed9565b5b828201905092915050565b6000613cbe82613d8c565b9150613cc983613d8c565b925082613cd957613cd8613f08565b5b828204905092915050565b6000613cef82613d8c565b9150613cfa83613d8c565b925082821015613d0d57613d0c613ed9565b5b828203905092915050565b6000613d2382613d6c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613dc3578082015181840152602081019050613da8565b83811115613dd2576000848401525b50505050565b60006002820490506001821680613df057607f821691505b60208210811415613e0457613e03613f37565b5b50919050565b613e1382613f95565b810181811067ffffffffffffffff82111715613e3257613e31613f66565b5b80604052505050565b6000613e4682613d8c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e7957613e78613ed9565b5b600182019050919050565b6000613e8f82613e96565b9050919050565b6000613ea182613fa6565b9050919050565b6000613eb382613d8c565b9150613ebe83613d8c565b925082613ece57613ecd613f08565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4578636565646564206d6178696d756d2045616765722042656176657220517560008201527f65656e20737570706c7900000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c696420457468657220616d6f756e742073656e7400000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e2032204e4654732064757260008201527f696e672070726573616c65000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f596f7520617265206e6f742077686974656c6973746564000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f436f6e74726163742063757272656e746c792070617573656400000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4e465473206861766520616c7265616479206265656e2072657665616c656400600082015250565b7f50726573616c6520686173206e6f7420656e6465642079657400000000000000600082015250565b61467281613d18565b811461467d57600080fd5b50565b61468981613d2a565b811461469457600080fd5b50565b6146a081613d40565b81146146ab57600080fd5b50565b6146b781613d8c565b81146146c257600080fd5b5056fea26469706673582212209d6fc37a1a9cdbbca99423e0bbeefc95ad899a6c27806a41a9a4cdc436f7dc2164736f6c6343000804003368747470733a2f2f65622e6d7970696e6174612e636c6f75642f697066732f516d5271774d6f414172576d72436a7251594a4a365436743564476b58614e4d7247614e6879624e42477879676f2f4542303332325f68696464656e2e6a736f6e
Deployed Bytecode
0x6080604052600436106101f25760003560e01c80635f7696211161010d5780639f181b5e116100a0578063c87b56dd1161006f578063c87b56dd146106d8578063e00dd16114610715578063e985e9c514610740578063edc0c72c1461077d578063f2fde38b146107ad576101f9565b80639f181b5e14610630578063a22cb4651461065b578063b645355814610684578063b88d4fde146106af576101f9565b8063715018a6116100dc578063715018a61461059857806385c36d10146105af5780638da5cb5b146105da57806395d89b4114610605576101f9565b80635f769621146104c85780636352211e146104f35780636ebeac851461053057806370a082311461055b576101f9565b8063235b6ea1116101855780633ccfd60b116101545780633ccfd60b1461042257806342842e0e146104395780634f6ccce71461046257806350179bae1461049f576101f9565b8063235b6ea11461036657806323b872dd146103915780632f745c59146103ba5780632fc37ab2146103f7576101f9565b80631249c58b116101c15780631249c58b146102c957806316c38b3c146102e757806316c61ccc1461031057806318160ddd1461033b576101f9565b806301ffc9a7146101fb57806306fdde0314610238578063081812fc14610263578063095ea7b3146102a0576101f9565b366101f957005b005b34801561020757600080fd5b50610222600480360381019061021d9190613189565b6107d6565b60405161022f91906137d5565b60405180910390f35b34801561024457600080fd5b5061024d610850565b60405161025a919061380b565b60405180910390f35b34801561026f57600080fd5b5061028a6004803603810190610285919061321c565b6108e2565b604051610297919061376e565b60405180910390f35b3480156102ac57600080fd5b506102c760048036038101906102c291906130df565b610967565b005b6102d1610a7f565b6040516102de9190613b6d565b60405180910390f35b3480156102f357600080fd5b5061030e60048036038101906103099190613160565b610bff565b005b34801561031c57600080fd5b50610325610c98565b60405161033291906137d5565b60405180910390f35b34801561034757600080fd5b50610350610cab565b60405161035d9190613b6d565b60405180910390f35b34801561037257600080fd5b5061037b610cbc565b6040516103889190613b6d565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b39190612fd9565b610cc2565b005b3480156103c657600080fd5b506103e160048036038101906103dc91906130df565b610d22565b6040516103ee9190613b6d565b60405180910390f35b34801561040357600080fd5b5061040c610dc7565b60405161041991906137f0565b60405180910390f35b34801561042e57600080fd5b50610437610dcd565b005b34801561044557600080fd5b50610460600480360381019061045b9190612fd9565b610f0b565b005b34801561046e57600080fd5b506104896004803603810190610484919061321c565b610f2b565b6040516104969190613b6d565b60405180910390f35b3480156104ab57600080fd5b506104c660048036038101906104c191906131db565b610fc2565b005b3480156104d457600080fd5b506104dd6110c3565b6040516104ea9190613b6d565b60405180910390f35b3480156104ff57600080fd5b5061051a6004803603810190610515919061321c565b6110c9565b604051610527919061376e565b60405180910390f35b34801561053c57600080fd5b5061054561117b565b60405161055291906137d5565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190612f74565b61118e565b60405161058f9190613b6d565b60405180910390f35b3480156105a457600080fd5b506105ad611246565b005b3480156105bb57600080fd5b506105c46112ce565b6040516105d19190613b6d565b60405180910390f35b3480156105e657600080fd5b506105ef6112d4565b6040516105fc919061376e565b60405180910390f35b34801561061157600080fd5b5061061a6112fe565b604051610627919061380b565b60405180910390f35b34801561063c57600080fd5b50610645611390565b6040516106529190613b6d565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d91906130a3565b61139c565b005b34801561069057600080fd5b506106996113b2565b6040516106a69190613b6d565b60405180910390f35b3480156106bb57600080fd5b506106d660048036038101906106d19190613028565b6113b8565b005b3480156106e457600080fd5b506106ff60048036038101906106fa919061321c565b61141a565b60405161070c919061380b565b60405180910390f35b34801561072157600080fd5b5061072a61154a565b6040516107379190613b6d565b60405180910390f35b34801561074c57600080fd5b5061076760048036038101906107629190612f9d565b611556565b60405161077491906137d5565b60405180910390f35b6107976004803603810190610792919061311b565b6115ea565b6040516107a49190613b6d565b60405180910390f35b3480156107b957600080fd5b506107d460048036038101906107cf9190612f74565b61182d565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610849575061084882611963565b5b9050919050565b60606000805461085f90613dd8565b80601f016020809104026020016040519081016040528092919081815260200182805461088b90613dd8565b80156108d85780601f106108ad576101008083540402835291602001916108d8565b820191906000526020600020905b8154815290600101906020018083116108bb57829003601f168201915b5050505050905090565b60006108ed82611a45565b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092390613a4d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610972826110c9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109da90613acd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a02611ab1565b73ffffffffffffffffffffffffffffffffffffffff161480610a315750610a3081610a2b611ab1565b611556565b5b610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a67906139ad565b60405180910390fd5b610a7a8383611ab9565b505050565b6000601260029054906101000a900460ff1615610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac890613aad565b60405180910390fd5b6015544211610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c90613b4d565b60405180910390fd5b601354610b20610cab565b10610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b579061382d565b60405180910390fd5b601154341015610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c906138ed565b60405180910390fd5b610baf600c611925565b610bb9600b611925565b5b610bcc610bc7600c611b72565b611a45565b15610be057610bdb600c611925565b610bba565b6000610bec600c611b72565b9050610bf83382611b80565b8091505090565b610c07611ab1565b73ffffffffffffffffffffffffffffffffffffffff16610c256112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7290613a6d565b60405180910390fd5b80601260026101000a81548160ff02191690831515021790555050565b601260029054906101000a900460ff1681565b6000610cb7600b611b72565b905090565b60115481565b610cd3610ccd611ab1565b82611b9e565b610d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0990613aed565b60405180910390fd5b610d1d838383611c7c565b505050565b6000610d2d8361118e565b8210610d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d659061384d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e5481565b610dd5611ab1565b73ffffffffffffffffffffffffffffffffffffffff16610df36112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090613a6d565b60405180910390fd5b6000610e536112d4565b9050600047905060008273ffffffffffffffffffffffffffffffffffffffff1682604051610e8090613759565b60006040518083038185875af1925050503d8060008114610ebd576040519150601f19603f3d011682016040523d82523d6000602084013e610ec2565b606091505b5050905080610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd9061390d565b60405180910390fd5b505050565b610f26838383604051806020016040528060008152506113b8565b505050565b6000610f35611ee3565b8210610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d90613b0d565b60405180910390fd5b60088281548110610fb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610fca611ab1565b73ffffffffffffffffffffffffffffffffffffffff16610fe86112d4565b73ffffffffffffffffffffffffffffffffffffffff161461103e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103590613a6d565b60405180910390fd5b601260019054906101000a900460ff161561108e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108590613b2d565b60405180910390fd5b80600f90805190602001906110a4929190612d4e565b506001601260016101000a81548160ff02191690831515021790555050565b60135481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611172576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611169906139ed565b60405180910390fd5b80915050919050565b601260019054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f6906139cd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61124e611ab1565b73ffffffffffffffffffffffffffffffffffffffff1661126c6112d4565b73ffffffffffffffffffffffffffffffffffffffff16146112c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b990613a6d565b60405180910390fd5b6112cc6000611ef0565b565b60145481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461130d90613dd8565b80601f016020809104026020016040519081016040528092919081815260200182805461133990613dd8565b80156113865780601f1061135b57610100808354040283529160200191611386565b820191906000526020600020905b81548152906001019060200180831161136957829003601f168201915b5050505050905090565b600b8060000154905081565b6113ae6113a7611ab1565b8383611fb6565b5050565b60155481565b6113c96113c3611ab1565b83611b9e565b611408576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ff90613aed565b60405180910390fd5b61141484848484612123565b50505050565b606061142582611a45565b611464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145b90613a8d565b60405180910390fd5b600061146e61217f565b9050601260019054906101000a900460ff16611517576010805461149190613dd8565b80601f01602080910402602001604051908101604052809291908181526020018280546114bd90613dd8565b801561150a5780601f106114df5761010080835404028352916020019161150a565b820191906000526020600020905b8154815290600101906020018083116114ed57829003601f168201915b5050505050915050611545565b8061152184612211565b60405160200161153292919061372a565b6040516020818303038152906040529150505b919050565b600c8060000154905081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601260029054906101000a900460ff161561163c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163390613aad565b60405180910390fd5b60003360405160200161164f919061370f565b6040516020818303038152906040528051906020012090506116b5848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e54836123be565b6116f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116eb90613a2d565b60405180910390fd5b6013546116ff610cab565b1061173f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117369061382d565b60405180910390fd5b600261174a3361118e565b1061178a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117819061396d565b60405180910390fd5b6011543410156117cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c6906138ed565b60405180910390fd5b6117d9600c611925565b6117e3600b611925565b5b6117f66117f1600c611b72565b611a45565b1561180a57611805600c611925565b6117e4565b6000611816600c611b72565b90506118223382611b80565b809250505092915050565b611835611ab1565b73ffffffffffffffffffffffffffffffffffffffff166118536112d4565b73ffffffffffffffffffffffffffffffffffffffff16146118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090613a6d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611919576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119109061388d565b60405180910390fd5b61192281611ef0565b50565b6001816000016000828254019250508190555050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a2e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a3e5750611a3d826123d5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b2c836110c9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b611b9a82826040518060200160405280600081525061243f565b5050565b6000611ba982611a45565b611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdf9061398d565b60405180910390fd5b6000611bf3836110c9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c6257508373ffffffffffffffffffffffffffffffffffffffff16611c4a846108e2565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c735750611c728185611556565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c9c826110c9565b73ffffffffffffffffffffffffffffffffffffffff1614611cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce9906138ad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d599061392d565b60405180910390fd5b611d6d83838361249a565b611d78600082611ab9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dc89190613ce4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e1f9190613c5d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ede8383836125ae565b505050565b6000600880549050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201c9061394d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161211691906137d5565b60405180910390a3505050565b61212e848484611c7c565b61213a848484846125b3565b612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121709061386d565b60405180910390fd5b50505050565b6060600f805461218e90613dd8565b80601f01602080910402602001604051908101604052809291908181526020018280546121ba90613dd8565b80156122075780601f106121dc57610100808354040283529160200191612207565b820191906000526020600020905b8154815290600101906020018083116121ea57829003601f168201915b5050505050905090565b60606000821415612259576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123b9565b600082905060005b6000821461228b57808061227490613e3b565b915050600a826122849190613cb3565b9150612261565b60008167ffffffffffffffff8111156122cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122ff5781602001600182028036833780820191505090505b5090505b600085146123b2576001826123189190613ce4565b9150600a856123279190613ea8565b60306123339190613c5d565b60f81b81838151811061236f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123ab9190613cb3565b9450612303565b8093505050505b919050565b6000826123cb858461274a565b1490509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61244983836127e5565b61245660008484846125b3565b612495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248c9061386d565b60405180910390fd5b505050565b6124a583838361195e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124e8576124e3816129bf565b612527565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612526576125258382612a08565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561256a5761256581612b75565b6125a9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146125a8576125a78282612cb8565b5b5b505050565b505050565b60006125d48473ffffffffffffffffffffffffffffffffffffffff1661193b565b1561273d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125fd611ab1565b8786866040518563ffffffff1660e01b815260040161261f9493929190613789565b602060405180830381600087803b15801561263957600080fd5b505af192505050801561266a57506040513d601f19601f8201168201806040525081019061266791906131b2565b60015b6126ed573d806000811461269a576040519150601f19603f3d011682016040523d82523d6000602084013e61269f565b606091505b506000815114156126e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dc9061386d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612742565b600190505b949350505050565b60008082905060005b84518110156127da576000858281518110612797577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116127b9576127b28382612d37565b92506127c6565b6127c38184612d37565b92505b5080806127d290613e3b565b915050612753565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284c90613a0d565b60405180910390fd5b61285e81611a45565b1561289e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612895906138cd565b60405180910390fd5b6128aa6000838361249a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128fa9190613c5d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129bb600083836125ae565b5050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612a158461118e565b612a1f9190613ce4565b9050600060076000848152602001908152602001600020549050818114612b04576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612b899190613ce4565b9050600060096000848152602001908152602001600020549050600060088381548110612bdf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612c27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612c9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612cc38361118e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b828054612d5a90613dd8565b90600052602060002090601f016020900481019282612d7c5760008555612dc3565b82601f10612d9557805160ff1916838001178555612dc3565b82800160010185558215612dc3579182015b82811115612dc2578251825591602001919060010190612da7565b5b509050612dd09190612dd4565b5090565b5b80821115612ded576000816000905550600101612dd5565b5090565b6000612e04612dff84613bad565b613b88565b905082815260208101848484011115612e1c57600080fd5b612e27848285613d96565b509392505050565b6000612e42612e3d84613bde565b613b88565b905082815260208101848484011115612e5a57600080fd5b612e65848285613d96565b509392505050565b600081359050612e7c81614669565b92915050565b60008083601f840112612e9457600080fd5b8235905067ffffffffffffffff811115612ead57600080fd5b602083019150836020820283011115612ec557600080fd5b9250929050565b600081359050612edb81614680565b92915050565b600081359050612ef081614697565b92915050565b600081519050612f0581614697565b92915050565b600082601f830112612f1c57600080fd5b8135612f2c848260208601612df1565b91505092915050565b600082601f830112612f4657600080fd5b8135612f56848260208601612e2f565b91505092915050565b600081359050612f6e816146ae565b92915050565b600060208284031215612f8657600080fd5b6000612f9484828501612e6d565b91505092915050565b60008060408385031215612fb057600080fd5b6000612fbe85828601612e6d565b9250506020612fcf85828601612e6d565b9150509250929050565b600080600060608486031215612fee57600080fd5b6000612ffc86828701612e6d565b935050602061300d86828701612e6d565b925050604061301e86828701612f5f565b9150509250925092565b6000806000806080858703121561303e57600080fd5b600061304c87828801612e6d565b945050602061305d87828801612e6d565b935050604061306e87828801612f5f565b925050606085013567ffffffffffffffff81111561308b57600080fd5b61309787828801612f0b565b91505092959194509250565b600080604083850312156130b657600080fd5b60006130c485828601612e6d565b92505060206130d585828601612ecc565b9150509250929050565b600080604083850312156130f257600080fd5b600061310085828601612e6d565b925050602061311185828601612f5f565b9150509250929050565b6000806020838503121561312e57600080fd5b600083013567ffffffffffffffff81111561314857600080fd5b61315485828601612e82565b92509250509250929050565b60006020828403121561317257600080fd5b600061318084828501612ecc565b91505092915050565b60006020828403121561319b57600080fd5b60006131a984828501612ee1565b91505092915050565b6000602082840312156131c457600080fd5b60006131d284828501612ef6565b91505092915050565b6000602082840312156131ed57600080fd5b600082013567ffffffffffffffff81111561320757600080fd5b61321384828501612f35565b91505092915050565b60006020828403121561322e57600080fd5b600061323c84828501612f5f565b91505092915050565b61324e81613d18565b82525050565b61326561326082613d18565b613e84565b82525050565b61327481613d2a565b82525050565b61328381613d36565b82525050565b600061329482613c0f565b61329e8185613c25565b93506132ae818560208601613da5565b6132b781613f95565b840191505092915050565b60006132cd82613c1a565b6132d78185613c41565b93506132e7818560208601613da5565b6132f081613f95565b840191505092915050565b600061330682613c1a565b6133108185613c52565b9350613320818560208601613da5565b80840191505092915050565b6000613339602a83613c41565b915061334482613fb3565b604082019050919050565b600061335c602b83613c41565b915061336782614002565b604082019050919050565b600061337f603283613c41565b915061338a82614051565b604082019050919050565b60006133a2602683613c41565b91506133ad826140a0565b604082019050919050565b60006133c5602583613c41565b91506133d0826140ef565b604082019050919050565b60006133e8601c83613c41565b91506133f38261413e565b602082019050919050565b600061340b601983613c41565b915061341682614167565b602082019050919050565b600061342e601483613c41565b915061343982614190565b602082019050919050565b6000613451602483613c41565b915061345c826141b9565b604082019050919050565b6000613474601983613c41565b915061347f82614208565b602082019050919050565b6000613497602b83613c41565b91506134a282614231565b604082019050919050565b60006134ba602c83613c41565b91506134c582614280565b604082019050919050565b60006134dd603883613c41565b91506134e8826142cf565b604082019050919050565b6000613500602a83613c41565b915061350b8261431e565b604082019050919050565b6000613523602983613c41565b915061352e8261436d565b604082019050919050565b6000613546602083613c41565b9150613551826143bc565b602082019050919050565b6000613569601783613c41565b9150613574826143e5565b602082019050919050565b600061358c602c83613c41565b91506135978261440e565b604082019050919050565b60006135af600583613c52565b91506135ba8261445d565b600582019050919050565b60006135d2602083613c41565b91506135dd82614486565b602082019050919050565b60006135f5602f83613c41565b9150613600826144af565b604082019050919050565b6000613618601983613c41565b9150613623826144fe565b602082019050919050565b600061363b602183613c41565b915061364682614527565b604082019050919050565b600061365e600083613c36565b915061366982614576565b600082019050919050565b6000613681603183613c41565b915061368c82614579565b604082019050919050565b60006136a4602c83613c41565b91506136af826145c8565b604082019050919050565b60006136c7601f83613c41565b91506136d282614617565b602082019050919050565b60006136ea601983613c41565b91506136f582614640565b602082019050919050565b61370981613d8c565b82525050565b600061371b8284613254565b60148201915081905092915050565b600061373682856132fb565b915061374282846132fb565b915061374d826135a2565b91508190509392505050565b600061376482613651565b9150819050919050565b60006020820190506137836000830184613245565b92915050565b600060808201905061379e6000830187613245565b6137ab6020830186613245565b6137b86040830185613700565b81810360608301526137ca8184613289565b905095945050505050565b60006020820190506137ea600083018461326b565b92915050565b6000602082019050613805600083018461327a565b92915050565b6000602082019050818103600083015261382581846132c2565b905092915050565b600060208201905081810360008301526138468161332c565b9050919050565b600060208201905081810360008301526138668161334f565b9050919050565b6000602082019050818103600083015261388681613372565b9050919050565b600060208201905081810360008301526138a681613395565b9050919050565b600060208201905081810360008301526138c6816133b8565b9050919050565b600060208201905081810360008301526138e6816133db565b9050919050565b60006020820190508181036000830152613906816133fe565b9050919050565b6000602082019050818103600083015261392681613421565b9050919050565b6000602082019050818103600083015261394681613444565b9050919050565b6000602082019050818103600083015261396681613467565b9050919050565b600060208201905081810360008301526139868161348a565b9050919050565b600060208201905081810360008301526139a6816134ad565b9050919050565b600060208201905081810360008301526139c6816134d0565b9050919050565b600060208201905081810360008301526139e6816134f3565b9050919050565b60006020820190508181036000830152613a0681613516565b9050919050565b60006020820190508181036000830152613a2681613539565b9050919050565b60006020820190508181036000830152613a468161355c565b9050919050565b60006020820190508181036000830152613a668161357f565b9050919050565b60006020820190508181036000830152613a86816135c5565b9050919050565b60006020820190508181036000830152613aa6816135e8565b9050919050565b60006020820190508181036000830152613ac68161360b565b9050919050565b60006020820190508181036000830152613ae68161362e565b9050919050565b60006020820190508181036000830152613b0681613674565b9050919050565b60006020820190508181036000830152613b2681613697565b9050919050565b60006020820190508181036000830152613b46816136ba565b9050919050565b60006020820190508181036000830152613b66816136dd565b9050919050565b6000602082019050613b826000830184613700565b92915050565b6000613b92613ba3565b9050613b9e8282613e0a565b919050565b6000604051905090565b600067ffffffffffffffff821115613bc857613bc7613f66565b5b613bd182613f95565b9050602081019050919050565b600067ffffffffffffffff821115613bf957613bf8613f66565b5b613c0282613f95565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c6882613d8c565b9150613c7383613d8c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ca857613ca7613ed9565b5b828201905092915050565b6000613cbe82613d8c565b9150613cc983613d8c565b925082613cd957613cd8613f08565b5b828204905092915050565b6000613cef82613d8c565b9150613cfa83613d8c565b925082821015613d0d57613d0c613ed9565b5b828203905092915050565b6000613d2382613d6c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613dc3578082015181840152602081019050613da8565b83811115613dd2576000848401525b50505050565b60006002820490506001821680613df057607f821691505b60208210811415613e0457613e03613f37565b5b50919050565b613e1382613f95565b810181811067ffffffffffffffff82111715613e3257613e31613f66565b5b80604052505050565b6000613e4682613d8c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e7957613e78613ed9565b5b600182019050919050565b6000613e8f82613e96565b9050919050565b6000613ea182613fa6565b9050919050565b6000613eb382613d8c565b9150613ebe83613d8c565b925082613ece57613ecd613f08565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4578636565646564206d6178696d756d2045616765722042656176657220517560008201527f65656e20737570706c7900000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c696420457468657220616d6f756e742073656e7400000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e2032204e4654732064757260008201527f696e672070726573616c65000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f596f7520617265206e6f742077686974656c6973746564000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f436f6e74726163742063757272656e746c792070617573656400000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4e465473206861766520616c7265616479206265656e2072657665616c656400600082015250565b7f50726573616c6520686173206e6f7420656e6465642079657400000000000000600082015250565b61467281613d18565b811461467d57600080fd5b50565b61468981613d2a565b811461469457600080fd5b50565b6146a081613d40565b81146146ab57600080fd5b50565b6146b781613d8c565b81146146c257600080fd5b5056fea26469706673582212209d6fc37a1a9cdbbca99423e0bbeefc95ad899a6c27806a41a9a4cdc436f7dc2164736f6c63430008040033
Loading...
Loading
Loading...
Loading
OVERVIEW
Eager Beaver Queens is a collection of 500 UNIQUE digital collectables that live on the Ethereum blockchain in unity with the Eager Beaver Collection.Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.