Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 344 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 19913566 | 110 days ago | IN | 0 ETH | 0.00295284 | ||||
Set Approval For... | 19359452 | 187 days ago | IN | 0 ETH | 0.00218669 | ||||
Set Approval For... | 19180238 | 212 days ago | IN | 0 ETH | 0.00073569 | ||||
Withdraw ETH | 19140415 | 218 days ago | IN | 0 ETH | 0.00057223 | ||||
Safe Transfer Fr... | 18448141 | 315 days ago | IN | 0 ETH | 0.00106934 | ||||
Set Approval For... | 17858854 | 397 days ago | IN | 0 ETH | 0.00054924 | ||||
Safe Transfer Fr... | 16938070 | 527 days ago | IN | 0 ETH | 0.00225105 | ||||
Add To Allowlist | 16917017 | 530 days ago | IN | 0 ETH | 0.0008706 | ||||
Transfer From | 16881482 | 535 days ago | IN | 0 ETH | 0.00102081 | ||||
Set Approval For... | 16649178 | 568 days ago | IN | 0 ETH | 0.00221599 | ||||
Set Approval For... | 16648901 | 568 days ago | IN | 0 ETH | 0.00139978 | ||||
Set Approval For... | 16631704 | 570 days ago | IN | 0 ETH | 0.00148009 | ||||
Set Approval For... | 16631176 | 570 days ago | IN | 0 ETH | 0.00171457 | ||||
Set Approval For... | 16598811 | 575 days ago | IN | 0 ETH | 0.00111104 | ||||
Safe Transfer Fr... | 16569215 | 579 days ago | IN | 0 ETH | 0.00162615 | ||||
Safe Transfer Fr... | 16568114 | 579 days ago | IN | 0 ETH | 0.00178343 | ||||
Set Approval For... | 16539651 | 583 days ago | IN | 0 ETH | 0.00077781 | ||||
Safe Transfer Fr... | 16524755 | 585 days ago | IN | 0 ETH | 0.00148827 | ||||
Mint Cars | 16524744 | 585 days ago | IN | 0 ETH | 0.00241824 | ||||
Add To Allowlist | 16524737 | 585 days ago | IN | 0 ETH | 0.00077947 | ||||
Remove From Allo... | 16524732 | 585 days ago | IN | 0 ETH | 0.0003743 | ||||
Set Public Minti... | 16524722 | 585 days ago | IN | 0 ETH | 0.00040788 | ||||
Set Next List | 16524716 | 585 days ago | IN | 0 ETH | 0.00046055 | ||||
Set Current List | 16524703 | 585 days ago | IN | 0 ETH | 0.00048891 | ||||
Add To Allowlist | 16519887 | 586 days ago | IN | 0 ETH | 0.00077446 |
Loading...
Loading
Contract Name:
AstroCars
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./lib/WithLimitedSupply.sol"; import "./lib/Allowlists.sol"; /// @title Standard ERC721 NFT. /// @author NitroLeague. contract AstroCars is ERC721Enumerable, Ownable, WithLimitedSupply, Allowlists, ReentrancyGuard { using Counters for Counters.Counter; string private baseURI; string private hiddenCarURI; string public constant provenanceHash = "a7dfaede3c0bfe5fcf911406066d5dc0e970be50c89a409c98a117d540b59f18"; bool private _isRevealed; bool private _isMetaLocked; event Received(address, uint); constructor() ERC721("Astro Cars", "NLAC") WithLimitedSupply(1000) { _isRevealed = false; } function setBaseURI(string memory _baseURI) public onlyOwner { require(bytes(_baseURI).length > 0, "baseURI cannot be empty"); require(_isMetaLocked == false, "contract is locked, cannot modify"); baseURI = _baseURI; } function getBaseURI() public view returns (string memory) { return baseURI; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { if (_isRevealed == false) return hiddenCarURI; require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string( abi.encodePacked(baseURI, Strings.toString(_tokenId), ".json") ); } function mintCars(uint256 _quantity) public payable nonReentrant canMint(_quantity) { require(_quantity > 0, "Quantity Cannot be Zero"); require( _quantity <= availableTokenCount(), "Quantity Exceeds Available Token Count" ); uint pricePerMint = getPricePerMint(); uint excess = msg.value - (pricePerMint * _quantity); if (publicMint == false) _decreaseMintableQuantity(msg.sender, _quantity); for (uint256 i = 1; i <= _quantity; i++) { uint256 id = nextToken(); _safeMint(msg.sender, id); } emit UserMinted(msg.sender, pricePerMint, getCurrentList(), _quantity); if (excess > 0 && excess < msg.value) payable(msg.sender).transfer(excess); } function getIsMetaLocked() public view returns (bool isMetaLocked) { return _isMetaLocked; } function lockMetaData() public onlyOwner { _isMetaLocked = true; } function totalSupply() public view override(ERC721Enumerable, WithLimitedSupply) returns (uint256) { return _totalSupply; } function pauseMinting() external onlyOwner { _pauseMinting(); } function unPauseMinting() external onlyOwner { _unPauseMinting(); } function createAllowlists( string[] calldata listNames, uint[] calldata baseAllowed, uint[] calldata prices ) external onlyOwner { require(prices.length == baseAllowed.length, "Array Lengths Mismatch"); require(prices.length == listNames.length, "Array Lengths Mismatch"); for (uint i = 0; i < listNames.length; i++) { _createAllowlist(listNames[i], baseAllowed[i], prices[i]); } } function setCurrentList(uint listIndex) external onlyOwner { _setCurrentList(listIndex); } function setNextList() external onlyOwner { _setNextList(); } function addToAllowlist( uint listIndex, address[] memory accounts, uint[] memory maxAllowed ) external onlyOwner { _addToAllowlist(listIndex, accounts, maxAllowed); } function removeFromAllowlist(uint listIndex, address account) external onlyOwner { _removeFromAllowlist(listIndex, account); } function setHiddenCarURI(string memory _hiddenCarURI) external onlyOwner { hiddenCarURI = _hiddenCarURI; } function setPublicMinting(bool newStatus) external onlyOwner { _setPublicMinting(newStatus); } function reveal() external onlyOwner { require(_isRevealed == false, "Already Revealed"); _isRevealed = true; } function withdrawETH(uint256 amount) external onlyOwner { (bool success, ) = payable(msg.sender).call{value: amount}(""); require(success, "Transfer failed"); } receive() external payable { emit Received(msg.sender, msg.value); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Counters.sol"; abstract contract WithLimitedSupply { using Counters for Counters.Counter; event SupplyChanged(uint256 indexed supply); Counters.Counter private _tokenCount; uint256 public _totalSupply; constructor(uint256 totalSupply_) { _totalSupply = totalSupply_; } function totalSupply() public view virtual returns (uint256) { return _totalSupply; } function tokenCount() public view returns (uint256) { return _tokenCount.current(); } function availableTokenCount() public view returns (uint256) { return totalSupply() - tokenCount(); } function nextToken() internal virtual returns (uint256) { uint256 token = _tokenCount.current(); _tokenCount.increment(); return token; } modifier ensureAvailability() { require(availableTokenCount() > 0, "No more tokens available"); _; } modifier ensureAvailabilityFor(uint256 amount) { require( availableTokenCount() >= amount, "Requested number of tokens not available" ); _; } function _setSupply(uint256 _supply) internal virtual { require( _supply > tokenCount(), "Can't set the supply to less than the current token count" ); _totalSupply = _supply; emit SupplyChanged(totalSupply()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract Allowlists { struct Allowlist { string listName; uint baseAllowed; uint price; } Allowlist[] public allowlists; uint public currentList; bool public mintingPaused; bool public publicMint; uint public constant publicMintPrice = 100000000000000000; mapping(uint => mapping(address => uint)) public mintableQuantity; mapping(string => uint) public listIndices; event AllowlistAdded( string indexed listName, uint indexed baseAllowed, uint price, uint indexed index ); event MintingPaused(); event MintingUnpaused(); event SetPublicMinting(bool oldStatus, bool newStatus); event UserMinted( address indexed account, uint indexed pricePerMint, string indexed listName, uint quantity ); constructor() { currentList = 0; mintingPaused = true; } function getCurrentList() public view returns (string memory) { if (publicMint == true) return "public"; return allowlists[currentList].listName; } function getMaxMintsAllowed(address account) public view returns (uint allowed) { return mintableQuantity[currentList][account]; } function getPricePerMint() public view returns (uint pricePerMint) { if (publicMint == true) return publicMintPrice; return allowlists[currentList].price; } function getAllowlistIndex(string calldata listName) public view returns (uint listIndex) { uint _listIndex = listIndices[listName]; require(_listIndex > 0, "Allowlists: Invalid list"); return _listIndex - 1; } function getNumberOfLists() external view returns (uint listsLength) { return allowlists.length; } modifier canMint(uint quantity) { require(mintingPaused == false, "Allowlists: Minting is not Allowed"); if (publicMint == false) require( quantity <= getMaxMintsAllowed(msg.sender), "Allowlists: Quantity More Than Allocated" ); require( msg.value >= (getPricePerMint() * quantity), "Allowlists: Insufficient fee" ); _; } function _pauseMinting() internal { require(mintingPaused == false, "Allowlists: Already Paused"); mintingPaused = true; emit MintingPaused(); } function _unPauseMinting() internal { require(mintingPaused == true, "Allowlists: Already Unpaused"); mintingPaused = false; emit MintingUnpaused(); } function _setPublicMinting(bool newStatus) internal { require( publicMint != newStatus, "Allowlists: Public Mint Already In This State" ); bool oldStatus = publicMint; publicMint = newStatus; emit SetPublicMinting(oldStatus, newStatus); } function _createAllowlist( string calldata listName, uint baseAllowed, uint price ) internal { allowlists.push(Allowlist(listName, baseAllowed, price)); listIndices[listName] = allowlists.length; } function _setCurrentList(uint listIndex) internal { require( listIndex < allowlists.length, "Allowlists: Invalid List Index" ); require(!mintingPaused, "Allowlists: Minting Paused"); currentList = listIndex; } function _setNextList() internal { _setCurrentList(currentList + 1); } function _addToAllowlist( uint listIndex, address[] memory accounts, uint[] memory maxAllowed ) internal { require( accounts.length == maxAllowed.length, "Allowlists: Array Lengths Mismatch" ); uint baseAllowed = allowlists[listIndex].baseAllowed; for (uint i = 0; i < accounts.length; i++) { address account = accounts[i]; if (mintableQuantity[listIndex][account] != 0) continue; if (maxAllowed[i] == 0) mintableQuantity[listIndex][account] = baseAllowed; else mintableQuantity[listIndex][account] = maxAllowed[i]; } } function _removeFromAllowlist(uint listIndex, address account) internal { mintableQuantity[listIndex][account] = 0; } function _decreaseMintableQuantity(address account, uint quantity) internal { uint remaining = mintableQuantity[currentList][account]; require(remaining - quantity >= 0, "Allowlists: Quantity Underflow"); mintableQuantity[currentList][account] -= quantity; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"listName","type":"string"},{"indexed":true,"internalType":"uint256","name":"baseAllowed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"}],"name":"AllowlistAdded","type":"event"},{"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":[],"name":"MintingPaused","type":"event"},{"anonymous":false,"inputs":[],"name":"MintingUnpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"oldStatus","type":"bool"},{"indexed":false,"internalType":"bool","name":"newStatus","type":"bool"}],"name":"SetPublicMinting","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"supply","type":"uint256"}],"name":"SupplyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"pricePerMint","type":"uint256"},{"indexed":true,"internalType":"string","name":"listName","type":"string"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"UserMinted","type":"event"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"listIndex","type":"uint256"},{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"maxAllowed","type":"uint256[]"}],"name":"addToAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allowlists","outputs":[{"internalType":"string","name":"listName","type":"string"},{"internalType":"uint256","name":"baseAllowed","type":"uint256"},{"internalType":"uint256","name":"price","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":[],"name":"availableTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string[]","name":"listNames","type":"string[]"},{"internalType":"uint256[]","name":"baseAllowed","type":"uint256[]"},{"internalType":"uint256[]","name":"prices","type":"uint256[]"}],"name":"createAllowlists","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"listName","type":"string"}],"name":"getAllowlistIndex","outputs":[{"internalType":"uint256","name":"listIndex","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":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentList","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIsMetaLocked","outputs":[{"internalType":"bool","name":"isMetaLocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getMaxMintsAllowed","outputs":[{"internalType":"uint256","name":"allowed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfLists","outputs":[{"internalType":"uint256","name":"listsLength","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPricePerMint","outputs":[{"internalType":"uint256","name":"pricePerMint","type":"uint256"}],"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":"string","name":"","type":"string"}],"name":"listIndices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMetaData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintCars","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"mintableQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"listIndex","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"removeFromAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"listIndex","type":"uint256"}],"name":"setCurrentList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenCarURI","type":"string"}],"name":"setHiddenCarURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setNextList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newStatus","type":"bool"}],"name":"setPublicMinting","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unPauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506103e86040518060400160405280600a81526020017f417374726f2043617273000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4e4c414300000000000000000000000000000000000000000000000000000000815250816000908162000092919062000463565b508060019081620000a4919062000463565b505050620000c7620000bb6200011b60201b60201c565b6200012360201b60201c565b80600c81905550506000600e819055506001600f60006101000a81548160ff02191690831515021790555060016012819055506000601560006101000a81548160ff0219169083151502179055506200054a565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200026b57607f821691505b60208210810362000281576200028062000223565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002eb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002ac565b620002f78683620002ac565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003446200033e62000338846200030f565b62000319565b6200030f565b9050919050565b6000819050919050565b620003608362000323565b620003786200036f826200034b565b848454620002b9565b825550505050565b600090565b6200038f62000380565b6200039c81848462000355565b505050565b5b81811015620003c457620003b860008262000385565b600181019050620003a2565b5050565b601f8211156200041357620003dd8162000287565b620003e8846200029c565b81016020851015620003f8578190505b6200041062000407856200029c565b830182620003a1565b50505b505050565b600082821c905092915050565b6000620004386000198460080262000418565b1980831691505092915050565b600062000453838362000425565b9150826002028217905092915050565b6200046e82620001e9565b67ffffffffffffffff8111156200048a5762000489620001f4565b5b62000496825462000252565b620004a3828285620003c8565b600060209050601f831160018114620004db5760008415620004c6578287015190505b620004d2858262000445565b86555062000542565b601f198416620004eb8662000287565b60005b828110156200051557848901518255600182019150602085019450602081019050620004ee565b8683101562000535578489015162000531601f89168262000425565b8355505b6001600288020188555050505b505050505050565b615ffa806200055a6000396000f3fe6080604052600436106102e85760003560e01c8063714c539811610190578063b88d4fde116100dc578063dc53fd9211610095578063e985e9c51161006f578063e985e9c514610b4d578063f14210a614610b8a578063f2fde38b14610bb3578063faf2408f14610bdc57610328565b8063dc53fd9214610acc578063e14ca35314610af7578063e1a283d614610b2257610328565b8063b88d4fde146109be578063c6ab67a3146109e7578063c87b56dd14610a12578063ca2660fd14610a4f578063d107993814610a78578063da8fbf2a14610ab557610328565b8063905fcdcd116101495780639e5dcad9116101235780639e5dcad91461092a5780639f181b5e14610953578063a22cb4651461097e578063a475b5dd146109a757610328565b8063905fcdcd146108ab57806395d89b41146108e85780639e2517581461091357610328565b8063714c53981461079b578063715018a6146107c65780637c2cad6c146107dd578063804ef7e01461081a57806386944523146108575780638da5cb5b1461088057610328565b80633eaaf86b1161024f578063570c5c46116102085780636352211e116101e25780636352211e146106df57806367f484f21461071c57806370a082311461073357806370ee8aaf1461077057610328565b8063570c5c461461068157806357782b2f146106ac5780635d72f059146106c857610328565b80633eaaf86b1461057557806340bb6f9e146105a057806342842e0e146105c95780634c2e77ac146105f25780634f6ccce71461061b57806355f804b31461065857610328565b806316cad2ab116102a157806316cad2ab1461046557806318160ddd1461049057806323b872dd146104bb578063254a4737146104e457806326092b831461050d5780632f745c591461053857610328565b806301ffc9a71461032d57806306fdde031461036a578063081812fc14610395578063095ea7b3146103d25780630992d325146103fb5780630a71684b1461042657610328565b36610328577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874333460405161031e929190613abd565b60405180910390a1005b600080fd5b34801561033957600080fd5b50610354600480360381019061034f9190613b52565b610c07565b6040516103619190613b9a565b60405180910390f35b34801561037657600080fd5b5061037f610c81565b60405161038c9190613c45565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b79190613c93565b610d13565b6040516103c99190613cc0565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f49190613d07565b610d59565b005b34801561040757600080fd5b50610410610e70565b60405161041d9190613c45565b60405180910390f35b34801561043257600080fd5b5061044d60048036038101906104489190613c93565b610f80565b60405161045c93929190613d47565b60405180910390f35b34801561047157600080fd5b5061047a611042565b6040516104879190613d85565b60405180910390f35b34801561049c57600080fd5b506104a561104f565b6040516104b29190613d85565b60405180910390f35b3480156104c757600080fd5b506104e260048036038101906104dd9190613da0565b611059565b005b3480156104f057600080fd5b5061050b60048036038101906105069190613e1f565b6110b9565b005b34801561051957600080fd5b506105226110cd565b60405161052f9190613b9a565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a9190613d07565b6110e0565b60405161056c9190613d85565b60405180910390f35b34801561058157600080fd5b5061058a611185565b6040516105979190613d85565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c29190614057565b61118b565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190613da0565b6111a3565b005b3480156105fe57600080fd5b5061061960048036038101906106149190613c93565b6111c3565b005b34801561062757600080fd5b50610642600480360381019061063d9190613c93565b6111d7565b60405161064f9190613d85565b60405180910390f35b34801561066457600080fd5b5061067f600480360381019061067a9190614197565b611248565b005b34801561068d57600080fd5b506106966112fd565b6040516106a39190613b9a565b60405180910390f35b6106c660048036038101906106c19190613c93565b611314565b005b3480156106d457600080fd5b506106dd61165d565b005b3480156106eb57600080fd5b5061070660048036038101906107019190613c93565b61166f565b6040516107139190613cc0565b60405180910390f35b34801561072857600080fd5b50610731611720565b005b34801561073f57600080fd5b5061075a600480360381019061075591906141e0565b611732565b6040516107679190613d85565b60405180910390f35b34801561077c57600080fd5b506107856117e9565b6040516107929190613d85565b60405180910390f35b3480156107a757600080fd5b506107b0611844565b6040516107bd9190613c45565b60405180910390f35b3480156107d257600080fd5b506107db6118d6565b005b3480156107e957600080fd5b5061080460048036038101906107ff919061420d565b6118ea565b6040516108119190613d85565b60405180910390f35b34801561082657600080fd5b50610841600480360381019061083c91906142a8565b61190f565b60405161084e9190613d85565b60405180910390f35b34801561086357600080fd5b5061087e600480360381019061087991906143a1565b61198e565b005b34801561088c57600080fd5b50610895611ab1565b6040516108a29190613cc0565b60405180910390f35b3480156108b757600080fd5b506108d260048036038101906108cd91906141e0565b611adb565b6040516108df9190613d85565b60405180910390f35b3480156108f457600080fd5b506108fd611b37565b60405161090a9190613c45565b60405180910390f35b34801561091f57600080fd5b50610928611bc9565b005b34801561093657600080fd5b50610951600480360381019061094c9190614197565b611bee565b005b34801561095f57600080fd5b50610968611c09565b6040516109759190613d85565b60405180910390f35b34801561098a57600080fd5b506109a560048036038101906109a09190614455565b611c1a565b005b3480156109b357600080fd5b506109bc611c30565b005b3480156109ca57600080fd5b506109e560048036038101906109e09190614536565b611cab565b005b3480156109f357600080fd5b506109fc611d0d565b604051610a099190613c45565b60405180910390f35b348015610a1e57600080fd5b50610a396004803603810190610a349190613c93565b611d29565b604051610a469190613c45565b60405180910390f35b348015610a5b57600080fd5b50610a766004803603810190610a71919061420d565b611e53565b005b348015610a8457600080fd5b50610a9f6004803603810190610a9a9190614197565b611e69565b604051610aac9190613d85565b60405180910390f35b348015610ac157600080fd5b50610aca611e97565b005b348015610ad857600080fd5b50610ae1611ea9565b604051610aee9190613d85565b60405180910390f35b348015610b0357600080fd5b50610b0c611eb5565b604051610b199190613d85565b60405180910390f35b348015610b2e57600080fd5b50610b37611ed6565b604051610b449190613b9a565b60405180910390f35b348015610b5957600080fd5b50610b746004803603810190610b6f91906145b9565b611ee9565b604051610b819190613b9a565b60405180910390f35b348015610b9657600080fd5b50610bb16004803603810190610bac9190613c93565b611f7d565b005b348015610bbf57600080fd5b50610bda6004803603810190610bd591906141e0565b612035565b005b348015610be857600080fd5b50610bf16120b8565b604051610bfe9190613d85565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7a5750610c79826120be565b5b9050919050565b606060008054610c9090614628565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbc90614628565b8015610d095780601f10610cde57610100808354040283529160200191610d09565b820191906000526020600020905b815481529060010190602001808311610cec57829003601f168201915b5050505050905090565b6000610d1e826121a0565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d648261166f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb906146cb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610df36121eb565b73ffffffffffffffffffffffffffffffffffffffff161480610e225750610e2181610e1c6121eb565b611ee9565b5b610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e589061475d565b60405180910390fd5b610e6b83836121f3565b505050565b606060011515600f60019054906101000a900460ff16151503610eca576040518060400160405280600681526020017f7075626c696300000000000000000000000000000000000000000000000000008152509050610f7d565b600d600e5481548110610ee057610edf61477d565b5b90600052602060002090600302016000018054610efc90614628565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2890614628565b8015610f755780601f10610f4a57610100808354040283529160200191610f75565b820191906000526020600020905b815481529060010190602001808311610f5857829003601f168201915b505050505090505b90565b600d8181548110610f9057600080fd5b9060005260206000209060030201600091509050806000018054610fb390614628565b80601f0160208091040260200160405190810160405280929190818152602001828054610fdf90614628565b801561102c5780601f106110015761010080835404028352916020019161102c565b820191906000526020600020905b81548152906001019060200180831161100f57829003601f168201915b5050505050908060010154908060020154905083565b6000600d80549050905090565b6000600c54905090565b61106a6110646121eb565b826122ac565b6110a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a09061481e565b60405180910390fd5b6110b4838383612341565b505050565b6110c16125a7565b6110ca81612625565b50565b600f60019054906101000a900460ff1681565b60006110eb83611732565b821061112c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611123906148b0565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c5481565b6111936125a7565b61119e8383836126e5565b505050565b6111be83838360405180602001604052806000815250611cab565b505050565b6111cb6125a7565b6111d4816128e4565b50565b60006111e1612985565b8210611222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121990614942565b60405180910390fd5b600882815481106112365761123561477d565b5b90600052602060002001549050919050565b6112506125a7565b6000815111611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b906149ae565b60405180910390fd5b60001515601560019054906101000a900460ff161515146112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190614a40565b60405180910390fd5b80601390816112f99190614c0c565b5050565b6000601560019054906101000a900460ff16905090565b600260125403611359576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135090614d2a565b60405180910390fd5b60026012819055508060001515600f60009054906101000a900460ff161515146113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90614dbc565b60405180910390fd5b60001515600f60019054906101000a900460ff1615150361141f576113dc33611adb565b81111561141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590614e4e565b60405180910390fd5b5b806114286117e9565b6114329190614e9d565b341015611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b90614f2b565b60405180910390fd5b600082116114b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ae90614f97565b60405180910390fd5b6114bf611eb5565b821115611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f890615029565b60405180910390fd5b600061150b6117e9565b90506000838261151b9190614e9d565b346115269190615049565b905060001515600f60019054906101000a900460ff1615150361154e5761154d3385612992565b5b6000600190505b848111611586576000611566612aa6565b90506115723382612ac6565b50808061157e9061507d565b915050611555565b5061158f610e70565b60405161159c9190615101565b6040518091039020823373ffffffffffffffffffffffffffffffffffffffff167fefb9294a20b99e043c070cefb1334fc0640284baa5683dd324d81ed208b84bbb876040516115eb9190613d85565b60405180910390a460008111801561160257503481105b1561164f573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561164d573d6000803e3d6000fd5b505b505050600160128190555050565b6116656125a7565b61166d612ae4565b565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170e90615164565b60405180910390fd5b80915050919050565b6117286125a7565b611730612b83565b565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611799906151f6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600060011515600f60019054906101000a900460ff161515036118165767016345785d8a00009050611841565b600d600e548154811061182c5761182b61477d565b5b90600052602060002090600302016002015490505b90565b60606013805461185390614628565b80601f016020809104026020016040519081016040528092919081815260200182805461187f90614628565b80156118cc5780601f106118a1576101008083540402835291602001916118cc565b820191906000526020600020905b8154815290600101906020018083116118af57829003601f168201915b5050505050905090565b6118de6125a7565b6118e86000612b9c565b565b6010602052816000526040600020602052806000526040600020600091509150505481565b6000806011848460405161192492919061523b565b908152602001604051809103902054905060008111611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f906152a0565b60405180910390fd5b6001816119859190615049565b91505092915050565b6119966125a7565b8383905082829050146119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d59061530c565b60405180910390fd5b858590508282905014611a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1d9061530c565b60405180910390fd5b60005b86869050811015611aa857611a95878783818110611a4a57611a4961477d565b5b9050602002810190611a5c919061533b565b878785818110611a6f57611a6e61477d565b5b90506020020135868686818110611a8957611a8861477d565b5b90506020020135612c62565b8080611aa09061507d565b915050611a29565b50505050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600060106000600e54815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060018054611b4690614628565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7290614628565b8015611bbf5780601f10611b9457610100808354040283529160200191611bbf565b820191906000526020600020905b815481529060010190602001808311611ba257829003601f168201915b5050505050905090565b611bd16125a7565b6001601560016101000a81548160ff021916908315150217905550565b611bf66125a7565b8060149081611c059190614c0c565b5050565b6000611c15600b612d48565b905090565b611c2c611c256121eb565b8383612d56565b5050565b611c386125a7565b60001515601560009054906101000a900460ff16151514611c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c85906153ea565b60405180910390fd5b6001601560006101000a81548160ff021916908315150217905550565b611cbc611cb66121eb565b836122ac565b611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf29061481e565b60405180910390fd5b611d0784848484612ec2565b50505050565b604051806060016040528060408152602001615f856040913981565b606060001515601560009054906101000a900460ff16151503611dd85760148054611d5390614628565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7f90614628565b8015611dcc5780601f10611da157610100808354040283529160200191611dcc565b820191906000526020600020905b815481529060010190602001808311611daf57829003601f168201915b50505050509050611e4e565b611de182612f1e565b611e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e179061547c565b60405180910390fd5b6013611e2b83612f8a565b604051602001611e3c92919061556b565b60405160208183030381529060405290505b919050565b611e5b6125a7565b611e6582826130ea565b5050565b6011818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b611e9f6125a7565b611ea7613144565b565b67016345785d8a000081565b6000611ebf611c09565b611ec761104f565b611ed19190615049565b905090565b600f60009054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f856125a7565b60003373ffffffffffffffffffffffffffffffffffffffff1682604051611fab906155cb565b60006040518083038185875af1925050503d8060008114611fe8576040519150601f19603f3d011682016040523d82523d6000602084013e611fed565b606091505b5050905080612031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120289061562c565b60405180910390fd5b5050565b61203d6125a7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036120ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a3906156be565b60405180910390fd5b6120b581612b9c565b50565b600e5481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061218957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121995750612198826131e3565b5b9050919050565b6121a981612f1e565b6121e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121df90615164565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122668361166f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806122b88361166f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806122fa57506122f98185611ee9565b5b8061233857508373ffffffffffffffffffffffffffffffffffffffff1661232084610d13565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123618261166f565b73ffffffffffffffffffffffffffffffffffffffff16146123b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ae90615750565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241d906157e2565b60405180910390fd5b61243183838361324d565b61243c6000826121f3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461248c9190615049565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e39190615802565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125a283838361335f565b505050565b6125af6121eb565b73ffffffffffffffffffffffffffffffffffffffff166125cd611ab1565b73ffffffffffffffffffffffffffffffffffffffff1614612623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261a90615882565b60405180910390fd5b565b801515600f60019054906101000a900460ff1615150361267a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267190615914565b60405180910390fd5b6000600f60019054906101000a900460ff16905081600f60016101000a81548160ff0219169083151502179055507f6c1e7e18af620f29f695684304e27e8853103701fde7b6f1f70e24da3a0699b981836040516126d9929190615934565b60405180910390a15050565b8051825114612729576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612720906159cf565b60405180910390fd5b6000600d848154811061273f5761273e61477d565b5b906000526020600020906003020160010154905060005b83518110156128dd5760008482815181106127745761277361477d565b5b6020026020010151905060006010600088815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146127dc57506128ca565b60008483815181106127f1576127f061477d565b5b60200260200101510361285857826010600088815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506128c8565b83828151811061286b5761286a61477d565b5b60200260200101516010600088815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b505b80806128d59061507d565b915050612756565b5050505050565b600d80549050811061292b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292290615a3b565b60405180910390fd5b600f60009054906101000a900460ff161561297b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297290615aa7565b60405180910390fd5b80600e8190555050565b6000600880549050905090565b600060106000600e54815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082826129f79190615049565b1015612a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2f90615b13565b60405180910390fd5b8160106000600e54815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a9a9190615049565b92505081905550505050565b600080612ab3600b612d48565b9050612abf600b613364565b8091505090565b612ae082826040518060200160405280600081525061337a565b5050565b60011515600f60009054906101000a900460ff16151514612b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3190615b7f565b60405180910390fd5b6000600f60006101000a81548160ff0219169083151502179055507ff0ad920eb55b91897649b1d99e9b1c60a5ce9fd71f94308af6d0e1717951ff8b60405160405180910390a1565b612b9a6001600e54612b959190615802565b6128e4565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600d604051806060016040528086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505081526020018481526020018381525090806001815401808255809150506001900390600052602060002090600302016000909190919091506000820151816000019081612d019190614c0c565b5060208201518160010155604082015181600201555050600d8054905060118585604051612d3092919061523b565b90815260200160405180910390208190555050505050565b600081600001549050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dbb90615beb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612eb59190613b9a565b60405180910390a3505050565b612ecd848484612341565b612ed9848484846133d5565b612f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0f90615c7d565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008203612fd1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130e5565b600082905060005b60008214613003578080612fec9061507d565b915050600a82612ffc9190615ccc565b9150612fd9565b60008167ffffffffffffffff81111561301f5761301e613e51565b5b6040519080825280601f01601f1916602001820160405280156130515781602001600182028036833780820191505090505b5090505b600085146130de5760018261306a9190615049565b9150600a856130799190615cfd565b60306130859190615802565b60f81b81838151811061309b5761309a61477d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130d79190615ccc565b9450613055565b8093505050505b919050565b60006010600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60001515600f60009054906101000a900460ff1615151461319a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319190615d7a565b60405180910390fd5b6001600f60006101000a81548160ff0219169083151502179055507feb560756bd0f0f241c73914ffad902460a345bba8464cc80dc17a58231eed61a60405160405180910390a1565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61325883838361355c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361329a5761329581613561565b6132d9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132d8576132d783826135aa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361331b5761331681613717565b61335a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146133595761335882826137e8565b5b5b505050565b505050565b6001816000016000828254019250508190555050565b6133848383613867565b61339160008484846133d5565b6133d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c790615c7d565b60405180910390fd5b505050565b60006133f68473ffffffffffffffffffffffffffffffffffffffff16613a40565b1561354f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261341f6121eb565b8786866040518563ffffffff1660e01b81526004016134419493929190615def565b6020604051808303816000875af192505050801561347d57506040513d601f19601f8201168201806040525081019061347a9190615e50565b60015b6134ff573d80600081146134ad576040519150601f19603f3d011682016040523d82523d6000602084013e6134b2565b606091505b5060008151036134f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ee90615c7d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613554565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135b784611732565b6135c19190615049565b90506000600760008481526020019081526020016000205490508181146136a6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061372b9190615049565b905060006009600084815260200190815260200160002054905060006008838154811061375b5761375a61477d565b5b90600052602060002001549050806008838154811061377d5761377c61477d565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806137cc576137cb615e7d565b5b6001900381819060005260206000200160009055905550505050565b60006137f383611732565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036138d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138cd90615ef8565b60405180910390fd5b6138df81612f1e565b1561391f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391690615f64565b60405180910390fd5b61392b6000838361324d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461397b9190615802565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a3c6000838361335f565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a8e82613a63565b9050919050565b613a9e81613a83565b82525050565b6000819050919050565b613ab781613aa4565b82525050565b6000604082019050613ad26000830185613a95565b613adf6020830184613aae565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b2f81613afa565b8114613b3a57600080fd5b50565b600081359050613b4c81613b26565b92915050565b600060208284031215613b6857613b67613af0565b5b6000613b7684828501613b3d565b91505092915050565b60008115159050919050565b613b9481613b7f565b82525050565b6000602082019050613baf6000830184613b8b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613bef578082015181840152602081019050613bd4565b60008484015250505050565b6000601f19601f8301169050919050565b6000613c1782613bb5565b613c218185613bc0565b9350613c31818560208601613bd1565b613c3a81613bfb565b840191505092915050565b60006020820190508181036000830152613c5f8184613c0c565b905092915050565b613c7081613aa4565b8114613c7b57600080fd5b50565b600081359050613c8d81613c67565b92915050565b600060208284031215613ca957613ca8613af0565b5b6000613cb784828501613c7e565b91505092915050565b6000602082019050613cd56000830184613a95565b92915050565b613ce481613a83565b8114613cef57600080fd5b50565b600081359050613d0181613cdb565b92915050565b60008060408385031215613d1e57613d1d613af0565b5b6000613d2c85828601613cf2565b9250506020613d3d85828601613c7e565b9150509250929050565b60006060820190508181036000830152613d618186613c0c565b9050613d706020830185613aae565b613d7d6040830184613aae565b949350505050565b6000602082019050613d9a6000830184613aae565b92915050565b600080600060608486031215613db957613db8613af0565b5b6000613dc786828701613cf2565b9350506020613dd886828701613cf2565b9250506040613de986828701613c7e565b9150509250925092565b613dfc81613b7f565b8114613e0757600080fd5b50565b600081359050613e1981613df3565b92915050565b600060208284031215613e3557613e34613af0565b5b6000613e4384828501613e0a565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e8982613bfb565b810181811067ffffffffffffffff82111715613ea857613ea7613e51565b5b80604052505050565b6000613ebb613ae6565b9050613ec78282613e80565b919050565b600067ffffffffffffffff821115613ee757613ee6613e51565b5b602082029050602081019050919050565b600080fd5b6000613f10613f0b84613ecc565b613eb1565b90508083825260208201905060208402830185811115613f3357613f32613ef8565b5b835b81811015613f5c5780613f488882613cf2565b845260208401935050602081019050613f35565b5050509392505050565b600082601f830112613f7b57613f7a613e4c565b5b8135613f8b848260208601613efd565b91505092915050565b600067ffffffffffffffff821115613faf57613fae613e51565b5b602082029050602081019050919050565b6000613fd3613fce84613f94565b613eb1565b90508083825260208201905060208402830185811115613ff657613ff5613ef8565b5b835b8181101561401f578061400b8882613c7e565b845260208401935050602081019050613ff8565b5050509392505050565b600082601f83011261403e5761403d613e4c565b5b813561404e848260208601613fc0565b91505092915050565b6000806000606084860312156140705761406f613af0565b5b600061407e86828701613c7e565b935050602084013567ffffffffffffffff81111561409f5761409e613af5565b5b6140ab86828701613f66565b925050604084013567ffffffffffffffff8111156140cc576140cb613af5565b5b6140d886828701614029565b9150509250925092565b600080fd5b600067ffffffffffffffff82111561410257614101613e51565b5b61410b82613bfb565b9050602081019050919050565b82818337600083830152505050565b600061413a614135846140e7565b613eb1565b905082815260208101848484011115614156576141556140e2565b5b614161848285614118565b509392505050565b600082601f83011261417e5761417d613e4c565b5b813561418e848260208601614127565b91505092915050565b6000602082840312156141ad576141ac613af0565b5b600082013567ffffffffffffffff8111156141cb576141ca613af5565b5b6141d784828501614169565b91505092915050565b6000602082840312156141f6576141f5613af0565b5b600061420484828501613cf2565b91505092915050565b6000806040838503121561422457614223613af0565b5b600061423285828601613c7e565b925050602061424385828601613cf2565b9150509250929050565b600080fd5b60008083601f84011261426857614267613e4c565b5b8235905067ffffffffffffffff8111156142855761428461424d565b5b6020830191508360018202830111156142a1576142a0613ef8565b5b9250929050565b600080602083850312156142bf576142be613af0565b5b600083013567ffffffffffffffff8111156142dd576142dc613af5565b5b6142e985828601614252565b92509250509250929050565b60008083601f84011261430b5761430a613e4c565b5b8235905067ffffffffffffffff8111156143285761432761424d565b5b60208301915083602082028301111561434457614343613ef8565b5b9250929050565b60008083601f84011261436157614360613e4c565b5b8235905067ffffffffffffffff81111561437e5761437d61424d565b5b60208301915083602082028301111561439a57614399613ef8565b5b9250929050565b600080600080600080606087890312156143be576143bd613af0565b5b600087013567ffffffffffffffff8111156143dc576143db613af5565b5b6143e889828a016142f5565b9650965050602087013567ffffffffffffffff81111561440b5761440a613af5565b5b61441789828a0161434b565b9450945050604087013567ffffffffffffffff81111561443a57614439613af5565b5b61444689828a0161434b565b92509250509295509295509295565b6000806040838503121561446c5761446b613af0565b5b600061447a85828601613cf2565b925050602061448b85828601613e0a565b9150509250929050565b600067ffffffffffffffff8211156144b0576144af613e51565b5b6144b982613bfb565b9050602081019050919050565b60006144d96144d484614495565b613eb1565b9050828152602081018484840111156144f5576144f46140e2565b5b614500848285614118565b509392505050565b600082601f83011261451d5761451c613e4c565b5b813561452d8482602086016144c6565b91505092915050565b600080600080608085870312156145505761454f613af0565b5b600061455e87828801613cf2565b945050602061456f87828801613cf2565b935050604061458087828801613c7e565b925050606085013567ffffffffffffffff8111156145a1576145a0613af5565b5b6145ad87828801614508565b91505092959194509250565b600080604083850312156145d0576145cf613af0565b5b60006145de85828601613cf2565b92505060206145ef85828601613cf2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061464057607f821691505b602082108103614653576146526145f9565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006146b5602183613bc0565b91506146c082614659565b604082019050919050565b600060208201905081810360008301526146e4816146a8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000614747603e83613bc0565b9150614752826146eb565b604082019050919050565b600060208201905081810360008301526147768161473a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614808602e83613bc0565b9150614813826147ac565b604082019050919050565b60006020820190508181036000830152614837816147fb565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061489a602b83613bc0565b91506148a58261483e565b604082019050919050565b600060208201905081810360008301526148c98161488d565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061492c602c83613bc0565b9150614937826148d0565b604082019050919050565b6000602082019050818103600083015261495b8161491f565b9050919050565b7f626173655552492063616e6e6f7420626520656d707479000000000000000000600082015250565b6000614998601783613bc0565b91506149a382614962565b602082019050919050565b600060208201905081810360008301526149c78161498b565b9050919050565b7f636f6e7472616374206973206c6f636b65642c2063616e6e6f74206d6f64696660008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a2a602183613bc0565b9150614a35826149ce565b604082019050919050565b60006020820190508181036000830152614a5981614a1d565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614ac27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614a85565b614acc8683614a85565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614b09614b04614aff84613aa4565b614ae4565b613aa4565b9050919050565b6000819050919050565b614b2383614aee565b614b37614b2f82614b10565b848454614a92565b825550505050565b600090565b614b4c614b3f565b614b57818484614b1a565b505050565b5b81811015614b7b57614b70600082614b44565b600181019050614b5d565b5050565b601f821115614bc057614b9181614a60565b614b9a84614a75565b81016020851015614ba9578190505b614bbd614bb585614a75565b830182614b5c565b50505b505050565b600082821c905092915050565b6000614be360001984600802614bc5565b1980831691505092915050565b6000614bfc8383614bd2565b9150826002028217905092915050565b614c1582613bb5565b67ffffffffffffffff811115614c2e57614c2d613e51565b5b614c388254614628565b614c43828285614b7f565b600060209050601f831160018114614c765760008415614c64578287015190505b614c6e8582614bf0565b865550614cd6565b601f198416614c8486614a60565b60005b82811015614cac57848901518255600182019150602085019450602081019050614c87565b86831015614cc95784890151614cc5601f891682614bd2565b8355505b6001600288020188555050505b505050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614d14601f83613bc0565b9150614d1f82614cde565b602082019050919050565b60006020820190508181036000830152614d4381614d07565b9050919050565b7f416c6c6f776c697374733a204d696e74696e67206973206e6f7420416c6c6f7760008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000614da6602283613bc0565b9150614db182614d4a565b604082019050919050565b60006020820190508181036000830152614dd581614d99565b9050919050565b7f416c6c6f776c697374733a205175616e74697479204d6f7265205468616e204160008201527f6c6c6f6361746564000000000000000000000000000000000000000000000000602082015250565b6000614e38602883613bc0565b9150614e4382614ddc565b604082019050919050565b60006020820190508181036000830152614e6781614e2b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614ea882613aa4565b9150614eb383613aa4565b9250828202614ec181613aa4565b91508282048414831517614ed857614ed7614e6e565b5b5092915050565b7f416c6c6f776c697374733a20496e73756666696369656e742066656500000000600082015250565b6000614f15601c83613bc0565b9150614f2082614edf565b602082019050919050565b60006020820190508181036000830152614f4481614f08565b9050919050565b7f5175616e746974792043616e6e6f74206265205a65726f000000000000000000600082015250565b6000614f81601783613bc0565b9150614f8c82614f4b565b602082019050919050565b60006020820190508181036000830152614fb081614f74565b9050919050565b7f5175616e74697479204578636565647320417661696c61626c6520546f6b656e60008201527f20436f756e740000000000000000000000000000000000000000000000000000602082015250565b6000615013602683613bc0565b915061501e82614fb7565b604082019050919050565b6000602082019050818103600083015261504281615006565b9050919050565b600061505482613aa4565b915061505f83613aa4565b925082820390508181111561507757615076614e6e565b5b92915050565b600061508882613aa4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036150ba576150b9614e6e565b5b600182019050919050565b600081905092915050565b60006150db82613bb5565b6150e581856150c5565b93506150f5818560208601613bd1565b80840191505092915050565b600061510d82846150d0565b915081905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061514e601883613bc0565b915061515982615118565b602082019050919050565b6000602082019050818103600083015261517d81615141565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006151e0602983613bc0565b91506151eb82615184565b604082019050919050565b6000602082019050818103600083015261520f816151d3565b9050919050565b600061522283856150c5565b935061522f838584614118565b82840190509392505050565b6000615248828486615216565b91508190509392505050565b7f416c6c6f776c697374733a20496e76616c6964206c6973740000000000000000600082015250565b600061528a601883613bc0565b915061529582615254565b602082019050919050565b600060208201905081810360008301526152b98161527d565b9050919050565b7f4172726179204c656e67746873204d69736d6174636800000000000000000000600082015250565b60006152f6601683613bc0565b9150615301826152c0565b602082019050919050565b60006020820190508181036000830152615325816152e9565b9050919050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126153585761535761532c565b5b80840192508235915067ffffffffffffffff82111561537a57615379615331565b5b60208301925060018202360383131561539657615395615336565b5b509250929050565b7f416c72656164792052657665616c656400000000000000000000000000000000600082015250565b60006153d4601083613bc0565b91506153df8261539e565b602082019050919050565b60006020820190508181036000830152615403816153c7565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615466602f83613bc0565b91506154718261540a565b604082019050919050565b6000602082019050818103600083015261549581615459565b9050919050565b600081546154a981614628565b6154b381866150c5565b945060018216600081146154ce57600181146154e357615516565b60ff1983168652811515820286019350615516565b6154ec85614a60565b60005b8381101561550e578154818901526001820191506020810190506154ef565b838801955050505b50505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006155556005836150c5565b91506155608261551f565b600582019050919050565b6000615577828561549c565b915061558382846150d0565b915061558e82615548565b91508190509392505050565b600081905092915050565b50565b60006155b560008361559a565b91506155c0826155a5565b600082019050919050565b60006155d6826155a8565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000615616600f83613bc0565b9150615621826155e0565b602082019050919050565b6000602082019050818103600083015261564581615609565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156a8602683613bc0565b91506156b38261564c565b604082019050919050565b600060208201905081810360008301526156d78161569b565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061573a602583613bc0565b9150615745826156de565b604082019050919050565b600060208201905081810360008301526157698161572d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006157cc602483613bc0565b91506157d782615770565b604082019050919050565b600060208201905081810360008301526157fb816157bf565b9050919050565b600061580d82613aa4565b915061581883613aa4565b92508282019050808211156158305761582f614e6e565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061586c602083613bc0565b915061587782615836565b602082019050919050565b6000602082019050818103600083015261589b8161585f565b9050919050565b7f416c6c6f776c697374733a205075626c6963204d696e7420416c72656164792060008201527f496e205468697320537461746500000000000000000000000000000000000000602082015250565b60006158fe602d83613bc0565b9150615909826158a2565b604082019050919050565b6000602082019050818103600083015261592d816158f1565b9050919050565b60006040820190506159496000830185613b8b565b6159566020830184613b8b565b9392505050565b7f416c6c6f776c697374733a204172726179204c656e67746873204d69736d617460008201527f6368000000000000000000000000000000000000000000000000000000000000602082015250565b60006159b9602283613bc0565b91506159c48261595d565b604082019050919050565b600060208201905081810360008301526159e8816159ac565b9050919050565b7f416c6c6f776c697374733a20496e76616c6964204c69737420496e6465780000600082015250565b6000615a25601e83613bc0565b9150615a30826159ef565b602082019050919050565b60006020820190508181036000830152615a5481615a18565b9050919050565b7f416c6c6f776c697374733a204d696e74696e6720506175736564000000000000600082015250565b6000615a91601a83613bc0565b9150615a9c82615a5b565b602082019050919050565b60006020820190508181036000830152615ac081615a84565b9050919050565b7f416c6c6f776c697374733a205175616e7469747920556e646572666c6f770000600082015250565b6000615afd601e83613bc0565b9150615b0882615ac7565b602082019050919050565b60006020820190508181036000830152615b2c81615af0565b9050919050565b7f416c6c6f776c697374733a20416c726561647920556e70617573656400000000600082015250565b6000615b69601c83613bc0565b9150615b7482615b33565b602082019050919050565b60006020820190508181036000830152615b9881615b5c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615bd5601983613bc0565b9150615be082615b9f565b602082019050919050565b60006020820190508181036000830152615c0481615bc8565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615c67603283613bc0565b9150615c7282615c0b565b604082019050919050565b60006020820190508181036000830152615c9681615c5a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615cd782613aa4565b9150615ce283613aa4565b925082615cf257615cf1615c9d565b5b828204905092915050565b6000615d0882613aa4565b9150615d1383613aa4565b925082615d2357615d22615c9d565b5b828206905092915050565b7f416c6c6f776c697374733a20416c726561647920506175736564000000000000600082015250565b6000615d64601a83613bc0565b9150615d6f82615d2e565b602082019050919050565b60006020820190508181036000830152615d9381615d57565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615dc182615d9a565b615dcb8185615da5565b9350615ddb818560208601613bd1565b615de481613bfb565b840191505092915050565b6000608082019050615e046000830187613a95565b615e116020830186613a95565b615e1e6040830185613aae565b8181036060830152615e308184615db6565b905095945050505050565b600081519050615e4a81613b26565b92915050565b600060208284031215615e6657615e65613af0565b5b6000615e7484828501615e3b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615ee2602083613bc0565b9150615eed82615eac565b602082019050919050565b60006020820190508181036000830152615f1181615ed5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615f4e601c83613bc0565b9150615f5982615f18565b602082019050919050565b60006020820190508181036000830152615f7d81615f41565b905091905056fe61376466616564653363306266653566636639313134303630363664356463306539373062653530633839613430396339386131313764353430623539663138a2646970667358221220c266d01db7c813148aceb2e60b0cffb436735e7fc9b7ad42c8b2e5fd992f467864736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102e85760003560e01c8063714c539811610190578063b88d4fde116100dc578063dc53fd9211610095578063e985e9c51161006f578063e985e9c514610b4d578063f14210a614610b8a578063f2fde38b14610bb3578063faf2408f14610bdc57610328565b8063dc53fd9214610acc578063e14ca35314610af7578063e1a283d614610b2257610328565b8063b88d4fde146109be578063c6ab67a3146109e7578063c87b56dd14610a12578063ca2660fd14610a4f578063d107993814610a78578063da8fbf2a14610ab557610328565b8063905fcdcd116101495780639e5dcad9116101235780639e5dcad91461092a5780639f181b5e14610953578063a22cb4651461097e578063a475b5dd146109a757610328565b8063905fcdcd146108ab57806395d89b41146108e85780639e2517581461091357610328565b8063714c53981461079b578063715018a6146107c65780637c2cad6c146107dd578063804ef7e01461081a57806386944523146108575780638da5cb5b1461088057610328565b80633eaaf86b1161024f578063570c5c46116102085780636352211e116101e25780636352211e146106df57806367f484f21461071c57806370a082311461073357806370ee8aaf1461077057610328565b8063570c5c461461068157806357782b2f146106ac5780635d72f059146106c857610328565b80633eaaf86b1461057557806340bb6f9e146105a057806342842e0e146105c95780634c2e77ac146105f25780634f6ccce71461061b57806355f804b31461065857610328565b806316cad2ab116102a157806316cad2ab1461046557806318160ddd1461049057806323b872dd146104bb578063254a4737146104e457806326092b831461050d5780632f745c591461053857610328565b806301ffc9a71461032d57806306fdde031461036a578063081812fc14610395578063095ea7b3146103d25780630992d325146103fb5780630a71684b1461042657610328565b36610328577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874333460405161031e929190613abd565b60405180910390a1005b600080fd5b34801561033957600080fd5b50610354600480360381019061034f9190613b52565b610c07565b6040516103619190613b9a565b60405180910390f35b34801561037657600080fd5b5061037f610c81565b60405161038c9190613c45565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b79190613c93565b610d13565b6040516103c99190613cc0565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f49190613d07565b610d59565b005b34801561040757600080fd5b50610410610e70565b60405161041d9190613c45565b60405180910390f35b34801561043257600080fd5b5061044d60048036038101906104489190613c93565b610f80565b60405161045c93929190613d47565b60405180910390f35b34801561047157600080fd5b5061047a611042565b6040516104879190613d85565b60405180910390f35b34801561049c57600080fd5b506104a561104f565b6040516104b29190613d85565b60405180910390f35b3480156104c757600080fd5b506104e260048036038101906104dd9190613da0565b611059565b005b3480156104f057600080fd5b5061050b60048036038101906105069190613e1f565b6110b9565b005b34801561051957600080fd5b506105226110cd565b60405161052f9190613b9a565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a9190613d07565b6110e0565b60405161056c9190613d85565b60405180910390f35b34801561058157600080fd5b5061058a611185565b6040516105979190613d85565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c29190614057565b61118b565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190613da0565b6111a3565b005b3480156105fe57600080fd5b5061061960048036038101906106149190613c93565b6111c3565b005b34801561062757600080fd5b50610642600480360381019061063d9190613c93565b6111d7565b60405161064f9190613d85565b60405180910390f35b34801561066457600080fd5b5061067f600480360381019061067a9190614197565b611248565b005b34801561068d57600080fd5b506106966112fd565b6040516106a39190613b9a565b60405180910390f35b6106c660048036038101906106c19190613c93565b611314565b005b3480156106d457600080fd5b506106dd61165d565b005b3480156106eb57600080fd5b5061070660048036038101906107019190613c93565b61166f565b6040516107139190613cc0565b60405180910390f35b34801561072857600080fd5b50610731611720565b005b34801561073f57600080fd5b5061075a600480360381019061075591906141e0565b611732565b6040516107679190613d85565b60405180910390f35b34801561077c57600080fd5b506107856117e9565b6040516107929190613d85565b60405180910390f35b3480156107a757600080fd5b506107b0611844565b6040516107bd9190613c45565b60405180910390f35b3480156107d257600080fd5b506107db6118d6565b005b3480156107e957600080fd5b5061080460048036038101906107ff919061420d565b6118ea565b6040516108119190613d85565b60405180910390f35b34801561082657600080fd5b50610841600480360381019061083c91906142a8565b61190f565b60405161084e9190613d85565b60405180910390f35b34801561086357600080fd5b5061087e600480360381019061087991906143a1565b61198e565b005b34801561088c57600080fd5b50610895611ab1565b6040516108a29190613cc0565b60405180910390f35b3480156108b757600080fd5b506108d260048036038101906108cd91906141e0565b611adb565b6040516108df9190613d85565b60405180910390f35b3480156108f457600080fd5b506108fd611b37565b60405161090a9190613c45565b60405180910390f35b34801561091f57600080fd5b50610928611bc9565b005b34801561093657600080fd5b50610951600480360381019061094c9190614197565b611bee565b005b34801561095f57600080fd5b50610968611c09565b6040516109759190613d85565b60405180910390f35b34801561098a57600080fd5b506109a560048036038101906109a09190614455565b611c1a565b005b3480156109b357600080fd5b506109bc611c30565b005b3480156109ca57600080fd5b506109e560048036038101906109e09190614536565b611cab565b005b3480156109f357600080fd5b506109fc611d0d565b604051610a099190613c45565b60405180910390f35b348015610a1e57600080fd5b50610a396004803603810190610a349190613c93565b611d29565b604051610a469190613c45565b60405180910390f35b348015610a5b57600080fd5b50610a766004803603810190610a71919061420d565b611e53565b005b348015610a8457600080fd5b50610a9f6004803603810190610a9a9190614197565b611e69565b604051610aac9190613d85565b60405180910390f35b348015610ac157600080fd5b50610aca611e97565b005b348015610ad857600080fd5b50610ae1611ea9565b604051610aee9190613d85565b60405180910390f35b348015610b0357600080fd5b50610b0c611eb5565b604051610b199190613d85565b60405180910390f35b348015610b2e57600080fd5b50610b37611ed6565b604051610b449190613b9a565b60405180910390f35b348015610b5957600080fd5b50610b746004803603810190610b6f91906145b9565b611ee9565b604051610b819190613b9a565b60405180910390f35b348015610b9657600080fd5b50610bb16004803603810190610bac9190613c93565b611f7d565b005b348015610bbf57600080fd5b50610bda6004803603810190610bd591906141e0565b612035565b005b348015610be857600080fd5b50610bf16120b8565b604051610bfe9190613d85565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7a5750610c79826120be565b5b9050919050565b606060008054610c9090614628565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbc90614628565b8015610d095780601f10610cde57610100808354040283529160200191610d09565b820191906000526020600020905b815481529060010190602001808311610cec57829003601f168201915b5050505050905090565b6000610d1e826121a0565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d648261166f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb906146cb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610df36121eb565b73ffffffffffffffffffffffffffffffffffffffff161480610e225750610e2181610e1c6121eb565b611ee9565b5b610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e589061475d565b60405180910390fd5b610e6b83836121f3565b505050565b606060011515600f60019054906101000a900460ff16151503610eca576040518060400160405280600681526020017f7075626c696300000000000000000000000000000000000000000000000000008152509050610f7d565b600d600e5481548110610ee057610edf61477d565b5b90600052602060002090600302016000018054610efc90614628565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2890614628565b8015610f755780601f10610f4a57610100808354040283529160200191610f75565b820191906000526020600020905b815481529060010190602001808311610f5857829003601f168201915b505050505090505b90565b600d8181548110610f9057600080fd5b9060005260206000209060030201600091509050806000018054610fb390614628565b80601f0160208091040260200160405190810160405280929190818152602001828054610fdf90614628565b801561102c5780601f106110015761010080835404028352916020019161102c565b820191906000526020600020905b81548152906001019060200180831161100f57829003601f168201915b5050505050908060010154908060020154905083565b6000600d80549050905090565b6000600c54905090565b61106a6110646121eb565b826122ac565b6110a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a09061481e565b60405180910390fd5b6110b4838383612341565b505050565b6110c16125a7565b6110ca81612625565b50565b600f60019054906101000a900460ff1681565b60006110eb83611732565b821061112c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611123906148b0565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c5481565b6111936125a7565b61119e8383836126e5565b505050565b6111be83838360405180602001604052806000815250611cab565b505050565b6111cb6125a7565b6111d4816128e4565b50565b60006111e1612985565b8210611222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121990614942565b60405180910390fd5b600882815481106112365761123561477d565b5b90600052602060002001549050919050565b6112506125a7565b6000815111611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b906149ae565b60405180910390fd5b60001515601560019054906101000a900460ff161515146112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190614a40565b60405180910390fd5b80601390816112f99190614c0c565b5050565b6000601560019054906101000a900460ff16905090565b600260125403611359576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135090614d2a565b60405180910390fd5b60026012819055508060001515600f60009054906101000a900460ff161515146113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90614dbc565b60405180910390fd5b60001515600f60019054906101000a900460ff1615150361141f576113dc33611adb565b81111561141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590614e4e565b60405180910390fd5b5b806114286117e9565b6114329190614e9d565b341015611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b90614f2b565b60405180910390fd5b600082116114b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ae90614f97565b60405180910390fd5b6114bf611eb5565b821115611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f890615029565b60405180910390fd5b600061150b6117e9565b90506000838261151b9190614e9d565b346115269190615049565b905060001515600f60019054906101000a900460ff1615150361154e5761154d3385612992565b5b6000600190505b848111611586576000611566612aa6565b90506115723382612ac6565b50808061157e9061507d565b915050611555565b5061158f610e70565b60405161159c9190615101565b6040518091039020823373ffffffffffffffffffffffffffffffffffffffff167fefb9294a20b99e043c070cefb1334fc0640284baa5683dd324d81ed208b84bbb876040516115eb9190613d85565b60405180910390a460008111801561160257503481105b1561164f573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561164d573d6000803e3d6000fd5b505b505050600160128190555050565b6116656125a7565b61166d612ae4565b565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170e90615164565b60405180910390fd5b80915050919050565b6117286125a7565b611730612b83565b565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611799906151f6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600060011515600f60019054906101000a900460ff161515036118165767016345785d8a00009050611841565b600d600e548154811061182c5761182b61477d565b5b90600052602060002090600302016002015490505b90565b60606013805461185390614628565b80601f016020809104026020016040519081016040528092919081815260200182805461187f90614628565b80156118cc5780601f106118a1576101008083540402835291602001916118cc565b820191906000526020600020905b8154815290600101906020018083116118af57829003601f168201915b5050505050905090565b6118de6125a7565b6118e86000612b9c565b565b6010602052816000526040600020602052806000526040600020600091509150505481565b6000806011848460405161192492919061523b565b908152602001604051809103902054905060008111611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f906152a0565b60405180910390fd5b6001816119859190615049565b91505092915050565b6119966125a7565b8383905082829050146119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d59061530c565b60405180910390fd5b858590508282905014611a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1d9061530c565b60405180910390fd5b60005b86869050811015611aa857611a95878783818110611a4a57611a4961477d565b5b9050602002810190611a5c919061533b565b878785818110611a6f57611a6e61477d565b5b90506020020135868686818110611a8957611a8861477d565b5b90506020020135612c62565b8080611aa09061507d565b915050611a29565b50505050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600060106000600e54815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060018054611b4690614628565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7290614628565b8015611bbf5780601f10611b9457610100808354040283529160200191611bbf565b820191906000526020600020905b815481529060010190602001808311611ba257829003601f168201915b5050505050905090565b611bd16125a7565b6001601560016101000a81548160ff021916908315150217905550565b611bf66125a7565b8060149081611c059190614c0c565b5050565b6000611c15600b612d48565b905090565b611c2c611c256121eb565b8383612d56565b5050565b611c386125a7565b60001515601560009054906101000a900460ff16151514611c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c85906153ea565b60405180910390fd5b6001601560006101000a81548160ff021916908315150217905550565b611cbc611cb66121eb565b836122ac565b611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf29061481e565b60405180910390fd5b611d0784848484612ec2565b50505050565b604051806060016040528060408152602001615f856040913981565b606060001515601560009054906101000a900460ff16151503611dd85760148054611d5390614628565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7f90614628565b8015611dcc5780601f10611da157610100808354040283529160200191611dcc565b820191906000526020600020905b815481529060010190602001808311611daf57829003601f168201915b50505050509050611e4e565b611de182612f1e565b611e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e179061547c565b60405180910390fd5b6013611e2b83612f8a565b604051602001611e3c92919061556b565b60405160208183030381529060405290505b919050565b611e5b6125a7565b611e6582826130ea565b5050565b6011818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b611e9f6125a7565b611ea7613144565b565b67016345785d8a000081565b6000611ebf611c09565b611ec761104f565b611ed19190615049565b905090565b600f60009054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f856125a7565b60003373ffffffffffffffffffffffffffffffffffffffff1682604051611fab906155cb565b60006040518083038185875af1925050503d8060008114611fe8576040519150601f19603f3d011682016040523d82523d6000602084013e611fed565b606091505b5050905080612031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120289061562c565b60405180910390fd5b5050565b61203d6125a7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036120ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a3906156be565b60405180910390fd5b6120b581612b9c565b50565b600e5481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061218957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121995750612198826131e3565b5b9050919050565b6121a981612f1e565b6121e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121df90615164565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122668361166f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806122b88361166f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806122fa57506122f98185611ee9565b5b8061233857508373ffffffffffffffffffffffffffffffffffffffff1661232084610d13565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123618261166f565b73ffffffffffffffffffffffffffffffffffffffff16146123b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ae90615750565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241d906157e2565b60405180910390fd5b61243183838361324d565b61243c6000826121f3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461248c9190615049565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e39190615802565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125a283838361335f565b505050565b6125af6121eb565b73ffffffffffffffffffffffffffffffffffffffff166125cd611ab1565b73ffffffffffffffffffffffffffffffffffffffff1614612623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261a90615882565b60405180910390fd5b565b801515600f60019054906101000a900460ff1615150361267a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267190615914565b60405180910390fd5b6000600f60019054906101000a900460ff16905081600f60016101000a81548160ff0219169083151502179055507f6c1e7e18af620f29f695684304e27e8853103701fde7b6f1f70e24da3a0699b981836040516126d9929190615934565b60405180910390a15050565b8051825114612729576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612720906159cf565b60405180910390fd5b6000600d848154811061273f5761273e61477d565b5b906000526020600020906003020160010154905060005b83518110156128dd5760008482815181106127745761277361477d565b5b6020026020010151905060006010600088815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146127dc57506128ca565b60008483815181106127f1576127f061477d565b5b60200260200101510361285857826010600088815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506128c8565b83828151811061286b5761286a61477d565b5b60200260200101516010600088815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b505b80806128d59061507d565b915050612756565b5050505050565b600d80549050811061292b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292290615a3b565b60405180910390fd5b600f60009054906101000a900460ff161561297b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297290615aa7565b60405180910390fd5b80600e8190555050565b6000600880549050905090565b600060106000600e54815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082826129f79190615049565b1015612a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2f90615b13565b60405180910390fd5b8160106000600e54815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a9a9190615049565b92505081905550505050565b600080612ab3600b612d48565b9050612abf600b613364565b8091505090565b612ae082826040518060200160405280600081525061337a565b5050565b60011515600f60009054906101000a900460ff16151514612b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3190615b7f565b60405180910390fd5b6000600f60006101000a81548160ff0219169083151502179055507ff0ad920eb55b91897649b1d99e9b1c60a5ce9fd71f94308af6d0e1717951ff8b60405160405180910390a1565b612b9a6001600e54612b959190615802565b6128e4565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600d604051806060016040528086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505081526020018481526020018381525090806001815401808255809150506001900390600052602060002090600302016000909190919091506000820151816000019081612d019190614c0c565b5060208201518160010155604082015181600201555050600d8054905060118585604051612d3092919061523b565b90815260200160405180910390208190555050505050565b600081600001549050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dbb90615beb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612eb59190613b9a565b60405180910390a3505050565b612ecd848484612341565b612ed9848484846133d5565b612f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0f90615c7d565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008203612fd1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130e5565b600082905060005b60008214613003578080612fec9061507d565b915050600a82612ffc9190615ccc565b9150612fd9565b60008167ffffffffffffffff81111561301f5761301e613e51565b5b6040519080825280601f01601f1916602001820160405280156130515781602001600182028036833780820191505090505b5090505b600085146130de5760018261306a9190615049565b9150600a856130799190615cfd565b60306130859190615802565b60f81b81838151811061309b5761309a61477d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130d79190615ccc565b9450613055565b8093505050505b919050565b60006010600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60001515600f60009054906101000a900460ff1615151461319a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319190615d7a565b60405180910390fd5b6001600f60006101000a81548160ff0219169083151502179055507feb560756bd0f0f241c73914ffad902460a345bba8464cc80dc17a58231eed61a60405160405180910390a1565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61325883838361355c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361329a5761329581613561565b6132d9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132d8576132d783826135aa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361331b5761331681613717565b61335a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146133595761335882826137e8565b5b5b505050565b505050565b6001816000016000828254019250508190555050565b6133848383613867565b61339160008484846133d5565b6133d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c790615c7d565b60405180910390fd5b505050565b60006133f68473ffffffffffffffffffffffffffffffffffffffff16613a40565b1561354f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261341f6121eb565b8786866040518563ffffffff1660e01b81526004016134419493929190615def565b6020604051808303816000875af192505050801561347d57506040513d601f19601f8201168201806040525081019061347a9190615e50565b60015b6134ff573d80600081146134ad576040519150601f19603f3d011682016040523d82523d6000602084013e6134b2565b606091505b5060008151036134f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ee90615c7d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613554565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135b784611732565b6135c19190615049565b90506000600760008481526020019081526020016000205490508181146136a6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061372b9190615049565b905060006009600084815260200190815260200160002054905060006008838154811061375b5761375a61477d565b5b90600052602060002001549050806008838154811061377d5761377c61477d565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806137cc576137cb615e7d565b5b6001900381819060005260206000200160009055905550505050565b60006137f383611732565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036138d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138cd90615ef8565b60405180910390fd5b6138df81612f1e565b1561391f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391690615f64565b60405180910390fd5b61392b6000838361324d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461397b9190615802565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a3c6000838361335f565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a8e82613a63565b9050919050565b613a9e81613a83565b82525050565b6000819050919050565b613ab781613aa4565b82525050565b6000604082019050613ad26000830185613a95565b613adf6020830184613aae565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b2f81613afa565b8114613b3a57600080fd5b50565b600081359050613b4c81613b26565b92915050565b600060208284031215613b6857613b67613af0565b5b6000613b7684828501613b3d565b91505092915050565b60008115159050919050565b613b9481613b7f565b82525050565b6000602082019050613baf6000830184613b8b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613bef578082015181840152602081019050613bd4565b60008484015250505050565b6000601f19601f8301169050919050565b6000613c1782613bb5565b613c218185613bc0565b9350613c31818560208601613bd1565b613c3a81613bfb565b840191505092915050565b60006020820190508181036000830152613c5f8184613c0c565b905092915050565b613c7081613aa4565b8114613c7b57600080fd5b50565b600081359050613c8d81613c67565b92915050565b600060208284031215613ca957613ca8613af0565b5b6000613cb784828501613c7e565b91505092915050565b6000602082019050613cd56000830184613a95565b92915050565b613ce481613a83565b8114613cef57600080fd5b50565b600081359050613d0181613cdb565b92915050565b60008060408385031215613d1e57613d1d613af0565b5b6000613d2c85828601613cf2565b9250506020613d3d85828601613c7e565b9150509250929050565b60006060820190508181036000830152613d618186613c0c565b9050613d706020830185613aae565b613d7d6040830184613aae565b949350505050565b6000602082019050613d9a6000830184613aae565b92915050565b600080600060608486031215613db957613db8613af0565b5b6000613dc786828701613cf2565b9350506020613dd886828701613cf2565b9250506040613de986828701613c7e565b9150509250925092565b613dfc81613b7f565b8114613e0757600080fd5b50565b600081359050613e1981613df3565b92915050565b600060208284031215613e3557613e34613af0565b5b6000613e4384828501613e0a565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e8982613bfb565b810181811067ffffffffffffffff82111715613ea857613ea7613e51565b5b80604052505050565b6000613ebb613ae6565b9050613ec78282613e80565b919050565b600067ffffffffffffffff821115613ee757613ee6613e51565b5b602082029050602081019050919050565b600080fd5b6000613f10613f0b84613ecc565b613eb1565b90508083825260208201905060208402830185811115613f3357613f32613ef8565b5b835b81811015613f5c5780613f488882613cf2565b845260208401935050602081019050613f35565b5050509392505050565b600082601f830112613f7b57613f7a613e4c565b5b8135613f8b848260208601613efd565b91505092915050565b600067ffffffffffffffff821115613faf57613fae613e51565b5b602082029050602081019050919050565b6000613fd3613fce84613f94565b613eb1565b90508083825260208201905060208402830185811115613ff657613ff5613ef8565b5b835b8181101561401f578061400b8882613c7e565b845260208401935050602081019050613ff8565b5050509392505050565b600082601f83011261403e5761403d613e4c565b5b813561404e848260208601613fc0565b91505092915050565b6000806000606084860312156140705761406f613af0565b5b600061407e86828701613c7e565b935050602084013567ffffffffffffffff81111561409f5761409e613af5565b5b6140ab86828701613f66565b925050604084013567ffffffffffffffff8111156140cc576140cb613af5565b5b6140d886828701614029565b9150509250925092565b600080fd5b600067ffffffffffffffff82111561410257614101613e51565b5b61410b82613bfb565b9050602081019050919050565b82818337600083830152505050565b600061413a614135846140e7565b613eb1565b905082815260208101848484011115614156576141556140e2565b5b614161848285614118565b509392505050565b600082601f83011261417e5761417d613e4c565b5b813561418e848260208601614127565b91505092915050565b6000602082840312156141ad576141ac613af0565b5b600082013567ffffffffffffffff8111156141cb576141ca613af5565b5b6141d784828501614169565b91505092915050565b6000602082840312156141f6576141f5613af0565b5b600061420484828501613cf2565b91505092915050565b6000806040838503121561422457614223613af0565b5b600061423285828601613c7e565b925050602061424385828601613cf2565b9150509250929050565b600080fd5b60008083601f84011261426857614267613e4c565b5b8235905067ffffffffffffffff8111156142855761428461424d565b5b6020830191508360018202830111156142a1576142a0613ef8565b5b9250929050565b600080602083850312156142bf576142be613af0565b5b600083013567ffffffffffffffff8111156142dd576142dc613af5565b5b6142e985828601614252565b92509250509250929050565b60008083601f84011261430b5761430a613e4c565b5b8235905067ffffffffffffffff8111156143285761432761424d565b5b60208301915083602082028301111561434457614343613ef8565b5b9250929050565b60008083601f84011261436157614360613e4c565b5b8235905067ffffffffffffffff81111561437e5761437d61424d565b5b60208301915083602082028301111561439a57614399613ef8565b5b9250929050565b600080600080600080606087890312156143be576143bd613af0565b5b600087013567ffffffffffffffff8111156143dc576143db613af5565b5b6143e889828a016142f5565b9650965050602087013567ffffffffffffffff81111561440b5761440a613af5565b5b61441789828a0161434b565b9450945050604087013567ffffffffffffffff81111561443a57614439613af5565b5b61444689828a0161434b565b92509250509295509295509295565b6000806040838503121561446c5761446b613af0565b5b600061447a85828601613cf2565b925050602061448b85828601613e0a565b9150509250929050565b600067ffffffffffffffff8211156144b0576144af613e51565b5b6144b982613bfb565b9050602081019050919050565b60006144d96144d484614495565b613eb1565b9050828152602081018484840111156144f5576144f46140e2565b5b614500848285614118565b509392505050565b600082601f83011261451d5761451c613e4c565b5b813561452d8482602086016144c6565b91505092915050565b600080600080608085870312156145505761454f613af0565b5b600061455e87828801613cf2565b945050602061456f87828801613cf2565b935050604061458087828801613c7e565b925050606085013567ffffffffffffffff8111156145a1576145a0613af5565b5b6145ad87828801614508565b91505092959194509250565b600080604083850312156145d0576145cf613af0565b5b60006145de85828601613cf2565b92505060206145ef85828601613cf2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061464057607f821691505b602082108103614653576146526145f9565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006146b5602183613bc0565b91506146c082614659565b604082019050919050565b600060208201905081810360008301526146e4816146a8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000614747603e83613bc0565b9150614752826146eb565b604082019050919050565b600060208201905081810360008301526147768161473a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614808602e83613bc0565b9150614813826147ac565b604082019050919050565b60006020820190508181036000830152614837816147fb565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061489a602b83613bc0565b91506148a58261483e565b604082019050919050565b600060208201905081810360008301526148c98161488d565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061492c602c83613bc0565b9150614937826148d0565b604082019050919050565b6000602082019050818103600083015261495b8161491f565b9050919050565b7f626173655552492063616e6e6f7420626520656d707479000000000000000000600082015250565b6000614998601783613bc0565b91506149a382614962565b602082019050919050565b600060208201905081810360008301526149c78161498b565b9050919050565b7f636f6e7472616374206973206c6f636b65642c2063616e6e6f74206d6f64696660008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a2a602183613bc0565b9150614a35826149ce565b604082019050919050565b60006020820190508181036000830152614a5981614a1d565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614ac27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614a85565b614acc8683614a85565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614b09614b04614aff84613aa4565b614ae4565b613aa4565b9050919050565b6000819050919050565b614b2383614aee565b614b37614b2f82614b10565b848454614a92565b825550505050565b600090565b614b4c614b3f565b614b57818484614b1a565b505050565b5b81811015614b7b57614b70600082614b44565b600181019050614b5d565b5050565b601f821115614bc057614b9181614a60565b614b9a84614a75565b81016020851015614ba9578190505b614bbd614bb585614a75565b830182614b5c565b50505b505050565b600082821c905092915050565b6000614be360001984600802614bc5565b1980831691505092915050565b6000614bfc8383614bd2565b9150826002028217905092915050565b614c1582613bb5565b67ffffffffffffffff811115614c2e57614c2d613e51565b5b614c388254614628565b614c43828285614b7f565b600060209050601f831160018114614c765760008415614c64578287015190505b614c6e8582614bf0565b865550614cd6565b601f198416614c8486614a60565b60005b82811015614cac57848901518255600182019150602085019450602081019050614c87565b86831015614cc95784890151614cc5601f891682614bd2565b8355505b6001600288020188555050505b505050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614d14601f83613bc0565b9150614d1f82614cde565b602082019050919050565b60006020820190508181036000830152614d4381614d07565b9050919050565b7f416c6c6f776c697374733a204d696e74696e67206973206e6f7420416c6c6f7760008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000614da6602283613bc0565b9150614db182614d4a565b604082019050919050565b60006020820190508181036000830152614dd581614d99565b9050919050565b7f416c6c6f776c697374733a205175616e74697479204d6f7265205468616e204160008201527f6c6c6f6361746564000000000000000000000000000000000000000000000000602082015250565b6000614e38602883613bc0565b9150614e4382614ddc565b604082019050919050565b60006020820190508181036000830152614e6781614e2b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614ea882613aa4565b9150614eb383613aa4565b9250828202614ec181613aa4565b91508282048414831517614ed857614ed7614e6e565b5b5092915050565b7f416c6c6f776c697374733a20496e73756666696369656e742066656500000000600082015250565b6000614f15601c83613bc0565b9150614f2082614edf565b602082019050919050565b60006020820190508181036000830152614f4481614f08565b9050919050565b7f5175616e746974792043616e6e6f74206265205a65726f000000000000000000600082015250565b6000614f81601783613bc0565b9150614f8c82614f4b565b602082019050919050565b60006020820190508181036000830152614fb081614f74565b9050919050565b7f5175616e74697479204578636565647320417661696c61626c6520546f6b656e60008201527f20436f756e740000000000000000000000000000000000000000000000000000602082015250565b6000615013602683613bc0565b915061501e82614fb7565b604082019050919050565b6000602082019050818103600083015261504281615006565b9050919050565b600061505482613aa4565b915061505f83613aa4565b925082820390508181111561507757615076614e6e565b5b92915050565b600061508882613aa4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036150ba576150b9614e6e565b5b600182019050919050565b600081905092915050565b60006150db82613bb5565b6150e581856150c5565b93506150f5818560208601613bd1565b80840191505092915050565b600061510d82846150d0565b915081905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061514e601883613bc0565b915061515982615118565b602082019050919050565b6000602082019050818103600083015261517d81615141565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006151e0602983613bc0565b91506151eb82615184565b604082019050919050565b6000602082019050818103600083015261520f816151d3565b9050919050565b600061522283856150c5565b935061522f838584614118565b82840190509392505050565b6000615248828486615216565b91508190509392505050565b7f416c6c6f776c697374733a20496e76616c6964206c6973740000000000000000600082015250565b600061528a601883613bc0565b915061529582615254565b602082019050919050565b600060208201905081810360008301526152b98161527d565b9050919050565b7f4172726179204c656e67746873204d69736d6174636800000000000000000000600082015250565b60006152f6601683613bc0565b9150615301826152c0565b602082019050919050565b60006020820190508181036000830152615325816152e9565b9050919050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126153585761535761532c565b5b80840192508235915067ffffffffffffffff82111561537a57615379615331565b5b60208301925060018202360383131561539657615395615336565b5b509250929050565b7f416c72656164792052657665616c656400000000000000000000000000000000600082015250565b60006153d4601083613bc0565b91506153df8261539e565b602082019050919050565b60006020820190508181036000830152615403816153c7565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615466602f83613bc0565b91506154718261540a565b604082019050919050565b6000602082019050818103600083015261549581615459565b9050919050565b600081546154a981614628565b6154b381866150c5565b945060018216600081146154ce57600181146154e357615516565b60ff1983168652811515820286019350615516565b6154ec85614a60565b60005b8381101561550e578154818901526001820191506020810190506154ef565b838801955050505b50505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006155556005836150c5565b91506155608261551f565b600582019050919050565b6000615577828561549c565b915061558382846150d0565b915061558e82615548565b91508190509392505050565b600081905092915050565b50565b60006155b560008361559a565b91506155c0826155a5565b600082019050919050565b60006155d6826155a8565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000615616600f83613bc0565b9150615621826155e0565b602082019050919050565b6000602082019050818103600083015261564581615609565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156a8602683613bc0565b91506156b38261564c565b604082019050919050565b600060208201905081810360008301526156d78161569b565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061573a602583613bc0565b9150615745826156de565b604082019050919050565b600060208201905081810360008301526157698161572d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006157cc602483613bc0565b91506157d782615770565b604082019050919050565b600060208201905081810360008301526157fb816157bf565b9050919050565b600061580d82613aa4565b915061581883613aa4565b92508282019050808211156158305761582f614e6e565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061586c602083613bc0565b915061587782615836565b602082019050919050565b6000602082019050818103600083015261589b8161585f565b9050919050565b7f416c6c6f776c697374733a205075626c6963204d696e7420416c72656164792060008201527f496e205468697320537461746500000000000000000000000000000000000000602082015250565b60006158fe602d83613bc0565b9150615909826158a2565b604082019050919050565b6000602082019050818103600083015261592d816158f1565b9050919050565b60006040820190506159496000830185613b8b565b6159566020830184613b8b565b9392505050565b7f416c6c6f776c697374733a204172726179204c656e67746873204d69736d617460008201527f6368000000000000000000000000000000000000000000000000000000000000602082015250565b60006159b9602283613bc0565b91506159c48261595d565b604082019050919050565b600060208201905081810360008301526159e8816159ac565b9050919050565b7f416c6c6f776c697374733a20496e76616c6964204c69737420496e6465780000600082015250565b6000615a25601e83613bc0565b9150615a30826159ef565b602082019050919050565b60006020820190508181036000830152615a5481615a18565b9050919050565b7f416c6c6f776c697374733a204d696e74696e6720506175736564000000000000600082015250565b6000615a91601a83613bc0565b9150615a9c82615a5b565b602082019050919050565b60006020820190508181036000830152615ac081615a84565b9050919050565b7f416c6c6f776c697374733a205175616e7469747920556e646572666c6f770000600082015250565b6000615afd601e83613bc0565b9150615b0882615ac7565b602082019050919050565b60006020820190508181036000830152615b2c81615af0565b9050919050565b7f416c6c6f776c697374733a20416c726561647920556e70617573656400000000600082015250565b6000615b69601c83613bc0565b9150615b7482615b33565b602082019050919050565b60006020820190508181036000830152615b9881615b5c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615bd5601983613bc0565b9150615be082615b9f565b602082019050919050565b60006020820190508181036000830152615c0481615bc8565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615c67603283613bc0565b9150615c7282615c0b565b604082019050919050565b60006020820190508181036000830152615c9681615c5a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615cd782613aa4565b9150615ce283613aa4565b925082615cf257615cf1615c9d565b5b828204905092915050565b6000615d0882613aa4565b9150615d1383613aa4565b925082615d2357615d22615c9d565b5b828206905092915050565b7f416c6c6f776c697374733a20416c726561647920506175736564000000000000600082015250565b6000615d64601a83613bc0565b9150615d6f82615d2e565b602082019050919050565b60006020820190508181036000830152615d9381615d57565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615dc182615d9a565b615dcb8185615da5565b9350615ddb818560208601613bd1565b615de481613bfb565b840191505092915050565b6000608082019050615e046000830187613a95565b615e116020830186613a95565b615e1e6040830185613aae565b8181036060830152615e308184615db6565b905095945050505050565b600081519050615e4a81613b26565b92915050565b600060208284031215615e6657615e65613af0565b5b6000615e7484828501615e3b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615ee2602083613bc0565b9150615eed82615eac565b602082019050919050565b60006020820190508181036000830152615f1181615ed5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615f4e601c83613bc0565b9150615f5982615f18565b602082019050919050565b60006020820190508181036000830152615f7d81615f41565b905091905056fe61376466616564653363306266653566636639313134303630363664356463306539373062653530633839613430396339386131313764353430623539663138a2646970667358221220c266d01db7c813148aceb2e60b0cffb436735e7fc9b7ad42c8b2e5fd992f467864736f6c63430008110033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.