Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 202 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 15100825 | 1344 days ago | IN | 0 ETH | 0.00055256 | ||||
| Gift Nft | 15097608 | 1345 days ago | IN | 0 ETH | 0.00559 | ||||
| Set Approval For... | 15094205 | 1345 days ago | IN | 0 ETH | 0.00045838 | ||||
| Set Approval For... | 15076456 | 1348 days ago | IN | 0 ETH | 0.00323768 | ||||
| Set Approval For... | 15072990 | 1349 days ago | IN | 0 ETH | 0.00046043 | ||||
| Set Approval For... | 15071091 | 1349 days ago | IN | 0 ETH | 0.0009417 | ||||
| Set Approval For... | 15070648 | 1349 days ago | IN | 0 ETH | 0.00110363 | ||||
| Set Approval For... | 15070641 | 1349 days ago | IN | 0 ETH | 0.00132593 | ||||
| Set Approval For... | 15070629 | 1349 days ago | IN | 0 ETH | 0.00146887 | ||||
| Set Approval For... | 15070546 | 1349 days ago | IN | 0 ETH | 0.0014154 | ||||
| Set Approval For... | 15070524 | 1349 days ago | IN | 0 ETH | 0.00066538 | ||||
| Set Approval For... | 15070520 | 1349 days ago | IN | 0 ETH | 0.00078135 | ||||
| Set Approval For... | 15070510 | 1349 days ago | IN | 0 ETH | 0.00084107 | ||||
| Purchase Tokens | 15070509 | 1349 days ago | IN | 0 ETH | 0.00065659 | ||||
| Purchase Tokens | 15070508 | 1349 days ago | IN | 0 ETH | 0.00059361 | ||||
| Purchase Tokens | 15070508 | 1349 days ago | IN | 0 ETH | 0.00063651 | ||||
| Purchase Tokens | 15070505 | 1349 days ago | IN | 0 ETH | 0.00084586 | ||||
| Set Cost Per Nft | 15070504 | 1349 days ago | IN | 0 ETH | 0.00095897 | ||||
| Purchase Tokens | 15070504 | 1349 days ago | IN | 0 ETH | 0.00220149 | ||||
| Purchase Tokens | 15070504 | 1349 days ago | IN | 0 ETH | 0.00199782 | ||||
| Purchase Tokens | 15070504 | 1349 days ago | IN | 0 ETH | 0.00240515 | ||||
| Purchase Tokens | 15070504 | 1349 days ago | IN | 0 ETH | 0.00240515 | ||||
| Purchase Tokens | 15070504 | 1349 days ago | IN | 0 ETH | 0.00209909 | ||||
| Purchase Tokens | 15070504 | 1349 days ago | IN | 0 ETH | 0.00263661 | ||||
| Purchase Tokens | 15070504 | 1349 days ago | IN | 0 ETH | 0.00263661 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
SNAKETHEREUMCITYCLUBContract
Compiler Version
v0.8.14+commit.80d49f37
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.13;
import "erc721a@3.3.0/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
interface OpenSea {
function proxies(address) external view returns (address);
}
contract SNAKETHEREUMCITYCLUB is ERC721A("SNAKETHEREUMCITYCLUB", "SCC"), Ownable, ERC2981 {
using Strings for uint256;
bool public revealed = false;
string public notRevealedMetadataFolderIpfsLink;
uint256 public maxMintAmount = 15;
uint256 public maxSupply = 2000;
uint256 public costPerNft = 0.07* 1e18;
uint256 public nftsForOwner = 20;
string public metadataFolderIpfsLink;
uint256 constant presaleSupply = 1000;
string constant baseExtension = ".json";
uint256 public publicmintActiveTime = 1655218800;
constructor() {
_setDefaultRoyalty(msg.sender, 10_00); // 10.00 %
}
// public
function purchaseTokens(uint256 _mintAmount) public payable {
require(block.timestamp > publicmintActiveTime, "the contract is paused");
uint256 supply = totalSupply();
require(_mintAmount > 0, "need to mint at least 1 NFT");
require(_mintAmount <= maxMintAmount, "max mint amount per session exceeded");
require(supply + _mintAmount + nftsForOwner <= maxSupply, "max NFT limit exceeded");
require(msg.value >= costPerNft * _mintAmount, "insufficient funds");
_safeMint(msg.sender, _mintAmount);
}
///////////////////////////////////
// OVERRIDE CODE STARTS //
///////////////////////////////////
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) {
return super.supportsInterface(interfaceId);
}
function _startTokenId() internal pure override returns (uint256) {
return 1;
}
function _baseURI() internal view virtual override returns (string memory) {
return metadataFolderIpfsLink;
}
function tokenURI(uint256 tokenId) public view virtual override(ERC721A) returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
if (revealed == false) return notRevealedMetadataFolderIpfsLink;
string memory currentBaseURI = _baseURI();
return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : "";
}
//////////////////
// ONLY OWNER //
//////////////////
function withdraw() public payable onlyOwner {
(bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
require(success);
}
function giftNft(address[] calldata _sendNftsTo, uint256 _howMany) external onlyOwner {
nftsForOwner -= _sendNftsTo.length * _howMany;
for (uint256 i = 0; i < _sendNftsTo.length; i++) _safeMint(_sendNftsTo[i], _howMany);
}
function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) public onlyOwner {
_setDefaultRoyalty(_receiver, _feeNumerator);
}
function revealFlip() public onlyOwner {
revealed = !revealed;
}
function setCostPerNft(uint256 _newCostPerNft) public onlyOwner {
costPerNft = _newCostPerNft;
}
function setMaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner {
maxMintAmount = _newmaxMintAmount;
}
function setMetadataFolderIpfsLink(string memory _newMetadataFolderIpfsLink) public onlyOwner {
metadataFolderIpfsLink = _newMetadataFolderIpfsLink;
}
function setNotRevealedMetadataFolderIpfsLink(string memory _notRevealedMetadataFolderIpfsLink) public onlyOwner {
notRevealedMetadataFolderIpfsLink = _notRevealedMetadataFolderIpfsLink;
}
function setSaleActiveTime(uint256 _publicmintActiveTime) public onlyOwner {
publicmintActiveTime = _publicmintActiveTime;
}
}
contract NftWhitelistSaleMerkle is SNAKETHEREUMCITYCLUB {
///////////////////////////////
// PRESALE CODE STARTS //
///////////////////////////////
uint256 public presaleActiveTime = 1655132400;
uint256 public presaleMaxMint = 5;
bytes32 public whitelistMerkleRoot;
uint256 public itemPricePresale = 0.05 * 1e18;
mapping(address => uint256) public presaleClaimedBy;
function setWhitelist(bytes32 _whitelistMerkleRoot) external onlyOwner {
whitelistMerkleRoot = _whitelistMerkleRoot;
}
function inWhitelist(bytes32[] memory _proof, address _owner) public view returns (bool) {
return MerkleProof.verify(_proof, whitelistMerkleRoot, keccak256(abi.encodePacked(_owner)));
}
function purchaseTokensPresale(uint256 _howMany, bytes32[] calldata _proof) external payable {
uint256 supply = totalSupply();
require(supply + _howMany + nftsForOwner <= maxSupply, "max NFT limit exceeded");
require(inWhitelist(_proof, msg.sender), "You are not in presale");
require(block.timestamp > presaleActiveTime, "Presale is not active");
require(msg.value >= _howMany * itemPricePresale, "Try to send more ETH");
presaleClaimedBy[msg.sender] += _howMany;
require(presaleClaimedBy[msg.sender] <= presaleMaxMint, "Purchase exceeds max allowed");
_safeMint(msg.sender, _howMany);
}
// set limit of presale
function setPresaleMaxMint(uint256 _presaleMaxMint) external onlyOwner {
presaleMaxMint = _presaleMaxMint;
}
// Change presale price in case of ETH price changes too much
function setPricePresale(uint256 _itemPricePresale) external onlyOwner {
itemPricePresale = _itemPricePresale;
}
function setPresaleActiveTime(uint256 _presaleActiveTime) external onlyOwner {
presaleActiveTime = _presaleActiveTime;
}
}
contract NftAutoApproveMarketPlaces is NftWhitelistSaleMerkle {
////////////////////////////////
// AUTO APPROVE MARKETPLACES //
////////////////////////////////
mapping(address => bool) public projectProxy;
function flipProxyState(address proxyAddress) public onlyOwner {
projectProxy[proxyAddress] = !projectProxy[proxyAddress];
}
function isApprovedForAll(address _owner, address _operator) public view override(ERC721A) returns (bool) {
return
projectProxy[_operator] || // Auto Approve any Marketplace,
_operator == OpenSea(0xa5409ec958C83C3f309868babACA7c86DCB077c1).proxies(_owner) ||
_operator == 0xF849de01B080aDC3A814FaBE1E2087475cF2E354 || // Looksrare
_operator == 0xf42aa99F011A1fA7CDA90E5E98b277E306BcA83e || // Rarible
_operator == 0x4feE7B061C97C9c496b01DbcE9CDb10c02f0a0Be // X2Y2
? true
: super.isApprovedForAll(_owner, _operator);
}
}
contract SNAKETHEREUMCITYCLUBContract is NftAutoApproveMarketPlaces {}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
*
* See `test/utils/cryptography/MerkleProof.test.js` for some examples.
*
* WARNING: You should avoid using leaf values that are 64 bytes long prior to
* hashing, or use a hash function other than keccak256 for hashing leaves.
* This is because the concatenation of a sorted pair of internal nodes in
* the merkle tree could be reinterpreted as a leaf value.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
bytes32 proofElement = proof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = _efficientHash(computedHash, proofElement);
} else {
// Hash(current element of the proof + current computed hash)
computedHash = _efficientHash(proofElement, computedHash);
}
}
return computedHash;
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)
pragma solidity ^0.8.0;
import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
*
* Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
* specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
*
* Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
* fee is specified in basis points by default.
*
* IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
* https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
* voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
*
* _Available since v4.5._
*/
abstract contract ERC2981 is IERC2981, ERC165 {
struct RoyaltyInfo {
address receiver;
uint96 royaltyFraction;
}
RoyaltyInfo private _defaultRoyaltyInfo;
mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @inheritdoc IERC2981
*/
function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];
if (royalty.receiver == address(0)) {
royalty = _defaultRoyaltyInfo;
}
uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();
return (royalty.receiver, royaltyAmount);
}
/**
* @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
* fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
* override.
*/
function _feeDenominator() internal pure virtual returns (uint96) {
return 10000;
}
/**
* @dev Sets the royalty information that all ids in this contract will default to.
*
* Requirements:
*
* - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
require(receiver != address(0), "ERC2981: invalid receiver");
_defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
}
/**
* @dev Removes default royalty information.
*/
function _deleteDefaultRoyalty() internal virtual {
delete _defaultRoyaltyInfo;
}
/**
* @dev Sets the royalty information for a specific token id, overriding the global default.
*
* Requirements:
*
* - `tokenId` must be already minted.
* - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setTokenRoyalty(
uint256 tokenId,
address receiver,
uint96 feeNumerator
) internal virtual {
require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
require(receiver != address(0), "ERC2981: Invalid parameters");
_tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
}
/**
* @dev Resets royalty information for the token id back to the global default.
*/
function _resetTokenRoyalty(uint256 tokenId) internal virtual {
delete _tokenRoyaltyInfo[tokenId];
}
}// 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
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
*
* Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
*
* Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is Context, ERC165, IERC721A {
using Address for address;
using Strings for uint256;
// The tokenId of the next token to be minted.
uint256 internal _currentIndex;
// The number of tokens burned.
uint256 internal _burnCounter;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
mapping(uint256 => TokenOwnership) internal _ownerships;
// Mapping owner address to address data
mapping(address => AddressData) private _addressData;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
/**
* To change the starting tokenId, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
*/
function totalSupply() public view override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than _currentIndex - _startTokenId() times
unchecked {
return _currentIndex - _burnCounter - _startTokenId();
}
}
/**
* Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view returns (uint256) {
// Counter underflow is impossible as _currentIndex does not decrement,
// and it is initialized to _startTokenId()
unchecked {
return _currentIndex - _startTokenId();
}
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return uint256(_addressData[owner].balance);
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
return uint256(_addressData[owner].numberMinted);
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
return uint256(_addressData[owner].numberBurned);
}
/**
* Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
return _addressData[owner].aux;
}
/**
* Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
* If there are multiple variables, please pack them into a uint64.
*/
function _setAux(address owner, uint64 aux) internal {
_addressData[owner].aux = aux;
}
/**
* Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around in the collection over time.
*/
function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
uint256 curr = tokenId;
unchecked {
if (_startTokenId() <= curr) if (curr < _currentIndex) {
TokenOwnership memory ownership = _ownerships[curr];
if (!ownership.burned) {
if (ownership.addr != address(0)) {
return ownership;
}
// Invariant:
// There will always be an ownership that has an address and is not burned
// before an ownership that does not have an address and is not burned.
// Hence, curr will not underflow.
while (true) {
curr--;
ownership = _ownerships[curr];
if (ownership.addr != address(0)) {
return ownership;
}
}
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return _ownershipOf(tokenId).addr;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return '';
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public override {
address owner = ERC721A.ownerOf(tokenId);
if (to == owner) revert ApprovalToCurrentOwner();
if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_approve(to, tokenId, owner);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
if (operator == _msgSender()) revert ApproveToCaller();
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, '');
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
_transfer(from, to, tokenId);
if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
}
/**
* @dev Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal {
_safeMint(to, quantity, '');
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
// updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
if (to.isContract()) {
do {
emit Transfer(address(0), to, updatedIndex);
if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
} while (updatedIndex < end);
// Reentrancy protection
if (_currentIndex != startTokenId) revert();
} else {
do {
emit Transfer(address(0), to, updatedIndex++);
} while (updatedIndex < end);
}
_currentIndex = updatedIndex;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 quantity) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
// updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
do {
emit Transfer(address(0), to, updatedIndex++);
} while (updatedIndex < end);
_currentIndex = updatedIndex;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) private {
TokenOwnership memory prevOwnership = _ownershipOf(tokenId);
if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
bool isApprovedOrOwner = (_msgSender() == from ||
isApprovedForAll(from, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, from);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
unchecked {
_addressData[from].balance -= 1;
_addressData[to].balance += 1;
TokenOwnership storage currSlot = _ownerships[tokenId];
currSlot.addr = to;
currSlot.startTimestamp = uint64(block.timestamp);
// If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
TokenOwnership storage nextSlot = _ownerships[nextTokenId];
if (nextSlot.addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId != _currentIndex) {
nextSlot.addr = from;
nextSlot.startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Equivalent to `_burn(tokenId, false)`.
*/
function _burn(uint256 tokenId) internal virtual {
_burn(tokenId, false);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
TokenOwnership memory prevOwnership = _ownershipOf(tokenId);
address from = prevOwnership.addr;
if (approvalCheck) {
bool isApprovedOrOwner = (_msgSender() == from ||
isApprovedForAll(from, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
}
_beforeTokenTransfers(from, address(0), tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, from);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
unchecked {
AddressData storage addressData = _addressData[from];
addressData.balance -= 1;
addressData.numberBurned += 1;
// Keep track of who burned the token, and the timestamp of burning.
TokenOwnership storage currSlot = _ownerships[tokenId];
currSlot.addr = from;
currSlot.startTimestamp = uint64(block.timestamp);
currSlot.burned = true;
// If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
TokenOwnership storage nextSlot = _ownerships[nextTokenId];
if (nextSlot.addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId != _currentIndex) {
nextSlot.addr = from;
nextSlot.startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, address(0), tokenId);
_afterTokenTransfers(from, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(
address to,
uint256 tokenId,
address owner
) private {
_tokenApprovals[tokenId] = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkContractOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
/**
* @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
* And also called before burning one token.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
* minting.
* And also called after one token has been burned.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/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/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
/**
* @dev Interface of an ERC721A compliant contract.
*/
interface IERC721A is IERC721, IERC721Metadata {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCallerNotOwnerNorApproved();
/**
* The token does not exist.
*/
error ApprovalQueryForNonexistentToken();
/**
* The caller cannot approve to their own address.
*/
error ApproveToCaller();
/**
* The caller cannot approve to the current owner.
*/
error ApprovalToCurrentOwner();
/**
* Cannot query the balance for the zero address.
*/
error BalanceQueryForZeroAddress();
/**
* Cannot mint to the zero address.
*/
error MintToZeroAddress();
/**
* The quantity of tokens minted must be more than zero.
*/
error MintZeroQuantity();
/**
* The token does not exist.
*/
error OwnerQueryForNonexistentToken();
/**
* The caller must own the token or be an approved operator.
*/
error TransferCallerNotOwnerNorApproved();
/**
* The token must be owned by `from`.
*/
error TransferFromIncorrectOwner();
/**
* Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
*/
error TransferToNonERC721ReceiverImplementer();
/**
* Cannot transfer to the zero address.
*/
error TransferToZeroAddress();
/**
* The token does not exist.
*/
error URIQueryForNonexistentToken();
// Compiler will pack this into a single 256bit word.
struct TokenOwnership {
// The address of the owner.
address addr;
// Keeps track of the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
}
// Compiler will pack this into a single 256bit word.
struct AddressData {
// Realistically, 2**64-1 is more than enough.
uint64 balance;
// Keeps track of mint count with minimal overhead for tokenomics.
uint64 numberMinted;
// Keeps track of burn count with minimal overhead for tokenomics.
uint64 numberBurned;
// For miscellaneous variable(s) pertaining to the address
// (e.g. number of whitelist mint slots used).
// If there are multiple variables, please pack them into a uint64.
uint64 aux;
}
/**
* @dev Returns the total amount of tokens stored by the contract.
*
* Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
*/
function totalSupply() external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)
pragma solidity ^0.8.0;
import "../utils/introspection/IERC165.sol";
/**
* @dev Interface for the NFT Royalty Standard.
*
* A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
* support for royalty payments across all NFT marketplaces and ecosystem participants.
*
* _Available since v4.5._
*/
interface IERC2981 is IERC165 {
/**
* @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
* exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
*/
function royaltyInfo(uint256 tokenId, uint256 salePrice)
external
view
returns (address receiver, uint256 royaltyAmount);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costPerNft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","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":"_sendNftsTo","type":"address[]"},{"internalType":"uint256","name":"_howMany","type":"uint256"}],"name":"giftNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"address","name":"_owner","type":"address"}],"name":"inWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"itemPricePresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataFolderIpfsLink","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftsForOwner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedMetadataFolderIpfsLink","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActiveTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleClaimedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicmintActiveTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"purchaseTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_howMany","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"purchaseTokensPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealFlip","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"uint256","name":"_newCostPerNft","type":"uint256"}],"name":"setCostPerNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newMetadataFolderIpfsLink","type":"string"}],"name":"setMetadataFolderIpfsLink","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedMetadataFolderIpfsLink","type":"string"}],"name":"setNotRevealedMetadataFolderIpfsLink","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presaleActiveTime","type":"uint256"}],"name":"setPresaleActiveTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presaleMaxMint","type":"uint256"}],"name":"setPresaleMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_itemPricePresale","type":"uint256"}],"name":"setPricePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicmintActiveTime","type":"uint256"}],"name":"setSaleActiveTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
60806040526000600b60006101000a81548160ff021916908315150217905550600f600d556107d0600e5566f8b0a10e470000600f5560146010556362a8a2706012556362a750f0601355600560145566b1a2bc2ec500006016553480156200006757600080fd5b506040518060400160405280601481526020017f534e414b455448455245554d43495459434c55420000000000000000000000008152506040518060400160405280600381526020017f53434300000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000ec929190620003dc565b50806003908051906020019062000105929190620003dc565b50620001166200015860201b60201c565b60008190555050506200013e620001326200016160201b60201c565b6200016960201b60201c565b62000152336103e86200022f60201b60201c565b6200060b565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200023f620003d260201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620002a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002979062000513565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000312576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003099062000585565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b828054620003ea90620005d6565b90600052602060002090601f0160209004810192826200040e57600085556200045a565b82601f106200042957805160ff19168380011785556200045a565b828001600101855582156200045a579182015b82811115620004595782518255916020019190600101906200043c565b5b5090506200046991906200046d565b5090565b5b80821115620004885760008160009055506001016200046e565b5090565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000620004fb602a836200048c565b915062000508826200049d565b604082019050919050565b600060208201905081810360008301526200052e81620004ec565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006200056d6019836200048c565b91506200057a8262000535565b602082019050919050565b60006020820190508181036000830152620005a0816200055e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005ef57607f821691505b602082108103620006055762000604620005a7565b5b50919050565b61531e806200061b6000396000f3fe6080604052600436106102ae5760003560e01c8063715018a611610175578063b1e14499116100dc578063d5abeb0111610095578063e985e9c51161006f578063e985e9c514610a60578063f2fde38b14610a9d578063f73c814b14610ac6578063ff010ecf14610aef576102ae565b8063d5abeb01146109cf578063df4305d2146109fa578063e5ec56a014610a23576102ae565b8063b1e14499146108d3578063b4af48b6146108fe578063b4cdf92714610927578063b88d4fde14610952578063c86fcb771461097b578063c87b56dd14610992576102ae565b8063a1575c181161012e578063a1575c18146107d5578063a22cb46514610800578063a2ef60cb14610829578063a8365e5e14610854578063aa98e0c61461087f578063ab84e567146108aa576102ae565b8063715018a6146106f65780637b97008d1461070d5780638da5cb5b1461072957806393eeebda14610754578063946ef42a1461077f57806395d89b41146107aa576102ae565b80632a55205a11610219578063574591c6116101d2578063574591c6146105cf5780635971b465146105eb5780635a94133c146106165780635bab26e21461063f5780636352211e1461067c57806370a08231146106b9576102ae565b80632a55205a146104cd5780633ccfd60b1461050b57806342842e0e14610515578063440bc7f31461053e5780634bc078f41461056757806351830227146105a4576102ae565b806310fd74701161026b57806310fd7470146103d357806318160ddd146103fc5780631b74adf6146104275780631d9a2a5514610450578063239c70ae1461047957806323b872dd146104a4576102ae565b806301ffc9a7146102b357806304634d8d146102f057806306fdde0314610319578063081812fc14610344578063088a4ed014610381578063095ea7b3146103aa575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613d62565b610b18565b6040516102e79190613daa565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613e67565b610b2a565b005b34801561032557600080fd5b5061032e610bb4565b60405161033b9190613f40565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190613f98565b610c46565b6040516103789190613fd4565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190613f98565b610cc2565b005b3480156103b657600080fd5b506103d160048036038101906103cc9190613fef565b610d48565b005b3480156103df57600080fd5b506103fa60048036038101906103f59190613f98565b610e4c565b005b34801561040857600080fd5b50610411610ed2565b60405161041e919061403e565b60405180910390f35b34801561043357600080fd5b5061044e6004803603810190610449919061418e565b610ee9565b005b34801561045c57600080fd5b5061047760048036038101906104729190613f98565b610f7f565b005b34801561048557600080fd5b5061048e611005565b60405161049b919061403e565b60405180910390f35b3480156104b057600080fd5b506104cb60048036038101906104c691906141d7565b61100b565b005b3480156104d957600080fd5b506104f460048036038101906104ef919061422a565b61101b565b60405161050292919061426a565b60405180910390f35b610513611205565b005b34801561052157600080fd5b5061053c600480360381019061053791906141d7565b6112fa565b005b34801561054a57600080fd5b50610565600480360381019061056091906142c9565b61131a565b005b34801561057357600080fd5b5061058e600480360381019061058991906142f6565b6113a0565b60405161059b919061403e565b60405180910390f35b3480156105b057600080fd5b506105b96113b8565b6040516105c69190613daa565b60405180910390f35b6105e960048036038101906105e49190614383565b6113cb565b005b3480156105f757600080fd5b5061060061163c565b60405161060d919061403e565b60405180910390f35b34801561062257600080fd5b5061063d60048036038101906106389190613f98565b611642565b005b34801561064b57600080fd5b50610666600480360381019061066191906142f6565b6116c8565b6040516106739190613daa565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613f98565b6116e8565b6040516106b09190613fd4565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906142f6565b6116fe565b6040516106ed919061403e565b60405180910390f35b34801561070257600080fd5b5061070b6117cd565b005b61072760048036038101906107229190613f98565b611855565b005b34801561073557600080fd5b5061073e6119e8565b60405161074b9190613fd4565b60405180910390f35b34801561076057600080fd5b50610769611a12565b604051610776919061403e565b60405180910390f35b34801561078b57600080fd5b50610794611a18565b6040516107a1919061403e565b60405180910390f35b3480156107b657600080fd5b506107bf611a1e565b6040516107cc9190613f40565b60405180910390f35b3480156107e157600080fd5b506107ea611ab0565b6040516107f7919061403e565b60405180910390f35b34801561080c57600080fd5b506108276004803603810190610822919061440f565b611ab6565b005b34801561083557600080fd5b5061083e611c2d565b60405161084b9190613f40565b60405180910390f35b34801561086057600080fd5b50610869611cbb565b604051610876919061403e565b60405180910390f35b34801561088b57600080fd5b50610894611cc1565b6040516108a1919061445e565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc919061418e565b611cc7565b005b3480156108df57600080fd5b506108e8611d5d565b6040516108f59190613f40565b60405180910390f35b34801561090a57600080fd5b50610925600480360381019061092091906144cf565b611deb565b005b34801561093357600080fd5b5061093c611ee6565b604051610949919061403e565b60405180910390f35b34801561095e57600080fd5b50610979600480360381019061097491906145d0565b611eec565b005b34801561098757600080fd5b50610990611f64565b005b34801561099e57600080fd5b506109b960048036038101906109b49190613f98565b61200c565b6040516109c69190613f40565b60405180910390f35b3480156109db57600080fd5b506109e4612198565b6040516109f1919061403e565b60405180910390f35b348015610a0657600080fd5b50610a216004803603810190610a1c9190613f98565b61219e565b005b348015610a2f57600080fd5b50610a4a6004803603810190610a459190614716565b612224565b604051610a579190613daa565b60405180910390f35b348015610a6c57600080fd5b50610a876004803603810190610a829190614772565b612261565b604051610a949190613daa565b60405180910390f35b348015610aa957600080fd5b50610ac46004803603810190610abf91906142f6565b61246f565b005b348015610ad257600080fd5b50610aed6004803603810190610ae891906142f6565b612566565b005b348015610afb57600080fd5b50610b166004803603810190610b119190613f98565b612689565b005b6000610b238261270f565b9050919050565b610b32612789565b73ffffffffffffffffffffffffffffffffffffffff16610b506119e8565b73ffffffffffffffffffffffffffffffffffffffff1614610ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9d906147fe565b60405180910390fd5b610bb08282612791565b5050565b606060028054610bc39061484d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bef9061484d565b8015610c3c5780601f10610c1157610100808354040283529160200191610c3c565b820191906000526020600020905b815481529060010190602001808311610c1f57829003601f168201915b5050505050905090565b6000610c5182612926565b610c87576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610cca612789565b73ffffffffffffffffffffffffffffffffffffffff16610ce86119e8565b73ffffffffffffffffffffffffffffffffffffffff1614610d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d35906147fe565b60405180910390fd5b80600d8190555050565b6000610d53826116e8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dba576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dd9612789565b73ffffffffffffffffffffffffffffffffffffffff1614610e3c57610e0581610e00612789565b612261565b610e3b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610e47838383612974565b505050565b610e54612789565b73ffffffffffffffffffffffffffffffffffffffff16610e726119e8565b73ffffffffffffffffffffffffffffffffffffffff1614610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf906147fe565b60405180910390fd5b8060138190555050565b6000610edc612a26565b6001546000540303905090565b610ef1612789565b73ffffffffffffffffffffffffffffffffffffffff16610f0f6119e8565b73ffffffffffffffffffffffffffffffffffffffff1614610f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5c906147fe565b60405180910390fd5b80600c9080519060200190610f7b929190613c10565b5050565b610f87612789565b73ffffffffffffffffffffffffffffffffffffffff16610fa56119e8565b73ffffffffffffffffffffffffffffffffffffffff1614610ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff2906147fe565b60405180910390fd5b8060128190555050565b600d5481565b611016838383612a2f565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036111b05760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006111ba612ee3565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866111e691906148ad565b6111f09190614936565b90508160000151819350935050509250929050565b61120d612789565b73ffffffffffffffffffffffffffffffffffffffff1661122b6119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611281576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611278906147fe565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516112a790614998565b60006040518083038185875af1925050503d80600081146112e4576040519150601f19603f3d011682016040523d82523d6000602084013e6112e9565b606091505b50509050806112f757600080fd5b50565b61131583838360405180602001604052806000815250611eec565b505050565b611322612789565b73ffffffffffffffffffffffffffffffffffffffff166113406119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d906147fe565b60405180910390fd5b8060158190555050565b60176020528060005260406000206000915090505481565b600b60009054906101000a900460ff1681565b60006113d5610ed2565b9050600e5460105485836113e991906149ad565b6113f391906149ad565b1115611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90614a4f565b60405180910390fd5b61147f838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505033612224565b6114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590614abb565b60405180910390fd5b6013544211611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f990614b27565b60405180910390fd5b6016548461151091906148ad565b341015611552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154990614b93565b60405180910390fd5b83601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115a191906149ad565b92505081905550601454601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561162c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162390614bff565b60405180910390fd5b6116363385612eed565b50505050565b60105481565b61164a612789565b73ffffffffffffffffffffffffffffffffffffffff166116686119e8565b73ffffffffffffffffffffffffffffffffffffffff16146116be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b5906147fe565b60405180910390fd5b8060168190555050565b60186020528060005260406000206000915054906101000a900460ff1681565b60006116f382612f0b565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611765576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6117d5612789565b73ffffffffffffffffffffffffffffffffffffffff166117f36119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611849576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611840906147fe565b60405180910390fd5b6118536000613196565b565b6012544211611899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189090614c6b565b60405180910390fd5b60006118a3610ed2565b9050600082116118e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118df90614cd7565b60405180910390fd5b600d5482111561192d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192490614d69565b60405180910390fd5b600e54601054838361193f91906149ad565b61194991906149ad565b111561198a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198190614a4f565b60405180910390fd5b81600f5461199891906148ad565b3410156119da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d190614dd5565b60405180910390fd5b6119e43383612eed565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60135481565b60145481565b606060038054611a2d9061484d565b80601f0160208091040260200160405190810160405280929190818152602001828054611a599061484d565b8015611aa65780601f10611a7b57610100808354040283529160200191611aa6565b820191906000526020600020905b815481529060010190602001808311611a8957829003601f168201915b5050505050905090565b600f5481565b611abe612789565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b22576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611b2f612789565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bdc612789565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c219190613daa565b60405180910390a35050565b600c8054611c3a9061484d565b80601f0160208091040260200160405190810160405280929190818152602001828054611c669061484d565b8015611cb35780601f10611c8857610100808354040283529160200191611cb3565b820191906000526020600020905b815481529060010190602001808311611c9657829003601f168201915b505050505081565b60125481565b60155481565b611ccf612789565b73ffffffffffffffffffffffffffffffffffffffff16611ced6119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a906147fe565b60405180910390fd5b8060119080519060200190611d59929190613c10565b5050565b60118054611d6a9061484d565b80601f0160208091040260200160405190810160405280929190818152602001828054611d969061484d565b8015611de35780601f10611db857610100808354040283529160200191611de3565b820191906000526020600020905b815481529060010190602001808311611dc657829003601f168201915b505050505081565b611df3612789565b73ffffffffffffffffffffffffffffffffffffffff16611e116119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e906147fe565b60405180910390fd5b8083839050611e7691906148ad565b60106000828254611e879190614df5565b9250508190555060005b83839050811015611ee057611ecd848483818110611eb257611eb1614e29565b5b9050602002016020810190611ec791906142f6565b83612eed565b8080611ed890614e58565b915050611e91565b50505050565b60165481565b611ef7848484612a2f565b611f168373ffffffffffffffffffffffffffffffffffffffff1661325c565b15611f5e57611f278484848461327f565b611f5d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611f6c612789565b73ffffffffffffffffffffffffffffffffffffffff16611f8a6119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd7906147fe565b60405180910390fd5b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b606061201782612926565b612056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204d90614f12565b60405180910390fd5b60001515600b60009054906101000a900460ff1615150361210357600c805461207e9061484d565b80601f01602080910402602001604051908101604052809291908181526020018280546120aa9061484d565b80156120f75780601f106120cc576101008083540402835291602001916120f7565b820191906000526020600020905b8154815290600101906020018083116120da57829003601f168201915b50505050509050612193565b600061210d6133cf565b9050600081511161212d576040518060200160405280600081525061218f565b8061213784613461565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161217f93929190614f6e565b6040516020818303038152906040525b9150505b919050565b600e5481565b6121a6612789565b73ffffffffffffffffffffffffffffffffffffffff166121c46119e8565b73ffffffffffffffffffffffffffffffffffffffff161461221a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612211906147fe565b60405180910390fd5b8060148190555050565b6000612259836015548460405160200161223e9190614fe7565b604051602081830303815290604052805190602001206135c1565b905092915050565b6000601860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612373575073a5409ec958c83c3f309868babaca7c86dcb077c173ffffffffffffffffffffffffffffffffffffffff1663c4552791846040518263ffffffff1660e01b81526004016123039190613fd4565b602060405180830381865afa158015612320573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123449190615017565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b806123bd575073f849de01b080adc3a814fabe1e2087475cf2e35473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80612407575073f42aa99f011a1fa7cda90e5e98b277e306bca83e73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b806124515750734fee7b061c97c9c496b01dbce9cdb10c02f0a0be73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b6124645761245f83836135d8565b612467565b60015b905092915050565b612477612789565b73ffffffffffffffffffffffffffffffffffffffff166124956119e8565b73ffffffffffffffffffffffffffffffffffffffff16146124eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e2906147fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361255a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612551906150b6565b60405180910390fd5b61256381613196565b50565b61256e612789565b73ffffffffffffffffffffffffffffffffffffffff1661258c6119e8565b73ffffffffffffffffffffffffffffffffffffffff16146125e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d9906147fe565b60405180910390fd5b601860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615601860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b612691612789565b73ffffffffffffffffffffffffffffffffffffffff166126af6119e8565b73ffffffffffffffffffffffffffffffffffffffff1614612705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fc906147fe565b60405180910390fd5b80600f8190555050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061278257506127818261366c565b5b9050919050565b600033905090565b612799612ee3565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156127f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ee90615148565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285d906151b4565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612931612a26565b11158015612940575060005482105b801561296d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612a3a82612f0b565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612aa5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612ac6612789565b73ffffffffffffffffffffffffffffffffffffffff161480612af55750612af485612aef612789565b612261565b5b80612b3a5750612b03612789565b73ffffffffffffffffffffffffffffffffffffffff16612b2284610c46565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612b73576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612bd9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612be6858585600161374e565b612bf260008487612974565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612e71576000548214612e7057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612edc8585856001613754565b5050505050565b6000612710905090565b612f0782826040518060200160405280600081525061375a565b5050565b612f13613c96565b600082905080612f21612a26565b1161315f5760005481101561315e576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161315c57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613040578092505050613191565b5b60011561315b57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613156578092505050613191565b613041565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132a5612789565b8786866040518563ffffffff1660e01b81526004016132c79493929190615229565b6020604051808303816000875af192505050801561330357506040513d601f19601f82011682018060405250810190613300919061528a565b60015b61337c573d8060008114613333576040519150601f19603f3d011682016040523d82523d6000602084013e613338565b606091505b506000815103613374576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601180546133de9061484d565b80601f016020809104026020016040519081016040528092919081815260200182805461340a9061484d565b80156134575780601f1061342c57610100808354040283529160200191613457565b820191906000526020600020905b81548152906001019060200180831161343a57829003601f168201915b5050505050905090565b6060600082036134a8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135bc565b600082905060005b600082146134da5780806134c390614e58565b915050600a826134d39190614936565b91506134b0565b60008167ffffffffffffffff8111156134f6576134f5614063565b5b6040519080825280601f01601f1916602001820160405280156135285781602001600182028036833780820191505090505b5090505b600085146135b5576001826135419190614df5565b9150600a8561355091906152b7565b603061355c91906149ad565b60f81b81838151811061357257613571614e29565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135ae9190614936565b945061352c565b8093505050505b919050565b6000826135ce8584613b1a565b1490509392505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061373757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613747575061374682613b8f565b5b9050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036137c6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303613800576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61380d600085838661374e565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506139ce8673ffffffffffffffffffffffffffffffffffffffff1661325c565b15613a93575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a43600087848060010195508761327f565b613a79576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106139d4578260005414613a8e57600080fd5b613afe565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613a94575b816000819055505050613b146000858386613754565b50505050565b60008082905060005b8451811015613b84576000858281518110613b4157613b40614e29565b5b60200260200101519050808311613b6357613b5c8382613bf9565b9250613b70565b613b6d8184613bf9565b92505b508080613b7c90614e58565b915050613b23565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600082600052816020526040600020905092915050565b828054613c1c9061484d565b90600052602060002090601f016020900481019282613c3e5760008555613c85565b82601f10613c5757805160ff1916838001178555613c85565b82800160010185558215613c85579182015b82811115613c84578251825591602001919060010190613c69565b5b509050613c929190613cd9565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613cf2576000816000905550600101613cda565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d3f81613d0a565b8114613d4a57600080fd5b50565b600081359050613d5c81613d36565b92915050565b600060208284031215613d7857613d77613d00565b5b6000613d8684828501613d4d565b91505092915050565b60008115159050919050565b613da481613d8f565b82525050565b6000602082019050613dbf6000830184613d9b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613df082613dc5565b9050919050565b613e0081613de5565b8114613e0b57600080fd5b50565b600081359050613e1d81613df7565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613e4481613e23565b8114613e4f57600080fd5b50565b600081359050613e6181613e3b565b92915050565b60008060408385031215613e7e57613e7d613d00565b5b6000613e8c85828601613e0e565b9250506020613e9d85828601613e52565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613ee1578082015181840152602081019050613ec6565b83811115613ef0576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f1282613ea7565b613f1c8185613eb2565b9350613f2c818560208601613ec3565b613f3581613ef6565b840191505092915050565b60006020820190508181036000830152613f5a8184613f07565b905092915050565b6000819050919050565b613f7581613f62565b8114613f8057600080fd5b50565b600081359050613f9281613f6c565b92915050565b600060208284031215613fae57613fad613d00565b5b6000613fbc84828501613f83565b91505092915050565b613fce81613de5565b82525050565b6000602082019050613fe96000830184613fc5565b92915050565b6000806040838503121561400657614005613d00565b5b600061401485828601613e0e565b925050602061402585828601613f83565b9150509250929050565b61403881613f62565b82525050565b6000602082019050614053600083018461402f565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61409b82613ef6565b810181811067ffffffffffffffff821117156140ba576140b9614063565b5b80604052505050565b60006140cd613cf6565b90506140d98282614092565b919050565b600067ffffffffffffffff8211156140f9576140f8614063565b5b61410282613ef6565b9050602081019050919050565b82818337600083830152505050565b600061413161412c846140de565b6140c3565b90508281526020810184848401111561414d5761414c61405e565b5b61415884828561410f565b509392505050565b600082601f83011261417557614174614059565b5b813561418584826020860161411e565b91505092915050565b6000602082840312156141a4576141a3613d00565b5b600082013567ffffffffffffffff8111156141c2576141c1613d05565b5b6141ce84828501614160565b91505092915050565b6000806000606084860312156141f0576141ef613d00565b5b60006141fe86828701613e0e565b935050602061420f86828701613e0e565b925050604061422086828701613f83565b9150509250925092565b6000806040838503121561424157614240613d00565b5b600061424f85828601613f83565b925050602061426085828601613f83565b9150509250929050565b600060408201905061427f6000830185613fc5565b61428c602083018461402f565b9392505050565b6000819050919050565b6142a681614293565b81146142b157600080fd5b50565b6000813590506142c38161429d565b92915050565b6000602082840312156142df576142de613d00565b5b60006142ed848285016142b4565b91505092915050565b60006020828403121561430c5761430b613d00565b5b600061431a84828501613e0e565b91505092915050565b600080fd5b600080fd5b60008083601f84011261434357614342614059565b5b8235905067ffffffffffffffff8111156143605761435f614323565b5b60208301915083602082028301111561437c5761437b614328565b5b9250929050565b60008060006040848603121561439c5761439b613d00565b5b60006143aa86828701613f83565b935050602084013567ffffffffffffffff8111156143cb576143ca613d05565b5b6143d78682870161432d565b92509250509250925092565b6143ec81613d8f565b81146143f757600080fd5b50565b600081359050614409816143e3565b92915050565b6000806040838503121561442657614425613d00565b5b600061443485828601613e0e565b9250506020614445858286016143fa565b9150509250929050565b61445881614293565b82525050565b6000602082019050614473600083018461444f565b92915050565b60008083601f84011261448f5761448e614059565b5b8235905067ffffffffffffffff8111156144ac576144ab614323565b5b6020830191508360208202830111156144c8576144c7614328565b5b9250929050565b6000806000604084860312156144e8576144e7613d00565b5b600084013567ffffffffffffffff81111561450657614505613d05565b5b61451286828701614479565b9350935050602061452586828701613f83565b9150509250925092565b600067ffffffffffffffff82111561454a57614549614063565b5b61455382613ef6565b9050602081019050919050565b600061457361456e8461452f565b6140c3565b90508281526020810184848401111561458f5761458e61405e565b5b61459a84828561410f565b509392505050565b600082601f8301126145b7576145b6614059565b5b81356145c7848260208601614560565b91505092915050565b600080600080608085870312156145ea576145e9613d00565b5b60006145f887828801613e0e565b945050602061460987828801613e0e565b935050604061461a87828801613f83565b925050606085013567ffffffffffffffff81111561463b5761463a613d05565b5b614647878288016145a2565b91505092959194509250565b600067ffffffffffffffff82111561466e5761466d614063565b5b602082029050602081019050919050565b600061469261468d84614653565b6140c3565b905080838252602082019050602084028301858111156146b5576146b4614328565b5b835b818110156146de57806146ca88826142b4565b8452602084019350506020810190506146b7565b5050509392505050565b600082601f8301126146fd576146fc614059565b5b813561470d84826020860161467f565b91505092915050565b6000806040838503121561472d5761472c613d00565b5b600083013567ffffffffffffffff81111561474b5761474a613d05565b5b614757858286016146e8565b925050602061476885828601613e0e565b9150509250929050565b6000806040838503121561478957614788613d00565b5b600061479785828601613e0e565b92505060206147a885828601613e0e565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147e8602083613eb2565b91506147f3826147b2565b602082019050919050565b60006020820190508181036000830152614817816147db565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061486557607f821691505b6020821081036148785761487761481e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148b882613f62565b91506148c383613f62565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156148fc576148fb61487e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061494182613f62565b915061494c83613f62565b92508261495c5761495b614907565b5b828204905092915050565b600081905092915050565b50565b6000614982600083614967565b915061498d82614972565b600082019050919050565b60006149a382614975565b9150819050919050565b60006149b882613f62565b91506149c383613f62565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149f8576149f761487e565b5b828201905092915050565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b6000614a39601683613eb2565b9150614a4482614a03565b602082019050919050565b60006020820190508181036000830152614a6881614a2c565b9050919050565b7f596f7520617265206e6f7420696e2070726573616c6500000000000000000000600082015250565b6000614aa5601683613eb2565b9150614ab082614a6f565b602082019050919050565b60006020820190508181036000830152614ad481614a98565b9050919050565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b6000614b11601583613eb2565b9150614b1c82614adb565b602082019050919050565b60006020820190508181036000830152614b4081614b04565b9050919050565b7f54727920746f2073656e64206d6f726520455448000000000000000000000000600082015250565b6000614b7d601483613eb2565b9150614b8882614b47565b602082019050919050565b60006020820190508181036000830152614bac81614b70565b9050919050565b7f50757263686173652065786365656473206d617820616c6c6f77656400000000600082015250565b6000614be9601c83613eb2565b9150614bf482614bb3565b602082019050919050565b60006020820190508181036000830152614c1881614bdc565b9050919050565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b6000614c55601683613eb2565b9150614c6082614c1f565b602082019050919050565b60006020820190508181036000830152614c8481614c48565b9050919050565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b6000614cc1601b83613eb2565b9150614ccc82614c8b565b602082019050919050565b60006020820190508181036000830152614cf081614cb4565b9050919050565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b6000614d53602483613eb2565b9150614d5e82614cf7565b604082019050919050565b60006020820190508181036000830152614d8281614d46565b9050919050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000614dbf601283613eb2565b9150614dca82614d89565b602082019050919050565b60006020820190508181036000830152614dee81614db2565b9050919050565b6000614e0082613f62565b9150614e0b83613f62565b925082821015614e1e57614e1d61487e565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614e6382613f62565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614e9557614e9461487e565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614efc602f83613eb2565b9150614f0782614ea0565b604082019050919050565b60006020820190508181036000830152614f2b81614eef565b9050919050565b600081905092915050565b6000614f4882613ea7565b614f528185614f32565b9350614f62818560208601613ec3565b80840191505092915050565b6000614f7a8286614f3d565b9150614f868285614f3d565b9150614f928284614f3d565b9150819050949350505050565b60008160601b9050919050565b6000614fb782614f9f565b9050919050565b6000614fc982614fac565b9050919050565b614fe1614fdc82613de5565b614fbe565b82525050565b6000614ff38284614fd0565b60148201915081905092915050565b60008151905061501181613df7565b92915050565b60006020828403121561502d5761502c613d00565b5b600061503b84828501615002565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006150a0602683613eb2565b91506150ab82615044565b604082019050919050565b600060208201905081810360008301526150cf81615093565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615132602a83613eb2565b915061513d826150d6565b604082019050919050565b6000602082019050818103600083015261516181615125565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061519e601983613eb2565b91506151a982615168565b602082019050919050565b600060208201905081810360008301526151cd81615191565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151fb826151d4565b61520581856151df565b9350615215818560208601613ec3565b61521e81613ef6565b840191505092915050565b600060808201905061523e6000830187613fc5565b61524b6020830186613fc5565b615258604083018561402f565b818103606083015261526a81846151f0565b905095945050505050565b60008151905061528481613d36565b92915050565b6000602082840312156152a05761529f613d00565b5b60006152ae84828501615275565b91505092915050565b60006152c282613f62565b91506152cd83613f62565b9250826152dd576152dc614907565b5b82820690509291505056fea264697066735822122048be64a200f6e431c843435f1c3b031d24a1b2f0db6ab0ff444bf864db25383064736f6c634300080e0033
Deployed Bytecode
0x6080604052600436106102ae5760003560e01c8063715018a611610175578063b1e14499116100dc578063d5abeb0111610095578063e985e9c51161006f578063e985e9c514610a60578063f2fde38b14610a9d578063f73c814b14610ac6578063ff010ecf14610aef576102ae565b8063d5abeb01146109cf578063df4305d2146109fa578063e5ec56a014610a23576102ae565b8063b1e14499146108d3578063b4af48b6146108fe578063b4cdf92714610927578063b88d4fde14610952578063c86fcb771461097b578063c87b56dd14610992576102ae565b8063a1575c181161012e578063a1575c18146107d5578063a22cb46514610800578063a2ef60cb14610829578063a8365e5e14610854578063aa98e0c61461087f578063ab84e567146108aa576102ae565b8063715018a6146106f65780637b97008d1461070d5780638da5cb5b1461072957806393eeebda14610754578063946ef42a1461077f57806395d89b41146107aa576102ae565b80632a55205a11610219578063574591c6116101d2578063574591c6146105cf5780635971b465146105eb5780635a94133c146106165780635bab26e21461063f5780636352211e1461067c57806370a08231146106b9576102ae565b80632a55205a146104cd5780633ccfd60b1461050b57806342842e0e14610515578063440bc7f31461053e5780634bc078f41461056757806351830227146105a4576102ae565b806310fd74701161026b57806310fd7470146103d357806318160ddd146103fc5780631b74adf6146104275780631d9a2a5514610450578063239c70ae1461047957806323b872dd146104a4576102ae565b806301ffc9a7146102b357806304634d8d146102f057806306fdde0314610319578063081812fc14610344578063088a4ed014610381578063095ea7b3146103aa575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613d62565b610b18565b6040516102e79190613daa565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613e67565b610b2a565b005b34801561032557600080fd5b5061032e610bb4565b60405161033b9190613f40565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190613f98565b610c46565b6040516103789190613fd4565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190613f98565b610cc2565b005b3480156103b657600080fd5b506103d160048036038101906103cc9190613fef565b610d48565b005b3480156103df57600080fd5b506103fa60048036038101906103f59190613f98565b610e4c565b005b34801561040857600080fd5b50610411610ed2565b60405161041e919061403e565b60405180910390f35b34801561043357600080fd5b5061044e6004803603810190610449919061418e565b610ee9565b005b34801561045c57600080fd5b5061047760048036038101906104729190613f98565b610f7f565b005b34801561048557600080fd5b5061048e611005565b60405161049b919061403e565b60405180910390f35b3480156104b057600080fd5b506104cb60048036038101906104c691906141d7565b61100b565b005b3480156104d957600080fd5b506104f460048036038101906104ef919061422a565b61101b565b60405161050292919061426a565b60405180910390f35b610513611205565b005b34801561052157600080fd5b5061053c600480360381019061053791906141d7565b6112fa565b005b34801561054a57600080fd5b50610565600480360381019061056091906142c9565b61131a565b005b34801561057357600080fd5b5061058e600480360381019061058991906142f6565b6113a0565b60405161059b919061403e565b60405180910390f35b3480156105b057600080fd5b506105b96113b8565b6040516105c69190613daa565b60405180910390f35b6105e960048036038101906105e49190614383565b6113cb565b005b3480156105f757600080fd5b5061060061163c565b60405161060d919061403e565b60405180910390f35b34801561062257600080fd5b5061063d60048036038101906106389190613f98565b611642565b005b34801561064b57600080fd5b50610666600480360381019061066191906142f6565b6116c8565b6040516106739190613daa565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613f98565b6116e8565b6040516106b09190613fd4565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906142f6565b6116fe565b6040516106ed919061403e565b60405180910390f35b34801561070257600080fd5b5061070b6117cd565b005b61072760048036038101906107229190613f98565b611855565b005b34801561073557600080fd5b5061073e6119e8565b60405161074b9190613fd4565b60405180910390f35b34801561076057600080fd5b50610769611a12565b604051610776919061403e565b60405180910390f35b34801561078b57600080fd5b50610794611a18565b6040516107a1919061403e565b60405180910390f35b3480156107b657600080fd5b506107bf611a1e565b6040516107cc9190613f40565b60405180910390f35b3480156107e157600080fd5b506107ea611ab0565b6040516107f7919061403e565b60405180910390f35b34801561080c57600080fd5b506108276004803603810190610822919061440f565b611ab6565b005b34801561083557600080fd5b5061083e611c2d565b60405161084b9190613f40565b60405180910390f35b34801561086057600080fd5b50610869611cbb565b604051610876919061403e565b60405180910390f35b34801561088b57600080fd5b50610894611cc1565b6040516108a1919061445e565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc919061418e565b611cc7565b005b3480156108df57600080fd5b506108e8611d5d565b6040516108f59190613f40565b60405180910390f35b34801561090a57600080fd5b50610925600480360381019061092091906144cf565b611deb565b005b34801561093357600080fd5b5061093c611ee6565b604051610949919061403e565b60405180910390f35b34801561095e57600080fd5b50610979600480360381019061097491906145d0565b611eec565b005b34801561098757600080fd5b50610990611f64565b005b34801561099e57600080fd5b506109b960048036038101906109b49190613f98565b61200c565b6040516109c69190613f40565b60405180910390f35b3480156109db57600080fd5b506109e4612198565b6040516109f1919061403e565b60405180910390f35b348015610a0657600080fd5b50610a216004803603810190610a1c9190613f98565b61219e565b005b348015610a2f57600080fd5b50610a4a6004803603810190610a459190614716565b612224565b604051610a579190613daa565b60405180910390f35b348015610a6c57600080fd5b50610a876004803603810190610a829190614772565b612261565b604051610a949190613daa565b60405180910390f35b348015610aa957600080fd5b50610ac46004803603810190610abf91906142f6565b61246f565b005b348015610ad257600080fd5b50610aed6004803603810190610ae891906142f6565b612566565b005b348015610afb57600080fd5b50610b166004803603810190610b119190613f98565b612689565b005b6000610b238261270f565b9050919050565b610b32612789565b73ffffffffffffffffffffffffffffffffffffffff16610b506119e8565b73ffffffffffffffffffffffffffffffffffffffff1614610ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9d906147fe565b60405180910390fd5b610bb08282612791565b5050565b606060028054610bc39061484d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bef9061484d565b8015610c3c5780601f10610c1157610100808354040283529160200191610c3c565b820191906000526020600020905b815481529060010190602001808311610c1f57829003601f168201915b5050505050905090565b6000610c5182612926565b610c87576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610cca612789565b73ffffffffffffffffffffffffffffffffffffffff16610ce86119e8565b73ffffffffffffffffffffffffffffffffffffffff1614610d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d35906147fe565b60405180910390fd5b80600d8190555050565b6000610d53826116e8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dba576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dd9612789565b73ffffffffffffffffffffffffffffffffffffffff1614610e3c57610e0581610e00612789565b612261565b610e3b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610e47838383612974565b505050565b610e54612789565b73ffffffffffffffffffffffffffffffffffffffff16610e726119e8565b73ffffffffffffffffffffffffffffffffffffffff1614610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf906147fe565b60405180910390fd5b8060138190555050565b6000610edc612a26565b6001546000540303905090565b610ef1612789565b73ffffffffffffffffffffffffffffffffffffffff16610f0f6119e8565b73ffffffffffffffffffffffffffffffffffffffff1614610f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5c906147fe565b60405180910390fd5b80600c9080519060200190610f7b929190613c10565b5050565b610f87612789565b73ffffffffffffffffffffffffffffffffffffffff16610fa56119e8565b73ffffffffffffffffffffffffffffffffffffffff1614610ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff2906147fe565b60405180910390fd5b8060128190555050565b600d5481565b611016838383612a2f565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036111b05760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006111ba612ee3565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866111e691906148ad565b6111f09190614936565b90508160000151819350935050509250929050565b61120d612789565b73ffffffffffffffffffffffffffffffffffffffff1661122b6119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611281576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611278906147fe565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516112a790614998565b60006040518083038185875af1925050503d80600081146112e4576040519150601f19603f3d011682016040523d82523d6000602084013e6112e9565b606091505b50509050806112f757600080fd5b50565b61131583838360405180602001604052806000815250611eec565b505050565b611322612789565b73ffffffffffffffffffffffffffffffffffffffff166113406119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d906147fe565b60405180910390fd5b8060158190555050565b60176020528060005260406000206000915090505481565b600b60009054906101000a900460ff1681565b60006113d5610ed2565b9050600e5460105485836113e991906149ad565b6113f391906149ad565b1115611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90614a4f565b60405180910390fd5b61147f838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505033612224565b6114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590614abb565b60405180910390fd5b6013544211611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f990614b27565b60405180910390fd5b6016548461151091906148ad565b341015611552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154990614b93565b60405180910390fd5b83601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115a191906149ad565b92505081905550601454601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561162c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162390614bff565b60405180910390fd5b6116363385612eed565b50505050565b60105481565b61164a612789565b73ffffffffffffffffffffffffffffffffffffffff166116686119e8565b73ffffffffffffffffffffffffffffffffffffffff16146116be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b5906147fe565b60405180910390fd5b8060168190555050565b60186020528060005260406000206000915054906101000a900460ff1681565b60006116f382612f0b565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611765576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6117d5612789565b73ffffffffffffffffffffffffffffffffffffffff166117f36119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611849576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611840906147fe565b60405180910390fd5b6118536000613196565b565b6012544211611899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189090614c6b565b60405180910390fd5b60006118a3610ed2565b9050600082116118e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118df90614cd7565b60405180910390fd5b600d5482111561192d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192490614d69565b60405180910390fd5b600e54601054838361193f91906149ad565b61194991906149ad565b111561198a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198190614a4f565b60405180910390fd5b81600f5461199891906148ad565b3410156119da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d190614dd5565b60405180910390fd5b6119e43383612eed565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60135481565b60145481565b606060038054611a2d9061484d565b80601f0160208091040260200160405190810160405280929190818152602001828054611a599061484d565b8015611aa65780601f10611a7b57610100808354040283529160200191611aa6565b820191906000526020600020905b815481529060010190602001808311611a8957829003601f168201915b5050505050905090565b600f5481565b611abe612789565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b22576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611b2f612789565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bdc612789565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c219190613daa565b60405180910390a35050565b600c8054611c3a9061484d565b80601f0160208091040260200160405190810160405280929190818152602001828054611c669061484d565b8015611cb35780601f10611c8857610100808354040283529160200191611cb3565b820191906000526020600020905b815481529060010190602001808311611c9657829003601f168201915b505050505081565b60125481565b60155481565b611ccf612789565b73ffffffffffffffffffffffffffffffffffffffff16611ced6119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a906147fe565b60405180910390fd5b8060119080519060200190611d59929190613c10565b5050565b60118054611d6a9061484d565b80601f0160208091040260200160405190810160405280929190818152602001828054611d969061484d565b8015611de35780601f10611db857610100808354040283529160200191611de3565b820191906000526020600020905b815481529060010190602001808311611dc657829003601f168201915b505050505081565b611df3612789565b73ffffffffffffffffffffffffffffffffffffffff16611e116119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e906147fe565b60405180910390fd5b8083839050611e7691906148ad565b60106000828254611e879190614df5565b9250508190555060005b83839050811015611ee057611ecd848483818110611eb257611eb1614e29565b5b9050602002016020810190611ec791906142f6565b83612eed565b8080611ed890614e58565b915050611e91565b50505050565b60165481565b611ef7848484612a2f565b611f168373ffffffffffffffffffffffffffffffffffffffff1661325c565b15611f5e57611f278484848461327f565b611f5d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611f6c612789565b73ffffffffffffffffffffffffffffffffffffffff16611f8a6119e8565b73ffffffffffffffffffffffffffffffffffffffff1614611fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd7906147fe565b60405180910390fd5b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b606061201782612926565b612056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204d90614f12565b60405180910390fd5b60001515600b60009054906101000a900460ff1615150361210357600c805461207e9061484d565b80601f01602080910402602001604051908101604052809291908181526020018280546120aa9061484d565b80156120f75780601f106120cc576101008083540402835291602001916120f7565b820191906000526020600020905b8154815290600101906020018083116120da57829003601f168201915b50505050509050612193565b600061210d6133cf565b9050600081511161212d576040518060200160405280600081525061218f565b8061213784613461565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161217f93929190614f6e565b6040516020818303038152906040525b9150505b919050565b600e5481565b6121a6612789565b73ffffffffffffffffffffffffffffffffffffffff166121c46119e8565b73ffffffffffffffffffffffffffffffffffffffff161461221a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612211906147fe565b60405180910390fd5b8060148190555050565b6000612259836015548460405160200161223e9190614fe7565b604051602081830303815290604052805190602001206135c1565b905092915050565b6000601860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612373575073a5409ec958c83c3f309868babaca7c86dcb077c173ffffffffffffffffffffffffffffffffffffffff1663c4552791846040518263ffffffff1660e01b81526004016123039190613fd4565b602060405180830381865afa158015612320573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123449190615017565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b806123bd575073f849de01b080adc3a814fabe1e2087475cf2e35473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80612407575073f42aa99f011a1fa7cda90e5e98b277e306bca83e73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b806124515750734fee7b061c97c9c496b01dbce9cdb10c02f0a0be73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b6124645761245f83836135d8565b612467565b60015b905092915050565b612477612789565b73ffffffffffffffffffffffffffffffffffffffff166124956119e8565b73ffffffffffffffffffffffffffffffffffffffff16146124eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e2906147fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361255a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612551906150b6565b60405180910390fd5b61256381613196565b50565b61256e612789565b73ffffffffffffffffffffffffffffffffffffffff1661258c6119e8565b73ffffffffffffffffffffffffffffffffffffffff16146125e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d9906147fe565b60405180910390fd5b601860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615601860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b612691612789565b73ffffffffffffffffffffffffffffffffffffffff166126af6119e8565b73ffffffffffffffffffffffffffffffffffffffff1614612705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fc906147fe565b60405180910390fd5b80600f8190555050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061278257506127818261366c565b5b9050919050565b600033905090565b612799612ee3565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156127f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ee90615148565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285d906151b4565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612931612a26565b11158015612940575060005482105b801561296d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612a3a82612f0b565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612aa5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612ac6612789565b73ffffffffffffffffffffffffffffffffffffffff161480612af55750612af485612aef612789565b612261565b5b80612b3a5750612b03612789565b73ffffffffffffffffffffffffffffffffffffffff16612b2284610c46565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612b73576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612bd9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612be6858585600161374e565b612bf260008487612974565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612e71576000548214612e7057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612edc8585856001613754565b5050505050565b6000612710905090565b612f0782826040518060200160405280600081525061375a565b5050565b612f13613c96565b600082905080612f21612a26565b1161315f5760005481101561315e576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161315c57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613040578092505050613191565b5b60011561315b57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613156578092505050613191565b613041565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132a5612789565b8786866040518563ffffffff1660e01b81526004016132c79493929190615229565b6020604051808303816000875af192505050801561330357506040513d601f19601f82011682018060405250810190613300919061528a565b60015b61337c573d8060008114613333576040519150601f19603f3d011682016040523d82523d6000602084013e613338565b606091505b506000815103613374576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601180546133de9061484d565b80601f016020809104026020016040519081016040528092919081815260200182805461340a9061484d565b80156134575780601f1061342c57610100808354040283529160200191613457565b820191906000526020600020905b81548152906001019060200180831161343a57829003601f168201915b5050505050905090565b6060600082036134a8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135bc565b600082905060005b600082146134da5780806134c390614e58565b915050600a826134d39190614936565b91506134b0565b60008167ffffffffffffffff8111156134f6576134f5614063565b5b6040519080825280601f01601f1916602001820160405280156135285781602001600182028036833780820191505090505b5090505b600085146135b5576001826135419190614df5565b9150600a8561355091906152b7565b603061355c91906149ad565b60f81b81838151811061357257613571614e29565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135ae9190614936565b945061352c565b8093505050505b919050565b6000826135ce8584613b1a565b1490509392505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061373757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613747575061374682613b8f565b5b9050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036137c6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303613800576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61380d600085838661374e565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506139ce8673ffffffffffffffffffffffffffffffffffffffff1661325c565b15613a93575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a43600087848060010195508761327f565b613a79576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106139d4578260005414613a8e57600080fd5b613afe565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613a94575b816000819055505050613b146000858386613754565b50505050565b60008082905060005b8451811015613b84576000858281518110613b4157613b40614e29565b5b60200260200101519050808311613b6357613b5c8382613bf9565b9250613b70565b613b6d8184613bf9565b92505b508080613b7c90614e58565b915050613b23565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600082600052816020526040600020905092915050565b828054613c1c9061484d565b90600052602060002090601f016020900481019282613c3e5760008555613c85565b82601f10613c5757805160ff1916838001178555613c85565b82800160010185558215613c85579182015b82811115613c84578251825591602001919060010190613c69565b5b509050613c929190613cd9565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613cf2576000816000905550600101613cda565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d3f81613d0a565b8114613d4a57600080fd5b50565b600081359050613d5c81613d36565b92915050565b600060208284031215613d7857613d77613d00565b5b6000613d8684828501613d4d565b91505092915050565b60008115159050919050565b613da481613d8f565b82525050565b6000602082019050613dbf6000830184613d9b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613df082613dc5565b9050919050565b613e0081613de5565b8114613e0b57600080fd5b50565b600081359050613e1d81613df7565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613e4481613e23565b8114613e4f57600080fd5b50565b600081359050613e6181613e3b565b92915050565b60008060408385031215613e7e57613e7d613d00565b5b6000613e8c85828601613e0e565b9250506020613e9d85828601613e52565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613ee1578082015181840152602081019050613ec6565b83811115613ef0576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f1282613ea7565b613f1c8185613eb2565b9350613f2c818560208601613ec3565b613f3581613ef6565b840191505092915050565b60006020820190508181036000830152613f5a8184613f07565b905092915050565b6000819050919050565b613f7581613f62565b8114613f8057600080fd5b50565b600081359050613f9281613f6c565b92915050565b600060208284031215613fae57613fad613d00565b5b6000613fbc84828501613f83565b91505092915050565b613fce81613de5565b82525050565b6000602082019050613fe96000830184613fc5565b92915050565b6000806040838503121561400657614005613d00565b5b600061401485828601613e0e565b925050602061402585828601613f83565b9150509250929050565b61403881613f62565b82525050565b6000602082019050614053600083018461402f565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61409b82613ef6565b810181811067ffffffffffffffff821117156140ba576140b9614063565b5b80604052505050565b60006140cd613cf6565b90506140d98282614092565b919050565b600067ffffffffffffffff8211156140f9576140f8614063565b5b61410282613ef6565b9050602081019050919050565b82818337600083830152505050565b600061413161412c846140de565b6140c3565b90508281526020810184848401111561414d5761414c61405e565b5b61415884828561410f565b509392505050565b600082601f83011261417557614174614059565b5b813561418584826020860161411e565b91505092915050565b6000602082840312156141a4576141a3613d00565b5b600082013567ffffffffffffffff8111156141c2576141c1613d05565b5b6141ce84828501614160565b91505092915050565b6000806000606084860312156141f0576141ef613d00565b5b60006141fe86828701613e0e565b935050602061420f86828701613e0e565b925050604061422086828701613f83565b9150509250925092565b6000806040838503121561424157614240613d00565b5b600061424f85828601613f83565b925050602061426085828601613f83565b9150509250929050565b600060408201905061427f6000830185613fc5565b61428c602083018461402f565b9392505050565b6000819050919050565b6142a681614293565b81146142b157600080fd5b50565b6000813590506142c38161429d565b92915050565b6000602082840312156142df576142de613d00565b5b60006142ed848285016142b4565b91505092915050565b60006020828403121561430c5761430b613d00565b5b600061431a84828501613e0e565b91505092915050565b600080fd5b600080fd5b60008083601f84011261434357614342614059565b5b8235905067ffffffffffffffff8111156143605761435f614323565b5b60208301915083602082028301111561437c5761437b614328565b5b9250929050565b60008060006040848603121561439c5761439b613d00565b5b60006143aa86828701613f83565b935050602084013567ffffffffffffffff8111156143cb576143ca613d05565b5b6143d78682870161432d565b92509250509250925092565b6143ec81613d8f565b81146143f757600080fd5b50565b600081359050614409816143e3565b92915050565b6000806040838503121561442657614425613d00565b5b600061443485828601613e0e565b9250506020614445858286016143fa565b9150509250929050565b61445881614293565b82525050565b6000602082019050614473600083018461444f565b92915050565b60008083601f84011261448f5761448e614059565b5b8235905067ffffffffffffffff8111156144ac576144ab614323565b5b6020830191508360208202830111156144c8576144c7614328565b5b9250929050565b6000806000604084860312156144e8576144e7613d00565b5b600084013567ffffffffffffffff81111561450657614505613d05565b5b61451286828701614479565b9350935050602061452586828701613f83565b9150509250925092565b600067ffffffffffffffff82111561454a57614549614063565b5b61455382613ef6565b9050602081019050919050565b600061457361456e8461452f565b6140c3565b90508281526020810184848401111561458f5761458e61405e565b5b61459a84828561410f565b509392505050565b600082601f8301126145b7576145b6614059565b5b81356145c7848260208601614560565b91505092915050565b600080600080608085870312156145ea576145e9613d00565b5b60006145f887828801613e0e565b945050602061460987828801613e0e565b935050604061461a87828801613f83565b925050606085013567ffffffffffffffff81111561463b5761463a613d05565b5b614647878288016145a2565b91505092959194509250565b600067ffffffffffffffff82111561466e5761466d614063565b5b602082029050602081019050919050565b600061469261468d84614653565b6140c3565b905080838252602082019050602084028301858111156146b5576146b4614328565b5b835b818110156146de57806146ca88826142b4565b8452602084019350506020810190506146b7565b5050509392505050565b600082601f8301126146fd576146fc614059565b5b813561470d84826020860161467f565b91505092915050565b6000806040838503121561472d5761472c613d00565b5b600083013567ffffffffffffffff81111561474b5761474a613d05565b5b614757858286016146e8565b925050602061476885828601613e0e565b9150509250929050565b6000806040838503121561478957614788613d00565b5b600061479785828601613e0e565b92505060206147a885828601613e0e565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147e8602083613eb2565b91506147f3826147b2565b602082019050919050565b60006020820190508181036000830152614817816147db565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061486557607f821691505b6020821081036148785761487761481e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148b882613f62565b91506148c383613f62565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156148fc576148fb61487e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061494182613f62565b915061494c83613f62565b92508261495c5761495b614907565b5b828204905092915050565b600081905092915050565b50565b6000614982600083614967565b915061498d82614972565b600082019050919050565b60006149a382614975565b9150819050919050565b60006149b882613f62565b91506149c383613f62565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149f8576149f761487e565b5b828201905092915050565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b6000614a39601683613eb2565b9150614a4482614a03565b602082019050919050565b60006020820190508181036000830152614a6881614a2c565b9050919050565b7f596f7520617265206e6f7420696e2070726573616c6500000000000000000000600082015250565b6000614aa5601683613eb2565b9150614ab082614a6f565b602082019050919050565b60006020820190508181036000830152614ad481614a98565b9050919050565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b6000614b11601583613eb2565b9150614b1c82614adb565b602082019050919050565b60006020820190508181036000830152614b4081614b04565b9050919050565b7f54727920746f2073656e64206d6f726520455448000000000000000000000000600082015250565b6000614b7d601483613eb2565b9150614b8882614b47565b602082019050919050565b60006020820190508181036000830152614bac81614b70565b9050919050565b7f50757263686173652065786365656473206d617820616c6c6f77656400000000600082015250565b6000614be9601c83613eb2565b9150614bf482614bb3565b602082019050919050565b60006020820190508181036000830152614c1881614bdc565b9050919050565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b6000614c55601683613eb2565b9150614c6082614c1f565b602082019050919050565b60006020820190508181036000830152614c8481614c48565b9050919050565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b6000614cc1601b83613eb2565b9150614ccc82614c8b565b602082019050919050565b60006020820190508181036000830152614cf081614cb4565b9050919050565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b6000614d53602483613eb2565b9150614d5e82614cf7565b604082019050919050565b60006020820190508181036000830152614d8281614d46565b9050919050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000614dbf601283613eb2565b9150614dca82614d89565b602082019050919050565b60006020820190508181036000830152614dee81614db2565b9050919050565b6000614e0082613f62565b9150614e0b83613f62565b925082821015614e1e57614e1d61487e565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614e6382613f62565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614e9557614e9461487e565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614efc602f83613eb2565b9150614f0782614ea0565b604082019050919050565b60006020820190508181036000830152614f2b81614eef565b9050919050565b600081905092915050565b6000614f4882613ea7565b614f528185614f32565b9350614f62818560208601613ec3565b80840191505092915050565b6000614f7a8286614f3d565b9150614f868285614f3d565b9150614f928284614f3d565b9150819050949350505050565b60008160601b9050919050565b6000614fb782614f9f565b9050919050565b6000614fc982614fac565b9050919050565b614fe1614fdc82613de5565b614fbe565b82525050565b6000614ff38284614fd0565b60148201915081905092915050565b60008151905061501181613df7565b92915050565b60006020828403121561502d5761502c613d00565b5b600061503b84828501615002565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006150a0602683613eb2565b91506150ab82615044565b604082019050919050565b600060208201905081810360008301526150cf81615093565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615132602a83613eb2565b915061513d826150d6565b604082019050919050565b6000602082019050818103600083015261516181615125565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061519e601983613eb2565b91506151a982615168565b602082019050919050565b600060208201905081810360008301526151cd81615191565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151fb826151d4565b61520581856151df565b9350615215818560208601613ec3565b61521e81613ef6565b840191505092915050565b600060808201905061523e6000830187613fc5565b61524b6020830186613fc5565b615258604083018561402f565b818103606083015261526a81846151f0565b905095945050505050565b60008151905061528481613d36565b92915050565b6000602082840312156152a05761529f613d00565b5b60006152ae84828501615275565b91505092915050565b60006152c282613f62565b91506152cd83613f62565b9250826152dd576152dc614907565b5b82820690509291505056fea264697066735822122048be64a200f6e431c843435f1c3b031d24a1b2f0db6ab0ff444bf864db25383064736f6c634300080e0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.