ERC-721
NFT
Overview
Max Total Supply
2,000 PK
Holders
833
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 PKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PianoKing
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./lib/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./PianoKingWhitelist.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "./interfaces/IPianoKingRNConsumer.sol"; /** * @dev The contract of Piano King NFTs. */ contract PianoKing is ERC721, Ownable, IERC2981 { using Address for address payable; using Strings for uint256; uint256 private constant MAX_TOKEN_PER_ADDRESS = 25; // The amount in Wei (0.2 ETH by default) required to give to this contract // in order to premint an NFT for the 7000 tokens following the 1000 in presale uint256 public constant MIN_PRICE = 200000000000000000; // The royalties taken on each sale. Can range from 0 to 10000 // 500 => 5% uint16 internal constant ROYALTIES = 500; // The current minted supply uint256 public totalSupply; // The base url for the metadata of each token string public baseURI = "ipfs://QmX1wiZB72EnXdTxQCeZhRxtmT9GkBuWpD7TtDrfAcSio4/"; // The supply left before next batch mint // Start at 0 as there is no premint for presale uint256 public supplyLeft = 0; // Address => how many tokens this address will receive on the next batch mint mapping(address => uint256) public preMintAllowance; // Addresses that have paid to get a token in the next batch mint address[] public preMintAddresses; // The random number used as a seed for the random sequence for batch mint uint256 internal randomSeed; // The random number used as the base for the incrementor in the sequence uint256 internal randomIncrementor; // Indicate if the random number is ready to be used bool internal canUseRandomNumber; // Allow to keep track of iterations through multiple consecutives // transactions for batch mints uint16 internal lastBatchIndex; IPianoKingRNConsumer public pianoKingRNConsumer; PianoKingWhitelist public pianoKingWhitelist; // Address authorized to withdraw the funds address public pianoKingWallet = 0xA263f5e0A44Cb4e22AfB21E957dE825027A1e586; // Address where the royalties should be sent to address public pianoKingFunds; // Doesn't have to be defined straight away, can be defined later // at least before phase 2 address public pianoKingDutchAuction; constructor( address _pianoKingWhitelistAddress, address _pianoKingRNConsumer, address _pianoKingFunds ) ERC721("Piano King NFT", "PK") { require(_pianoKingWhitelistAddress != address(0), "Invalid address"); require(_pianoKingRNConsumer != address(0), "Invalid address"); require(_pianoKingFunds != address(0), "Invalid address"); pianoKingWhitelist = PianoKingWhitelist(_pianoKingWhitelistAddress); pianoKingRNConsumer = IPianoKingRNConsumer(_pianoKingRNConsumer); pianoKingFunds = _pianoKingFunds; } /** * @dev Let anyone premint a random token as long as they send at least * the min price required to do so * The actual minting will happen later in a batch to reduce the fees * of random number request to off-chain oracles */ function preMint() external payable { // The sender must send at least the min price to mint // and acquire the NFT preMintFor(msg.sender); } /** * @dev Premint a token for a given address. * Meant to be used by the Dutch Auction contract or anyone wishing to * offer a token to someone else or simply paying the gas fee for that person */ function preMintFor(address addr) public payable { require(addr != address(0), "Invalid address"); // The presale mint has to be completed before this function can be called require(totalSupply >= 1000, "Presale mint not completed"); bool isDutchAuction = totalSupply >= 8000; // After the first phase only the Piano King Dutch Auction contract // can mint if (isDutchAuction) { require(msg.sender == pianoKingDutchAuction, "Only through auction"); } uint256 amountOfToken = isDutchAuction ? 1 : msg.value / MIN_PRICE; // If the result is 0 then not enough funds was sent require(amountOfToken > 0, "Not enough funds"); // We check there is enough supply left require(supplyLeft >= amountOfToken, "Not enough tokens left"); // Check that the amount desired by the sender is below or // equal to the maximum per address require( amountOfToken + preMintAllowance[addr] <= MAX_TOKEN_PER_ADDRESS, "Above maximum" ); // Add the address to the list if it's not in there yet if (preMintAllowance[addr] == 0) { preMintAddresses.push(addr); } // Assign the number of token to the sender preMintAllowance[addr] += amountOfToken; // Remove the newly acquired tokens from the supply left before next batch mint supplyLeft -= amountOfToken; } /** * @dev Do a batch mint for the tokens after the first 1000 of presale * This function is meant to be called multiple times in row to loop * through consecutive ranges of the array to spread gas costs as doing it * in one single transaction may cost more than a block gas limit * @param count How many addresses to loop through */ function batchMint(uint256 count) external onlyOwner { _batchMint(preMintAddresses, count); } /** * @dev Mint all the token pre-purchased during the presale * @param count How many addresses to loop through */ function presaleMint(uint256 count) external onlyOwner { _batchMint(pianoKingWhitelist.getWhitelistedAddresses(), count); } /** * @dev Fetch the random numbers from RNConsumer contract */ function fetchRandomNumbers() internal { // Will revert if the numbers are not ready (uint256 seed, uint256 incrementor) = pianoKingRNConsumer .getRandomNumbers(); // By checking this we enforce the use of a different random number for // each batch mint // There is still the case in which two subsequent random number requests // return the same random number. However since it's a true random number // using the full range of a uint128 this has an extremely low chance of occuring. // And if it does we can still request another number. // We can't use the randomSeed for comparison as it changes during the batch mint require(incrementor != randomIncrementor, "Cannot use old random numbers"); randomIncrementor = incrementor; randomSeed = seed; canUseRandomNumber = true; } /** * @dev Generic batch mint * We don't use neither the _mint nor the _safeMint function * to optimize the process as much as possible in terms of gas * @param addrs Addresses meant to receive tokens * @param count How many addresses to loop through in this call */ function _batchMint(address[] memory addrs, uint256 count) internal { // To mint a batch all of its tokens need to have been preminted require(supplyLeft == 0, "Batch not yet sold out"); if (!canUseRandomNumber) { // Will revert the transaction if the random numbers are not ready fetchRandomNumbers(); } // Get the ending index from the start index and the number of // addresses to loop through uint256 end = lastBatchIndex + count; // Check that the end is not longer than the addrs array require(end <= addrs.length, "Out of bounds"); // Get the bounds of the current phase/slot (uint256 lowerBound, uint256 upperBound) = getBounds(); // Set the token id to the value of the random number variable // If it's the start, then it will be the random number returned // by Chainlink VRF. If not it will be the last token id generated // in the batch needed to continue the sequence uint256 tokenId = randomSeed; uint256 incrementor = randomIncrementor; for (uint256 i = lastBatchIndex; i < end; i++) { address addr = addrs[i]; uint256 allowance = getAllowance(addr); for (uint256 j = 0; j < allowance; j++) { // Generate a number from the random number for the given // address and this given token to be minted tokenId = generateTokenId(tokenId, lowerBound, upperBound, incrementor); _owners[tokenId] = addr; emit Transfer(address(0), addr, tokenId); } // Update the balance of the address _balances[addr] += allowance; if (lowerBound >= 1000) { // We clear the mapping at this address as it's no longer needed delete preMintAllowance[addr]; } } if (end == addrs.length) { // We've minted all the tokens of this batch, so this random number // cannot be used anymore canUseRandomNumber = false; if (lowerBound >= 1000) { // And we can clear the preMintAddresses array to free it for next batch // It's always nice to free unused storage anyway delete preMintAddresses; } // Add the supply at the end to minimize interactions with storage // It's not critical to know the actual current evolving supply // during the batch mint so we can do that here totalSupply += upperBound - lowerBound; // Get the bounds of the next range now that this batch mint is completed (lowerBound, upperBound) = getBounds(); // Assign the supply available to premint for the next batch supplyLeft = upperBound - lowerBound; // Set the index back to 0 so that next batch mint can start at the beginning lastBatchIndex = 0; } else { // Save the token id in the random number variable to continue the sequence // on next call randomSeed = tokenId; // Save the index to set as start of next call lastBatchIndex = uint16(end); } } /** * @dev Get the allowance of an address depending of the current supply * @param addr Address to get the allowance of */ function getAllowance(address addr) internal view virtual returns (uint256) { // If the supply is below a 1000 then we're getting the white list allowance // otherwise it's the premint allowance return totalSupply < 1000 ? pianoKingWhitelist.getWhitelistAllowance(addr) : preMintAllowance[addr]; } /** * @dev Generate a number from a random number for the tokenId that is guarranteed * not to repeat within one cycle (defined by the size of the modulo) if we call * this function many times in a row. * We use the properties of prime numbers to prevent collisions naturally without * manual checks that would be expensive since they would require writing the * storage or the memory. * @param randomNumber True random number which has been previously provided by oracles * or previous tokenId that was generated from it. Since we're generating a sequence * of numbers defined by recurrence we need the previous number as the base for the next. * @param lowerBound Lower bound of current batch * @param upperBound Upper bound of current batch * @param incrementor Random incrementor based on the random number provided by oracles */ function generateTokenId( uint256 randomNumber, uint256 lowerBound, uint256 upperBound, uint256 incrementor ) internal pure returns (uint256 tokenId) { if (lowerBound < 8000) { // For the presale of 1000 tokens and the 7 batches of // 1000 after that tokenId = getTokenIdInRange( randomNumber, 1009, incrementor, lowerBound, upperBound ); } else { // Dutch auction mints of 200 tokens tokenId = getTokenIdInRange( randomNumber, 211, incrementor, lowerBound, upperBound ); } } /** * @dev Get a token id in a given range * @param randomNumber True random number which has been previously provided by oracles * or previous tokenId that was generated from it. Since we're generating a sequence * of numbers defined by recurrence we need the previous number as the base for the next. * @param lowerBound Lower bound of current batch * @param upperBound Upper bound of current batch * @param incrementor Random incrementor based on the random number provided by oracles */ function getTokenIdInRange( uint256 randomNumber, uint256 modulo, uint256 incrementor, uint256 lowerBound, uint256 upperBound ) internal pure returns (uint256 tokenId) { // Special case in which the incrementor would be equivalent to 0 // so we need to add 1 to it. if (incrementor % modulo == modulo - 1 - (lowerBound % modulo)) { incrementor += 1; } tokenId = lowerBound + ((randomNumber + incrementor) % modulo) + 1; // Shouldn't trigger too many iterations while (tokenId > upperBound) { tokenId = lowerBound + ((tokenId + incrementor) % modulo) + 1; } } /** * @dev Get the bounds of the range to generate the ids in * @return lowerBound The starting position from which the tokenId will be randomly picked * @return upperBound The ending position until which the tokenId will be randomly picked */ function getBounds() internal view returns (uint256 lowerBound, uint256 upperBound) { if (totalSupply < 8000) { // For 8 batch mints of 1000 tokens including the presale lowerBound = (totalSupply / 1000) * 1000; upperBound = lowerBound + 1000; } else if (totalSupply < 10000) { // To get the 200 tokens slots to be distributed by Dutch auctions lowerBound = 8000 + ((totalSupply - 8000) / 200) * 200; upperBound = lowerBound + 200; } else { // Set both at zero to mark that we reached the end of the max supply lowerBound = 0; upperBound = 0; } } /** * @dev Set the address of the Piano King Wallet */ function setPianoKingWallet(address addr) external onlyOwner { require(addr != address(0), "Invalid address"); pianoKingWallet = addr; } /** * @dev Set the address of the Piano King Whitelist */ function setWhitelist(address addr) external onlyOwner { require(addr != address(0), "Invalid address"); pianoKingWhitelist = PianoKingWhitelist(addr); } /** * @dev Set the address of the contract authorized to do Dutch Auction * of the tokens of this contract */ function setDutchAuction(address addr) external onlyOwner { require(addr != address(0), "Invalid address"); pianoKingDutchAuction = addr; } /** * @dev Set the address of the contract meant to hold the royalties */ function setFundsContract(address addr) external onlyOwner { require(addr != address(0), "Invalid address"); pianoKingFunds = addr; } /** * @dev Set the address of the contract meant to request the * random number */ function setRNConsumerContract(address addr) external onlyOwner { require(addr != address(0), "Invalid address"); pianoKingRNConsumer = IPianoKingRNConsumer(addr); } /** * @dev Set the base URI of every token URI */ function setBaseURI(string memory uri) external onlyOwner { baseURI = uri; } /** * @dev Set addresses directly in the list as if they preminted for free * like for giveaway. */ function setPreApprovedAddresses( address[] memory addrs, uint256[] memory amounts ) external onlyOwner { require(addrs.length <= 10, "Too many addresses"); require(addrs.length == amounts.length, "Arrays length do not match"); for (uint256 i = 0; i < addrs.length; i++) { address addr = addrs[i]; require(addr != address(0), "Invalid address"); uint256 amount = amounts[i]; require(amount > 0, "Amount too low"); require( amount + preMintAllowance[addr] <= MAX_TOKEN_PER_ADDRESS, "Above maximum" ); if (preMintAllowance[addr] == 0) { preMintAddresses.push(addr); } preMintAllowance[addr] = amount; } } /** * @dev Retrieve the funds of the sale */ function retrieveFunds() external { // Only the Piano King Wallet or the owner can withraw the funds require( msg.sender == pianoKingWallet || msg.sender == owner(), "Not allowed" ); payable(pianoKingWallet).sendValue(address(this).balance); } // The following functions are overrides required by Solidity. /** * @dev Override of an OpenZeppelin hook called on before any token transfer */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override { // This will prevent anyone from burning a token if he or she tries // to send it to the zero address require(to != address(0), "Burning not allowed"); super._beforeTokenTransfer(from, to, tokenId); } /** * @dev Get the URI for a given token */ function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "URI query for nonexistent token"); // Concatenate the baseURI and the tokenId as the tokenId should // just be appended at the end to access the token metadata return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } // View and pure functions /** * @dev Get the address of the Piano King wallet */ function getPianoKingWallet() external view returns (address) { return pianoKingWallet; } /** * @dev Get the addresses that preminted */ function getPremintAddresses() external view returns (address[] memory) { return preMintAddresses; } /** * @dev Called with the sale price to determine how much royalty is owed and to whom. * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by `tokenId` * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { // The funds should be sent to the funds contract receiver = pianoKingFunds; // We divide it by 10000 as the royalties can change from // 0 to 10000 representing percents with 2 decimals royaltyAmount = (salePrice * ROYALTIES) / 10000; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * We customize the ERC721 model of OpenZeppelin to make the variable internal * instead of private as we want to access it to reduce fees for batch mints. * And since we don't use OpenZeppelin mint functions and they are not part of * of the official specification of the ERC721 (EIP-721), we removed them. * Same for the burning function as we purposely forbid burning of a token once * it has been minted. * @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 internal _name; // Token symbol string internal _symbol; // Mapping from token ID to owner address mapping(uint256 => address) internal _owners; // Mapping owner address to token count mapping(address => uint256) internal _balances; // Mapping from token ID to approved address mapping(uint256 => address) internal _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) internal _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) { // Implementation in child contract 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //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 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 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 {} }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract PianoKingWhitelist is Ownable, ReentrancyGuard { using Address for address payable; // Address => amount of tokens allowed for white listed address mapping(address => uint256) private whiteListAmount; address[] private whiteListedAddresses; // Supply left to be distributed uint256 private supplyLeft = 1000; uint256 private constant MAX_TOKEN_PER_ADDRESS = 25; // In wei uint256 private constant PRICE_PER_TOKEN = 100000000000000000; // Address authorized to withdraw the funds address private pianoKingWallet = 0xA263f5e0A44Cb4e22AfB21E957dE825027A1e586; // Indicate if the sale is open bool private saleOpen = true; event AddressWhitelisted( address indexed addr, uint256 amountOfToken, uint256 fundsDeposited ); /** * @dev White list an address for a given amount of tokens */ function whiteListSender() external payable nonReentrant { // Check that the sale is still open require(saleOpen, "Sale not open"); // We check the value is at least greater or equal to that of // one token require(msg.value >= PRICE_PER_TOKEN, "Not enough funds"); // We get the amount of tokens according to the value passed // by the sender. Since Solidity only supports integer numbers // the division will be an integer whose value is floored // (i.e. 15.9 => 15 and not 16) uint256 amountOfToken = msg.value / PRICE_PER_TOKEN; // We check there is enough supply left require(supplyLeft >= amountOfToken, "Not enough tokens left"); // Check that the amount desired by the sender is below or // equal to the maximum per address require( amountOfToken + whiteListAmount[msg.sender] <= MAX_TOKEN_PER_ADDRESS, "Above maximum" ); // If the amount is set to zero then the sender // is not yet whitelisted so we add it to the list // of whitelisted addresses if (whiteListAmount[msg.sender] == 0) { whiteListedAddresses.push(msg.sender); } // Assign the number of token to the sender whiteListAmount[msg.sender] += amountOfToken; // Remove the assigned tokens from the supply left supplyLeft -= amountOfToken; // Some events for easy to access info emit AddressWhitelisted(msg.sender, amountOfToken, msg.value); } /** * @dev Set the address of the Piano King Wallet */ function setPianoKingWallet(address addr) external onlyOwner { require(addr != address(0), "Invalid address"); pianoKingWallet = addr; } /** @dev Set the status of the sale @param open Whether the sale is open */ function setSaleStatus(bool open) external onlyOwner { saleOpen = open; } /** * @dev Get the supply left */ function getSupplyLeft() external view returns (uint256) { return supplyLeft; } /** * @dev Get the amount of tokens the address has been whitelisted for * If the value is equal to 0 then the address is not whitelisted * @param adr The address to check */ function getWhitelistAllowance(address adr) public view returns (uint256) { return whiteListAmount[adr]; } /** * @dev Get the list of all whitelisted addresses */ function getWhitelistedAddresses() public view returns (address[] memory) { return whiteListedAddresses; } /** * @dev Retrieve the funds of the sale */ function retrieveFunds() external { // Only the Piano King Wallet or the owner can withraw the funds require( msg.sender == pianoKingWallet || msg.sender == owner(), "Not allowed" ); payable(pianoKingWallet).sendValue(address(this).balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard */ interface IERC2981 is IERC165 { /** * @dev Called with the sale price to determine how much royalty is owed and to whom. * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by `tokenId` * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IPianoKingRNConsumer { function getRandomNumbers() external view returns (uint256 _randomSeed, uint256 _randomIncrementor); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_pianoKingWhitelistAddress","type":"address"},{"internalType":"address","name":"_pianoKingRNConsumer","type":"address"},{"internalType":"address","name":"_pianoKingFunds","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MIN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPianoKingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPremintAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pianoKingDutchAuction","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pianoKingFunds","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pianoKingRNConsumer","outputs":[{"internalType":"contract IPianoKingRNConsumer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pianoKingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pianoKingWhitelist","outputs":[{"internalType":"contract PianoKingWhitelist","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"preMintAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"preMintAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"preMintFor","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retrieveFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setDutchAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setFundsContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setPianoKingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"setPreApprovedAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setRNConsumerContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052604051806060016040528060368152602001620060d560369139600890805190602001906200003592919062000476565b50600060095573a263f5e0a44cb4e22afb21e957de825027a1e586601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200009d57600080fd5b506040516200610b3803806200610b8339818101604052810190620000c391906200053d565b6040518060400160405280600e81526020017f5069616e6f204b696e67204e46540000000000000000000000000000000000008152506040518060400160405280600281526020017f504b00000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200014792919062000476565b5080600190805190602001906200016092919062000476565b5050506200018362000177620003a860201b60201c565b620003b060201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620001f6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ed90620005ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000269576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200026090620005ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620002dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d390620005ba565b60405180910390fd5b82600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600e60036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620006c9565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620004849062000621565b90600052602060002090601f016020900481019282620004a85760008555620004f4565b82601f10620004c357805160ff1916838001178555620004f4565b82800160010185558215620004f4579182015b82811115620004f3578251825591602001919060010190620004d6565b5b50905062000503919062000507565b5090565b5b808211156200052257600081600090555060010162000508565b5090565b6000815190506200053781620006af565b92915050565b6000806000606084860312156200055357600080fd5b6000620005638682870162000526565b9350506020620005768682870162000526565b9250506040620005898682870162000526565b9150509250925092565b6000620005a2600f83620005dc565b9150620005af8262000686565b602082019050919050565b60006020820190508181036000830152620005d58162000593565b9050919050565b600082825260208201905092915050565b6000620005fa8262000601565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200063a57607f821691505b6020821081141562000651576200065062000657565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b620006ba81620005ed565b8114620006c657600080fd5b50565b6159fc80620006d96000396000f3fe6080604052600436106102515760003560e01c806378dbf69411610139578063ad9f20a6116100b6578063e830d2371161007a578063e830d2371461087f578063e985e9c5146108aa578063efeda429146108e7578063f2fde38b14610912578063f912e5a51461093b578063fdcf9d071461096657610251565b8063ad9f20a61461079c578063b88d4fde146107c7578063c87b56dd146107f0578063c9246a271461082d578063c9b298f11461085657610251565b806395d89b41116100fd57806395d89b41146106b757806398cacd50146106e25780639d25672b1461070b578063a22cb46514610736578063a96d5a271461075f57610251565b806378dbf694146105f35780638116f68e1461061e5780638467be0d1461063a578063854cff2f146106635780638da5cb5b1461068c57610251565b8063489b5a52116101d25780636352211e116101965780636352211e146104d15780636b15268a1461050e5780636c0360eb1461053757806370a0823114610562578063715018a61461059f57806374e0f7c0146105b657610251565b8063489b5a52146104125780634987d6d51461043b57806355f804b3146104665780635fc3683c1461048f57806361b20d8c146104ba57610251565b806318160ddd1161021957806318160ddd1461034d57806323b872dd146103785780632a55205a146103a15780633cd29ac8146103df57806342842e0e146103e957610251565b80630161ca791461025657806301ffc9a71461027f57806306fdde03146102bc578063081812fc146102e7578063095ea7b314610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613e29565b610991565b005b34801561028b57600080fd5b506102a660048036038101906102a1919061407d565b610ac1565b6040516102b39190614922565b60405180910390f35b3480156102c857600080fd5b506102d1610ba3565b6040516102de9190614973565b60405180910390f35b3480156102f357600080fd5b5061030e60048036038101906103099190614110565b610c35565b60405161031b9190614870565b60405180910390f35b34801561033057600080fd5b5061034b60048036038101906103469190613f94565b610cba565b005b34801561035957600080fd5b50610362610dd2565b60405161036f9190614d55565b60405180910390f35b34801561038457600080fd5b5061039f600480360381019061039a9190613e8e565b610dd8565b005b3480156103ad57600080fd5b506103c860048036038101906103c39190614162565b610e38565b6040516103d69291906148d7565b60405180910390f35b6103e7610e88565b005b3480156103f557600080fd5b50610410600480360381019061040b9190613e8e565b610e93565b005b34801561041e57600080fd5b5061043960048036038101906104349190613e29565b610eb3565b005b34801561044757600080fd5b50610450610fe3565b60405161045d919061493d565b60405180910390f35b34801561047257600080fd5b5061048d600480360381019061048891906140cf565b611009565b005b34801561049b57600080fd5b506104a461109f565b6040516104b19190614870565b60405180910390f35b3480156104c657600080fd5b506104cf6110c5565b005b3480156104dd57600080fd5b506104f860048036038101906104f39190614110565b6111df565b6040516105059190614870565b60405180910390f35b34801561051a57600080fd5b5061053560048036038101906105309190614011565b611291565b005b34801561054357600080fd5b5061054c611677565b6040516105599190614973565b60405180910390f35b34801561056e57600080fd5b5061058960048036038101906105849190613e29565b611705565b6040516105969190614d55565b60405180910390f35b3480156105ab57600080fd5b506105b46117bd565b005b3480156105c257600080fd5b506105dd60048036038101906105d89190614110565b611845565b6040516105ea9190614870565b60405180910390f35b3480156105ff57600080fd5b50610608611884565b6040516106159190614870565b60405180910390f35b61063860048036038101906106339190613e29565b6118aa565b005b34801561064657600080fd5b50610661600480360381019061065c9190614110565b611c5f565b005b34801561066f57600080fd5b5061068a60048036038101906106859190613e29565b611d6e565b005b34801561069857600080fd5b506106a1611e9e565b6040516106ae9190614870565b60405180910390f35b3480156106c357600080fd5b506106cc611ec8565b6040516106d99190614973565b60405180910390f35b3480156106ee57600080fd5b5061070960048036038101906107049190613e29565b611f5a565b005b34801561071757600080fd5b5061072061208a565b60405161072d9190614900565b60405180910390f35b34801561074257600080fd5b5061075d60048036038101906107589190613f58565b612118565b005b34801561076b57600080fd5b5061078660048036038101906107819190613e29565b612299565b6040516107939190614d55565b60405180910390f35b3480156107a857600080fd5b506107b16122b1565b6040516107be9190614d55565b60405180910390f35b3480156107d357600080fd5b506107ee60048036038101906107e99190613edd565b6122bd565b005b3480156107fc57600080fd5b5061081760048036038101906108129190614110565b61231f565b6040516108249190614973565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f9190613e29565b61239b565b005b34801561086257600080fd5b5061087d60048036038101906108789190614110565b6124cb565b005b34801561088b57600080fd5b506108946125f8565b6040516108a19190614870565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc9190613e52565b612622565b6040516108de9190614922565b60405180910390f35b3480156108f357600080fd5b506108fc6126b6565b6040516109099190614870565b60405180910390f35b34801561091e57600080fd5b5061093960048036038101906109349190613e29565b6126dc565b005b34801561094757600080fd5b506109506127d4565b60405161095d9190614958565b60405180910390f35b34801561097257600080fd5b5061097b6127fa565b6040516109889190614d55565b60405180910390f35b610999612800565b73ffffffffffffffffffffffffffffffffffffffff166109b7611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7490614995565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b8c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b9c5750610b9b82612808565b5b9050919050565b606060008054610bb2906150fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610bde906150fe565b8015610c2b5780601f10610c0057610100808354040283529160200191610c2b565b820191906000526020600020905b815481529060010190602001808311610c0e57829003601f168201915b5050505050905090565b6000610c4082612872565b610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7690614bd5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cc5826111df565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d90614cd5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d55612800565b73ffffffffffffffffffffffffffffffffffffffff161480610d845750610d8381610d7e612800565b612622565b5b610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba90614b35565b60405180910390fd5b610dcd83836128de565b505050565b60075481565b610de9610de3612800565b82612997565b610e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1f90614d15565b60405180910390fd5b610e33838383612a75565b505050565b600080601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691506127106101f461ffff1684610e759190614f72565b610e7f9190614f41565b90509250929050565b610e91336118aa565b565b610eae838383604051806020016040528060008152506122bd565b505050565b610ebb612800565b73ffffffffffffffffffffffffffffffffffffffff16610ed9611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9690614995565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611011612800565b73ffffffffffffffffffffffffffffffffffffffff1661102f611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614611085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107c90614c35565b60405180910390fd5b806008908051906020019061109b929190613a40565b5050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806111535750611124611e9e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118990614c15565b60405180910390fd5b6111dd47601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612cd190919063ffffffff16565b565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90614b75565b60405180910390fd5b80915050919050565b611299612800565b73ffffffffffffffffffffffffffffffffffffffff166112b7611e9e565b73ffffffffffffffffffffffffffffffffffffffff161461130d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130490614c35565b60405180910390fd5b600a82511115611352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134990614bb5565b60405180910390fd5b8051825114611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d90614b15565b60405180910390fd5b60005b82518110156116725760008382815181106113dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e90614995565b60405180910390fd5b6000838381518110611492577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600081116114df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d690614d35565b60405180910390fd5b6019600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261152c9190614eeb565b111561156d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156490614cf5565b60405180910390fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561161957600b829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b80600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050808061166a90615161565b915050611399565b505050565b60088054611684906150fe565b80601f01602080910402602001604051908101604052809291908181526020018280546116b0906150fe565b80156116fd5780601f106116d2576101008083540402835291602001916116fd565b820191906000526020600020905b8154815290600101906020018083116116e057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176d90614b55565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c5612800565b73ffffffffffffffffffffffffffffffffffffffff166117e3611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614611839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090614c35565b60405180910390fd5b6118436000612dc5565b565b600b818154811061185557600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190614995565b60405180910390fd5b6103e86007541015611961576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611958906149b5565b60405180910390fd5b6000611f40600754101590508015611a0457601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fa90614a95565b60405180910390fd5b5b600081611a24576702c68af0bb14000034611a1f9190614f41565b611a27565b60015b905060008111611a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6390614a35565b60405180910390fd5b806009541015611ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa890614b95565b60405180910390fd5b6019600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482611afe9190614eeb565b1115611b3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3690614cf5565b60405180910390fd5b6000600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611beb57600b839080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b80600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c3a9190614eeb565b925050819055508060096000828254611c539190614fcc565b92505081905550505050565b611c67612800565b73ffffffffffffffffffffffffffffffffffffffff16611c85611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614611cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd290614c35565b60405180910390fd5b611d6b600b805480602002602001604051908101604052809291908181526020018280548015611d6057602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611d16575b505050505082612e8b565b50565b611d76612800565b73ffffffffffffffffffffffffffffffffffffffff16611d94611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de190614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5190614995565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611ed7906150fe565b80601f0160208091040260200160405190810160405280929190818152602001828054611f03906150fe565b8015611f505780601f10611f2557610100808354040283529160200191611f50565b820191906000526020600020905b815481529060010190602001808311611f3357829003601f168201915b5050505050905090565b611f62612800565b73ffffffffffffffffffffffffffffffffffffffff16611f80611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614611fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcd90614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203d90614995565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600b80548060200260200160405190810160405280929190818152602001828054801561210e57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116120c4575b5050505050905090565b612120612800565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561218e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218590614a75565b60405180910390fd5b806005600061219b612800565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612248612800565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161228d9190614922565b60405180910390a35050565b600a6020528060005260406000206000915090505481565b6702c68af0bb14000081565b6122ce6122c8612800565b83612997565b61230d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230490614d15565b60405180910390fd5b6123198484848461324d565b50505050565b606061232a82612872565b612369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612360906149d5565b60405180910390fd5b6008612374836132a9565b60405160200161238592919061482c565b6040516020818303038152906040529050919050565b6123a3612800565b73ffffffffffffffffffffffffffffffffffffffff166123c1611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614612417576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240e90614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247e90614995565b60405180910390fd5b80600e60036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6124d3612800565b73ffffffffffffffffffffffffffffffffffffffff166124f1611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614612547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253e90614c35565b60405180910390fd5b6125f5600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636d0280276040518163ffffffff1660e01b815260040160006040518083038186803b1580156125b257600080fd5b505afa1580156125c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906125ef9190613fd0565b82612e8b565b50565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6126e4612800565b73ffffffffffffffffffffffffffffffffffffffff16612702611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614612758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274f90614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bf90614a15565b60405180910390fd5b6127d181612dc5565b50565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612951836111df565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129a282612872565b6129e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d890614af5565b60405180910390fd5b60006129ec836111df565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a5b57508373ffffffffffffffffffffffffffffffffffffffff16612a4384610c35565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a6c5750612a6b8185612622565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a95826111df565b73ffffffffffffffffffffffffffffffffffffffff1614612aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae290614c55565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5290614a55565b60405180910390fd5b612b66838383613456565b612b716000826128de565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bc19190614fcc565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c189190614eeb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0b90614ad5565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612d3a9061485b565b60006040518083038185875af1925050503d8060008114612d77576040519150601f19603f3d011682016040523d82523d6000602084013e612d7c565b606091505b5050905080612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db790614ab5565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060095414612ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec790614bf5565b60405180910390fd5b600e60009054906101000a900460ff16612eed57612eec6134d6565b5b600081600e60019054906101000a900461ffff1661ffff16612f0f9190614eeb565b90508251811115612f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4c90614cb5565b60405180910390fd5b600080612f606135ee565b915091506000600c5490506000600d5490506000600e60019054906101000a900461ffff1661ffff1690505b85811015613179576000888281518110612fcf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000612fe482613693565b905060005b818110156130c057612ffd86898988613798565b9550826002600088815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550858373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480806130b890615161565b915050612fe9565b5080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131109190614eeb565b925050819055506103e8871061316457600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090555b5050808061317190615161565b915050612f8c565b50865185141561321f576000600e60006101000a81548160ff0219169083151502179055506103e884106131b657600b60006131b59190613ac6565b5b83836131c29190614fcc565b600760008282546131d39190614eeb565b925050819055506131e26135ee565b809450819550505083836131f69190614fcc565b6009819055506000600e60016101000a81548161ffff021916908361ffff160217905550613244565b81600c8190555084600e60016101000a81548161ffff021916908361ffff1602179055505b50505050505050565b613258848484612a75565b613264848484846137d3565b6132a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329a906149f5565b60405180910390fd5b50505050565b606060008214156132f1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613451565b600082905060005b6000821461332357808061330c90615161565b915050600a8261331c9190614f41565b91506132f9565b60008167ffffffffffffffff811115613365577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133975781602001600182028036833780820191505090505b5090505b6000851461344a576001826133b09190614fcc565b9150600a856133bf91906151aa565b60306133cb9190614eeb565b60f81b818381518110613407577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134439190614f41565b945061339b565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134bd90614c95565b60405180910390fd5b6134d183838361396a565b505050565b600080600e60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fdc84dc6040518163ffffffff1660e01b8152600401604080518083038186803b15801561354057600080fd5b505afa158015613554573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613578919061419e565b91509150600d548114156135c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b890614c75565b60405180910390fd5b80600d8190555081600c819055506001600e60006101000a81548160ff0219169083151502179055505050565b600080611f40600754101561362f576103e88060075461360e9190614f41565b6136189190614f72565b91506103e8826136289190614eeb565b905061368f565b61271060075410156136855760c880611f4060075461364e9190614fcc565b6136589190614f41565b6136629190614f72565b611f4061366f9190614eeb565b915060c88261367e9190614eeb565b905061368e565b60009150600090505b5b9091565b60006103e8600754106136e557600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613791565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634dab7d24836040518263ffffffff1660e01b81526004016137409190614870565b60206040518083038186803b15801561375857600080fd5b505afa15801561376c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137909190614139565b5b9050919050565b6000611f408410156137ba576137b3856103f184878761396f565b90506137cb565b6137c88560d384878761396f565b90505b949350505050565b60006137f48473ffffffffffffffffffffffffffffffffffffffff16613a2d565b1561395d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261381d612800565b8786866040518563ffffffff1660e01b815260040161383f949392919061488b565b602060405180830381600087803b15801561385957600080fd5b505af192505050801561388a57506040513d601f19601f8201168201806040525081019061388791906140a6565b60015b61390d573d80600081146138ba576040519150601f19603f3d011682016040523d82523d6000602084013e6138bf565b606091505b50600081511415613905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138fc906149f5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613962565b600190505b949350505050565b505050565b6000848361397d91906151aa565b60018661398a9190614fcc565b6139949190614fcc565b85856139a091906151aa565b14156139b6576001846139b39190614eeb565b93505b60018585886139c59190614eeb565b6139cf91906151aa565b846139da9190614eeb565b6139e49190614eeb565b90505b81811115613a245760018585836139fe9190614eeb565b613a0891906151aa565b84613a139190614eeb565b613a1d9190614eeb565b90506139e7565b95945050505050565b600080823b905060008111915050919050565b828054613a4c906150fe565b90600052602060002090601f016020900481019282613a6e5760008555613ab5565b82601f10613a8757805160ff1916838001178555613ab5565b82800160010185558215613ab5579182015b82811115613ab4578251825591602001919060010190613a99565b5b509050613ac29190613ae7565b5090565b5080546000825590600052602060002090810190613ae49190613ae7565b50565b5b80821115613b00576000816000905550600101613ae8565b5090565b6000613b17613b1284614d95565b614d70565b90508083825260208201905082856020860282011115613b3657600080fd5b60005b85811015613b665781613b4c8882613cc4565b845260208401935060208301925050600181019050613b39565b5050509392505050565b6000613b83613b7e84614d95565b614d70565b90508083825260208201905082856020860282011115613ba257600080fd5b60005b85811015613bd25781613bb88882613cd9565b845260208401935060208301925050600181019050613ba5565b5050509392505050565b6000613bef613bea84614dc1565b614d70565b90508083825260208201905082856020860282011115613c0e57600080fd5b60005b85811015613c3e5781613c248882613dff565b845260208401935060208301925050600181019050613c11565b5050509392505050565b6000613c5b613c5684614ded565b614d70565b905082815260208101848484011115613c7357600080fd5b613c7e8482856150bc565b509392505050565b6000613c99613c9484614e1e565b614d70565b905082815260208101848484011115613cb157600080fd5b613cbc8482856150bc565b509392505050565b600081359050613cd38161596a565b92915050565b600081519050613ce88161596a565b92915050565b600082601f830112613cff57600080fd5b8135613d0f848260208601613b04565b91505092915050565b600082601f830112613d2957600080fd5b8151613d39848260208601613b70565b91505092915050565b600082601f830112613d5357600080fd5b8135613d63848260208601613bdc565b91505092915050565b600081359050613d7b81615981565b92915050565b600081359050613d9081615998565b92915050565b600081519050613da581615998565b92915050565b600082601f830112613dbc57600080fd5b8135613dcc848260208601613c48565b91505092915050565b600082601f830112613de657600080fd5b8135613df6848260208601613c86565b91505092915050565b600081359050613e0e816159af565b92915050565b600081519050613e23816159af565b92915050565b600060208284031215613e3b57600080fd5b6000613e4984828501613cc4565b91505092915050565b60008060408385031215613e6557600080fd5b6000613e7385828601613cc4565b9250506020613e8485828601613cc4565b9150509250929050565b600080600060608486031215613ea357600080fd5b6000613eb186828701613cc4565b9350506020613ec286828701613cc4565b9250506040613ed386828701613dff565b9150509250925092565b60008060008060808587031215613ef357600080fd5b6000613f0187828801613cc4565b9450506020613f1287828801613cc4565b9350506040613f2387828801613dff565b925050606085013567ffffffffffffffff811115613f4057600080fd5b613f4c87828801613dab565b91505092959194509250565b60008060408385031215613f6b57600080fd5b6000613f7985828601613cc4565b9250506020613f8a85828601613d6c565b9150509250929050565b60008060408385031215613fa757600080fd5b6000613fb585828601613cc4565b9250506020613fc685828601613dff565b9150509250929050565b600060208284031215613fe257600080fd5b600082015167ffffffffffffffff811115613ffc57600080fd5b61400884828501613d18565b91505092915050565b6000806040838503121561402457600080fd5b600083013567ffffffffffffffff81111561403e57600080fd5b61404a85828601613cee565b925050602083013567ffffffffffffffff81111561406757600080fd5b61407385828601613d42565b9150509250929050565b60006020828403121561408f57600080fd5b600061409d84828501613d81565b91505092915050565b6000602082840312156140b857600080fd5b60006140c684828501613d96565b91505092915050565b6000602082840312156140e157600080fd5b600082013567ffffffffffffffff8111156140fb57600080fd5b61410784828501613dd5565b91505092915050565b60006020828403121561412257600080fd5b600061413084828501613dff565b91505092915050565b60006020828403121561414b57600080fd5b600061415984828501613e14565b91505092915050565b6000806040838503121561417557600080fd5b600061418385828601613dff565b925050602061419485828601613dff565b9150509250929050565b600080604083850312156141b157600080fd5b60006141bf85828601613e14565b92505060206141d085828601613e14565b9150509250929050565b60006141e683836141f2565b60208301905092915050565b6141fb81615000565b82525050565b61420a81615000565b82525050565b600061421b82614e74565b6142258185614ea2565b935061423083614e4f565b8060005b8381101561426157815161424888826141da565b975061425383614e95565b925050600181019050614234565b5085935050505092915050565b61427781615012565b82525050565b600061428882614e7f565b6142928185614eb3565b93506142a28185602086016150cb565b6142ab81615297565b840191505092915050565b6142bf81615074565b82525050565b6142ce81615098565b82525050565b60006142df82614e8a565b6142e98185614ecf565b93506142f98185602086016150cb565b61430281615297565b840191505092915050565b600061431882614e8a565b6143228185614ee0565b93506143328185602086016150cb565b80840191505092915050565b6000815461434b816150fe565b6143558186614ee0565b945060018216600081146143705760018114614381576143b4565b60ff198316865281860193506143b4565b61438a85614e5f565b60005b838110156143ac5781548189015260018201915060208101905061438d565b838801955050505b50505092915050565b60006143ca600f83614ecf565b91506143d5826152a8565b602082019050919050565b60006143ed601a83614ecf565b91506143f8826152d1565b602082019050919050565b6000614410601f83614ecf565b915061441b826152fa565b602082019050919050565b6000614433603283614ecf565b915061443e82615323565b604082019050919050565b6000614456602683614ecf565b915061446182615372565b604082019050919050565b6000614479601083614ecf565b9150614484826153c1565b602082019050919050565b600061449c602483614ecf565b91506144a7826153ea565b604082019050919050565b60006144bf601983614ecf565b91506144ca82615439565b602082019050919050565b60006144e2601483614ecf565b91506144ed82615462565b602082019050919050565b6000614505603a83614ecf565b91506145108261548b565b604082019050919050565b6000614528601d83614ecf565b9150614533826154da565b602082019050919050565b600061454b602c83614ecf565b915061455682615503565b604082019050919050565b600061456e601a83614ecf565b915061457982615552565b602082019050919050565b6000614591603883614ecf565b915061459c8261557b565b604082019050919050565b60006145b4602a83614ecf565b91506145bf826155ca565b604082019050919050565b60006145d7602983614ecf565b91506145e282615619565b604082019050919050565b60006145fa601683614ecf565b915061460582615668565b602082019050919050565b600061461d601283614ecf565b915061462882615691565b602082019050919050565b6000614640602c83614ecf565b915061464b826156ba565b604082019050919050565b6000614663601683614ecf565b915061466e82615709565b602082019050919050565b6000614686600583614ee0565b915061469182615732565b600582019050919050565b60006146a9600b83614ecf565b91506146b48261575b565b602082019050919050565b60006146cc602083614ecf565b91506146d782615784565b602082019050919050565b60006146ef602983614ecf565b91506146fa826157ad565b604082019050919050565b6000614712601d83614ecf565b915061471d826157fc565b602082019050919050565b6000614735601383614ecf565b915061474082615825565b602082019050919050565b6000614758600d83614ecf565b91506147638261584e565b602082019050919050565b600061477b602183614ecf565b915061478682615877565b604082019050919050565b600061479e600d83614ecf565b91506147a9826158c6565b602082019050919050565b60006147c1600083614ec4565b91506147cc826158ef565b600082019050919050565b60006147e4603183614ecf565b91506147ef826158f2565b604082019050919050565b6000614807600e83614ecf565b915061481282615941565b602082019050919050565b6148268161506a565b82525050565b6000614838828561433e565b9150614844828461430d565b915061484f82614679565b91508190509392505050565b6000614866826147b4565b9150819050919050565b60006020820190506148856000830184614201565b92915050565b60006080820190506148a06000830187614201565b6148ad6020830186614201565b6148ba604083018561481d565b81810360608301526148cc818461427d565b905095945050505050565b60006040820190506148ec6000830185614201565b6148f9602083018461481d565b9392505050565b6000602082019050818103600083015261491a8184614210565b905092915050565b6000602082019050614937600083018461426e565b92915050565b600060208201905061495260008301846142b6565b92915050565b600060208201905061496d60008301846142c5565b92915050565b6000602082019050818103600083015261498d81846142d4565b905092915050565b600060208201905081810360008301526149ae816143bd565b9050919050565b600060208201905081810360008301526149ce816143e0565b9050919050565b600060208201905081810360008301526149ee81614403565b9050919050565b60006020820190508181036000830152614a0e81614426565b9050919050565b60006020820190508181036000830152614a2e81614449565b9050919050565b60006020820190508181036000830152614a4e8161446c565b9050919050565b60006020820190508181036000830152614a6e8161448f565b9050919050565b60006020820190508181036000830152614a8e816144b2565b9050919050565b60006020820190508181036000830152614aae816144d5565b9050919050565b60006020820190508181036000830152614ace816144f8565b9050919050565b60006020820190508181036000830152614aee8161451b565b9050919050565b60006020820190508181036000830152614b0e8161453e565b9050919050565b60006020820190508181036000830152614b2e81614561565b9050919050565b60006020820190508181036000830152614b4e81614584565b9050919050565b60006020820190508181036000830152614b6e816145a7565b9050919050565b60006020820190508181036000830152614b8e816145ca565b9050919050565b60006020820190508181036000830152614bae816145ed565b9050919050565b60006020820190508181036000830152614bce81614610565b9050919050565b60006020820190508181036000830152614bee81614633565b9050919050565b60006020820190508181036000830152614c0e81614656565b9050919050565b60006020820190508181036000830152614c2e8161469c565b9050919050565b60006020820190508181036000830152614c4e816146bf565b9050919050565b60006020820190508181036000830152614c6e816146e2565b9050919050565b60006020820190508181036000830152614c8e81614705565b9050919050565b60006020820190508181036000830152614cae81614728565b9050919050565b60006020820190508181036000830152614cce8161474b565b9050919050565b60006020820190508181036000830152614cee8161476e565b9050919050565b60006020820190508181036000830152614d0e81614791565b9050919050565b60006020820190508181036000830152614d2e816147d7565b9050919050565b60006020820190508181036000830152614d4e816147fa565b9050919050565b6000602082019050614d6a600083018461481d565b92915050565b6000614d7a614d8b565b9050614d868282615130565b919050565b6000604051905090565b600067ffffffffffffffff821115614db057614daf615268565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614ddc57614ddb615268565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614e0857614e07615268565b5b614e1182615297565b9050602081019050919050565b600067ffffffffffffffff821115614e3957614e38615268565b5b614e4282615297565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614ef68261506a565b9150614f018361506a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f3657614f356151db565b5b828201905092915050565b6000614f4c8261506a565b9150614f578361506a565b925082614f6757614f6661520a565b5b828204905092915050565b6000614f7d8261506a565b9150614f888361506a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614fc157614fc06151db565b5b828202905092915050565b6000614fd78261506a565b9150614fe28361506a565b925082821015614ff557614ff46151db565b5b828203905092915050565b600061500b8261504a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061507f82615086565b9050919050565b60006150918261504a565b9050919050565b60006150a3826150aa565b9050919050565b60006150b58261504a565b9050919050565b82818337600083830152505050565b60005b838110156150e95780820151818401526020810190506150ce565b838111156150f8576000848401525b50505050565b6000600282049050600182168061511657607f821691505b6020821081141561512a57615129615239565b5b50919050565b61513982615297565b810181811067ffffffffffffffff8211171561515857615157615268565b5b80604052505050565b600061516c8261506a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561519f5761519e6151db565b5b600182019050919050565b60006151b58261506a565b91506151c08361506a565b9250826151d0576151cf61520a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b7f50726573616c65206d696e74206e6f7420636f6d706c65746564000000000000600082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4f6e6c79207468726f7567682061756374696f6e000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f417272617973206c656e67746820646f206e6f74206d61746368000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b7f546f6f206d616e79206164647265737365730000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4261746368206e6f742079657420736f6c64206f757400000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f7420757365206f6c642072616e646f6d206e756d62657273000000600082015250565b7f4275726e696e67206e6f7420616c6c6f77656400000000000000000000000000600082015250565b7f4f7574206f6620626f756e647300000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f41626f7665206d6178696d756d00000000000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416d6f756e7420746f6f206c6f77000000000000000000000000000000000000600082015250565b61597381615000565b811461597e57600080fd5b50565b61598a81615012565b811461599557600080fd5b50565b6159a18161501e565b81146159ac57600080fd5b50565b6159b88161506a565b81146159c357600080fd5b5056fea26469706673582212207a0767e43827db6059bfba1e66636e69ffbb015ae09e4b6e0e80f80b3ccf8e7d64736f6c63430008040033697066733a2f2f516d583177695a423732456e586454785143655a685278746d5439476b4275577044375474447266416353696f342f000000000000000000000000b2e31c3d51bbfefb4653789cf0965f9dfa7c902a00000000000000000000000025c246da9775aeb0fa25773e7a703c762d0c3e58000000000000000000000000832790eb7323d94deffa877ac9eb843aed91edd3
Deployed Bytecode
0x6080604052600436106102515760003560e01c806378dbf69411610139578063ad9f20a6116100b6578063e830d2371161007a578063e830d2371461087f578063e985e9c5146108aa578063efeda429146108e7578063f2fde38b14610912578063f912e5a51461093b578063fdcf9d071461096657610251565b8063ad9f20a61461079c578063b88d4fde146107c7578063c87b56dd146107f0578063c9246a271461082d578063c9b298f11461085657610251565b806395d89b41116100fd57806395d89b41146106b757806398cacd50146106e25780639d25672b1461070b578063a22cb46514610736578063a96d5a271461075f57610251565b806378dbf694146105f35780638116f68e1461061e5780638467be0d1461063a578063854cff2f146106635780638da5cb5b1461068c57610251565b8063489b5a52116101d25780636352211e116101965780636352211e146104d15780636b15268a1461050e5780636c0360eb1461053757806370a0823114610562578063715018a61461059f57806374e0f7c0146105b657610251565b8063489b5a52146104125780634987d6d51461043b57806355f804b3146104665780635fc3683c1461048f57806361b20d8c146104ba57610251565b806318160ddd1161021957806318160ddd1461034d57806323b872dd146103785780632a55205a146103a15780633cd29ac8146103df57806342842e0e146103e957610251565b80630161ca791461025657806301ffc9a71461027f57806306fdde03146102bc578063081812fc146102e7578063095ea7b314610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613e29565b610991565b005b34801561028b57600080fd5b506102a660048036038101906102a1919061407d565b610ac1565b6040516102b39190614922565b60405180910390f35b3480156102c857600080fd5b506102d1610ba3565b6040516102de9190614973565b60405180910390f35b3480156102f357600080fd5b5061030e60048036038101906103099190614110565b610c35565b60405161031b9190614870565b60405180910390f35b34801561033057600080fd5b5061034b60048036038101906103469190613f94565b610cba565b005b34801561035957600080fd5b50610362610dd2565b60405161036f9190614d55565b60405180910390f35b34801561038457600080fd5b5061039f600480360381019061039a9190613e8e565b610dd8565b005b3480156103ad57600080fd5b506103c860048036038101906103c39190614162565b610e38565b6040516103d69291906148d7565b60405180910390f35b6103e7610e88565b005b3480156103f557600080fd5b50610410600480360381019061040b9190613e8e565b610e93565b005b34801561041e57600080fd5b5061043960048036038101906104349190613e29565b610eb3565b005b34801561044757600080fd5b50610450610fe3565b60405161045d919061493d565b60405180910390f35b34801561047257600080fd5b5061048d600480360381019061048891906140cf565b611009565b005b34801561049b57600080fd5b506104a461109f565b6040516104b19190614870565b60405180910390f35b3480156104c657600080fd5b506104cf6110c5565b005b3480156104dd57600080fd5b506104f860048036038101906104f39190614110565b6111df565b6040516105059190614870565b60405180910390f35b34801561051a57600080fd5b5061053560048036038101906105309190614011565b611291565b005b34801561054357600080fd5b5061054c611677565b6040516105599190614973565b60405180910390f35b34801561056e57600080fd5b5061058960048036038101906105849190613e29565b611705565b6040516105969190614d55565b60405180910390f35b3480156105ab57600080fd5b506105b46117bd565b005b3480156105c257600080fd5b506105dd60048036038101906105d89190614110565b611845565b6040516105ea9190614870565b60405180910390f35b3480156105ff57600080fd5b50610608611884565b6040516106159190614870565b60405180910390f35b61063860048036038101906106339190613e29565b6118aa565b005b34801561064657600080fd5b50610661600480360381019061065c9190614110565b611c5f565b005b34801561066f57600080fd5b5061068a60048036038101906106859190613e29565b611d6e565b005b34801561069857600080fd5b506106a1611e9e565b6040516106ae9190614870565b60405180910390f35b3480156106c357600080fd5b506106cc611ec8565b6040516106d99190614973565b60405180910390f35b3480156106ee57600080fd5b5061070960048036038101906107049190613e29565b611f5a565b005b34801561071757600080fd5b5061072061208a565b60405161072d9190614900565b60405180910390f35b34801561074257600080fd5b5061075d60048036038101906107589190613f58565b612118565b005b34801561076b57600080fd5b5061078660048036038101906107819190613e29565b612299565b6040516107939190614d55565b60405180910390f35b3480156107a857600080fd5b506107b16122b1565b6040516107be9190614d55565b60405180910390f35b3480156107d357600080fd5b506107ee60048036038101906107e99190613edd565b6122bd565b005b3480156107fc57600080fd5b5061081760048036038101906108129190614110565b61231f565b6040516108249190614973565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f9190613e29565b61239b565b005b34801561086257600080fd5b5061087d60048036038101906108789190614110565b6124cb565b005b34801561088b57600080fd5b506108946125f8565b6040516108a19190614870565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc9190613e52565b612622565b6040516108de9190614922565b60405180910390f35b3480156108f357600080fd5b506108fc6126b6565b6040516109099190614870565b60405180910390f35b34801561091e57600080fd5b5061093960048036038101906109349190613e29565b6126dc565b005b34801561094757600080fd5b506109506127d4565b60405161095d9190614958565b60405180910390f35b34801561097257600080fd5b5061097b6127fa565b6040516109889190614d55565b60405180910390f35b610999612800565b73ffffffffffffffffffffffffffffffffffffffff166109b7611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7490614995565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b8c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b9c5750610b9b82612808565b5b9050919050565b606060008054610bb2906150fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610bde906150fe565b8015610c2b5780601f10610c0057610100808354040283529160200191610c2b565b820191906000526020600020905b815481529060010190602001808311610c0e57829003601f168201915b5050505050905090565b6000610c4082612872565b610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7690614bd5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cc5826111df565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d90614cd5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d55612800565b73ffffffffffffffffffffffffffffffffffffffff161480610d845750610d8381610d7e612800565b612622565b5b610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba90614b35565b60405180910390fd5b610dcd83836128de565b505050565b60075481565b610de9610de3612800565b82612997565b610e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1f90614d15565b60405180910390fd5b610e33838383612a75565b505050565b600080601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691506127106101f461ffff1684610e759190614f72565b610e7f9190614f41565b90509250929050565b610e91336118aa565b565b610eae838383604051806020016040528060008152506122bd565b505050565b610ebb612800565b73ffffffffffffffffffffffffffffffffffffffff16610ed9611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9690614995565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611011612800565b73ffffffffffffffffffffffffffffffffffffffff1661102f611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614611085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107c90614c35565b60405180910390fd5b806008908051906020019061109b929190613a40565b5050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806111535750611124611e9e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118990614c15565b60405180910390fd5b6111dd47601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612cd190919063ffffffff16565b565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90614b75565b60405180910390fd5b80915050919050565b611299612800565b73ffffffffffffffffffffffffffffffffffffffff166112b7611e9e565b73ffffffffffffffffffffffffffffffffffffffff161461130d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130490614c35565b60405180910390fd5b600a82511115611352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134990614bb5565b60405180910390fd5b8051825114611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d90614b15565b60405180910390fd5b60005b82518110156116725760008382815181106113dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e90614995565b60405180910390fd5b6000838381518110611492577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600081116114df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d690614d35565b60405180910390fd5b6019600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261152c9190614eeb565b111561156d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156490614cf5565b60405180910390fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561161957600b829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b80600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050808061166a90615161565b915050611399565b505050565b60088054611684906150fe565b80601f01602080910402602001604051908101604052809291908181526020018280546116b0906150fe565b80156116fd5780601f106116d2576101008083540402835291602001916116fd565b820191906000526020600020905b8154815290600101906020018083116116e057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176d90614b55565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c5612800565b73ffffffffffffffffffffffffffffffffffffffff166117e3611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614611839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090614c35565b60405180910390fd5b6118436000612dc5565b565b600b818154811061185557600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190614995565b60405180910390fd5b6103e86007541015611961576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611958906149b5565b60405180910390fd5b6000611f40600754101590508015611a0457601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fa90614a95565b60405180910390fd5b5b600081611a24576702c68af0bb14000034611a1f9190614f41565b611a27565b60015b905060008111611a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6390614a35565b60405180910390fd5b806009541015611ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa890614b95565b60405180910390fd5b6019600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482611afe9190614eeb565b1115611b3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3690614cf5565b60405180910390fd5b6000600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611beb57600b839080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b80600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c3a9190614eeb565b925050819055508060096000828254611c539190614fcc565b92505081905550505050565b611c67612800565b73ffffffffffffffffffffffffffffffffffffffff16611c85611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614611cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd290614c35565b60405180910390fd5b611d6b600b805480602002602001604051908101604052809291908181526020018280548015611d6057602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611d16575b505050505082612e8b565b50565b611d76612800565b73ffffffffffffffffffffffffffffffffffffffff16611d94611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de190614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5190614995565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611ed7906150fe565b80601f0160208091040260200160405190810160405280929190818152602001828054611f03906150fe565b8015611f505780601f10611f2557610100808354040283529160200191611f50565b820191906000526020600020905b815481529060010190602001808311611f3357829003601f168201915b5050505050905090565b611f62612800565b73ffffffffffffffffffffffffffffffffffffffff16611f80611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614611fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcd90614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203d90614995565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600b80548060200260200160405190810160405280929190818152602001828054801561210e57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116120c4575b5050505050905090565b612120612800565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561218e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218590614a75565b60405180910390fd5b806005600061219b612800565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612248612800565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161228d9190614922565b60405180910390a35050565b600a6020528060005260406000206000915090505481565b6702c68af0bb14000081565b6122ce6122c8612800565b83612997565b61230d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230490614d15565b60405180910390fd5b6123198484848461324d565b50505050565b606061232a82612872565b612369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612360906149d5565b60405180910390fd5b6008612374836132a9565b60405160200161238592919061482c565b6040516020818303038152906040529050919050565b6123a3612800565b73ffffffffffffffffffffffffffffffffffffffff166123c1611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614612417576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240e90614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247e90614995565b60405180910390fd5b80600e60036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6124d3612800565b73ffffffffffffffffffffffffffffffffffffffff166124f1611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614612547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253e90614c35565b60405180910390fd5b6125f5600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636d0280276040518163ffffffff1660e01b815260040160006040518083038186803b1580156125b257600080fd5b505afa1580156125c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906125ef9190613fd0565b82612e8b565b50565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6126e4612800565b73ffffffffffffffffffffffffffffffffffffffff16612702611e9e565b73ffffffffffffffffffffffffffffffffffffffff1614612758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274f90614c35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bf90614a15565b60405180910390fd5b6127d181612dc5565b50565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612951836111df565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129a282612872565b6129e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d890614af5565b60405180910390fd5b60006129ec836111df565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a5b57508373ffffffffffffffffffffffffffffffffffffffff16612a4384610c35565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a6c5750612a6b8185612622565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a95826111df565b73ffffffffffffffffffffffffffffffffffffffff1614612aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae290614c55565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5290614a55565b60405180910390fd5b612b66838383613456565b612b716000826128de565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bc19190614fcc565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c189190614eeb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0b90614ad5565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612d3a9061485b565b60006040518083038185875af1925050503d8060008114612d77576040519150601f19603f3d011682016040523d82523d6000602084013e612d7c565b606091505b5050905080612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db790614ab5565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060095414612ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec790614bf5565b60405180910390fd5b600e60009054906101000a900460ff16612eed57612eec6134d6565b5b600081600e60019054906101000a900461ffff1661ffff16612f0f9190614eeb565b90508251811115612f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4c90614cb5565b60405180910390fd5b600080612f606135ee565b915091506000600c5490506000600d5490506000600e60019054906101000a900461ffff1661ffff1690505b85811015613179576000888281518110612fcf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000612fe482613693565b905060005b818110156130c057612ffd86898988613798565b9550826002600088815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550858373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480806130b890615161565b915050612fe9565b5080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131109190614eeb565b925050819055506103e8871061316457600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090555b5050808061317190615161565b915050612f8c565b50865185141561321f576000600e60006101000a81548160ff0219169083151502179055506103e884106131b657600b60006131b59190613ac6565b5b83836131c29190614fcc565b600760008282546131d39190614eeb565b925050819055506131e26135ee565b809450819550505083836131f69190614fcc565b6009819055506000600e60016101000a81548161ffff021916908361ffff160217905550613244565b81600c8190555084600e60016101000a81548161ffff021916908361ffff1602179055505b50505050505050565b613258848484612a75565b613264848484846137d3565b6132a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329a906149f5565b60405180910390fd5b50505050565b606060008214156132f1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613451565b600082905060005b6000821461332357808061330c90615161565b915050600a8261331c9190614f41565b91506132f9565b60008167ffffffffffffffff811115613365577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133975781602001600182028036833780820191505090505b5090505b6000851461344a576001826133b09190614fcc565b9150600a856133bf91906151aa565b60306133cb9190614eeb565b60f81b818381518110613407577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134439190614f41565b945061339b565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134bd90614c95565b60405180910390fd5b6134d183838361396a565b505050565b600080600e60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fdc84dc6040518163ffffffff1660e01b8152600401604080518083038186803b15801561354057600080fd5b505afa158015613554573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613578919061419e565b91509150600d548114156135c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b890614c75565b60405180910390fd5b80600d8190555081600c819055506001600e60006101000a81548160ff0219169083151502179055505050565b600080611f40600754101561362f576103e88060075461360e9190614f41565b6136189190614f72565b91506103e8826136289190614eeb565b905061368f565b61271060075410156136855760c880611f4060075461364e9190614fcc565b6136589190614f41565b6136629190614f72565b611f4061366f9190614eeb565b915060c88261367e9190614eeb565b905061368e565b60009150600090505b5b9091565b60006103e8600754106136e557600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613791565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634dab7d24836040518263ffffffff1660e01b81526004016137409190614870565b60206040518083038186803b15801561375857600080fd5b505afa15801561376c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137909190614139565b5b9050919050565b6000611f408410156137ba576137b3856103f184878761396f565b90506137cb565b6137c88560d384878761396f565b90505b949350505050565b60006137f48473ffffffffffffffffffffffffffffffffffffffff16613a2d565b1561395d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261381d612800565b8786866040518563ffffffff1660e01b815260040161383f949392919061488b565b602060405180830381600087803b15801561385957600080fd5b505af192505050801561388a57506040513d601f19601f8201168201806040525081019061388791906140a6565b60015b61390d573d80600081146138ba576040519150601f19603f3d011682016040523d82523d6000602084013e6138bf565b606091505b50600081511415613905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138fc906149f5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613962565b600190505b949350505050565b505050565b6000848361397d91906151aa565b60018661398a9190614fcc565b6139949190614fcc565b85856139a091906151aa565b14156139b6576001846139b39190614eeb565b93505b60018585886139c59190614eeb565b6139cf91906151aa565b846139da9190614eeb565b6139e49190614eeb565b90505b81811115613a245760018585836139fe9190614eeb565b613a0891906151aa565b84613a139190614eeb565b613a1d9190614eeb565b90506139e7565b95945050505050565b600080823b905060008111915050919050565b828054613a4c906150fe565b90600052602060002090601f016020900481019282613a6e5760008555613ab5565b82601f10613a8757805160ff1916838001178555613ab5565b82800160010185558215613ab5579182015b82811115613ab4578251825591602001919060010190613a99565b5b509050613ac29190613ae7565b5090565b5080546000825590600052602060002090810190613ae49190613ae7565b50565b5b80821115613b00576000816000905550600101613ae8565b5090565b6000613b17613b1284614d95565b614d70565b90508083825260208201905082856020860282011115613b3657600080fd5b60005b85811015613b665781613b4c8882613cc4565b845260208401935060208301925050600181019050613b39565b5050509392505050565b6000613b83613b7e84614d95565b614d70565b90508083825260208201905082856020860282011115613ba257600080fd5b60005b85811015613bd25781613bb88882613cd9565b845260208401935060208301925050600181019050613ba5565b5050509392505050565b6000613bef613bea84614dc1565b614d70565b90508083825260208201905082856020860282011115613c0e57600080fd5b60005b85811015613c3e5781613c248882613dff565b845260208401935060208301925050600181019050613c11565b5050509392505050565b6000613c5b613c5684614ded565b614d70565b905082815260208101848484011115613c7357600080fd5b613c7e8482856150bc565b509392505050565b6000613c99613c9484614e1e565b614d70565b905082815260208101848484011115613cb157600080fd5b613cbc8482856150bc565b509392505050565b600081359050613cd38161596a565b92915050565b600081519050613ce88161596a565b92915050565b600082601f830112613cff57600080fd5b8135613d0f848260208601613b04565b91505092915050565b600082601f830112613d2957600080fd5b8151613d39848260208601613b70565b91505092915050565b600082601f830112613d5357600080fd5b8135613d63848260208601613bdc565b91505092915050565b600081359050613d7b81615981565b92915050565b600081359050613d9081615998565b92915050565b600081519050613da581615998565b92915050565b600082601f830112613dbc57600080fd5b8135613dcc848260208601613c48565b91505092915050565b600082601f830112613de657600080fd5b8135613df6848260208601613c86565b91505092915050565b600081359050613e0e816159af565b92915050565b600081519050613e23816159af565b92915050565b600060208284031215613e3b57600080fd5b6000613e4984828501613cc4565b91505092915050565b60008060408385031215613e6557600080fd5b6000613e7385828601613cc4565b9250506020613e8485828601613cc4565b9150509250929050565b600080600060608486031215613ea357600080fd5b6000613eb186828701613cc4565b9350506020613ec286828701613cc4565b9250506040613ed386828701613dff565b9150509250925092565b60008060008060808587031215613ef357600080fd5b6000613f0187828801613cc4565b9450506020613f1287828801613cc4565b9350506040613f2387828801613dff565b925050606085013567ffffffffffffffff811115613f4057600080fd5b613f4c87828801613dab565b91505092959194509250565b60008060408385031215613f6b57600080fd5b6000613f7985828601613cc4565b9250506020613f8a85828601613d6c565b9150509250929050565b60008060408385031215613fa757600080fd5b6000613fb585828601613cc4565b9250506020613fc685828601613dff565b9150509250929050565b600060208284031215613fe257600080fd5b600082015167ffffffffffffffff811115613ffc57600080fd5b61400884828501613d18565b91505092915050565b6000806040838503121561402457600080fd5b600083013567ffffffffffffffff81111561403e57600080fd5b61404a85828601613cee565b925050602083013567ffffffffffffffff81111561406757600080fd5b61407385828601613d42565b9150509250929050565b60006020828403121561408f57600080fd5b600061409d84828501613d81565b91505092915050565b6000602082840312156140b857600080fd5b60006140c684828501613d96565b91505092915050565b6000602082840312156140e157600080fd5b600082013567ffffffffffffffff8111156140fb57600080fd5b61410784828501613dd5565b91505092915050565b60006020828403121561412257600080fd5b600061413084828501613dff565b91505092915050565b60006020828403121561414b57600080fd5b600061415984828501613e14565b91505092915050565b6000806040838503121561417557600080fd5b600061418385828601613dff565b925050602061419485828601613dff565b9150509250929050565b600080604083850312156141b157600080fd5b60006141bf85828601613e14565b92505060206141d085828601613e14565b9150509250929050565b60006141e683836141f2565b60208301905092915050565b6141fb81615000565b82525050565b61420a81615000565b82525050565b600061421b82614e74565b6142258185614ea2565b935061423083614e4f565b8060005b8381101561426157815161424888826141da565b975061425383614e95565b925050600181019050614234565b5085935050505092915050565b61427781615012565b82525050565b600061428882614e7f565b6142928185614eb3565b93506142a28185602086016150cb565b6142ab81615297565b840191505092915050565b6142bf81615074565b82525050565b6142ce81615098565b82525050565b60006142df82614e8a565b6142e98185614ecf565b93506142f98185602086016150cb565b61430281615297565b840191505092915050565b600061431882614e8a565b6143228185614ee0565b93506143328185602086016150cb565b80840191505092915050565b6000815461434b816150fe565b6143558186614ee0565b945060018216600081146143705760018114614381576143b4565b60ff198316865281860193506143b4565b61438a85614e5f565b60005b838110156143ac5781548189015260018201915060208101905061438d565b838801955050505b50505092915050565b60006143ca600f83614ecf565b91506143d5826152a8565b602082019050919050565b60006143ed601a83614ecf565b91506143f8826152d1565b602082019050919050565b6000614410601f83614ecf565b915061441b826152fa565b602082019050919050565b6000614433603283614ecf565b915061443e82615323565b604082019050919050565b6000614456602683614ecf565b915061446182615372565b604082019050919050565b6000614479601083614ecf565b9150614484826153c1565b602082019050919050565b600061449c602483614ecf565b91506144a7826153ea565b604082019050919050565b60006144bf601983614ecf565b91506144ca82615439565b602082019050919050565b60006144e2601483614ecf565b91506144ed82615462565b602082019050919050565b6000614505603a83614ecf565b91506145108261548b565b604082019050919050565b6000614528601d83614ecf565b9150614533826154da565b602082019050919050565b600061454b602c83614ecf565b915061455682615503565b604082019050919050565b600061456e601a83614ecf565b915061457982615552565b602082019050919050565b6000614591603883614ecf565b915061459c8261557b565b604082019050919050565b60006145b4602a83614ecf565b91506145bf826155ca565b604082019050919050565b60006145d7602983614ecf565b91506145e282615619565b604082019050919050565b60006145fa601683614ecf565b915061460582615668565b602082019050919050565b600061461d601283614ecf565b915061462882615691565b602082019050919050565b6000614640602c83614ecf565b915061464b826156ba565b604082019050919050565b6000614663601683614ecf565b915061466e82615709565b602082019050919050565b6000614686600583614ee0565b915061469182615732565b600582019050919050565b60006146a9600b83614ecf565b91506146b48261575b565b602082019050919050565b60006146cc602083614ecf565b91506146d782615784565b602082019050919050565b60006146ef602983614ecf565b91506146fa826157ad565b604082019050919050565b6000614712601d83614ecf565b915061471d826157fc565b602082019050919050565b6000614735601383614ecf565b915061474082615825565b602082019050919050565b6000614758600d83614ecf565b91506147638261584e565b602082019050919050565b600061477b602183614ecf565b915061478682615877565b604082019050919050565b600061479e600d83614ecf565b91506147a9826158c6565b602082019050919050565b60006147c1600083614ec4565b91506147cc826158ef565b600082019050919050565b60006147e4603183614ecf565b91506147ef826158f2565b604082019050919050565b6000614807600e83614ecf565b915061481282615941565b602082019050919050565b6148268161506a565b82525050565b6000614838828561433e565b9150614844828461430d565b915061484f82614679565b91508190509392505050565b6000614866826147b4565b9150819050919050565b60006020820190506148856000830184614201565b92915050565b60006080820190506148a06000830187614201565b6148ad6020830186614201565b6148ba604083018561481d565b81810360608301526148cc818461427d565b905095945050505050565b60006040820190506148ec6000830185614201565b6148f9602083018461481d565b9392505050565b6000602082019050818103600083015261491a8184614210565b905092915050565b6000602082019050614937600083018461426e565b92915050565b600060208201905061495260008301846142b6565b92915050565b600060208201905061496d60008301846142c5565b92915050565b6000602082019050818103600083015261498d81846142d4565b905092915050565b600060208201905081810360008301526149ae816143bd565b9050919050565b600060208201905081810360008301526149ce816143e0565b9050919050565b600060208201905081810360008301526149ee81614403565b9050919050565b60006020820190508181036000830152614a0e81614426565b9050919050565b60006020820190508181036000830152614a2e81614449565b9050919050565b60006020820190508181036000830152614a4e8161446c565b9050919050565b60006020820190508181036000830152614a6e8161448f565b9050919050565b60006020820190508181036000830152614a8e816144b2565b9050919050565b60006020820190508181036000830152614aae816144d5565b9050919050565b60006020820190508181036000830152614ace816144f8565b9050919050565b60006020820190508181036000830152614aee8161451b565b9050919050565b60006020820190508181036000830152614b0e8161453e565b9050919050565b60006020820190508181036000830152614b2e81614561565b9050919050565b60006020820190508181036000830152614b4e81614584565b9050919050565b60006020820190508181036000830152614b6e816145a7565b9050919050565b60006020820190508181036000830152614b8e816145ca565b9050919050565b60006020820190508181036000830152614bae816145ed565b9050919050565b60006020820190508181036000830152614bce81614610565b9050919050565b60006020820190508181036000830152614bee81614633565b9050919050565b60006020820190508181036000830152614c0e81614656565b9050919050565b60006020820190508181036000830152614c2e8161469c565b9050919050565b60006020820190508181036000830152614c4e816146bf565b9050919050565b60006020820190508181036000830152614c6e816146e2565b9050919050565b60006020820190508181036000830152614c8e81614705565b9050919050565b60006020820190508181036000830152614cae81614728565b9050919050565b60006020820190508181036000830152614cce8161474b565b9050919050565b60006020820190508181036000830152614cee8161476e565b9050919050565b60006020820190508181036000830152614d0e81614791565b9050919050565b60006020820190508181036000830152614d2e816147d7565b9050919050565b60006020820190508181036000830152614d4e816147fa565b9050919050565b6000602082019050614d6a600083018461481d565b92915050565b6000614d7a614d8b565b9050614d868282615130565b919050565b6000604051905090565b600067ffffffffffffffff821115614db057614daf615268565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614ddc57614ddb615268565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614e0857614e07615268565b5b614e1182615297565b9050602081019050919050565b600067ffffffffffffffff821115614e3957614e38615268565b5b614e4282615297565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614ef68261506a565b9150614f018361506a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f3657614f356151db565b5b828201905092915050565b6000614f4c8261506a565b9150614f578361506a565b925082614f6757614f6661520a565b5b828204905092915050565b6000614f7d8261506a565b9150614f888361506a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614fc157614fc06151db565b5b828202905092915050565b6000614fd78261506a565b9150614fe28361506a565b925082821015614ff557614ff46151db565b5b828203905092915050565b600061500b8261504a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061507f82615086565b9050919050565b60006150918261504a565b9050919050565b60006150a3826150aa565b9050919050565b60006150b58261504a565b9050919050565b82818337600083830152505050565b60005b838110156150e95780820151818401526020810190506150ce565b838111156150f8576000848401525b50505050565b6000600282049050600182168061511657607f821691505b6020821081141561512a57615129615239565b5b50919050565b61513982615297565b810181811067ffffffffffffffff8211171561515857615157615268565b5b80604052505050565b600061516c8261506a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561519f5761519e6151db565b5b600182019050919050565b60006151b58261506a565b91506151c08361506a565b9250826151d0576151cf61520a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b7f50726573616c65206d696e74206e6f7420636f6d706c65746564000000000000600082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4f6e6c79207468726f7567682061756374696f6e000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f417272617973206c656e67746820646f206e6f74206d61746368000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b7f546f6f206d616e79206164647265737365730000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4261746368206e6f742079657420736f6c64206f757400000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f7420757365206f6c642072616e646f6d206e756d62657273000000600082015250565b7f4275726e696e67206e6f7420616c6c6f77656400000000000000000000000000600082015250565b7f4f7574206f6620626f756e647300000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f41626f7665206d6178696d756d00000000000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416d6f756e7420746f6f206c6f77000000000000000000000000000000000000600082015250565b61597381615000565b811461597e57600080fd5b50565b61598a81615012565b811461599557600080fd5b50565b6159a18161501e565b81146159ac57600080fd5b50565b6159b88161506a565b81146159c357600080fd5b5056fea26469706673582212207a0767e43827db6059bfba1e66636e69ffbb015ae09e4b6e0e80f80b3ccf8e7d64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b2e31c3d51bbfefb4653789cf0965f9dfa7c902a00000000000000000000000025c246da9775aeb0fa25773e7a703c762d0c3e58000000000000000000000000832790eb7323d94deffa877ac9eb843aed91edd3
-----Decoded View---------------
Arg [0] : _pianoKingWhitelistAddress (address): 0xB2E31C3D51bbfefB4653789CF0965f9dfa7C902a
Arg [1] : _pianoKingRNConsumer (address): 0x25c246dA9775aEb0fa25773E7a703c762D0C3E58
Arg [2] : _pianoKingFunds (address): 0x832790EB7323d94DEFfA877AC9Eb843aed91EDd3
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000b2e31c3d51bbfefb4653789cf0965f9dfa7c902a
Arg [1] : 00000000000000000000000025c246da9775aeb0fa25773e7a703c762d0c3e58
Arg [2] : 000000000000000000000000832790eb7323d94deffa877ac9eb843aed91edd3
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.