Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
777 CUB
Holders
388
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 CUBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Cubies
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 // Copyright (c) Cubies 2022 pragma solidity ^0.8.13; /* * Import ERC721A, Ownable, MerkleProof, ReentrancyGuard, Strings */ import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; /* * Create contract Cubies as ERC721A, Ownable and ReentrancyGuard */ contract Cubies is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; /* * Define default boolean values * @reveal : collection is revealed y/n */ bool public reveal = false; /* * Define default integer values * @wl_cost : whitelist mint price (ether) * @pub_cost : public mint price (ether) * @wl_supply : whitelist mint max supply * @max_supply : max supply * @sale_mode : 0 = disabled, 1 = whitelist, 2 = public * @wl_max_w : cublist max per wallet * @pub_max_w : public max per wallet * @vipcub_bonus : cubyheart/cubychamp max per wallet bonus */ uint256 public wl_cost = 0.059 ether; uint256 public pub_cost = 0.069 ether; uint256 public wl_supply = 5000; uint256 public max_supply = 7777; uint8 public sale_mode = 0; uint8 public wl_max_w = 2; uint8 public pub_max_w = 3; uint8 public vipcub_bonus = 1; /* * Define default hash values * @cublist_hash : cublist wallets merkletree root hash * @cubyheart_hash : cubyheart wallets merkletree root hash * @cubychamp_hash : cubychamp wallets merkletree root hash */ bytes32 public cublist_hash = 0xcf2405bba2204e96479cd0ed572eac38ab75ce0d29d8c3d61ed5d171d761fc4b; bytes32 public cubyheart_hash = 0xc52db4ee8e1309ba14b9dd33e08c7ce44770fc4851894e6490c0305d78c49cde; bytes32 public cubychamp_hash = 0xb9770b6ccc60fbe5741be8d641ec439d17d85ae8ca2c8f5890b1252887d0406b; /* * Define default string values * @baseURI : return revealed collection metadata url * @revealURI : return not revealed collection metadata url */ string public baseURI; string public revealURI = "https://ipfs.io/ipfs/QmUUYLdeLoqsBkhupkprzTf4H9vhLTGp1sUWD4KGAMxmpR"; /* * Define integer address mapping values * @w_mt : sender mint amount * @free_w_mt : sender free mint amount * @allowed_free_mt : number of free mint allowed */ mapping(address => uint256) public w_mt; mapping(address => uint256) public free_w_mt; mapping(address => uint256) public allowed_free_mt; /* * Define boolean address mapping values * @is_cublist : is cublist member y/n * @is_cubyheart : is cubyheart member y/n * @is_cubychamp : is cubychamp member y/n */ mapping(address => bool) public is_cublist; mapping(address => bool) public is_cubyheart; mapping(address => bool) public is_cubychamp; /* * Define token constructor values * @name : Cubies * @symbol : CUB */ constructor() ERC721A("Cubies", "CUB") {} /* * fmint function : free mint * @_amount : mint quantity */ function fMint(uint256 _amount) external payable nonReentrant { require(sale_mode > 0, "free_off"); require(_amount > 0, "no_amount"); require(_amount + totalSupply() <= max_supply, "sup_ex"); require(free_w_mt[msg.sender] + _amount <= allowed_free_mt[msg.sender], "free_max_w_ex"); free_w_mt[msg.sender] = free_w_mt[msg.sender] + _amount; _safeMint(msg.sender, _amount); } /* * wlmint function : cublist * @_amount : mint quantity * @_hash : merkle leaf node hash */ function wlMint(uint256 _amount, bytes32[] calldata _hash) external payable nonReentrant { require(sale_mode == 1, "wl_off"); require(msg.value >= wl_cost * _amount, "ins_funds"); require(_amount > 0, "no_amount"); require(_amount + totalSupply() <= wl_supply , "wl_supply_ex" ); require(w_mt[msg.sender] + _amount <= wl_max_w, "max_w_ex"); if(!is_cublist[msg.sender]) { bytes32 node = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_hash, cublist_hash, node), "hash_e"); } w_mt[msg.sender] = w_mt[msg.sender] + _amount; _safeMint(msg.sender, _amount); } /* * chmint function : cubyheart * @_amount : mint quantity * @_hash : merkle leaf node hash */ function chMint(uint256 _amount, bytes32[] calldata _hash) external payable nonReentrant { require(sale_mode == 1, "wl_off"); require(msg.value >= wl_cost * _amount, "ins_funds"); require(_amount > 0, "no_amount"); require(_amount + totalSupply() <= wl_supply, "wl_supply_ex" ); require(w_mt[msg.sender] + _amount <= wl_max_w + vipcub_bonus, "max_w_ex"); if(!is_cubyheart[msg.sender]) { bytes32 node = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_hash, cubyheart_hash, node), "hash_e"); } w_mt[msg.sender] = w_mt[msg.sender] + _amount; _safeMint(msg.sender, _amount); } /* * ccmint function : cubychamp * @_amount : mint quantity * @_hash : merkle leaf node hash */ function ccMint(uint256 _amount, bytes32[] calldata _hash) external payable nonReentrant { require(sale_mode == 1, "wl_off"); require(msg.value >= wl_cost * _amount, "ins_funds"); require(_amount > 0, "no_amount"); require(_amount + totalSupply() <= wl_supply, "wl_supply_ex" ); require(w_mt[msg.sender] + _amount <= wl_max_w + vipcub_bonus, "max_w_ex"); if(!is_cubychamp[msg.sender]) { bytes32 node = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_hash, cubychamp_hash, node), "hash_e"); } w_mt[msg.sender] = w_mt[msg.sender] + _amount; _safeMint(msg.sender, _amount); } /* * pubmint function : public * @_amount : mint quantity * @_hash : merkle leaf node hash */ function pubMint(uint256 _amount) external payable nonReentrant { require(sale_mode == 2, "pub_off"); require(msg.value >= pub_cost * _amount, "ins_funds"); require(_amount > 0, "no_amount"); require(_amount + totalSupply() <= max_supply, "supply_ex" ); require(w_mt[msg.sender] + _amount <= pub_max_w, "max_w_ex"); w_mt[msg.sender] = w_mt[msg.sender] + _amount; _safeMint(msg.sender, _amount); } /* * withdraw function */ function withdraw() external payable onlyOwner { uint256 contract_balance = address(this).balance; uint256 cubies_withdraw = contract_balance * 96 / 100; uint256 cubyheart_withdraw = contract_balance * 1 / 100; uint256 cubychamp_withdraw = contract_balance * 3 / 100; payable(0x440e464d47f7D3D4Fae74403464F9a3e04F3ee4F).transfer(cubies_withdraw); payable(0xf3b8816F0BA7F2692d989e5eE6Ff62D9e386D941).transfer(cubyheart_withdraw); payable(0x4aD2ae814E4fF1146D052847aa08f4a1949DdF47).transfer(cubychamp_withdraw); } /* * tokenURI function * @_token_id : return the corresponding metadata for the token id */ function tokenURI(uint256 _token_id) public view virtual override returns (string memory) { require(_exists(_token_id), "no_token_id"); return reveal ? string(abi.encodePacked(baseURI, _token_id.toString())) : revealURI; } /* * Replace boolean values * @set_reveal_state : reveal y/n */ function set_reveal_state(bool _new_reveal_state) public onlyOwner { reveal = _new_reveal_state; } /* * Replace integer values * @set_pub_cost : pub_cost uint256 value * @set_wl_supply : wl_supply uint256 value * @set_max_supply : max_supply uint256 value * @set_sale_mode : sale_mode uint256 value * @set_pub_max_w : pub_max_w uint8 value */ function set_pub_cost(uint256 _new_pub_cost) public onlyOwner { pub_cost = _new_pub_cost; } function set_wl_supply(uint256 _new_wl_supply) public onlyOwner { wl_supply = _new_wl_supply; } function set_max_supply(uint256 _new_max_supply) public onlyOwner { max_supply = _new_max_supply; } function set_sale_mode(uint8 _new_sale_mode) public onlyOwner { sale_mode = _new_sale_mode; } function set_pub_max_w(uint8 _new_pub_max_w) public onlyOwner { pub_max_w = _new_pub_max_w; } /* * Replace hash values * @set_cublist_hash : cublist_hash bytes32 hash * @set_cubyheart_hash : cubyheart_hash bytes32 hash * @set_cubychamp_hash : cubychamp_hash bytes32 hash */ function set_cublist_hash(bytes32 _new_cublist_hash) public onlyOwner { cublist_hash = _new_cublist_hash; } function set_cubyheart_hash(bytes32 _new_cubyheart_hash) public onlyOwner { cubyheart_hash = _new_cubyheart_hash; } function set_cubychamp_hash(bytes32 _new_cubychamp_hash) public onlyOwner { cubychamp_hash = _new_cubychamp_hash; } /* * Reaplce string values * @set_base_uri : baseURI string value * @set_reveal_uri : revealURI string value */ function set_base_uri(string memory _new_base_uri) public onlyOwner { baseURI = _new_base_uri; } function set_reveal_uri(string memory _new_reveal_uri) public onlyOwner { revealURI = _new_reveal_uri; } /* * Replace integer mapping values * @edit_free_w_mt_mapping : free_w_mt[address] uint256 value * @edit_allowed_free_mt_mapping : allowed_free_mt[address] uint256 value */ function edit_free_w_mt_mapping(address _wallet, uint256 _new_free_w_mt) public onlyOwner { free_w_mt[_wallet] = _new_free_w_mt; } function edit_allowed_free_mt_mapping(address _wallet, uint256 _new_allowed_free_mt) public onlyOwner { allowed_free_mt[_wallet] = _new_allowed_free_mt; } /* * Address boolean mapping values edit functions * @edit_is_cublist : is_cublist[address] boolean value * @edit_is_cubyheart_state : is_cubyheart[address] boolean value * @edit_is_cubychamp_state : is_cubychamp[address] boolean value */ function edit_is_cublist_state(address _wallet, bool _new_is_cublist_state) public onlyOwner { is_cublist[_wallet] = _new_is_cublist_state; } function edit_is_cubyheart_state(address _wallet, bool _new_is_cubyheart_state) public onlyOwner { is_cubyheart[_wallet] = _new_is_cubyheart_state; } function edit_is_cubychamp_state(address _wallet, bool _new_is_cubychamp_state) public onlyOwner { is_cubychamp[_wallet] = _new_is_cubychamp_state; } /* * Burn function * @burn : remove a token from the supply */ function burn(uint256 _token_id) public onlyOwner { burn(_token_id); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.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'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @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, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // 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; } // 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 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 && 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 && !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() && !_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; } 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 { _mint(to, quantity, _data, true); } /** * @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, bytes memory _data, bool safe ) 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 (safe && 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 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 This is 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.0 (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.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":"","type":"address"}],"name":"allowed_free_mt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_token_id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"_hash","type":"bytes32[]"}],"name":"ccMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"_hash","type":"bytes32[]"}],"name":"chMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cublist_hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cubychamp_hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cubyheart_hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_new_allowed_free_mt","type":"uint256"}],"name":"edit_allowed_free_mt_mapping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_new_free_w_mt","type":"uint256"}],"name":"edit_free_w_mt_mapping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_new_is_cublist_state","type":"bool"}],"name":"edit_is_cublist_state","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_new_is_cubychamp_state","type":"bool"}],"name":"edit_is_cubychamp_state","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_new_is_cubyheart_state","type":"bool"}],"name":"edit_is_cubyheart_state","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"fMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"free_w_mt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"is_cublist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"is_cubychamp","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"is_cubyheart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"pubMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pub_cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pub_max_w","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":[],"name":"sale_mode","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_new_base_uri","type":"string"}],"name":"set_base_uri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_new_cublist_hash","type":"bytes32"}],"name":"set_cublist_hash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_new_cubychamp_hash","type":"bytes32"}],"name":"set_cubychamp_hash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_new_cubyheart_hash","type":"bytes32"}],"name":"set_cubyheart_hash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new_max_supply","type":"uint256"}],"name":"set_max_supply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new_pub_cost","type":"uint256"}],"name":"set_pub_cost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_new_pub_max_w","type":"uint8"}],"name":"set_pub_max_w","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_new_reveal_state","type":"bool"}],"name":"set_reveal_state","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_new_reveal_uri","type":"string"}],"name":"set_reveal_uri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_new_sale_mode","type":"uint8"}],"name":"set_sale_mode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new_wl_supply","type":"uint256"}],"name":"set_wl_supply","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":"_token_id","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":"vipcub_bonus","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"w_mt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"_hash","type":"bytes32[]"}],"name":"wlMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wl_cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wl_max_w","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wl_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600a60006101000a81548160ff02191690831515021790555066d19c2ff9bf8000600b5566f5232269808000600c55611388600d55611e61600e556000600f60006101000a81548160ff021916908360ff1602179055506002600f60016101000a81548160ff021916908360ff1602179055506003600f60026101000a81548160ff021916908360ff1602179055506001600f60036101000a81548160ff021916908360ff1602179055507fcf2405bba2204e96479cd0ed572eac38ab75ce0d29d8c3d61ed5d171d761fc4b60001b6010557fc52db4ee8e1309ba14b9dd33e08c7ce44770fc4851894e6490c0305d78c49cde60001b6011557fb9770b6ccc60fbe5741be8d641ec439d17d85ae8ca2c8f5890b1252887d0406b60001b601255604051806080016040528060438152602001620062756043913960149080519060200190620001579291906200031d565b503480156200016557600080fd5b506040518060400160405280600681526020017f43756269657300000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f43554200000000000000000000000000000000000000000000000000000000008152508160029080519060200190620001ea9291906200031d565b508060039080519060200190620002039291906200031d565b50620002146200024a60201b60201c565b60008190555050506200023c620002306200024f60201b60201c565b6200025760201b60201c565b600160098190555062000431565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200032b90620003fc565b90600052602060002090601f0160209004810192826200034f57600085556200039b565b82601f106200036a57805160ff19168380011785556200039b565b828001600101855582156200039b579182015b828111156200039a5782518255916020019190600101906200037d565b5b509050620003aa9190620003ae565b5090565b5b80821115620003c9576000816000905550600101620003af565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200041557607f821691505b6020821081036200042b576200042a620003cd565b5b50919050565b615e3480620004416000396000f3fe6080604052600436106103975760003560e01c80638d2928ff116101dc578063c1bcd34711610102578063ca725a57116100a0578063e6564fe51161006f578063e6564fe514610cfa578063e985e9c514610d37578063f2fde38b14610d74578063f439909314610d9d57610397565b8063ca725a5714610c6e578063d90397c314610c8a578063e2f81e9c14610cb3578063e601b35d14610ccf57610397565b8063c3a56490116100dc578063c3a5649014610bad578063c7272a8614610bea578063c87b56dd14610c15578063c919dbe914610c5257610397565b8063c1bcd34714610b3d578063c1d9df8d14610b66578063c310ad3214610b8257610397565b8063a37a94ba1161017a578063b0c3528411610149578063b0c3528414610a97578063b88d4fde14610ac2578063b946327814610aeb578063bd742dd814610b1457610397565b8063a37a94ba146109ef578063a475b5dd14610a18578063aa8d6c7414610a43578063af1c521114610a6e57610397565b806395d89b41116101b657806395d89b411461094557806397e3257814610970578063994a91c71461099b578063a22cb465146109c657610397565b80638d2928ff146108c65780638da5cb5b146108f15780638f1ac7b41461091c57610397565b806342966c68116102c157806370a082311161025f578063843360561161022e57806384336056146108205780638934b745146108495780638a333b50146108725780638a938f2f1461089d57610397565b806370a0823114610766578063715018a6146107a35780637de9f45d146107ba5780637f29061d146107f757610397565b80635d88b0be1161029b5780635d88b0be146106aa5780636352211e146106d55780636c0360eb14610712578063700156011461073d57610397565b806342966c6814610607578063512b3fc8146106305780635a4c9a281461066d57610397565b8063160fba561161033957806332f29d551161030857806332f29d551461058f5780633ccfd60b146105b85780633ef0d36d146105c257806342842e0e146105de57610397565b8063160fba56146104e757806318160ddd146105125780631a3671d61461053d57806323b872dd1461056657610397565b806308606a321161037557806308606a3214610441578063095ea7b31461046a57806309ad85dc1461049357806309f3b0e4146104be57610397565b806301ffc9a71461039c57806306fdde03146103d9578063081812fc14610404575b600080fd5b3480156103a857600080fd5b506103c360048036038101906103be9190614a4d565b610dda565b6040516103d09190614a95565b60405180910390f35b3480156103e557600080fd5b506103ee610ebc565b6040516103fb9190614b49565b60405180910390f35b34801561041057600080fd5b5061042b60048036038101906104269190614ba1565b610f4e565b6040516104389190614c0f565b60405180910390f35b34801561044d57600080fd5b5061046860048036038101906104639190614c82565b610fca565b005b34801561047657600080fd5b50610491600480360381019061048c9190614cc2565b6110a1565b005b34801561049f57600080fd5b506104a86111ab565b6040516104b59190614d11565b60405180910390f35b3480156104ca57600080fd5b506104e560048036038101906104e09190614cc2565b6111b1565b005b3480156104f357600080fd5b506104fc611275565b6040516105099190614b49565b60405180910390f35b34801561051e57600080fd5b50610527611303565b6040516105349190614d11565b60405180910390f35b34801561054957600080fd5b50610564600480360381019061055f9190614d2c565b61131a565b005b34801561057257600080fd5b5061058d60048036038101906105889190614d59565b6113b3565b005b34801561059b57600080fd5b506105b660048036038101906105b19190614cc2565b6113c3565b005b6105c0611487565b005b6105dc60048036038101906105d79190614e11565b611676565b005b3480156105ea57600080fd5b5061060560048036038101906106009190614d59565b611a51565b005b34801561061357600080fd5b5061062e60048036038101906106299190614ba1565b611a71565b005b34801561063c57600080fd5b5061065760048036038101906106529190614e71565b611af9565b6040516106649190614d11565b60405180910390f35b34801561067957600080fd5b50610694600480360381019061068f9190614e71565b611b11565b6040516106a19190614a95565b60405180910390f35b3480156106b657600080fd5b506106bf611b31565b6040516106cc9190614eb7565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190614ba1565b611b37565b6040516107099190614c0f565b60405180910390f35b34801561071e57600080fd5b50610727611b4d565b6040516107349190614b49565b60405180910390f35b34801561074957600080fd5b50610764600480360381019061075f9190614c82565b611bdb565b005b34801561077257600080fd5b5061078d60048036038101906107889190614e71565b611cb2565b60405161079a9190614d11565b60405180910390f35b3480156107af57600080fd5b506107b8611d81565b005b3480156107c657600080fd5b506107e160048036038101906107dc9190614e71565b611e09565b6040516107ee9190614a95565b60405180910390f35b34801561080357600080fd5b5061081e60048036038101906108199190614ba1565b611e29565b005b34801561082c57600080fd5b5061084760048036038101906108429190614f0b565b611eaf565b005b34801561085557600080fd5b50610870600480360381019061086b9190614c82565b611f49565b005b34801561087e57600080fd5b50610887612020565b6040516108949190614d11565b60405180910390f35b3480156108a957600080fd5b506108c460048036038101906108bf9190614ba1565b612026565b005b3480156108d257600080fd5b506108db6120ac565b6040516108e89190614eb7565b60405180910390f35b3480156108fd57600080fd5b506109066120b2565b6040516109139190614c0f565b60405180910390f35b34801561092857600080fd5b50610943600480360381019061093e9190614f64565b6120dc565b005b34801561095157600080fd5b5061095a612162565b6040516109679190614b49565b60405180910390f35b34801561097c57600080fd5b506109856121f4565b6040516109929190614fa0565b60405180910390f35b3480156109a757600080fd5b506109b0612207565b6040516109bd9190614eb7565b60405180910390f35b3480156109d257600080fd5b506109ed60048036038101906109e89190614c82565b61220d565b005b3480156109fb57600080fd5b50610a166004803603810190610a119190614f64565b612384565b005b348015610a2457600080fd5b50610a2d61240a565b604051610a3a9190614a95565b60405180910390f35b348015610a4f57600080fd5b50610a5861241d565b604051610a659190614fa0565b60405180910390f35b348015610a7a57600080fd5b50610a956004803603810190610a9091906150eb565b612430565b005b348015610aa357600080fd5b50610aac6124c6565b604051610ab99190614d11565b60405180910390f35b348015610ace57600080fd5b50610ae96004803603810190610ae491906151d5565b6124cc565b005b348015610af757600080fd5b50610b126004803603810190610b0d9190614ba1565b612548565b005b348015610b2057600080fd5b50610b3b6004803603810190610b3691906150eb565b6125ce565b005b348015610b4957600080fd5b50610b646004803603810190610b5f9190614f64565b612664565b005b610b806004803603810190610b7b9190614ba1565b6126ea565b005b348015610b8e57600080fd5b50610b976129b8565b604051610ba49190614d11565b60405180910390f35b348015610bb957600080fd5b50610bd46004803603810190610bcf9190614e71565b6129be565b604051610be19190614a95565b60405180910390f35b348015610bf657600080fd5b50610bff6129de565b604051610c0c9190614fa0565b60405180910390f35b348015610c2157600080fd5b50610c3c6004803603810190610c379190614ba1565b6129f1565b604051610c499190614b49565b60405180910390f35b610c6c6004803603810190610c679190614e11565b612b12565b005b610c886004803603810190610c839190614ba1565b612f07565b005b348015610c9657600080fd5b50610cb16004803603810190610cac9190614f0b565b6131b2565b005b610ccd6004803603810190610cc89190614e11565b61324c565b005b348015610cdb57600080fd5b50610ce4613641565b604051610cf19190614fa0565b60405180910390f35b348015610d0657600080fd5b50610d216004803603810190610d1c9190614e71565b613654565b604051610d2e9190614d11565b60405180910390f35b348015610d4357600080fd5b50610d5e6004803603810190610d599190615258565b61366c565b604051610d6b9190614a95565b60405180910390f35b348015610d8057600080fd5b50610d9b6004803603810190610d969190614e71565b613700565b005b348015610da957600080fd5b50610dc46004803603810190610dbf9190614e71565b6137f7565b604051610dd19190614d11565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ea557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610eb55750610eb48261380f565b5b9050919050565b606060028054610ecb906152c7565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef7906152c7565b8015610f445780601f10610f1957610100808354040283529160200191610f44565b820191906000526020600020905b815481529060010190602001808311610f2757829003601f168201915b5050505050905090565b6000610f5982613879565b610f8f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610fd26138c7565b73ffffffffffffffffffffffffffffffffffffffff16610ff06120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d90615344565b60405180910390fd5b80601a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60006110ac82611b37565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611113576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166111326138c7565b73ffffffffffffffffffffffffffffffffffffffff161415801561116457506111628161115d6138c7565b61366c565b155b1561119b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111a68383836138cf565b505050565b600b5481565b6111b96138c7565b73ffffffffffffffffffffffffffffffffffffffff166111d76120b2565b73ffffffffffffffffffffffffffffffffffffffff161461122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122490615344565b60405180910390fd5b80601760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60148054611282906152c7565b80601f01602080910402602001604051908101604052809291908181526020018280546112ae906152c7565b80156112fb5780601f106112d0576101008083540402835291602001916112fb565b820191906000526020600020905b8154815290600101906020018083116112de57829003601f168201915b505050505081565b600061130d613981565b6001546000540303905090565b6113226138c7565b73ffffffffffffffffffffffffffffffffffffffff166113406120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d90615344565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b6113be838383613986565b505050565b6113cb6138c7565b73ffffffffffffffffffffffffffffffffffffffff166113e96120b2565b73ffffffffffffffffffffffffffffffffffffffff161461143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690615344565b60405180910390fd5b80601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61148f6138c7565b73ffffffffffffffffffffffffffffffffffffffff166114ad6120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fa90615344565b60405180910390fd5b6000479050600060646060836115199190615393565b611523919061541c565b9050600060646001846115369190615393565b611540919061541c565b9050600060646003856115539190615393565b61155d919061541c565b905073440e464d47f7d3d4fae74403464f9a3e04f3ee4f73ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501580156115b9573d6000803e3d6000fd5b5073f3b8816f0ba7f2692d989e5ee6ff62d9e386d94173ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611614573d6000803e3d6000fd5b50734ad2ae814e4ff1146d052847aa08f4a1949ddf4773ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561166f573d6000803e3d6000fd5b5050505050565b6002600954036116bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b290615499565b60405180910390fd5b60026009819055506001600f60009054906101000a900460ff1660ff1614611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f90615505565b60405180910390fd5b82600b546117269190615393565b341015611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90615571565b60405180910390fd5b600083116117ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a2906155dd565b60405180910390fd5b600d546117b6611303565b846117c191906155fd565b1115611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f99061569f565b60405180910390fd5b600f60019054906101000a900460ff1660ff1683601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461186091906155fd565b11156118a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118989061570b565b60405180910390fd5b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119ac576000336040516020016119059190615773565b60405160208183030381529060405280519060200120905061196b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060105483613e3a565b6119aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a1906157da565b60405180910390fd5b505b82601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119f791906155fd565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611a443384613e51565b6001600981905550505050565b611a6c838383604051806020016040528060008152506124cc565b505050565b611a796138c7565b73ffffffffffffffffffffffffffffffffffffffff16611a976120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae490615344565b60405180910390fd5b611af681611a71565b50565b60166020528060005260406000206000915090505481565b601a6020528060005260406000206000915054906101000a900460ff1681565b60105481565b6000611b4282613e6f565b600001519050919050565b60138054611b5a906152c7565b80601f0160208091040260200160405190810160405280929190818152602001828054611b86906152c7565b8015611bd35780601f10611ba857610100808354040283529160200191611bd3565b820191906000526020600020905b815481529060010190602001808311611bb657829003601f168201915b505050505081565b611be36138c7565b73ffffffffffffffffffffffffffffffffffffffff16611c016120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4e90615344565b60405180910390fd5b80601860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d19576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611d896138c7565b73ffffffffffffffffffffffffffffffffffffffff16611da76120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df490615344565b60405180910390fd5b611e0760006140fe565b565b60196020528060005260406000206000915054906101000a900460ff1681565b611e316138c7565b73ffffffffffffffffffffffffffffffffffffffff16611e4f6120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9c90615344565b60405180910390fd5b80600d8190555050565b611eb76138c7565b73ffffffffffffffffffffffffffffffffffffffff16611ed56120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290615344565b60405180910390fd5b80600f60006101000a81548160ff021916908360ff16021790555050565b611f516138c7565b73ffffffffffffffffffffffffffffffffffffffff16611f6f6120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbc90615344565b60405180910390fd5b80601960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600e5481565b61202e6138c7565b73ffffffffffffffffffffffffffffffffffffffff1661204c6120b2565b73ffffffffffffffffffffffffffffffffffffffff16146120a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209990615344565b60405180910390fd5b80600e8190555050565b60125481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6120e46138c7565b73ffffffffffffffffffffffffffffffffffffffff166121026120b2565b73ffffffffffffffffffffffffffffffffffffffff1614612158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214f90615344565b60405180910390fd5b8060108190555050565b606060038054612171906152c7565b80601f016020809104026020016040519081016040528092919081815260200182805461219d906152c7565b80156121ea5780601f106121bf576101008083540402835291602001916121ea565b820191906000526020600020905b8154815290600101906020018083116121cd57829003601f168201915b5050505050905090565b600f60019054906101000a900460ff1681565b60115481565b6122156138c7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612279576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006122866138c7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123336138c7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123789190614a95565b60405180910390a35050565b61238c6138c7565b73ffffffffffffffffffffffffffffffffffffffff166123aa6120b2565b73ffffffffffffffffffffffffffffffffffffffff1614612400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f790615344565b60405180910390fd5b8060128190555050565b600a60009054906101000a900460ff1681565b600f60029054906101000a900460ff1681565b6124386138c7565b73ffffffffffffffffffffffffffffffffffffffff166124566120b2565b73ffffffffffffffffffffffffffffffffffffffff16146124ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a390615344565b60405180910390fd5b80601390805190602001906124c29291906148fb565b5050565b600d5481565b6124d7848484613986565b6124f68373ffffffffffffffffffffffffffffffffffffffff166141c4565b801561250b5750612509848484846141d7565b155b15612542576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6125506138c7565b73ffffffffffffffffffffffffffffffffffffffff1661256e6120b2565b73ffffffffffffffffffffffffffffffffffffffff16146125c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bb90615344565b60405180910390fd5b80600c8190555050565b6125d66138c7565b73ffffffffffffffffffffffffffffffffffffffff166125f46120b2565b73ffffffffffffffffffffffffffffffffffffffff161461264a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264190615344565b60405180910390fd5b80601490805190602001906126609291906148fb565b5050565b61266c6138c7565b73ffffffffffffffffffffffffffffffffffffffff1661268a6120b2565b73ffffffffffffffffffffffffffffffffffffffff16146126e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d790615344565b60405180910390fd5b8060118190555050565b60026009540361272f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272690615499565b60405180910390fd5b60026009819055506002600f60009054906101000a900460ff1660ff161461278c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278390615846565b60405180910390fd5b80600c5461279a9190615393565b3410156127dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d390615571565b60405180910390fd5b6000811161281f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612816906155dd565b60405180910390fd5b600e5461282a611303565b8261283591906155fd565b1115612876576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286d906158b2565b60405180910390fd5b600f60029054906101000a900460ff1660ff1681601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128d491906155fd565b1115612915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290c9061570b565b60405180910390fd5b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461296091906155fd565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506129ad3382613e51565b600160098190555050565b600c5481565b60186020528060005260406000206000915054906101000a900460ff1681565b600f60009054906101000a900460ff1681565b60606129fc82613879565b612a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a329061591e565b60405180910390fd5b600a60009054906101000a900460ff16612adf5760148054612a5c906152c7565b80601f0160208091040260200160405190810160405280929190818152602001828054612a88906152c7565b8015612ad55780601f10612aaa57610100808354040283529160200191612ad5565b820191906000526020600020905b815481529060010190602001808311612ab857829003601f168201915b5050505050612b0b565b6013612aea83614327565b604051602001612afb929190615a0e565b6040516020818303038152906040525b9050919050565b600260095403612b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4e90615499565b60405180910390fd5b60026009819055506001600f60009054906101000a900460ff1660ff1614612bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bab90615505565b60405180910390fd5b82600b54612bc29190615393565b341015612c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfb90615571565b60405180910390fd5b60008311612c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3e906155dd565b60405180910390fd5b600d54612c52611303565b84612c5d91906155fd565b1115612c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c959061569f565b60405180910390fd5b600f60039054906101000a900460ff16600f60019054906101000a900460ff16612cc89190615a32565b60ff1683601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d1691906155fd565b1115612d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4e9061570b565b60405180910390fd5b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612e6257600033604051602001612dbb9190615773565b604051602081830303815290604052805190602001209050612e21838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060125483613e3a565b612e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e57906157da565b60405180910390fd5b505b82601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612ead91906155fd565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612efa3384613e51565b6001600981905550505050565b600260095403612f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4390615499565b60405180910390fd5b60026009819055506000600f60009054906101000a900460ff1660ff1611612fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa090615ab5565b60405180910390fd5b60008111612fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe3906155dd565b60405180910390fd5b600e54612ff7611303565b8261300291906155fd565b1115613043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303a90615b21565b60405180910390fd5b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546130ce91906155fd565b111561310f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310690615b8d565b60405180910390fd5b80601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461315a91906155fd565b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506131a73382613e51565b600160098190555050565b6131ba6138c7565b73ffffffffffffffffffffffffffffffffffffffff166131d86120b2565b73ffffffffffffffffffffffffffffffffffffffff161461322e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322590615344565b60405180910390fd5b80600f60026101000a81548160ff021916908360ff16021790555050565b600260095403613291576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328890615499565b60405180910390fd5b60026009819055506001600f60009054906101000a900460ff1660ff16146132ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e590615505565b60405180910390fd5b82600b546132fc9190615393565b34101561333e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333590615571565b60405180910390fd5b60008311613381576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613378906155dd565b60405180910390fd5b600d5461338c611303565b8461339791906155fd565b11156133d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133cf9061569f565b60405180910390fd5b600f60039054906101000a900460ff16600f60019054906101000a900460ff166134029190615a32565b60ff1683601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461345091906155fd565b1115613491576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134889061570b565b60405180910390fd5b601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661359c576000336040516020016134f59190615773565b60405160208183030381529060405280519060200120905061355b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060115483613e3a565b61359a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613591906157da565b60405180910390fd5b505b82601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135e791906155fd565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506136343384613e51565b6001600981905550505050565b600f60039054906101000a900460ff1681565b60156020528060005260406000206000915090505481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6137086138c7565b73ffffffffffffffffffffffffffffffffffffffff166137266120b2565b73ffffffffffffffffffffffffffffffffffffffff161461377c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377390615344565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036137eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e290615c1f565b60405180910390fd5b6137f4816140fe565b50565b60176020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081613884613981565b11158015613893575060005482105b80156138c0575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061399182613e6f565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146139fc576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16613a1d6138c7565b73ffffffffffffffffffffffffffffffffffffffff161480613a4c5750613a4b85613a466138c7565b61366c565b5b80613a915750613a5a6138c7565b73ffffffffffffffffffffffffffffffffffffffff16613a7984610f4e565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613aca576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603613b30576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613b3d8585856001614487565b613b49600084876138cf565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603613dc8576000548214613dc757878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e33858585600161448d565b5050505050565b600082613e478584614493565b1490509392505050565b613e6b828260405180602001604052806000815250614508565b5050565b613e77614981565b600082905080613e85613981565b11158015613e94575060005481105b156140c7576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516140c557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613fa95780925050506140f9565b5b6001156140c457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146140bf5780925050506140f9565b613faa565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026141fd6138c7565b8786866040518563ffffffff1660e01b815260040161421f9493929190615c94565b6020604051808303816000875af192505050801561425b57506040513d601f19601f820116820180604052508101906142589190615cf5565b60015b6142d4573d806000811461428b576040519150601f19603f3d011682016040523d82523d6000602084013e614290565b606091505b5060008151036142cc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000820361436e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050614482565b600082905060005b600082146143a057808061438990615d22565b915050600a82614399919061541c565b9150614376565b60008167ffffffffffffffff8111156143bc576143bb614fc0565b5b6040519080825280601f01601f1916602001820160405280156143ee5781602001600182028036833780820191505090505b5090505b6000851461447b576001826144079190615d6a565b9150600a856144169190615d9e565b603061442291906155fd565b60f81b81838151811061443857614437615dcf565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85614474919061541c565b94506143f2565b8093505050505b919050565b50505050565b50505050565b60008082905060005b84518110156144fd5760008582815181106144ba576144b9615dcf565b5b602002602001015190508083116144dc576144d5838261451a565b92506144e9565b6144e6818461451a565b92505b5080806144f590615d22565b91505061449c565b508091505092915050565b6145158383836001614531565b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361459d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036145d7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6145e46000868387614487565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156147ae57506147ad8773ffffffffffffffffffffffffffffffffffffffff166141c4565b5b15614873575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461482360008884806001019550886141d7565b614859576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036147b457826000541461486e57600080fd5b6148de565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203614874575b8160008190555050506148f4600086838761448d565b5050505050565b828054614907906152c7565b90600052602060002090601f0160209004810192826149295760008555614970565b82601f1061494257805160ff1916838001178555614970565b82800160010185558215614970579182015b8281111561496f578251825591602001919060010190614954565b5b50905061497d91906149c4565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156149dd5760008160009055506001016149c5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b614a2a816149f5565b8114614a3557600080fd5b50565b600081359050614a4781614a21565b92915050565b600060208284031215614a6357614a626149eb565b5b6000614a7184828501614a38565b91505092915050565b60008115159050919050565b614a8f81614a7a565b82525050565b6000602082019050614aaa6000830184614a86565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614aea578082015181840152602081019050614acf565b83811115614af9576000848401525b50505050565b6000601f19601f8301169050919050565b6000614b1b82614ab0565b614b258185614abb565b9350614b35818560208601614acc565b614b3e81614aff565b840191505092915050565b60006020820190508181036000830152614b638184614b10565b905092915050565b6000819050919050565b614b7e81614b6b565b8114614b8957600080fd5b50565b600081359050614b9b81614b75565b92915050565b600060208284031215614bb757614bb66149eb565b5b6000614bc584828501614b8c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614bf982614bce565b9050919050565b614c0981614bee565b82525050565b6000602082019050614c246000830184614c00565b92915050565b614c3381614bee565b8114614c3e57600080fd5b50565b600081359050614c5081614c2a565b92915050565b614c5f81614a7a565b8114614c6a57600080fd5b50565b600081359050614c7c81614c56565b92915050565b60008060408385031215614c9957614c986149eb565b5b6000614ca785828601614c41565b9250506020614cb885828601614c6d565b9150509250929050565b60008060408385031215614cd957614cd86149eb565b5b6000614ce785828601614c41565b9250506020614cf885828601614b8c565b9150509250929050565b614d0b81614b6b565b82525050565b6000602082019050614d266000830184614d02565b92915050565b600060208284031215614d4257614d416149eb565b5b6000614d5084828501614c6d565b91505092915050565b600080600060608486031215614d7257614d716149eb565b5b6000614d8086828701614c41565b9350506020614d9186828701614c41565b9250506040614da286828701614b8c565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112614dd157614dd0614dac565b5b8235905067ffffffffffffffff811115614dee57614ded614db1565b5b602083019150836020820283011115614e0a57614e09614db6565b5b9250929050565b600080600060408486031215614e2a57614e296149eb565b5b6000614e3886828701614b8c565b935050602084013567ffffffffffffffff811115614e5957614e586149f0565b5b614e6586828701614dbb565b92509250509250925092565b600060208284031215614e8757614e866149eb565b5b6000614e9584828501614c41565b91505092915050565b6000819050919050565b614eb181614e9e565b82525050565b6000602082019050614ecc6000830184614ea8565b92915050565b600060ff82169050919050565b614ee881614ed2565b8114614ef357600080fd5b50565b600081359050614f0581614edf565b92915050565b600060208284031215614f2157614f206149eb565b5b6000614f2f84828501614ef6565b91505092915050565b614f4181614e9e565b8114614f4c57600080fd5b50565b600081359050614f5e81614f38565b92915050565b600060208284031215614f7a57614f796149eb565b5b6000614f8884828501614f4f565b91505092915050565b614f9a81614ed2565b82525050565b6000602082019050614fb56000830184614f91565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614ff882614aff565b810181811067ffffffffffffffff8211171561501757615016614fc0565b5b80604052505050565b600061502a6149e1565b90506150368282614fef565b919050565b600067ffffffffffffffff82111561505657615055614fc0565b5b61505f82614aff565b9050602081019050919050565b82818337600083830152505050565b600061508e6150898461503b565b615020565b9050828152602081018484840111156150aa576150a9614fbb565b5b6150b584828561506c565b509392505050565b600082601f8301126150d2576150d1614dac565b5b81356150e284826020860161507b565b91505092915050565b600060208284031215615101576151006149eb565b5b600082013567ffffffffffffffff81111561511f5761511e6149f0565b5b61512b848285016150bd565b91505092915050565b600067ffffffffffffffff82111561514f5761514e614fc0565b5b61515882614aff565b9050602081019050919050565b600061517861517384615134565b615020565b90508281526020810184848401111561519457615193614fbb565b5b61519f84828561506c565b509392505050565b600082601f8301126151bc576151bb614dac565b5b81356151cc848260208601615165565b91505092915050565b600080600080608085870312156151ef576151ee6149eb565b5b60006151fd87828801614c41565b945050602061520e87828801614c41565b935050604061521f87828801614b8c565b925050606085013567ffffffffffffffff8111156152405761523f6149f0565b5b61524c878288016151a7565b91505092959194509250565b6000806040838503121561526f5761526e6149eb565b5b600061527d85828601614c41565b925050602061528e85828601614c41565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806152df57607f821691505b6020821081036152f2576152f1615298565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061532e602083614abb565b9150615339826152f8565b602082019050919050565b6000602082019050818103600083015261535d81615321565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061539e82614b6b565b91506153a983614b6b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153e2576153e1615364565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061542782614b6b565b915061543283614b6b565b925082615442576154416153ed565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615483601f83614abb565b915061548e8261544d565b602082019050919050565b600060208201905081810360008301526154b281615476565b9050919050565b7f776c5f6f66660000000000000000000000000000000000000000000000000000600082015250565b60006154ef600683614abb565b91506154fa826154b9565b602082019050919050565b6000602082019050818103600083015261551e816154e2565b9050919050565b7f696e735f66756e64730000000000000000000000000000000000000000000000600082015250565b600061555b600983614abb565b915061556682615525565b602082019050919050565b6000602082019050818103600083015261558a8161554e565b9050919050565b7f6e6f5f616d6f756e740000000000000000000000000000000000000000000000600082015250565b60006155c7600983614abb565b91506155d282615591565b602082019050919050565b600060208201905081810360008301526155f6816155ba565b9050919050565b600061560882614b6b565b915061561383614b6b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561564857615647615364565b5b828201905092915050565b7f776c5f737570706c795f65780000000000000000000000000000000000000000600082015250565b6000615689600c83614abb565b915061569482615653565b602082019050919050565b600060208201905081810360008301526156b88161567c565b9050919050565b7f6d61785f775f6578000000000000000000000000000000000000000000000000600082015250565b60006156f5600883614abb565b9150615700826156bf565b602082019050919050565b60006020820190508181036000830152615724816156e8565b9050919050565b60008160601b9050919050565b60006157438261572b565b9050919050565b600061575582615738565b9050919050565b61576d61576882614bee565b61574a565b82525050565b600061577f828461575c565b60148201915081905092915050565b7f686173685f650000000000000000000000000000000000000000000000000000600082015250565b60006157c4600683614abb565b91506157cf8261578e565b602082019050919050565b600060208201905081810360008301526157f3816157b7565b9050919050565b7f7075625f6f666600000000000000000000000000000000000000000000000000600082015250565b6000615830600783614abb565b915061583b826157fa565b602082019050919050565b6000602082019050818103600083015261585f81615823565b9050919050565b7f737570706c795f65780000000000000000000000000000000000000000000000600082015250565b600061589c600983614abb565b91506158a782615866565b602082019050919050565b600060208201905081810360008301526158cb8161588f565b9050919050565b7f6e6f5f746f6b656e5f6964000000000000000000000000000000000000000000600082015250565b6000615908600b83614abb565b9150615913826158d2565b602082019050919050565b60006020820190508181036000830152615937816158fb565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461596b816152c7565b615975818661593e565b9450600182166000811461599057600181146159a1576159d4565b60ff198316865281860193506159d4565b6159aa85615949565b60005b838110156159cc578154818901526001820191506020810190506159ad565b838801955050505b50505092915050565b60006159e882614ab0565b6159f2818561593e565b9350615a02818560208601614acc565b80840191505092915050565b6000615a1a828561595e565b9150615a2682846159dd565b91508190509392505050565b6000615a3d82614ed2565b9150615a4883614ed2565b92508260ff03821115615a5e57615a5d615364565b5b828201905092915050565b7f667265655f6f6666000000000000000000000000000000000000000000000000600082015250565b6000615a9f600883614abb565b9150615aaa82615a69565b602082019050919050565b60006020820190508181036000830152615ace81615a92565b9050919050565b7f7375705f65780000000000000000000000000000000000000000000000000000600082015250565b6000615b0b600683614abb565b9150615b1682615ad5565b602082019050919050565b60006020820190508181036000830152615b3a81615afe565b9050919050565b7f667265655f6d61785f775f657800000000000000000000000000000000000000600082015250565b6000615b77600d83614abb565b9150615b8282615b41565b602082019050919050565b60006020820190508181036000830152615ba681615b6a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615c09602683614abb565b9150615c1482615bad565b604082019050919050565b60006020820190508181036000830152615c3881615bfc565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615c6682615c3f565b615c708185615c4a565b9350615c80818560208601614acc565b615c8981614aff565b840191505092915050565b6000608082019050615ca96000830187614c00565b615cb66020830186614c00565b615cc36040830185614d02565b8181036060830152615cd58184615c5b565b905095945050505050565b600081519050615cef81614a21565b92915050565b600060208284031215615d0b57615d0a6149eb565b5b6000615d1984828501615ce0565b91505092915050565b6000615d2d82614b6b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615d5f57615d5e615364565b5b600182019050919050565b6000615d7582614b6b565b9150615d8083614b6b565b925082821015615d9357615d92615364565b5b828203905092915050565b6000615da982614b6b565b9150615db483614b6b565b925082615dc457615dc36153ed565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220b1096b11ecad9c8c2f5748b0824199e5345d623b4eff6c25033b1f1d671e5d3064736f6c634300080d003368747470733a2f2f697066732e696f2f697066732f516d5555594c64654c6f7173426b6875706b70727a546634483976684c5447703173555744344b47414d786d7052
Deployed Bytecode
0x6080604052600436106103975760003560e01c80638d2928ff116101dc578063c1bcd34711610102578063ca725a57116100a0578063e6564fe51161006f578063e6564fe514610cfa578063e985e9c514610d37578063f2fde38b14610d74578063f439909314610d9d57610397565b8063ca725a5714610c6e578063d90397c314610c8a578063e2f81e9c14610cb3578063e601b35d14610ccf57610397565b8063c3a56490116100dc578063c3a5649014610bad578063c7272a8614610bea578063c87b56dd14610c15578063c919dbe914610c5257610397565b8063c1bcd34714610b3d578063c1d9df8d14610b66578063c310ad3214610b8257610397565b8063a37a94ba1161017a578063b0c3528411610149578063b0c3528414610a97578063b88d4fde14610ac2578063b946327814610aeb578063bd742dd814610b1457610397565b8063a37a94ba146109ef578063a475b5dd14610a18578063aa8d6c7414610a43578063af1c521114610a6e57610397565b806395d89b41116101b657806395d89b411461094557806397e3257814610970578063994a91c71461099b578063a22cb465146109c657610397565b80638d2928ff146108c65780638da5cb5b146108f15780638f1ac7b41461091c57610397565b806342966c68116102c157806370a082311161025f578063843360561161022e57806384336056146108205780638934b745146108495780638a333b50146108725780638a938f2f1461089d57610397565b806370a0823114610766578063715018a6146107a35780637de9f45d146107ba5780637f29061d146107f757610397565b80635d88b0be1161029b5780635d88b0be146106aa5780636352211e146106d55780636c0360eb14610712578063700156011461073d57610397565b806342966c6814610607578063512b3fc8146106305780635a4c9a281461066d57610397565b8063160fba561161033957806332f29d551161030857806332f29d551461058f5780633ccfd60b146105b85780633ef0d36d146105c257806342842e0e146105de57610397565b8063160fba56146104e757806318160ddd146105125780631a3671d61461053d57806323b872dd1461056657610397565b806308606a321161037557806308606a3214610441578063095ea7b31461046a57806309ad85dc1461049357806309f3b0e4146104be57610397565b806301ffc9a71461039c57806306fdde03146103d9578063081812fc14610404575b600080fd5b3480156103a857600080fd5b506103c360048036038101906103be9190614a4d565b610dda565b6040516103d09190614a95565b60405180910390f35b3480156103e557600080fd5b506103ee610ebc565b6040516103fb9190614b49565b60405180910390f35b34801561041057600080fd5b5061042b60048036038101906104269190614ba1565b610f4e565b6040516104389190614c0f565b60405180910390f35b34801561044d57600080fd5b5061046860048036038101906104639190614c82565b610fca565b005b34801561047657600080fd5b50610491600480360381019061048c9190614cc2565b6110a1565b005b34801561049f57600080fd5b506104a86111ab565b6040516104b59190614d11565b60405180910390f35b3480156104ca57600080fd5b506104e560048036038101906104e09190614cc2565b6111b1565b005b3480156104f357600080fd5b506104fc611275565b6040516105099190614b49565b60405180910390f35b34801561051e57600080fd5b50610527611303565b6040516105349190614d11565b60405180910390f35b34801561054957600080fd5b50610564600480360381019061055f9190614d2c565b61131a565b005b34801561057257600080fd5b5061058d60048036038101906105889190614d59565b6113b3565b005b34801561059b57600080fd5b506105b660048036038101906105b19190614cc2565b6113c3565b005b6105c0611487565b005b6105dc60048036038101906105d79190614e11565b611676565b005b3480156105ea57600080fd5b5061060560048036038101906106009190614d59565b611a51565b005b34801561061357600080fd5b5061062e60048036038101906106299190614ba1565b611a71565b005b34801561063c57600080fd5b5061065760048036038101906106529190614e71565b611af9565b6040516106649190614d11565b60405180910390f35b34801561067957600080fd5b50610694600480360381019061068f9190614e71565b611b11565b6040516106a19190614a95565b60405180910390f35b3480156106b657600080fd5b506106bf611b31565b6040516106cc9190614eb7565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190614ba1565b611b37565b6040516107099190614c0f565b60405180910390f35b34801561071e57600080fd5b50610727611b4d565b6040516107349190614b49565b60405180910390f35b34801561074957600080fd5b50610764600480360381019061075f9190614c82565b611bdb565b005b34801561077257600080fd5b5061078d60048036038101906107889190614e71565b611cb2565b60405161079a9190614d11565b60405180910390f35b3480156107af57600080fd5b506107b8611d81565b005b3480156107c657600080fd5b506107e160048036038101906107dc9190614e71565b611e09565b6040516107ee9190614a95565b60405180910390f35b34801561080357600080fd5b5061081e60048036038101906108199190614ba1565b611e29565b005b34801561082c57600080fd5b5061084760048036038101906108429190614f0b565b611eaf565b005b34801561085557600080fd5b50610870600480360381019061086b9190614c82565b611f49565b005b34801561087e57600080fd5b50610887612020565b6040516108949190614d11565b60405180910390f35b3480156108a957600080fd5b506108c460048036038101906108bf9190614ba1565b612026565b005b3480156108d257600080fd5b506108db6120ac565b6040516108e89190614eb7565b60405180910390f35b3480156108fd57600080fd5b506109066120b2565b6040516109139190614c0f565b60405180910390f35b34801561092857600080fd5b50610943600480360381019061093e9190614f64565b6120dc565b005b34801561095157600080fd5b5061095a612162565b6040516109679190614b49565b60405180910390f35b34801561097c57600080fd5b506109856121f4565b6040516109929190614fa0565b60405180910390f35b3480156109a757600080fd5b506109b0612207565b6040516109bd9190614eb7565b60405180910390f35b3480156109d257600080fd5b506109ed60048036038101906109e89190614c82565b61220d565b005b3480156109fb57600080fd5b50610a166004803603810190610a119190614f64565b612384565b005b348015610a2457600080fd5b50610a2d61240a565b604051610a3a9190614a95565b60405180910390f35b348015610a4f57600080fd5b50610a5861241d565b604051610a659190614fa0565b60405180910390f35b348015610a7a57600080fd5b50610a956004803603810190610a9091906150eb565b612430565b005b348015610aa357600080fd5b50610aac6124c6565b604051610ab99190614d11565b60405180910390f35b348015610ace57600080fd5b50610ae96004803603810190610ae491906151d5565b6124cc565b005b348015610af757600080fd5b50610b126004803603810190610b0d9190614ba1565b612548565b005b348015610b2057600080fd5b50610b3b6004803603810190610b3691906150eb565b6125ce565b005b348015610b4957600080fd5b50610b646004803603810190610b5f9190614f64565b612664565b005b610b806004803603810190610b7b9190614ba1565b6126ea565b005b348015610b8e57600080fd5b50610b976129b8565b604051610ba49190614d11565b60405180910390f35b348015610bb957600080fd5b50610bd46004803603810190610bcf9190614e71565b6129be565b604051610be19190614a95565b60405180910390f35b348015610bf657600080fd5b50610bff6129de565b604051610c0c9190614fa0565b60405180910390f35b348015610c2157600080fd5b50610c3c6004803603810190610c379190614ba1565b6129f1565b604051610c499190614b49565b60405180910390f35b610c6c6004803603810190610c679190614e11565b612b12565b005b610c886004803603810190610c839190614ba1565b612f07565b005b348015610c9657600080fd5b50610cb16004803603810190610cac9190614f0b565b6131b2565b005b610ccd6004803603810190610cc89190614e11565b61324c565b005b348015610cdb57600080fd5b50610ce4613641565b604051610cf19190614fa0565b60405180910390f35b348015610d0657600080fd5b50610d216004803603810190610d1c9190614e71565b613654565b604051610d2e9190614d11565b60405180910390f35b348015610d4357600080fd5b50610d5e6004803603810190610d599190615258565b61366c565b604051610d6b9190614a95565b60405180910390f35b348015610d8057600080fd5b50610d9b6004803603810190610d969190614e71565b613700565b005b348015610da957600080fd5b50610dc46004803603810190610dbf9190614e71565b6137f7565b604051610dd19190614d11565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ea557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610eb55750610eb48261380f565b5b9050919050565b606060028054610ecb906152c7565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef7906152c7565b8015610f445780601f10610f1957610100808354040283529160200191610f44565b820191906000526020600020905b815481529060010190602001808311610f2757829003601f168201915b5050505050905090565b6000610f5982613879565b610f8f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610fd26138c7565b73ffffffffffffffffffffffffffffffffffffffff16610ff06120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d90615344565b60405180910390fd5b80601a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60006110ac82611b37565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611113576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166111326138c7565b73ffffffffffffffffffffffffffffffffffffffff161415801561116457506111628161115d6138c7565b61366c565b155b1561119b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111a68383836138cf565b505050565b600b5481565b6111b96138c7565b73ffffffffffffffffffffffffffffffffffffffff166111d76120b2565b73ffffffffffffffffffffffffffffffffffffffff161461122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122490615344565b60405180910390fd5b80601760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60148054611282906152c7565b80601f01602080910402602001604051908101604052809291908181526020018280546112ae906152c7565b80156112fb5780601f106112d0576101008083540402835291602001916112fb565b820191906000526020600020905b8154815290600101906020018083116112de57829003601f168201915b505050505081565b600061130d613981565b6001546000540303905090565b6113226138c7565b73ffffffffffffffffffffffffffffffffffffffff166113406120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d90615344565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b6113be838383613986565b505050565b6113cb6138c7565b73ffffffffffffffffffffffffffffffffffffffff166113e96120b2565b73ffffffffffffffffffffffffffffffffffffffff161461143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690615344565b60405180910390fd5b80601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61148f6138c7565b73ffffffffffffffffffffffffffffffffffffffff166114ad6120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fa90615344565b60405180910390fd5b6000479050600060646060836115199190615393565b611523919061541c565b9050600060646001846115369190615393565b611540919061541c565b9050600060646003856115539190615393565b61155d919061541c565b905073440e464d47f7d3d4fae74403464f9a3e04f3ee4f73ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501580156115b9573d6000803e3d6000fd5b5073f3b8816f0ba7f2692d989e5ee6ff62d9e386d94173ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611614573d6000803e3d6000fd5b50734ad2ae814e4ff1146d052847aa08f4a1949ddf4773ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561166f573d6000803e3d6000fd5b5050505050565b6002600954036116bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b290615499565b60405180910390fd5b60026009819055506001600f60009054906101000a900460ff1660ff1614611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f90615505565b60405180910390fd5b82600b546117269190615393565b341015611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90615571565b60405180910390fd5b600083116117ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a2906155dd565b60405180910390fd5b600d546117b6611303565b846117c191906155fd565b1115611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f99061569f565b60405180910390fd5b600f60019054906101000a900460ff1660ff1683601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461186091906155fd565b11156118a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118989061570b565b60405180910390fd5b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119ac576000336040516020016119059190615773565b60405160208183030381529060405280519060200120905061196b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060105483613e3a565b6119aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a1906157da565b60405180910390fd5b505b82601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119f791906155fd565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611a443384613e51565b6001600981905550505050565b611a6c838383604051806020016040528060008152506124cc565b505050565b611a796138c7565b73ffffffffffffffffffffffffffffffffffffffff16611a976120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae490615344565b60405180910390fd5b611af681611a71565b50565b60166020528060005260406000206000915090505481565b601a6020528060005260406000206000915054906101000a900460ff1681565b60105481565b6000611b4282613e6f565b600001519050919050565b60138054611b5a906152c7565b80601f0160208091040260200160405190810160405280929190818152602001828054611b86906152c7565b8015611bd35780601f10611ba857610100808354040283529160200191611bd3565b820191906000526020600020905b815481529060010190602001808311611bb657829003601f168201915b505050505081565b611be36138c7565b73ffffffffffffffffffffffffffffffffffffffff16611c016120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4e90615344565b60405180910390fd5b80601860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d19576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611d896138c7565b73ffffffffffffffffffffffffffffffffffffffff16611da76120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df490615344565b60405180910390fd5b611e0760006140fe565b565b60196020528060005260406000206000915054906101000a900460ff1681565b611e316138c7565b73ffffffffffffffffffffffffffffffffffffffff16611e4f6120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9c90615344565b60405180910390fd5b80600d8190555050565b611eb76138c7565b73ffffffffffffffffffffffffffffffffffffffff16611ed56120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290615344565b60405180910390fd5b80600f60006101000a81548160ff021916908360ff16021790555050565b611f516138c7565b73ffffffffffffffffffffffffffffffffffffffff16611f6f6120b2565b73ffffffffffffffffffffffffffffffffffffffff1614611fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbc90615344565b60405180910390fd5b80601960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600e5481565b61202e6138c7565b73ffffffffffffffffffffffffffffffffffffffff1661204c6120b2565b73ffffffffffffffffffffffffffffffffffffffff16146120a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209990615344565b60405180910390fd5b80600e8190555050565b60125481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6120e46138c7565b73ffffffffffffffffffffffffffffffffffffffff166121026120b2565b73ffffffffffffffffffffffffffffffffffffffff1614612158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214f90615344565b60405180910390fd5b8060108190555050565b606060038054612171906152c7565b80601f016020809104026020016040519081016040528092919081815260200182805461219d906152c7565b80156121ea5780601f106121bf576101008083540402835291602001916121ea565b820191906000526020600020905b8154815290600101906020018083116121cd57829003601f168201915b5050505050905090565b600f60019054906101000a900460ff1681565b60115481565b6122156138c7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612279576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006122866138c7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123336138c7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123789190614a95565b60405180910390a35050565b61238c6138c7565b73ffffffffffffffffffffffffffffffffffffffff166123aa6120b2565b73ffffffffffffffffffffffffffffffffffffffff1614612400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f790615344565b60405180910390fd5b8060128190555050565b600a60009054906101000a900460ff1681565b600f60029054906101000a900460ff1681565b6124386138c7565b73ffffffffffffffffffffffffffffffffffffffff166124566120b2565b73ffffffffffffffffffffffffffffffffffffffff16146124ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a390615344565b60405180910390fd5b80601390805190602001906124c29291906148fb565b5050565b600d5481565b6124d7848484613986565b6124f68373ffffffffffffffffffffffffffffffffffffffff166141c4565b801561250b5750612509848484846141d7565b155b15612542576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6125506138c7565b73ffffffffffffffffffffffffffffffffffffffff1661256e6120b2565b73ffffffffffffffffffffffffffffffffffffffff16146125c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bb90615344565b60405180910390fd5b80600c8190555050565b6125d66138c7565b73ffffffffffffffffffffffffffffffffffffffff166125f46120b2565b73ffffffffffffffffffffffffffffffffffffffff161461264a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264190615344565b60405180910390fd5b80601490805190602001906126609291906148fb565b5050565b61266c6138c7565b73ffffffffffffffffffffffffffffffffffffffff1661268a6120b2565b73ffffffffffffffffffffffffffffffffffffffff16146126e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d790615344565b60405180910390fd5b8060118190555050565b60026009540361272f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272690615499565b60405180910390fd5b60026009819055506002600f60009054906101000a900460ff1660ff161461278c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278390615846565b60405180910390fd5b80600c5461279a9190615393565b3410156127dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d390615571565b60405180910390fd5b6000811161281f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612816906155dd565b60405180910390fd5b600e5461282a611303565b8261283591906155fd565b1115612876576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286d906158b2565b60405180910390fd5b600f60029054906101000a900460ff1660ff1681601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128d491906155fd565b1115612915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290c9061570b565b60405180910390fd5b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461296091906155fd565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506129ad3382613e51565b600160098190555050565b600c5481565b60186020528060005260406000206000915054906101000a900460ff1681565b600f60009054906101000a900460ff1681565b60606129fc82613879565b612a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a329061591e565b60405180910390fd5b600a60009054906101000a900460ff16612adf5760148054612a5c906152c7565b80601f0160208091040260200160405190810160405280929190818152602001828054612a88906152c7565b8015612ad55780601f10612aaa57610100808354040283529160200191612ad5565b820191906000526020600020905b815481529060010190602001808311612ab857829003601f168201915b5050505050612b0b565b6013612aea83614327565b604051602001612afb929190615a0e565b6040516020818303038152906040525b9050919050565b600260095403612b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4e90615499565b60405180910390fd5b60026009819055506001600f60009054906101000a900460ff1660ff1614612bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bab90615505565b60405180910390fd5b82600b54612bc29190615393565b341015612c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfb90615571565b60405180910390fd5b60008311612c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3e906155dd565b60405180910390fd5b600d54612c52611303565b84612c5d91906155fd565b1115612c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c959061569f565b60405180910390fd5b600f60039054906101000a900460ff16600f60019054906101000a900460ff16612cc89190615a32565b60ff1683601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d1691906155fd565b1115612d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4e9061570b565b60405180910390fd5b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612e6257600033604051602001612dbb9190615773565b604051602081830303815290604052805190602001209050612e21838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060125483613e3a565b612e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e57906157da565b60405180910390fd5b505b82601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612ead91906155fd565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612efa3384613e51565b6001600981905550505050565b600260095403612f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4390615499565b60405180910390fd5b60026009819055506000600f60009054906101000a900460ff1660ff1611612fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa090615ab5565b60405180910390fd5b60008111612fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe3906155dd565b60405180910390fd5b600e54612ff7611303565b8261300291906155fd565b1115613043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303a90615b21565b60405180910390fd5b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546130ce91906155fd565b111561310f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310690615b8d565b60405180910390fd5b80601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461315a91906155fd565b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506131a73382613e51565b600160098190555050565b6131ba6138c7565b73ffffffffffffffffffffffffffffffffffffffff166131d86120b2565b73ffffffffffffffffffffffffffffffffffffffff161461322e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322590615344565b60405180910390fd5b80600f60026101000a81548160ff021916908360ff16021790555050565b600260095403613291576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328890615499565b60405180910390fd5b60026009819055506001600f60009054906101000a900460ff1660ff16146132ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e590615505565b60405180910390fd5b82600b546132fc9190615393565b34101561333e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333590615571565b60405180910390fd5b60008311613381576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613378906155dd565b60405180910390fd5b600d5461338c611303565b8461339791906155fd565b11156133d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133cf9061569f565b60405180910390fd5b600f60039054906101000a900460ff16600f60019054906101000a900460ff166134029190615a32565b60ff1683601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461345091906155fd565b1115613491576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134889061570b565b60405180910390fd5b601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661359c576000336040516020016134f59190615773565b60405160208183030381529060405280519060200120905061355b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060115483613e3a565b61359a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613591906157da565b60405180910390fd5b505b82601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135e791906155fd565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506136343384613e51565b6001600981905550505050565b600f60039054906101000a900460ff1681565b60156020528060005260406000206000915090505481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6137086138c7565b73ffffffffffffffffffffffffffffffffffffffff166137266120b2565b73ffffffffffffffffffffffffffffffffffffffff161461377c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377390615344565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036137eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e290615c1f565b60405180910390fd5b6137f4816140fe565b50565b60176020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081613884613981565b11158015613893575060005482105b80156138c0575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061399182613e6f565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146139fc576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16613a1d6138c7565b73ffffffffffffffffffffffffffffffffffffffff161480613a4c5750613a4b85613a466138c7565b61366c565b5b80613a915750613a5a6138c7565b73ffffffffffffffffffffffffffffffffffffffff16613a7984610f4e565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613aca576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603613b30576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613b3d8585856001614487565b613b49600084876138cf565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603613dc8576000548214613dc757878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e33858585600161448d565b5050505050565b600082613e478584614493565b1490509392505050565b613e6b828260405180602001604052806000815250614508565b5050565b613e77614981565b600082905080613e85613981565b11158015613e94575060005481105b156140c7576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516140c557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613fa95780925050506140f9565b5b6001156140c457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146140bf5780925050506140f9565b613faa565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026141fd6138c7565b8786866040518563ffffffff1660e01b815260040161421f9493929190615c94565b6020604051808303816000875af192505050801561425b57506040513d601f19601f820116820180604052508101906142589190615cf5565b60015b6142d4573d806000811461428b576040519150601f19603f3d011682016040523d82523d6000602084013e614290565b606091505b5060008151036142cc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000820361436e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050614482565b600082905060005b600082146143a057808061438990615d22565b915050600a82614399919061541c565b9150614376565b60008167ffffffffffffffff8111156143bc576143bb614fc0565b5b6040519080825280601f01601f1916602001820160405280156143ee5781602001600182028036833780820191505090505b5090505b6000851461447b576001826144079190615d6a565b9150600a856144169190615d9e565b603061442291906155fd565b60f81b81838151811061443857614437615dcf565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85614474919061541c565b94506143f2565b8093505050505b919050565b50505050565b50505050565b60008082905060005b84518110156144fd5760008582815181106144ba576144b9615dcf565b5b602002602001015190508083116144dc576144d5838261451a565b92506144e9565b6144e6818461451a565b92505b5080806144f590615d22565b91505061449c565b508091505092915050565b6145158383836001614531565b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361459d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036145d7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6145e46000868387614487565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156147ae57506147ad8773ffffffffffffffffffffffffffffffffffffffff166141c4565b5b15614873575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461482360008884806001019550886141d7565b614859576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036147b457826000541461486e57600080fd5b6148de565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203614874575b8160008190555050506148f4600086838761448d565b5050505050565b828054614907906152c7565b90600052602060002090601f0160209004810192826149295760008555614970565b82601f1061494257805160ff1916838001178555614970565b82800160010185558215614970579182015b8281111561496f578251825591602001919060010190614954565b5b50905061497d91906149c4565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156149dd5760008160009055506001016149c5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b614a2a816149f5565b8114614a3557600080fd5b50565b600081359050614a4781614a21565b92915050565b600060208284031215614a6357614a626149eb565b5b6000614a7184828501614a38565b91505092915050565b60008115159050919050565b614a8f81614a7a565b82525050565b6000602082019050614aaa6000830184614a86565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614aea578082015181840152602081019050614acf565b83811115614af9576000848401525b50505050565b6000601f19601f8301169050919050565b6000614b1b82614ab0565b614b258185614abb565b9350614b35818560208601614acc565b614b3e81614aff565b840191505092915050565b60006020820190508181036000830152614b638184614b10565b905092915050565b6000819050919050565b614b7e81614b6b565b8114614b8957600080fd5b50565b600081359050614b9b81614b75565b92915050565b600060208284031215614bb757614bb66149eb565b5b6000614bc584828501614b8c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614bf982614bce565b9050919050565b614c0981614bee565b82525050565b6000602082019050614c246000830184614c00565b92915050565b614c3381614bee565b8114614c3e57600080fd5b50565b600081359050614c5081614c2a565b92915050565b614c5f81614a7a565b8114614c6a57600080fd5b50565b600081359050614c7c81614c56565b92915050565b60008060408385031215614c9957614c986149eb565b5b6000614ca785828601614c41565b9250506020614cb885828601614c6d565b9150509250929050565b60008060408385031215614cd957614cd86149eb565b5b6000614ce785828601614c41565b9250506020614cf885828601614b8c565b9150509250929050565b614d0b81614b6b565b82525050565b6000602082019050614d266000830184614d02565b92915050565b600060208284031215614d4257614d416149eb565b5b6000614d5084828501614c6d565b91505092915050565b600080600060608486031215614d7257614d716149eb565b5b6000614d8086828701614c41565b9350506020614d9186828701614c41565b9250506040614da286828701614b8c565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112614dd157614dd0614dac565b5b8235905067ffffffffffffffff811115614dee57614ded614db1565b5b602083019150836020820283011115614e0a57614e09614db6565b5b9250929050565b600080600060408486031215614e2a57614e296149eb565b5b6000614e3886828701614b8c565b935050602084013567ffffffffffffffff811115614e5957614e586149f0565b5b614e6586828701614dbb565b92509250509250925092565b600060208284031215614e8757614e866149eb565b5b6000614e9584828501614c41565b91505092915050565b6000819050919050565b614eb181614e9e565b82525050565b6000602082019050614ecc6000830184614ea8565b92915050565b600060ff82169050919050565b614ee881614ed2565b8114614ef357600080fd5b50565b600081359050614f0581614edf565b92915050565b600060208284031215614f2157614f206149eb565b5b6000614f2f84828501614ef6565b91505092915050565b614f4181614e9e565b8114614f4c57600080fd5b50565b600081359050614f5e81614f38565b92915050565b600060208284031215614f7a57614f796149eb565b5b6000614f8884828501614f4f565b91505092915050565b614f9a81614ed2565b82525050565b6000602082019050614fb56000830184614f91565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614ff882614aff565b810181811067ffffffffffffffff8211171561501757615016614fc0565b5b80604052505050565b600061502a6149e1565b90506150368282614fef565b919050565b600067ffffffffffffffff82111561505657615055614fc0565b5b61505f82614aff565b9050602081019050919050565b82818337600083830152505050565b600061508e6150898461503b565b615020565b9050828152602081018484840111156150aa576150a9614fbb565b5b6150b584828561506c565b509392505050565b600082601f8301126150d2576150d1614dac565b5b81356150e284826020860161507b565b91505092915050565b600060208284031215615101576151006149eb565b5b600082013567ffffffffffffffff81111561511f5761511e6149f0565b5b61512b848285016150bd565b91505092915050565b600067ffffffffffffffff82111561514f5761514e614fc0565b5b61515882614aff565b9050602081019050919050565b600061517861517384615134565b615020565b90508281526020810184848401111561519457615193614fbb565b5b61519f84828561506c565b509392505050565b600082601f8301126151bc576151bb614dac565b5b81356151cc848260208601615165565b91505092915050565b600080600080608085870312156151ef576151ee6149eb565b5b60006151fd87828801614c41565b945050602061520e87828801614c41565b935050604061521f87828801614b8c565b925050606085013567ffffffffffffffff8111156152405761523f6149f0565b5b61524c878288016151a7565b91505092959194509250565b6000806040838503121561526f5761526e6149eb565b5b600061527d85828601614c41565b925050602061528e85828601614c41565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806152df57607f821691505b6020821081036152f2576152f1615298565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061532e602083614abb565b9150615339826152f8565b602082019050919050565b6000602082019050818103600083015261535d81615321565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061539e82614b6b565b91506153a983614b6b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153e2576153e1615364565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061542782614b6b565b915061543283614b6b565b925082615442576154416153ed565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615483601f83614abb565b915061548e8261544d565b602082019050919050565b600060208201905081810360008301526154b281615476565b9050919050565b7f776c5f6f66660000000000000000000000000000000000000000000000000000600082015250565b60006154ef600683614abb565b91506154fa826154b9565b602082019050919050565b6000602082019050818103600083015261551e816154e2565b9050919050565b7f696e735f66756e64730000000000000000000000000000000000000000000000600082015250565b600061555b600983614abb565b915061556682615525565b602082019050919050565b6000602082019050818103600083015261558a8161554e565b9050919050565b7f6e6f5f616d6f756e740000000000000000000000000000000000000000000000600082015250565b60006155c7600983614abb565b91506155d282615591565b602082019050919050565b600060208201905081810360008301526155f6816155ba565b9050919050565b600061560882614b6b565b915061561383614b6b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561564857615647615364565b5b828201905092915050565b7f776c5f737570706c795f65780000000000000000000000000000000000000000600082015250565b6000615689600c83614abb565b915061569482615653565b602082019050919050565b600060208201905081810360008301526156b88161567c565b9050919050565b7f6d61785f775f6578000000000000000000000000000000000000000000000000600082015250565b60006156f5600883614abb565b9150615700826156bf565b602082019050919050565b60006020820190508181036000830152615724816156e8565b9050919050565b60008160601b9050919050565b60006157438261572b565b9050919050565b600061575582615738565b9050919050565b61576d61576882614bee565b61574a565b82525050565b600061577f828461575c565b60148201915081905092915050565b7f686173685f650000000000000000000000000000000000000000000000000000600082015250565b60006157c4600683614abb565b91506157cf8261578e565b602082019050919050565b600060208201905081810360008301526157f3816157b7565b9050919050565b7f7075625f6f666600000000000000000000000000000000000000000000000000600082015250565b6000615830600783614abb565b915061583b826157fa565b602082019050919050565b6000602082019050818103600083015261585f81615823565b9050919050565b7f737570706c795f65780000000000000000000000000000000000000000000000600082015250565b600061589c600983614abb565b91506158a782615866565b602082019050919050565b600060208201905081810360008301526158cb8161588f565b9050919050565b7f6e6f5f746f6b656e5f6964000000000000000000000000000000000000000000600082015250565b6000615908600b83614abb565b9150615913826158d2565b602082019050919050565b60006020820190508181036000830152615937816158fb565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461596b816152c7565b615975818661593e565b9450600182166000811461599057600181146159a1576159d4565b60ff198316865281860193506159d4565b6159aa85615949565b60005b838110156159cc578154818901526001820191506020810190506159ad565b838801955050505b50505092915050565b60006159e882614ab0565b6159f2818561593e565b9350615a02818560208601614acc565b80840191505092915050565b6000615a1a828561595e565b9150615a2682846159dd565b91508190509392505050565b6000615a3d82614ed2565b9150615a4883614ed2565b92508260ff03821115615a5e57615a5d615364565b5b828201905092915050565b7f667265655f6f6666000000000000000000000000000000000000000000000000600082015250565b6000615a9f600883614abb565b9150615aaa82615a69565b602082019050919050565b60006020820190508181036000830152615ace81615a92565b9050919050565b7f7375705f65780000000000000000000000000000000000000000000000000000600082015250565b6000615b0b600683614abb565b9150615b1682615ad5565b602082019050919050565b60006020820190508181036000830152615b3a81615afe565b9050919050565b7f667265655f6d61785f775f657800000000000000000000000000000000000000600082015250565b6000615b77600d83614abb565b9150615b8282615b41565b602082019050919050565b60006020820190508181036000830152615ba681615b6a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615c09602683614abb565b9150615c1482615bad565b604082019050919050565b60006020820190508181036000830152615c3881615bfc565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615c6682615c3f565b615c708185615c4a565b9350615c80818560208601614acc565b615c8981614aff565b840191505092915050565b6000608082019050615ca96000830187614c00565b615cb66020830186614c00565b615cc36040830185614d02565b8181036060830152615cd58184615c5b565b905095945050505050565b600081519050615cef81614a21565b92915050565b600060208284031215615d0b57615d0a6149eb565b5b6000615d1984828501615ce0565b91505092915050565b6000615d2d82614b6b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615d5f57615d5e615364565b5b600182019050919050565b6000615d7582614b6b565b9150615d8083614b6b565b925082821015615d9357615d92615364565b5b828203905092915050565b6000615da982614b6b565b9150615db483614b6b565b925082615dc457615dc36153ed565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220b1096b11ecad9c8c2f5748b0824199e5345d623b4eff6c25033b1f1d671e5d3064736f6c634300080d0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.