Address Details
contract
token
0x139C7729f085683DBdDe79E0Ca73614c1D7ca6d9
- Token
- CeloPunks (cpunk)
- Creator
- 0xd0841b–1b7705 at 0x8f75cb–c571c7
- Balance
- 0 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- Fetching transactions...
- Transfers
- Fetching transfers...
- Gas Used
- Fetching gas used...
- Last Balance Update
- 10049984
Transactions
Token Transfers
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- CeloPunks
- Optimization enabled
- false
- Compiler version
- v0.8.7+commit.e28d00a7
- EVM Version
- london
- Verified at
- 2022-05-23T15:33:16.055577Z
contracts/CCOC/Gamers/CeloPunks.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Strings} from "@openzeppelin/contracts/utils/Strings.sol"; import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import {ERC721Enumerable} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; contract CeloPunks is ERC721Enumerable, Ownable { event DaosMinted( uint id, uint price, address seller, address owner, string attributes, uint rarity_rank, address contract_address, string market_status); using Strings for uint256; using SafeMath for uint256; using Address for address; uint public MAX_DAOS = 9192; bool public hasSaleStarted = false; string public baseURI; string public baseExtension=".json"; address public dev; // developer address modifier onlyDev() { require(msg.sender == dev, "auction: wrong developer"); _; } constructor( address _dev ) ERC721("CeloPunks", "cpunk") public { dev = _dev; setBaseURI("https://ipfs.io/ipfs/QmY66eL6S4HRwrPZo1SgoaP79esvzZ6455B6yFoZKnJJ2T/"); } //internal function _baseURI() internal view virtual override returns (string memory){ return baseURI; } // Get the current tokens of owner function tokensOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { // Return an empty array return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index; for (index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } // The bounding curve, to enable Early adapters to buy cheap, and make money for charity function calculatePrice() public view returns (uint256) { require(hasSaleStarted == true, "Sale hasn't started"); require(totalSupply() < MAX_DAOS, "Sale has already ended"); uint currentSupply = totalSupply(); if (currentSupply >= 9001) { return 50000000000000000000; // 9001-9192: 50 CELO } else if (currentSupply >= 8001) { return 30000000000000000000; // 8000-9000: 30 CELO }else if (currentSupply >= 6001) { return 20000000000000000000; // 6000-8000: 20 CELO }else if (currentSupply >= 4001) { return 15000000000000000000; // 4000-6000: 15 CELO } else if (currentSupply >= 2751) { return 10000000000000000000; // 2750-4000: 10 CELO } else if (currentSupply >= 2251) { return 5000000000000000000; // 2250-2750: 5 CELO }else if (currentSupply >= 2001) { return 2000000000000000000; // 2000-2250: 2 CELO } else { return 0; // 0 - 2000 Free } } //public function mint(address _to, uint256 _mintAmount) public payable{ uint256 supply =totalSupply(); require(totalSupply() < MAX_DAOS, "Sale has already ended"); require(_mintAmount > 0 && _mintAmount <= 100, "You can adopt minimum 1, maximum 100 daos"); require(totalSupply().add(_mintAmount) <= MAX_DAOS, "Exceeds MAX_DAOS"); require(msg.value >= calculatePrice().mul(_mintAmount), "BNB value sent is below the price"); if(dev != address(0) && msg.value > 0){ Address.sendValue(payable(dev), msg.value); } for(uint256 i=1;i<=_mintAmount;i++){ uint256 tokenId = supply+i; _safeMint(_to, tokenId); emit DaosMinted( tokenId, /// token id msg.value, /// price msg.sender, /// seller _to, /// owner tokenURI(tokenId), /// attributes 0, /// rarity_rank address(this), /// contract_address "MINT" /// market_status ); } } // Decrease the MAX_DAOS variable only if these items aren't sold. // If sale doens't go as in our dreams, then we can increase it's value by this burn function burn(uint256 numDaosToBurn) public onlyDev { require(numDaosToBurn > 0 && numDaosToBurn <= 1000, "You can only burn a 1 - 1000 at the time"); uint NewMaxPoopies = MAX_DAOS - numDaosToBurn; require(totalSupply() <= NewMaxPoopies, "There NFT's are allready claimed"); MAX_DAOS = NewMaxPoopies; } function setBaseURI(string memory _newBaseURI) public onlyOwner{ baseURI=_newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner{ baseExtension=_newBaseExtension; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory curretBaseURI=_baseURI(); return bytes(curretBaseURI).length>0 ? string(abi.encodePacked(curretBaseURI, tokenId.toString(), baseExtension)) : ""; } function walletOfOwner(address _owner) public view returns(uint256[] memory) { uint256 ownerTokenCount=balanceOf(_owner); uint256[] memory tokenIds=new uint256[](ownerTokenCount); for(uint256 i;i<ownerTokenCount;i++){ tokenIds[i]=tokenOfOwnerByIndex(_owner, i); } return tokenIds; } // Start Sale, we can start minting! function startSale() public onlyDev { hasSaleStarted = true; } // Pause Sale function pauseSale() public onlyDev { hasSaleStarted = false; } // For return on investment, charity payouts and future development function withdrawAll() public payable onlyDev { require(payable(msg.sender).send(address(this).balance)); } // First items can be added to own wallet with this function reserveGiveaway(uint256 numDaos) public onlyDev { uint currentSupply = totalSupply(); require(numDaos > 0 && numDaos <= 100, "Max 50 to reserve at once"); require(totalSupply().add(numDaos) <= MAX_DAOS, "Exceeds MAX_DAOS"); require(hasSaleStarted == false, "Sale has already started"); uint256 index; // Reserved for people who helped this project and giveaways for (index = 0; index < numDaos; index++) { _safeMint(owner(), currentSupply + index); } } function changeDev(address _newDev) public onlyDev { dev = _newDev; } }
/_openzeppelin/contracts/access/Ownable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
/_openzeppelin/contracts/token/ERC721/ERC721.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
/_openzeppelin/contracts/token/ERC721/IERC721.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
/_openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
/_openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol
// 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(); } }
/_openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 tokenId); /** * @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); }
/_openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol
// 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); }
/_openzeppelin/contracts/utils/Address.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
/_openzeppelin/contracts/utils/Context.sol
// 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; } }
/_openzeppelin/contracts/utils/Strings.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
/_openzeppelin/contracts/utils/introspection/ERC165.sol
// 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; } }
/_openzeppelin/contracts/utils/introspection/IERC165.sol
// 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); }
/_openzeppelin/contracts/utils/math/SafeMath.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_dev","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"DaosMinted","inputs":[{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"uint256","name":"price","internalType":"uint256","indexed":false},{"type":"address","name":"seller","internalType":"address","indexed":false},{"type":"address","name":"owner","internalType":"address","indexed":false},{"type":"string","name":"attributes","internalType":"string","indexed":false},{"type":"uint256","name":"rarity_rank","internalType":"uint256","indexed":false},{"type":"address","name":"contract_address","internalType":"address","indexed":false},{"type":"string","name":"market_status","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_DAOS","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"baseExtension","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"baseURI","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"numDaosToBurn","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"calculatePrice","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeDev","inputs":[{"type":"address","name":"_newDev","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"dev","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasSaleStarted","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"_to","internalType":"address"},{"type":"uint256","name":"_mintAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"pauseSale","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"reserveGiveaway","inputs":[{"type":"uint256","name":"numDaos","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"_data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBaseExtension","inputs":[{"type":"string","name":"_newBaseExtension","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBaseURI","inputs":[{"type":"string","name":"_newBaseURI","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"startSale","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"tokensOfOwner","inputs":[{"type":"address","name":"_owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"walletOfOwner","inputs":[{"type":"address","name":"_owner","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"withdrawAll","inputs":[]}]
Contract Creation Code
0x60806040526123e8600b556000600c60006101000a81548160ff0219169083151502179055506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600e9080519060200190620000729291906200037b565b503480156200008057600080fd5b506040516200573e3803806200573e8339818101604052810190620000a6919062000442565b6040518060400160405280600981526020017f43656c6f50756e6b7300000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f6370756e6b00000000000000000000000000000000000000000000000000000081525081600090805190602001906200012a9291906200037b565b508060019080519060200190620001439291906200037b565b505050620001666200015a620001d860201b60201c565b620001e060201b60201c565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001d1604051806080016040528060448152602001620056fa60449139620002a660201b60201c565b50620005af565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002b6620001d860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002dc6200035160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000335576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200032c906200049b565b60405180910390fd5b80600d90805190602001906200034d9291906200037b565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003899062000502565b90600052602060002090601f016020900481019282620003ad5760008555620003f9565b82601f10620003c857805160ff1916838001178555620003f9565b82800160010185558215620003f9579182015b82811115620003f8578251825591602001919060010190620003db565b5b5090506200040891906200040c565b5090565b5b80821115620004275760008160009055506001016200040d565b5090565b6000815190506200043c8162000595565b92915050565b6000602082840312156200045b576200045a62000567565b5b60006200046b848285016200042b565b91505092915050565b600062000483602083620004bd565b915062000490826200056c565b602082019050919050565b60006020820190508181036000830152620004b68162000474565b9050919050565b600082825260208201905092915050565b6000620004db82620004e2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200051b57607f821691505b6020821081141562000532576200053162000538565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620005a081620004ce565b8114620005ac57600080fd5b50565b61513b80620005bf6000396000f3fe60806040526004361061020f5760003560e01c806370a0823111610118578063a40f1aa5116100a0578063c87b56dd1161006f578063c87b56dd1461075b578063d348b40914610798578063da3ef23f146107c3578063e985e9c5146107ec578063f2fde38b146108295761020f565b8063a40f1aa5146106c7578063b66a0e5d146106f0578063b88d4fde14610707578063c6682862146107305761020f565b806388a8c95c116100e757806388a8c95c146105f45780638da5cb5b1461061d57806391cca3db1461064857806395d89b4114610673578063a22cb4651461069e5761020f565b806370a0823114610559578063715018a6146105965780638462151c146105ad578063853828b6146105ea5761020f565b806340c10f191161019b5780634f6ccce71161016a5780634f6ccce71461047457806355367ba9146104b157806355f804b3146104c85780636352211e146104f15780636c0360eb1461052e5761020f565b806340c10f19146103c957806342842e0e146103e557806342966c681461040e578063438b6300146104375761020f565b806318160ddd116101e257806318160ddd146102e25780631c8b232d1461030d57806323b872dd146103385780632f745c59146103615780633bdf46191461039e5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190613763565b610852565b6040516102489190613f45565b60405180910390f35b34801561025d57600080fd5b506102666108cc565b6040516102739190613f60565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190613806565b61095e565b6040516102b09190613ebc565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613723565b6109e3565b005b3480156102ee57600080fd5b506102f7610afb565b6040516103049190614342565b60405180910390f35b34801561031957600080fd5b50610322610b08565b60405161032f9190613f45565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a919061360d565b610b1b565b005b34801561036d57600080fd5b5061038860048036038101906103839190613723565b610b7b565b6040516103959190614342565b60405180910390f35b3480156103aa57600080fd5b506103b3610c20565b6040516103c09190614342565b60405180910390f35b6103e360048036038101906103de9190613723565b610c26565b005b3480156103f157600080fd5b5061040c6004803603810190610407919061360d565b610ea6565b005b34801561041a57600080fd5b5061043560048036038101906104309190613806565b610ec6565b005b34801561044357600080fd5b5061045e600480360381019061045991906135a0565b61100e565b60405161046b9190613f23565b60405180910390f35b34801561048057600080fd5b5061049b60048036038101906104969190613806565b6110bc565b6040516104a89190614342565b60405180910390f35b3480156104bd57600080fd5b506104c661112d565b005b3480156104d457600080fd5b506104ef60048036038101906104ea91906137bd565b6111da565b005b3480156104fd57600080fd5b5061051860048036038101906105139190613806565b611270565b6040516105259190613ebc565b60405180910390f35b34801561053a57600080fd5b50610543611322565b6040516105509190613f60565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b91906135a0565b6113b0565b60405161058d9190614342565b60405180910390f35b3480156105a257600080fd5b506105ab611468565b005b3480156105b957600080fd5b506105d460048036038101906105cf91906135a0565b6114f0565b6040516105e19190613f23565b60405180910390f35b6105f26115fa565b005b34801561060057600080fd5b5061061b600480360381019061061691906135a0565b6116ca565b005b34801561062957600080fd5b5061063261179e565b60405161063f9190613ebc565b60405180910390f35b34801561065457600080fd5b5061065d6117c8565b60405161066a9190613ebc565b60405180910390f35b34801561067f57600080fd5b506106886117ee565b6040516106959190613f60565b60405180910390f35b3480156106aa57600080fd5b506106c560048036038101906106c091906136e3565b611880565b005b3480156106d357600080fd5b506106ee60048036038101906106e99190613806565b611896565b005b3480156106fc57600080fd5b50610705611a75565b005b34801561071357600080fd5b5061072e60048036038101906107299190613660565b611b22565b005b34801561073c57600080fd5b50610745611b84565b6040516107529190613f60565b60405180910390f35b34801561076757600080fd5b50610782600480360381019061077d9190613806565b611c12565b60405161078f9190613f60565b60405180910390f35b3480156107a457600080fd5b506107ad611cbc565b6040516107ba9190614342565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e591906137bd565b611e2d565b005b3480156107f857600080fd5b50610813600480360381019061080e91906135cd565b611ec3565b6040516108209190613f45565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b91906135a0565b611f57565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108c557506108c48261204f565b5b9050919050565b6060600080546108db906146e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610907906146e7565b80156109545780601f1061092957610100808354040283529160200191610954565b820191906000526020600020905b81548152906001019060200180831161093757829003601f168201915b5050505050905090565b600061096982612131565b6109a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099f906141a2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109ee82611270565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5690614222565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a7e61219d565b73ffffffffffffffffffffffffffffffffffffffff161480610aad5750610aac81610aa761219d565b611ec3565b5b610aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae390614102565b60405180910390fd5b610af683836121a5565b505050565b6000600880549050905090565b600c60009054906101000a900460ff1681565b610b2c610b2661219d565b8261225e565b610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6290614282565b60405180910390fd5b610b7683838361233c565b505050565b6000610b86836113b0565b8210610bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbe90613fa2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b5481565b6000610c30610afb565b9050600b54610c3d610afb565b10610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7490614262565b60405180910390fd5b600082118015610c8e575060648211155b610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc4906142c2565b60405180910390fd5b600b54610cea83610cdc610afb565b61259890919063ffffffff16565b1115610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d22906142e2565b60405180910390fd5b610d4582610d37611cbc565b6125ae90919063ffffffff16565b341015610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e90614022565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015610de65750600034115b15610e1857610e17600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346125c4565b5b6000600190505b828111610ea05760008183610e34919061450a565b9050610e4085826126b8565b7fda151f43f5b33d069af5503470dd1c847294d7a5a84352b3b20c0e06f883462381343388610e6e86611c12565b600030604051610e84979695949392919061435d565b60405180910390a1508080610e989061474a565b915050610e1f565b50505050565b610ec183838360405180602001604052806000815250611b22565b505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d90614242565b60405180910390fd5b600081118015610f6857506103e88111155b610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e90614322565b60405180910390fd5b600081600b54610fb791906145eb565b905080610fc2610afb565b1115611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa90613f82565b60405180910390fd5b80600b819055505050565b6060600061101b836113b0565b905060008167ffffffffffffffff811115611039576110386148af565b5b6040519080825280602002602001820160405280156110675781602001602082028036833780820191505090505b50905060005b828110156110b15761107f8582610b7b565b82828151811061109257611091614880565b5b60200260200101818152505080806110a99061474a565b91505061106d565b508092505050919050565b60006110c6610afb565b8210611107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fe906142a2565b60405180910390fd5b6008828154811061111b5761111a614880565b5b90600052602060002001549050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b490614242565b60405180910390fd5b6000600c60006101000a81548160ff021916908315150217905550565b6111e261219d565b73ffffffffffffffffffffffffffffffffffffffff1661120061179e565b73ffffffffffffffffffffffffffffffffffffffff1614611256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124d906141c2565b60405180910390fd5b80600d908051906020019061126c9291906133b4565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131090614142565b60405180910390fd5b80915050919050565b600d805461132f906146e7565b80601f016020809104026020016040519081016040528092919081815260200182805461135b906146e7565b80156113a85780601f1061137d576101008083540402835291602001916113a8565b820191906000526020600020905b81548152906001019060200180831161138b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611421576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141890614122565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61147061219d565b73ffffffffffffffffffffffffffffffffffffffff1661148e61179e565b73ffffffffffffffffffffffffffffffffffffffff16146114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db906141c2565b60405180910390fd5b6114ee60006126d6565b565b606060006114fd836113b0565b9050600081141561155a57600067ffffffffffffffff811115611523576115226148af565b5b6040519080825280602002602001820160405280156115515781602001602082028036833780820191505090505b509150506115f5565b60008167ffffffffffffffff811115611576576115756148af565b5b6040519080825280602002602001820160405280156115a45781602001602082028036833780820191505090505b50905060005b828110156115ee576115bc8582610b7b565b8282815181106115cf576115ce614880565b5b60200260200101818152505080806115e69061474a565b9150506115aa565b8193505050505b919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190614242565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506116c857600080fd5b565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461175a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175190614242565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600180546117fd906146e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611829906146e7565b80156118765780601f1061184b57610100808354040283529160200191611876565b820191906000526020600020905b81548152906001019060200180831161185957829003601f168201915b5050505050905090565b61189261188b61219d565b838361279c565b5050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191d90614242565b60405180910390fd5b6000611930610afb565b9050600082118015611943575060648211155b611982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197990614082565b60405180910390fd5b600b5461199f83611991610afb565b61259890919063ffffffff16565b11156119e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d7906142e2565b60405180910390fd5b60001515600c60009054906101000a900460ff16151514611a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2d90614162565b60405180910390fd5b60005b82811015611a7057611a5d611a4c61179e565b8284611a58919061450a565b6126b8565b8080611a689061474a565b915050611a39565b505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afc90614242565b60405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550565b611b33611b2d61219d565b8361225e565b611b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6990614282565b60405180910390fd5b611b7e84848484612909565b50505050565b600e8054611b91906146e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611bbd906146e7565b8015611c0a5780601f10611bdf57610100808354040283529160200191611c0a565b820191906000526020600020905b815481529060010190602001808311611bed57829003601f168201915b505050505081565b6060611c1d82612131565b611c5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5390614202565b60405180910390fd5b6000611c66612965565b90506000815111611c865760405180602001604052806000815250611cb4565b80611c90846129f7565b600e604051602001611ca493929190613e76565b6040516020818303038152906040525b915050919050565b600060011515600c60009054906101000a900460ff16151514611d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0b90614302565b60405180910390fd5b600b54611d1f610afb565b10611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5690614262565b60405180910390fd5b6000611d69610afb565b90506123298110611d86576802b5e3af16b1880000915050611e2a565b611f418110611da1576801a055690d9db80000915050611e2a565b6117718110611dbc576801158e460913d00000915050611e2a565b610fa18110611dd65767d02ab486cedc0000915050611e2a565b610abf8110611df057678ac7230489e80000915050611e2a565b6108cb8110611e0a57674563918244f40000915050611e2a565b6107d18110611e2457671bc16d674ec80000915050611e2a565b60009150505b90565b611e3561219d565b73ffffffffffffffffffffffffffffffffffffffff16611e5361179e565b73ffffffffffffffffffffffffffffffffffffffff1614611ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea0906141c2565b60405180910390fd5b80600e9080519060200190611ebf9291906133b4565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f5f61219d565b73ffffffffffffffffffffffffffffffffffffffff16611f7d61179e565b73ffffffffffffffffffffffffffffffffffffffff1614611fd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fca906141c2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203a90613fe2565b60405180910390fd5b61204c816126d6565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061211a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061212a575061212982612b58565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661221883611270565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061226982612131565b6122a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229f906140e2565b60405180910390fd5b60006122b383611270565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061232257508373ffffffffffffffffffffffffffffffffffffffff1661230a8461095e565b73ffffffffffffffffffffffffffffffffffffffff16145b8061233357506123328185611ec3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661235c82611270565b73ffffffffffffffffffffffffffffffffffffffff16146123b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a9906141e2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241990614042565b60405180910390fd5b61242d838383612bc2565b6124386000826121a5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461248891906145eb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124df919061450a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836125a6919061450a565b905092915050565b600081836125bc9190614591565b905092915050565b80471015612607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fe906140c2565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161262d90613ea7565b60006040518083038185875af1925050503d806000811461266a576040519150601f19603f3d011682016040523d82523d6000602084013e61266f565b606091505b50509050806126b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126aa906140a2565b60405180910390fd5b505050565b6126d2828260405180602001604052806000815250612cd6565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561280b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280290614062565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128fc9190613f45565b60405180910390a3505050565b61291484848461233c565b61292084848484612d31565b61295f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295690613fc2565b60405180910390fd5b50505050565b6060600d8054612974906146e7565b80601f01602080910402602001604051908101604052809291908181526020018280546129a0906146e7565b80156129ed5780601f106129c2576101008083540402835291602001916129ed565b820191906000526020600020905b8154815290600101906020018083116129d057829003601f168201915b5050505050905090565b60606000821415612a3f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b53565b600082905060005b60008214612a71578080612a5a9061474a565b915050600a82612a6a9190614560565b9150612a47565b60008167ffffffffffffffff811115612a8d57612a8c6148af565b5b6040519080825280601f01601f191660200182016040528015612abf5781602001600182028036833780820191505090505b5090505b60008514612b4c57600182612ad891906145eb565b9150600a85612ae79190614793565b6030612af3919061450a565b60f81b818381518110612b0957612b08614880565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b459190614560565b9450612ac3565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612bcd838383612ec8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c1057612c0b81612ecd565b612c4f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c4e57612c4d8382612f16565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c9257612c8d81613083565b612cd1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612cd057612ccf8282613154565b5b5b505050565b612ce083836131d3565b612ced6000848484612d31565b612d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2390613fc2565b60405180910390fd5b505050565b6000612d528473ffffffffffffffffffffffffffffffffffffffff166133a1565b15612ebb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d7b61219d565b8786866040518563ffffffff1660e01b8152600401612d9d9493929190613ed7565b602060405180830381600087803b158015612db757600080fd5b505af1925050508015612de857506040513d601f19601f82011682018060405250810190612de59190613790565b60015b612e6b573d8060008114612e18576040519150601f19603f3d011682016040523d82523d6000602084013e612e1d565b606091505b50600081511415612e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5a90613fc2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ec0565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f23846113b0565b612f2d91906145eb565b9050600060076000848152602001908152602001600020549050818114613012576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061309791906145eb565b90506000600960008481526020019081526020016000205490506000600883815481106130c7576130c6614880565b5b9060005260206000200154905080600883815481106130e9576130e8614880565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061313857613137614851565b5b6001900381819060005260206000200160009055905550505050565b600061315f836113b0565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323a90614182565b60405180910390fd5b61324c81612131565b1561328c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328390614002565b60405180910390fd5b61329860008383612bc2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132e8919061450a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546133c0906146e7565b90600052602060002090601f0160209004810192826133e25760008555613429565b82601f106133fb57805160ff1916838001178555613429565b82800160010185558215613429579182015b8281111561342857825182559160200191906001019061340d565b5b509050613436919061343a565b5090565b5b8082111561345357600081600090555060010161343b565b5090565b600061346a6134658461440c565b6143e7565b905082815260208101848484011115613486576134856148e3565b5b6134918482856146a5565b509392505050565b60006134ac6134a78461443d565b6143e7565b9050828152602081018484840111156134c8576134c76148e3565b5b6134d38482856146a5565b509392505050565b6000813590506134ea816150a9565b92915050565b6000813590506134ff816150c0565b92915050565b600081359050613514816150d7565b92915050565b600081519050613529816150d7565b92915050565b600082601f830112613544576135436148de565b5b8135613554848260208601613457565b91505092915050565b600082601f830112613572576135716148de565b5b8135613582848260208601613499565b91505092915050565b60008135905061359a816150ee565b92915050565b6000602082840312156135b6576135b56148ed565b5b60006135c4848285016134db565b91505092915050565b600080604083850312156135e4576135e36148ed565b5b60006135f2858286016134db565b9250506020613603858286016134db565b9150509250929050565b600080600060608486031215613626576136256148ed565b5b6000613634868287016134db565b9350506020613645868287016134db565b92505060406136568682870161358b565b9150509250925092565b6000806000806080858703121561367a576136796148ed565b5b6000613688878288016134db565b9450506020613699878288016134db565b93505060406136aa8782880161358b565b925050606085013567ffffffffffffffff8111156136cb576136ca6148e8565b5b6136d78782880161352f565b91505092959194509250565b600080604083850312156136fa576136f96148ed565b5b6000613708858286016134db565b9250506020613719858286016134f0565b9150509250929050565b6000806040838503121561373a576137396148ed565b5b6000613748858286016134db565b92505060206137598582860161358b565b9150509250929050565b600060208284031215613779576137786148ed565b5b600061378784828501613505565b91505092915050565b6000602082840312156137a6576137a56148ed565b5b60006137b48482850161351a565b91505092915050565b6000602082840312156137d3576137d26148ed565b5b600082013567ffffffffffffffff8111156137f1576137f06148e8565b5b6137fd8482850161355d565b91505092915050565b60006020828403121561381c5761381b6148ed565b5b600061382a8482850161358b565b91505092915050565b600061383f8383613e58565b60208301905092915050565b6138548161461f565b82525050565b600061386582614493565b61386f81856144c1565b935061387a8361446e565b8060005b838110156138ab5781516138928882613833565b975061389d836144b4565b92505060018101905061387e565b5085935050505092915050565b6138c181614631565b82525050565b60006138d28261449e565b6138dc81856144d2565b93506138ec8185602086016146b4565b6138f5816148f2565b840191505092915050565b61390981614693565b82525050565b600061391a826144a9565b61392481856144ee565b93506139348185602086016146b4565b61393d816148f2565b840191505092915050565b6000613953826144a9565b61395d81856144ff565b935061396d8185602086016146b4565b80840191505092915050565b60008154613986816146e7565b61399081866144ff565b945060018216600081146139ab57600181146139bc576139ef565b60ff198316865281860193506139ef565b6139c58561447e565b60005b838110156139e7578154818901526001820191506020810190506139c8565b838801955050505b50505092915050565b6000613a056020836144ee565b9150613a1082614903565b602082019050919050565b6000613a28602b836144ee565b9150613a338261492c565b604082019050919050565b6000613a4b6032836144ee565b9150613a568261497b565b604082019050919050565b6000613a6e6026836144ee565b9150613a79826149ca565b604082019050919050565b6000613a91601c836144ee565b9150613a9c82614a19565b602082019050919050565b6000613ab46021836144ee565b9150613abf82614a42565b604082019050919050565b6000613ad76024836144ee565b9150613ae282614a91565b604082019050919050565b6000613afa6019836144ee565b9150613b0582614ae0565b602082019050919050565b6000613b1d6019836144ee565b9150613b2882614b09565b602082019050919050565b6000613b40603a836144ee565b9150613b4b82614b32565b604082019050919050565b6000613b63601d836144ee565b9150613b6e82614b81565b602082019050919050565b6000613b86602c836144ee565b9150613b9182614baa565b604082019050919050565b6000613ba96038836144ee565b9150613bb482614bf9565b604082019050919050565b6000613bcc602a836144ee565b9150613bd782614c48565b604082019050919050565b6000613bef6029836144ee565b9150613bfa82614c97565b604082019050919050565b6000613c126018836144ee565b9150613c1d82614ce6565b602082019050919050565b6000613c356020836144ee565b9150613c4082614d0f565b602082019050919050565b6000613c58602c836144ee565b9150613c6382614d38565b604082019050919050565b6000613c7b6020836144ee565b9150613c8682614d87565b602082019050919050565b6000613c9e6029836144ee565b9150613ca982614db0565b604082019050919050565b6000613cc1602f836144ee565b9150613ccc82614dff565b604082019050919050565b6000613ce46021836144ee565b9150613cef82614e4e565b604082019050919050565b6000613d076018836144ee565b9150613d1282614e9d565b602082019050919050565b6000613d2a6016836144ee565b9150613d3582614ec6565b602082019050919050565b6000613d4d6000836144e3565b9150613d5882614eef565b600082019050919050565b6000613d706031836144ee565b9150613d7b82614ef2565b604082019050919050565b6000613d93602c836144ee565b9150613d9e82614f41565b604082019050919050565b6000613db66029836144ee565b9150613dc182614f90565b604082019050919050565b6000613dd96010836144ee565b9150613de482614fdf565b602082019050919050565b6000613dfc6013836144ee565b9150613e0782615008565b602082019050919050565b6000613e1f6028836144ee565b9150613e2a82615031565b604082019050919050565b6000613e426004836144ee565b9150613e4d82615080565b602082019050919050565b613e6181614689565b82525050565b613e7081614689565b82525050565b6000613e828286613948565b9150613e8e8285613948565b9150613e9a8284613979565b9150819050949350505050565b6000613eb282613d40565b9150819050919050565b6000602082019050613ed1600083018461384b565b92915050565b6000608082019050613eec600083018761384b565b613ef9602083018661384b565b613f066040830185613e67565b8181036060830152613f1881846138c7565b905095945050505050565b60006020820190508181036000830152613f3d818461385a565b905092915050565b6000602082019050613f5a60008301846138b8565b92915050565b60006020820190508181036000830152613f7a818461390f565b905092915050565b60006020820190508181036000830152613f9b816139f8565b9050919050565b60006020820190508181036000830152613fbb81613a1b565b9050919050565b60006020820190508181036000830152613fdb81613a3e565b9050919050565b60006020820190508181036000830152613ffb81613a61565b9050919050565b6000602082019050818103600083015261401b81613a84565b9050919050565b6000602082019050818103600083015261403b81613aa7565b9050919050565b6000602082019050818103600083015261405b81613aca565b9050919050565b6000602082019050818103600083015261407b81613aed565b9050919050565b6000602082019050818103600083015261409b81613b10565b9050919050565b600060208201905081810360008301526140bb81613b33565b9050919050565b600060208201905081810360008301526140db81613b56565b9050919050565b600060208201905081810360008301526140fb81613b79565b9050919050565b6000602082019050818103600083015261411b81613b9c565b9050919050565b6000602082019050818103600083015261413b81613bbf565b9050919050565b6000602082019050818103600083015261415b81613be2565b9050919050565b6000602082019050818103600083015261417b81613c05565b9050919050565b6000602082019050818103600083015261419b81613c28565b9050919050565b600060208201905081810360008301526141bb81613c4b565b9050919050565b600060208201905081810360008301526141db81613c6e565b9050919050565b600060208201905081810360008301526141fb81613c91565b9050919050565b6000602082019050818103600083015261421b81613cb4565b9050919050565b6000602082019050818103600083015261423b81613cd7565b9050919050565b6000602082019050818103600083015261425b81613cfa565b9050919050565b6000602082019050818103600083015261427b81613d1d565b9050919050565b6000602082019050818103600083015261429b81613d63565b9050919050565b600060208201905081810360008301526142bb81613d86565b9050919050565b600060208201905081810360008301526142db81613da9565b9050919050565b600060208201905081810360008301526142fb81613dcc565b9050919050565b6000602082019050818103600083015261431b81613def565b9050919050565b6000602082019050818103600083015261433b81613e12565b9050919050565b60006020820190506143576000830184613e67565b92915050565b600061010082019050614373600083018a613e67565b6143806020830189613e67565b61438d604083018861384b565b61439a606083018761384b565b81810360808301526143ac818661390f565b90506143bb60a0830185613900565b6143c860c083018461384b565b81810360e08301526143d981613e35565b905098975050505050505050565b60006143f1614402565b90506143fd8282614719565b919050565b6000604051905090565b600067ffffffffffffffff821115614427576144266148af565b5b614430826148f2565b9050602081019050919050565b600067ffffffffffffffff821115614458576144576148af565b5b614461826148f2565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061451582614689565b915061452083614689565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614555576145546147c4565b5b828201905092915050565b600061456b82614689565b915061457683614689565b925082614586576145856147f3565b5b828204905092915050565b600061459c82614689565b91506145a783614689565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145e0576145df6147c4565b5b828202905092915050565b60006145f682614689565b915061460183614689565b925082821015614614576146136147c4565b5b828203905092915050565b600061462a82614669565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061469e82614689565b9050919050565b82818337600083830152505050565b60005b838110156146d25780820151818401526020810190506146b7565b838111156146e1576000848401525b50505050565b600060028204905060018216806146ff57607f821691505b6020821081141561471357614712614822565b5b50919050565b614722826148f2565b810181811067ffffffffffffffff82111715614741576147406148af565b5b80604052505050565b600061475582614689565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614788576147876147c4565b5b600182019050919050565b600061479e82614689565b91506147a983614689565b9250826147b9576147b86147f3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5468657265204e465427732061726520616c6c726561647920636c61696d6564600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f424e422076616c75652073656e742069732062656c6f7720746865207072696360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d617820353020746f2072657365727665206174206f6e636500000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53616c652068617320616c726561647920737461727465640000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f61756374696f6e3a2077726f6e6720646576656c6f7065720000000000000000600082015250565b7f53616c652068617320616c726561647920656e64656400000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f596f752063616e2061646f7074206d696e696d756d20312c206d6178696d756d60008201527f203130302064616f730000000000000000000000000000000000000000000000602082015250565b7f45786365656473204d41585f44414f5300000000000000000000000000000000600082015250565b7f53616c65206861736e2774207374617274656400000000000000000000000000600082015250565b7f596f752063616e206f6e6c79206275726e20612031202d20313030302061742060008201527f7468652074696d65000000000000000000000000000000000000000000000000602082015250565b7f4d494e5400000000000000000000000000000000000000000000000000000000600082015250565b6150b28161461f565b81146150bd57600080fd5b50565b6150c981614631565b81146150d457600080fd5b50565b6150e08161463d565b81146150eb57600080fd5b50565b6150f781614689565b811461510257600080fd5b5056fea2646970667358221220ee47c27cf78861760e3ee9798905055c62124de14f5c40deab7fe5c3ff9bac7964736f6c6343000807003368747470733a2f2f697066732e696f2f697066732f516d593636654c36533448527772505a6f3153676f615037396573767a5a36343535423679466f5a4b6e4a4a32542f000000000000000000000000d0841b274231a348d352e0786afb1632a21b7705
Deployed ByteCode
0x60806040526004361061020f5760003560e01c806370a0823111610118578063a40f1aa5116100a0578063c87b56dd1161006f578063c87b56dd1461075b578063d348b40914610798578063da3ef23f146107c3578063e985e9c5146107ec578063f2fde38b146108295761020f565b8063a40f1aa5146106c7578063b66a0e5d146106f0578063b88d4fde14610707578063c6682862146107305761020f565b806388a8c95c116100e757806388a8c95c146105f45780638da5cb5b1461061d57806391cca3db1461064857806395d89b4114610673578063a22cb4651461069e5761020f565b806370a0823114610559578063715018a6146105965780638462151c146105ad578063853828b6146105ea5761020f565b806340c10f191161019b5780634f6ccce71161016a5780634f6ccce71461047457806355367ba9146104b157806355f804b3146104c85780636352211e146104f15780636c0360eb1461052e5761020f565b806340c10f19146103c957806342842e0e146103e557806342966c681461040e578063438b6300146104375761020f565b806318160ddd116101e257806318160ddd146102e25780631c8b232d1461030d57806323b872dd146103385780632f745c59146103615780633bdf46191461039e5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190613763565b610852565b6040516102489190613f45565b60405180910390f35b34801561025d57600080fd5b506102666108cc565b6040516102739190613f60565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190613806565b61095e565b6040516102b09190613ebc565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613723565b6109e3565b005b3480156102ee57600080fd5b506102f7610afb565b6040516103049190614342565b60405180910390f35b34801561031957600080fd5b50610322610b08565b60405161032f9190613f45565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a919061360d565b610b1b565b005b34801561036d57600080fd5b5061038860048036038101906103839190613723565b610b7b565b6040516103959190614342565b60405180910390f35b3480156103aa57600080fd5b506103b3610c20565b6040516103c09190614342565b60405180910390f35b6103e360048036038101906103de9190613723565b610c26565b005b3480156103f157600080fd5b5061040c6004803603810190610407919061360d565b610ea6565b005b34801561041a57600080fd5b5061043560048036038101906104309190613806565b610ec6565b005b34801561044357600080fd5b5061045e600480360381019061045991906135a0565b61100e565b60405161046b9190613f23565b60405180910390f35b34801561048057600080fd5b5061049b60048036038101906104969190613806565b6110bc565b6040516104a89190614342565b60405180910390f35b3480156104bd57600080fd5b506104c661112d565b005b3480156104d457600080fd5b506104ef60048036038101906104ea91906137bd565b6111da565b005b3480156104fd57600080fd5b5061051860048036038101906105139190613806565b611270565b6040516105259190613ebc565b60405180910390f35b34801561053a57600080fd5b50610543611322565b6040516105509190613f60565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b91906135a0565b6113b0565b60405161058d9190614342565b60405180910390f35b3480156105a257600080fd5b506105ab611468565b005b3480156105b957600080fd5b506105d460048036038101906105cf91906135a0565b6114f0565b6040516105e19190613f23565b60405180910390f35b6105f26115fa565b005b34801561060057600080fd5b5061061b600480360381019061061691906135a0565b6116ca565b005b34801561062957600080fd5b5061063261179e565b60405161063f9190613ebc565b60405180910390f35b34801561065457600080fd5b5061065d6117c8565b60405161066a9190613ebc565b60405180910390f35b34801561067f57600080fd5b506106886117ee565b6040516106959190613f60565b60405180910390f35b3480156106aa57600080fd5b506106c560048036038101906106c091906136e3565b611880565b005b3480156106d357600080fd5b506106ee60048036038101906106e99190613806565b611896565b005b3480156106fc57600080fd5b50610705611a75565b005b34801561071357600080fd5b5061072e60048036038101906107299190613660565b611b22565b005b34801561073c57600080fd5b50610745611b84565b6040516107529190613f60565b60405180910390f35b34801561076757600080fd5b50610782600480360381019061077d9190613806565b611c12565b60405161078f9190613f60565b60405180910390f35b3480156107a457600080fd5b506107ad611cbc565b6040516107ba9190614342565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e591906137bd565b611e2d565b005b3480156107f857600080fd5b50610813600480360381019061080e91906135cd565b611ec3565b6040516108209190613f45565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b91906135a0565b611f57565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108c557506108c48261204f565b5b9050919050565b6060600080546108db906146e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610907906146e7565b80156109545780601f1061092957610100808354040283529160200191610954565b820191906000526020600020905b81548152906001019060200180831161093757829003601f168201915b5050505050905090565b600061096982612131565b6109a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099f906141a2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109ee82611270565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5690614222565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a7e61219d565b73ffffffffffffffffffffffffffffffffffffffff161480610aad5750610aac81610aa761219d565b611ec3565b5b610aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae390614102565b60405180910390fd5b610af683836121a5565b505050565b6000600880549050905090565b600c60009054906101000a900460ff1681565b610b2c610b2661219d565b8261225e565b610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6290614282565b60405180910390fd5b610b7683838361233c565b505050565b6000610b86836113b0565b8210610bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbe90613fa2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b5481565b6000610c30610afb565b9050600b54610c3d610afb565b10610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7490614262565b60405180910390fd5b600082118015610c8e575060648211155b610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc4906142c2565b60405180910390fd5b600b54610cea83610cdc610afb565b61259890919063ffffffff16565b1115610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d22906142e2565b60405180910390fd5b610d4582610d37611cbc565b6125ae90919063ffffffff16565b341015610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e90614022565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015610de65750600034115b15610e1857610e17600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346125c4565b5b6000600190505b828111610ea05760008183610e34919061450a565b9050610e4085826126b8565b7fda151f43f5b33d069af5503470dd1c847294d7a5a84352b3b20c0e06f883462381343388610e6e86611c12565b600030604051610e84979695949392919061435d565b60405180910390a1508080610e989061474a565b915050610e1f565b50505050565b610ec183838360405180602001604052806000815250611b22565b505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d90614242565b60405180910390fd5b600081118015610f6857506103e88111155b610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e90614322565b60405180910390fd5b600081600b54610fb791906145eb565b905080610fc2610afb565b1115611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa90613f82565b60405180910390fd5b80600b819055505050565b6060600061101b836113b0565b905060008167ffffffffffffffff811115611039576110386148af565b5b6040519080825280602002602001820160405280156110675781602001602082028036833780820191505090505b50905060005b828110156110b15761107f8582610b7b565b82828151811061109257611091614880565b5b60200260200101818152505080806110a99061474a565b91505061106d565b508092505050919050565b60006110c6610afb565b8210611107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fe906142a2565b60405180910390fd5b6008828154811061111b5761111a614880565b5b90600052602060002001549050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b490614242565b60405180910390fd5b6000600c60006101000a81548160ff021916908315150217905550565b6111e261219d565b73ffffffffffffffffffffffffffffffffffffffff1661120061179e565b73ffffffffffffffffffffffffffffffffffffffff1614611256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124d906141c2565b60405180910390fd5b80600d908051906020019061126c9291906133b4565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131090614142565b60405180910390fd5b80915050919050565b600d805461132f906146e7565b80601f016020809104026020016040519081016040528092919081815260200182805461135b906146e7565b80156113a85780601f1061137d576101008083540402835291602001916113a8565b820191906000526020600020905b81548152906001019060200180831161138b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611421576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141890614122565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61147061219d565b73ffffffffffffffffffffffffffffffffffffffff1661148e61179e565b73ffffffffffffffffffffffffffffffffffffffff16146114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db906141c2565b60405180910390fd5b6114ee60006126d6565b565b606060006114fd836113b0565b9050600081141561155a57600067ffffffffffffffff811115611523576115226148af565b5b6040519080825280602002602001820160405280156115515781602001602082028036833780820191505090505b509150506115f5565b60008167ffffffffffffffff811115611576576115756148af565b5b6040519080825280602002602001820160405280156115a45781602001602082028036833780820191505090505b50905060005b828110156115ee576115bc8582610b7b565b8282815181106115cf576115ce614880565b5b60200260200101818152505080806115e69061474a565b9150506115aa565b8193505050505b919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190614242565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506116c857600080fd5b565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461175a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175190614242565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600180546117fd906146e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611829906146e7565b80156118765780601f1061184b57610100808354040283529160200191611876565b820191906000526020600020905b81548152906001019060200180831161185957829003601f168201915b5050505050905090565b61189261188b61219d565b838361279c565b5050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191d90614242565b60405180910390fd5b6000611930610afb565b9050600082118015611943575060648211155b611982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197990614082565b60405180910390fd5b600b5461199f83611991610afb565b61259890919063ffffffff16565b11156119e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d7906142e2565b60405180910390fd5b60001515600c60009054906101000a900460ff16151514611a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2d90614162565b60405180910390fd5b60005b82811015611a7057611a5d611a4c61179e565b8284611a58919061450a565b6126b8565b8080611a689061474a565b915050611a39565b505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afc90614242565b60405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550565b611b33611b2d61219d565b8361225e565b611b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6990614282565b60405180910390fd5b611b7e84848484612909565b50505050565b600e8054611b91906146e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611bbd906146e7565b8015611c0a5780601f10611bdf57610100808354040283529160200191611c0a565b820191906000526020600020905b815481529060010190602001808311611bed57829003601f168201915b505050505081565b6060611c1d82612131565b611c5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5390614202565b60405180910390fd5b6000611c66612965565b90506000815111611c865760405180602001604052806000815250611cb4565b80611c90846129f7565b600e604051602001611ca493929190613e76565b6040516020818303038152906040525b915050919050565b600060011515600c60009054906101000a900460ff16151514611d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0b90614302565b60405180910390fd5b600b54611d1f610afb565b10611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5690614262565b60405180910390fd5b6000611d69610afb565b90506123298110611d86576802b5e3af16b1880000915050611e2a565b611f418110611da1576801a055690d9db80000915050611e2a565b6117718110611dbc576801158e460913d00000915050611e2a565b610fa18110611dd65767d02ab486cedc0000915050611e2a565b610abf8110611df057678ac7230489e80000915050611e2a565b6108cb8110611e0a57674563918244f40000915050611e2a565b6107d18110611e2457671bc16d674ec80000915050611e2a565b60009150505b90565b611e3561219d565b73ffffffffffffffffffffffffffffffffffffffff16611e5361179e565b73ffffffffffffffffffffffffffffffffffffffff1614611ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea0906141c2565b60405180910390fd5b80600e9080519060200190611ebf9291906133b4565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f5f61219d565b73ffffffffffffffffffffffffffffffffffffffff16611f7d61179e565b73ffffffffffffffffffffffffffffffffffffffff1614611fd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fca906141c2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203a90613fe2565b60405180910390fd5b61204c816126d6565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061211a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061212a575061212982612b58565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661221883611270565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061226982612131565b6122a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229f906140e2565b60405180910390fd5b60006122b383611270565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061232257508373ffffffffffffffffffffffffffffffffffffffff1661230a8461095e565b73ffffffffffffffffffffffffffffffffffffffff16145b8061233357506123328185611ec3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661235c82611270565b73ffffffffffffffffffffffffffffffffffffffff16146123b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a9906141e2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241990614042565b60405180910390fd5b61242d838383612bc2565b6124386000826121a5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461248891906145eb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124df919061450a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836125a6919061450a565b905092915050565b600081836125bc9190614591565b905092915050565b80471015612607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fe906140c2565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161262d90613ea7565b60006040518083038185875af1925050503d806000811461266a576040519150601f19603f3d011682016040523d82523d6000602084013e61266f565b606091505b50509050806126b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126aa906140a2565b60405180910390fd5b505050565b6126d2828260405180602001604052806000815250612cd6565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561280b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280290614062565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128fc9190613f45565b60405180910390a3505050565b61291484848461233c565b61292084848484612d31565b61295f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295690613fc2565b60405180910390fd5b50505050565b6060600d8054612974906146e7565b80601f01602080910402602001604051908101604052809291908181526020018280546129a0906146e7565b80156129ed5780601f106129c2576101008083540402835291602001916129ed565b820191906000526020600020905b8154815290600101906020018083116129d057829003601f168201915b5050505050905090565b60606000821415612a3f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b53565b600082905060005b60008214612a71578080612a5a9061474a565b915050600a82612a6a9190614560565b9150612a47565b60008167ffffffffffffffff811115612a8d57612a8c6148af565b5b6040519080825280601f01601f191660200182016040528015612abf5781602001600182028036833780820191505090505b5090505b60008514612b4c57600182612ad891906145eb565b9150600a85612ae79190614793565b6030612af3919061450a565b60f81b818381518110612b0957612b08614880565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b459190614560565b9450612ac3565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612bcd838383612ec8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c1057612c0b81612ecd565b612c4f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c4e57612c4d8382612f16565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c9257612c8d81613083565b612cd1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612cd057612ccf8282613154565b5b5b505050565b612ce083836131d3565b612ced6000848484612d31565b612d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2390613fc2565b60405180910390fd5b505050565b6000612d528473ffffffffffffffffffffffffffffffffffffffff166133a1565b15612ebb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d7b61219d565b8786866040518563ffffffff1660e01b8152600401612d9d9493929190613ed7565b602060405180830381600087803b158015612db757600080fd5b505af1925050508015612de857506040513d601f19601f82011682018060405250810190612de59190613790565b60015b612e6b573d8060008114612e18576040519150601f19603f3d011682016040523d82523d6000602084013e612e1d565b606091505b50600081511415612e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5a90613fc2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ec0565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f23846113b0565b612f2d91906145eb565b9050600060076000848152602001908152602001600020549050818114613012576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061309791906145eb565b90506000600960008481526020019081526020016000205490506000600883815481106130c7576130c6614880565b5b9060005260206000200154905080600883815481106130e9576130e8614880565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061313857613137614851565b5b6001900381819060005260206000200160009055905550505050565b600061315f836113b0565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323a90614182565b60405180910390fd5b61324c81612131565b1561328c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328390614002565b60405180910390fd5b61329860008383612bc2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132e8919061450a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546133c0906146e7565b90600052602060002090601f0160209004810192826133e25760008555613429565b82601f106133fb57805160ff1916838001178555613429565b82800160010185558215613429579182015b8281111561342857825182559160200191906001019061340d565b5b509050613436919061343a565b5090565b5b8082111561345357600081600090555060010161343b565b5090565b600061346a6134658461440c565b6143e7565b905082815260208101848484011115613486576134856148e3565b5b6134918482856146a5565b509392505050565b60006134ac6134a78461443d565b6143e7565b9050828152602081018484840111156134c8576134c76148e3565b5b6134d38482856146a5565b509392505050565b6000813590506134ea816150a9565b92915050565b6000813590506134ff816150c0565b92915050565b600081359050613514816150d7565b92915050565b600081519050613529816150d7565b92915050565b600082601f830112613544576135436148de565b5b8135613554848260208601613457565b91505092915050565b600082601f830112613572576135716148de565b5b8135613582848260208601613499565b91505092915050565b60008135905061359a816150ee565b92915050565b6000602082840312156135b6576135b56148ed565b5b60006135c4848285016134db565b91505092915050565b600080604083850312156135e4576135e36148ed565b5b60006135f2858286016134db565b9250506020613603858286016134db565b9150509250929050565b600080600060608486031215613626576136256148ed565b5b6000613634868287016134db565b9350506020613645868287016134db565b92505060406136568682870161358b565b9150509250925092565b6000806000806080858703121561367a576136796148ed565b5b6000613688878288016134db565b9450506020613699878288016134db565b93505060406136aa8782880161358b565b925050606085013567ffffffffffffffff8111156136cb576136ca6148e8565b5b6136d78782880161352f565b91505092959194509250565b600080604083850312156136fa576136f96148ed565b5b6000613708858286016134db565b9250506020613719858286016134f0565b9150509250929050565b6000806040838503121561373a576137396148ed565b5b6000613748858286016134db565b92505060206137598582860161358b565b9150509250929050565b600060208284031215613779576137786148ed565b5b600061378784828501613505565b91505092915050565b6000602082840312156137a6576137a56148ed565b5b60006137b48482850161351a565b91505092915050565b6000602082840312156137d3576137d26148ed565b5b600082013567ffffffffffffffff8111156137f1576137f06148e8565b5b6137fd8482850161355d565b91505092915050565b60006020828403121561381c5761381b6148ed565b5b600061382a8482850161358b565b91505092915050565b600061383f8383613e58565b60208301905092915050565b6138548161461f565b82525050565b600061386582614493565b61386f81856144c1565b935061387a8361446e565b8060005b838110156138ab5781516138928882613833565b975061389d836144b4565b92505060018101905061387e565b5085935050505092915050565b6138c181614631565b82525050565b60006138d28261449e565b6138dc81856144d2565b93506138ec8185602086016146b4565b6138f5816148f2565b840191505092915050565b61390981614693565b82525050565b600061391a826144a9565b61392481856144ee565b93506139348185602086016146b4565b61393d816148f2565b840191505092915050565b6000613953826144a9565b61395d81856144ff565b935061396d8185602086016146b4565b80840191505092915050565b60008154613986816146e7565b61399081866144ff565b945060018216600081146139ab57600181146139bc576139ef565b60ff198316865281860193506139ef565b6139c58561447e565b60005b838110156139e7578154818901526001820191506020810190506139c8565b838801955050505b50505092915050565b6000613a056020836144ee565b9150613a1082614903565b602082019050919050565b6000613a28602b836144ee565b9150613a338261492c565b604082019050919050565b6000613a4b6032836144ee565b9150613a568261497b565b604082019050919050565b6000613a6e6026836144ee565b9150613a79826149ca565b604082019050919050565b6000613a91601c836144ee565b9150613a9c82614a19565b602082019050919050565b6000613ab46021836144ee565b9150613abf82614a42565b604082019050919050565b6000613ad76024836144ee565b9150613ae282614a91565b604082019050919050565b6000613afa6019836144ee565b9150613b0582614ae0565b602082019050919050565b6000613b1d6019836144ee565b9150613b2882614b09565b602082019050919050565b6000613b40603a836144ee565b9150613b4b82614b32565b604082019050919050565b6000613b63601d836144ee565b9150613b6e82614b81565b602082019050919050565b6000613b86602c836144ee565b9150613b9182614baa565b604082019050919050565b6000613ba96038836144ee565b9150613bb482614bf9565b604082019050919050565b6000613bcc602a836144ee565b9150613bd782614c48565b604082019050919050565b6000613bef6029836144ee565b9150613bfa82614c97565b604082019050919050565b6000613c126018836144ee565b9150613c1d82614ce6565b602082019050919050565b6000613c356020836144ee565b9150613c4082614d0f565b602082019050919050565b6000613c58602c836144ee565b9150613c6382614d38565b604082019050919050565b6000613c7b6020836144ee565b9150613c8682614d87565b602082019050919050565b6000613c9e6029836144ee565b9150613ca982614db0565b604082019050919050565b6000613cc1602f836144ee565b9150613ccc82614dff565b604082019050919050565b6000613ce46021836144ee565b9150613cef82614e4e565b604082019050919050565b6000613d076018836144ee565b9150613d1282614e9d565b602082019050919050565b6000613d2a6016836144ee565b9150613d3582614ec6565b602082019050919050565b6000613d4d6000836144e3565b9150613d5882614eef565b600082019050919050565b6000613d706031836144ee565b9150613d7b82614ef2565b604082019050919050565b6000613d93602c836144ee565b9150613d9e82614f41565b604082019050919050565b6000613db66029836144ee565b9150613dc182614f90565b604082019050919050565b6000613dd96010836144ee565b9150613de482614fdf565b602082019050919050565b6000613dfc6013836144ee565b9150613e0782615008565b602082019050919050565b6000613e1f6028836144ee565b9150613e2a82615031565b604082019050919050565b6000613e426004836144ee565b9150613e4d82615080565b602082019050919050565b613e6181614689565b82525050565b613e7081614689565b82525050565b6000613e828286613948565b9150613e8e8285613948565b9150613e9a8284613979565b9150819050949350505050565b6000613eb282613d40565b9150819050919050565b6000602082019050613ed1600083018461384b565b92915050565b6000608082019050613eec600083018761384b565b613ef9602083018661384b565b613f066040830185613e67565b8181036060830152613f1881846138c7565b905095945050505050565b60006020820190508181036000830152613f3d818461385a565b905092915050565b6000602082019050613f5a60008301846138b8565b92915050565b60006020820190508181036000830152613f7a818461390f565b905092915050565b60006020820190508181036000830152613f9b816139f8565b9050919050565b60006020820190508181036000830152613fbb81613a1b565b9050919050565b60006020820190508181036000830152613fdb81613a3e565b9050919050565b60006020820190508181036000830152613ffb81613a61565b9050919050565b6000602082019050818103600083015261401b81613a84565b9050919050565b6000602082019050818103600083015261403b81613aa7565b9050919050565b6000602082019050818103600083015261405b81613aca565b9050919050565b6000602082019050818103600083015261407b81613aed565b9050919050565b6000602082019050818103600083015261409b81613b10565b9050919050565b600060208201905081810360008301526140bb81613b33565b9050919050565b600060208201905081810360008301526140db81613b56565b9050919050565b600060208201905081810360008301526140fb81613b79565b9050919050565b6000602082019050818103600083015261411b81613b9c565b9050919050565b6000602082019050818103600083015261413b81613bbf565b9050919050565b6000602082019050818103600083015261415b81613be2565b9050919050565b6000602082019050818103600083015261417b81613c05565b9050919050565b6000602082019050818103600083015261419b81613c28565b9050919050565b600060208201905081810360008301526141bb81613c4b565b9050919050565b600060208201905081810360008301526141db81613c6e565b9050919050565b600060208201905081810360008301526141fb81613c91565b9050919050565b6000602082019050818103600083015261421b81613cb4565b9050919050565b6000602082019050818103600083015261423b81613cd7565b9050919050565b6000602082019050818103600083015261425b81613cfa565b9050919050565b6000602082019050818103600083015261427b81613d1d565b9050919050565b6000602082019050818103600083015261429b81613d63565b9050919050565b600060208201905081810360008301526142bb81613d86565b9050919050565b600060208201905081810360008301526142db81613da9565b9050919050565b600060208201905081810360008301526142fb81613dcc565b9050919050565b6000602082019050818103600083015261431b81613def565b9050919050565b6000602082019050818103600083015261433b81613e12565b9050919050565b60006020820190506143576000830184613e67565b92915050565b600061010082019050614373600083018a613e67565b6143806020830189613e67565b61438d604083018861384b565b61439a606083018761384b565b81810360808301526143ac818661390f565b90506143bb60a0830185613900565b6143c860c083018461384b565b81810360e08301526143d981613e35565b905098975050505050505050565b60006143f1614402565b90506143fd8282614719565b919050565b6000604051905090565b600067ffffffffffffffff821115614427576144266148af565b5b614430826148f2565b9050602081019050919050565b600067ffffffffffffffff821115614458576144576148af565b5b614461826148f2565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061451582614689565b915061452083614689565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614555576145546147c4565b5b828201905092915050565b600061456b82614689565b915061457683614689565b925082614586576145856147f3565b5b828204905092915050565b600061459c82614689565b91506145a783614689565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145e0576145df6147c4565b5b828202905092915050565b60006145f682614689565b915061460183614689565b925082821015614614576146136147c4565b5b828203905092915050565b600061462a82614669565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061469e82614689565b9050919050565b82818337600083830152505050565b60005b838110156146d25780820151818401526020810190506146b7565b838111156146e1576000848401525b50505050565b600060028204905060018216806146ff57607f821691505b6020821081141561471357614712614822565b5b50919050565b614722826148f2565b810181811067ffffffffffffffff82111715614741576147406148af565b5b80604052505050565b600061475582614689565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614788576147876147c4565b5b600182019050919050565b600061479e82614689565b91506147a983614689565b9250826147b9576147b86147f3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5468657265204e465427732061726520616c6c726561647920636c61696d6564600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f424e422076616c75652073656e742069732062656c6f7720746865207072696360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d617820353020746f2072657365727665206174206f6e636500000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53616c652068617320616c726561647920737461727465640000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f61756374696f6e3a2077726f6e6720646576656c6f7065720000000000000000600082015250565b7f53616c652068617320616c726561647920656e64656400000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f596f752063616e2061646f7074206d696e696d756d20312c206d6178696d756d60008201527f203130302064616f730000000000000000000000000000000000000000000000602082015250565b7f45786365656473204d41585f44414f5300000000000000000000000000000000600082015250565b7f53616c65206861736e2774207374617274656400000000000000000000000000600082015250565b7f596f752063616e206f6e6c79206275726e20612031202d20313030302061742060008201527f7468652074696d65000000000000000000000000000000000000000000000000602082015250565b7f4d494e5400000000000000000000000000000000000000000000000000000000600082015250565b6150b28161461f565b81146150bd57600080fd5b50565b6150c981614631565b81146150d457600080fd5b50565b6150e08161463d565b81146150eb57600080fd5b50565b6150f781614689565b811461510257600080fd5b5056fea2646970667358221220ee47c27cf78861760e3ee9798905055c62124de14f5c40deab7fe5c3ff9bac7964736f6c63430008070033