Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,799 TILES2
Holders
933
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TILES2Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
InfiniteTiles
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; /* ........................................................................... :++++++++++++++++++++++=::++++++++++++++++++++++=::++++++++++++++++++++++=: :++++++++++++++++++++=. :++++++++++++++++++++=. :++++++++++++++++++++=: :++++++++++++++++++=. :++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++=: :++++++++++++++++=: :+++++++===++++===: :++++++++++++++=: :++++++++++++++=: :++++++==++++++=. :++++++++++++=. :++++++++++++=. :+++++==+++++=. :++++++++++=. :++++++++++=: :+++++==+++=: :++++++++=: :++++++++=: :++++++===: :++++++=: :++++++=: :++++++=. :++++=: :++++=: :++++=: :++=. :++=. :++=: :=. :=: :=: :=======================-:=======================--=======================- :+++++++++++++++++++++=: :+++++++++++++++++++++=: :+++++++++++++++++++++=: :+++++++++++++++++++=. :+++++++++++++++++++=. :+++++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++=: :+++++++++++++++=: :+++++++++++++++=: :+++++++++++++=: :+++++++++++++=: :+++++++++++++=: :+++++++++++=: :+++++++++++=: :+++++++++++=: :+++++++++=. :+++++++++=: :+++++++++=: :+++++++=: :+++++++=: :+++++++=: :+++++=: :+++++=: :+++++=: :+++=: :+++=: :+++=: :+=. :+=. :+=: :-.......................:-.......................--....................... :++++++++++++++++++++++=::++++++++++++++++++++++=::++++++++++++++++++++++=. :++++++++++++++++++++=: :++++++++++++++++++++=: :++++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++++=: :+++++++===++++===: :++++++++++++++++=: :++++++++++++++++=. :++++++==++++++=. :++++++++++++++=: :++++++++++++++=. :+++++==+++++=: :++++++++++++=: :++++++++++++=: :+++++==+++=: :++++++++++=: :++++++++++=: :++++++===. :++++++++=: :++++++++=. :++++++=. :++++++=: :++++++=. :++++=: :++++=: :++++=. :++=: :++=: :++=: :=: :=: :=: Infinite Tiles v2 - a Juicebox project */ import '@jbx-protocol/contracts-v2/contracts/interfaces/IJBDirectory.sol'; import '@jbx-protocol/contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol'; import '@jbx-protocol/contracts-v2/contracts/libraries/JBTokens.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/interfaces/IERC2981.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import './interfaces/IPriceResolver.sol'; import './interfaces/IInfiniteTiles.sol'; import './interfaces/ITileContentProvider.sol'; import './components/ERC721Enumerable.sol'; contract InfiniteTiles is ERC721Enumerable, Ownable, ReentrancyGuard, IInfiniteTiles { error INCORRECT_PRICE(); error UNSUPPORTED_OPERATION(); error PRIVILEDGED_OPERATION(); error INVALID_ADDRESS(); error INVALID_TOKEN(); error INVALID_AMOUNT(); error ALREADY_MINTED(); error INVALID_RATE(); error MINT_PAUSED(); IPriceResolver priceResolver; ITileContentProvider tokenUriResolver; mapping(address => bool) private minters; IJBDirectory jbxDirectory; uint256 jbxProjectId; /** @notice URI containing OpenSea-style metadata. */ string private _contractUri; /** @notice Maps token id to address used to generate content of that NFT. This does not track ownership. */ mapping(address => uint256) public override idForAddress; /** @notice Maps the address used for NFT content to the token id of that object. This does not track ownership. */ mapping(uint256 => address) public override addressForId; address payable public royaltyReceiver; /** * @notice Royalty rate expressed in bps. */ uint16 public royaltyRate; /** * @notice Allows pausing of the mint. */ bool paused; //*********************************************************************// // -------------------------- constructor ---------------------------- // //*********************************************************************// /** @notice @param _name Token name. @param _symbol Token symbol. @param _priceResolver Price resolver. @param _tokenUriResolver Token URI resolver. @param _jbxDirectory Jukebox project directory. @param _jbxProjectId Juicebox project id. @param _metadataUri OpenSea-style contract metadata. */ constructor( string memory _name, string memory _symbol, IPriceResolver _priceResolver, ITileContentProvider _tokenUriResolver, IJBDirectory _jbxDirectory, uint256 _jbxProjectId, string memory _metadataUri ) ERC721Enumerable(_name, _symbol) { priceResolver = _priceResolver; tokenUriResolver = _tokenUriResolver; jbxDirectory = _jbxDirectory; jbxProjectId = _jbxProjectId; _contractUri = _metadataUri; if (address(_tokenUriResolver) != address(0)) { _tokenUriResolver.setParent(IInfiniteTiles(address(this))); } } //*********************************************************************// // ------------------------- external views -------------------------- // //*********************************************************************// function tokenURI(uint256 tokenId) public view override returns (string memory uri) { if (_ownerOf[tokenId] == address(0)) { uri = ''; } else if (address(tokenUriResolver) != address(0)) { uri = tokenUriResolver.tokenUri(tokenId); } else { uri = ''; } } function contractURI() public view override returns (string memory contractUri) { contractUri = _contractUri; } //*********************************************************************// // ---------------------- external transactions ---------------------- // //*********************************************************************// receive() external payable { _payTreasury(address(0)); } /** @notice Allows minting by anyone at the correct price. */ function mint() external payable override nonReentrant returns (uint256 mintedTokenId) { if (paused) { revert MINT_PAUSED(); } if (address(priceResolver) == address(0)) { revert UNSUPPORTED_OPERATION(); } if (msg.value != priceResolver.getPriceWithParams(msg.sender, 0, abi.encodePacked(totalSupply(), msg.sender))) { revert INCORRECT_PRICE(); } _payTreasury(msg.sender); mintedTokenId = _mint(msg.sender, msg.sender); } function grab(address _tile) external payable override nonReentrant returns (uint256 mintedTokenId) { if (paused) { revert MINT_PAUSED(); } if (address(priceResolver) == address(0)) { revert UNSUPPORTED_OPERATION(); } if (msg.value != priceResolver.getPriceWithParams(msg.sender, 0, abi.encodePacked(totalSupply(), _tile))) { revert INCORRECT_PRICE(); } _payTreasury(_tile); mintedTokenId = _mint(msg.sender, _tile); } /** @notice Allows minting by anyone in the merkle root of the registered price resolver. */ function merkleMint( uint256 index, address _tile, bytes calldata proof ) external payable override nonReentrant returns (uint256 mintedTokenId) { if (paused) { revert MINT_PAUSED(); } if (address(priceResolver) == address(0)) { revert UNSUPPORTED_OPERATION(); } if (msg.value != priceResolver.getPriceWithParams(msg.sender, index, proof)) { revert INCORRECT_PRICE(); } _payTreasury(_tile); mintedTokenId = _mint(msg.sender, _tile); } /** * @notice Allows the sender to seize the tile with their address from the current owner at the current mint price. The payment will again be made to the associated Juicebox project. This is a means of discouraging people from minting tiles for addresses they do not control. */ function seize() external payable override returns (uint256 tokenId) { tokenId = idForAddress[msg.sender]; if (tokenId == 0) { revert INVALID_TOKEN(); } address owner = ownerOf(tokenId); if (owner == msg.sender) { revert UNSUPPORTED_OPERATION(); } if (msg.value != priceResolver.getPriceWithParams(msg.sender, tokenId, abi.encodePacked(totalSupply(), msg.sender))) { revert INCORRECT_PRICE(); } _payTreasury(msg.sender); _reassign(owner, msg.sender, tokenId); } function transferFrom( address _from, address _to, uint256 _tokenId ) public override { _beforeTokenTransfer(_from, _to, _tokenId); super.transferFrom(_from, _to, _tokenId); } function safeTransferFrom( address _from, address _to, uint256 _tokenId ) public override { _beforeTokenTransfer(_from, _to, _tokenId); super.safeTransferFrom(_from, _to, _tokenId); } function safeTransferFrom( address _from, address _to, uint256 _tokenId, bytes calldata _data ) public override { _beforeTokenTransfer(_from, _to, _tokenId); super.safeTransferFrom(_from, _to, _tokenId, _data); } /** * @notice EIP2981 implementation for royalty distribution. * * @param _tokenId Token id. * @param _salePrice NFT sale price to derive royalty amount from. */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) { if (_salePrice == 0 || _ownerOf[_tokenId] == address(0)) { receiver = address(0); royaltyAmount = 0; } else { receiver = royaltyReceiver == address(0) ? address(this) : royaltyReceiver; royaltyAmount = (_salePrice * royaltyRate) / 10_000; } } /** * @notice Returns the mint price based on the caller. When using off-chain it's best to call `getMintPrice(address,address) instead. */ function getMintPrice() external view returns (uint256 price) { if (address(priceResolver) == address(0)) { revert UNSUPPORTED_OPERATION(); } price = priceResolver.getPriceWithParams(msg.sender, 0, abi.encodePacked(totalSupply(), msg.sender)); } /** * @notice Returns mint price for a given tile for the proposed minter. */ function getMintPrice(address _minter, address _tile) external view returns (uint256 price) { if (address(priceResolver) == address(0)) { revert UNSUPPORTED_OPERATION(); } if (idForAddress[_tile] != 0 && _minter != _tile) { revert ALREADY_MINTED(); } price = priceResolver.getPriceWithParams(_minter, 0, abi.encodePacked(totalSupply(), _tile)); } //*********************************************************************// // -------------------- priviledged transactions --------------------- // //*********************************************************************// /** * @notice Allows direct mint by priviledged accounts bypassing price checks. */ function superMint(address _account, address _tile) external payable override nonReentrant onlyMinter(msg.sender) returns (uint256 mintedTokenId) { if (paused) { revert MINT_PAUSED(); } mintedTokenId = _mint(_account, _tile); } /** * @notice Adds a priviledged minter account. */ function registerMinter(address _minter) external override onlyOwner { minters[_minter] = true; } /** * @notice Removes a priviledged minter account. */ function removeMinter(address _minter) external override onlyOwner { minters[_minter] = false; } /** * @notice Changes the associated price resolver. */ function setPriceResolver(IPriceResolver _priceResolver) external override onlyOwner { priceResolver = _priceResolver; } /** * @notice Changes contract metadata uri. */ function setContractUri(string calldata contractUri) external override onlyOwner { _contractUri = contractUri; } /** * @notice Allows owner to tranfer ether balance. */ function transferBalance(address payable account, uint256 amount) external override onlyOwner { if (account == address(0)) { revert INVALID_ADDRESS(); } if (amount == 0 || amount > (payable(address(this))).balance) { revert INVALID_AMOUNT(); } account.transfer(amount); } /** * @notice Allows owner to transfer ERC20 balances. */ function transferTokenBalance( IERC20 token, address to, uint256 amount ) external override onlyOwner { token.transfer(to, amount); } /** * @notice Changes the associated token uri resolver. */ function setTokenUriResolver(ITileContentProvider _tokenUriResolver) external override onlyOwner { tokenUriResolver = _tokenUriResolver; } /** * @notice Sets royalty info * @param _royaltyReceiver Payable royalties receiver, if set to address(0) royalties will be processed by the contract itself. * @param _royaltyRate Rate expressed in bps, can only be set once. */ function setRoyalties(address _royaltyReceiver, uint16 _royaltyRate) external onlyOwner { royaltyReceiver = payable(_royaltyReceiver); if (_royaltyRate > 10_000) { revert INVALID_RATE(); } if (royaltyRate == 0) { royaltyRate = _royaltyRate; } } /** * @notice Changes Juicebox directory and project id which will influence how payments are processed */ function setJuiceboxParams(IJBDirectory _jbxDirectory, uint256 _jbxProjectId) external onlyOwner { jbxDirectory = _jbxDirectory; jbxProjectId = _jbxProjectId; } function setPause(bool _pause) external onlyOwner { paused = _pause; } //*********************************************************************// // ----------------------- private transactions ---------------------- // //*********************************************************************// /** * @dev Attempts to forward payment to the default registered terminal for Ether. */ function _payTreasury(address _tile) private { IJBPaymentTerminal terminal = jbxDirectory.primaryTerminalOf(jbxProjectId, JBTokens.ETH); if (address(terminal) == address(0)) { return; } terminal.pay{value: msg.value}( jbxProjectId, msg.value, JBTokens.ETH, msg.sender, 0, false, (_tile == address(0) ? '' : tokenUriResolver.externalPreviewUrl(_tile)), '0x00' ); } /** * @notice Mints the token, returns minted token id. * * @param owner Owner of the new token. * @param tile Address to generate the tile from. */ function _mint(address owner, address tile) private returns (uint256 tokenId) { tokenId = totalSupply() + 1; if (idForAddress[tile] != 0) { revert ALREADY_MINTED(); } addressForId[tokenId] = tile; idForAddress[tile] = tokenId; _beforeTokenTransfer(address(0), owner, tokenId); _mint(owner, tokenId); } /** * @notice Forcibly assigns a token to a specific address. */ function _reassign( address from, address to, uint256 tokenId ) private { require(to != address(0), 'INVALID_RECIPIENT'); _beforeTokenTransfer(from, to, tokenId); unchecked { _balanceOf[from]--; _balanceOf[to]++; } _ownerOf[tokenId] = to; delete getApproved[tokenId]; emit Transfer(from, to, tokenId); } /** * @notice Validate that the caller is in the minter list. */ modifier onlyMinter(address _account) { if (_account != owner() && !minters[_account]) { revert PRIVILEDGED_OPERATION(); } _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view override returns (bool) { return interfaceId == type(IERC2981).interfaceId || // 0x2a55205a super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import './IJBFundingCycleStore.sol'; import './IJBPaymentTerminal.sol'; import './IJBProjects.sol'; interface IJBDirectory { event SetController(uint256 indexed projectId, address indexed controller, address caller); event AddTerminal(uint256 indexed projectId, IJBPaymentTerminal indexed terminal, address caller); event SetTerminals(uint256 indexed projectId, IJBPaymentTerminal[] terminals, address caller); event SetPrimaryTerminal( uint256 indexed projectId, address indexed token, IJBPaymentTerminal indexed terminal, address caller ); event SetIsAllowedToSetFirstController(address indexed addr, bool indexed flag, address caller); function projects() external view returns (IJBProjects); function fundingCycleStore() external view returns (IJBFundingCycleStore); function controllerOf(uint256 _projectId) external view returns (address); function isAllowedToSetFirstController(address _address) external view returns (bool); function terminalsOf(uint256 _projectId) external view returns (IJBPaymentTerminal[] memory); function isTerminalOf(uint256 _projectId, IJBPaymentTerminal _terminal) external view returns (bool); function primaryTerminalOf(uint256 _projectId, address _token) external view returns (IJBPaymentTerminal); function setControllerOf(uint256 _projectId, address _controller) external; function setTerminalsOf(uint256 _projectId, IJBPaymentTerminal[] calldata _terminals) external; function setPrimaryTerminalOf( uint256 _projectId, address _token, IJBPaymentTerminal _terminal ) external; function setIsAllowedToSetFirstController(address _address, bool _flag) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import '@openzeppelin/contracts/utils/introspection/IERC165.sol'; interface IJBPaymentTerminal is IERC165 { function acceptsToken(address _token, uint256 _projectId) external view returns (bool); function currencyForToken(address _token) external view returns (uint256); function decimalsForToken(address _token) external view returns (uint256); // Return value must be a fixed point number with 18 decimals. function currentEthOverflowOf(uint256 _projectId) external view returns (uint256); function pay( uint256 _projectId, uint256 _amount, address _token, address _beneficiary, uint256 _minReturnedTokens, bool _preferClaimedTokens, string calldata _memo, bytes calldata _metadata ) external payable returns (uint256 beneficiaryTokenCount); function addToBalanceOf( uint256 _projectId, uint256 _amount, address _token, string calldata _memo, bytes calldata _metadata ) external payable; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; library JBTokens { /** @notice The ETH token address in Juicebox is represented by 0x000000000000000000000000000000000000EEEe. */ address public constant ETH = address(0x000000000000000000000000000000000000EEEe); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; /* ........................................................................... :++++++++++++++++++++++=::++++++++++++++++++++++=::++++++++++++++++++++++=: :++++++++++++++++++++=. :++++++++++++++++++++=. :++++++++++++++++++++=: :++++++++++++++++++=. :++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++=: :++++++++++++++++=: :+++++++===++++===: :++++++++++++++=: :++++++++++++++=: :++++++==++++++=. :++++++++++++=. :++++++++++++=. :+++++==+++++=. :++++++++++=. :++++++++++=: :+++++==+++=: :++++++++=: :++++++++=: :++++++===: :++++++=: :++++++=: :++++++=. :++++=: :++++=: :++++=: :++=. :++=. :++=: :=. :=: :=: :=======================-:=======================--=======================- :+++++++++++++++++++++=: :+++++++++++++++++++++=: :+++++++++++++++++++++=: :+++++++++++++++++++=. :+++++++++++++++++++=. :+++++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++=: :+++++++++++++++=: :+++++++++++++++=: :+++++++++++++=: :+++++++++++++=: :+++++++++++++=: :+++++++++++=: :+++++++++++=: :+++++++++++=: :+++++++++=. :+++++++++=: :+++++++++=: :+++++++=: :+++++++=: :+++++++=: :+++++=: :+++++=: :+++++=: :+++=: :+++=: :+++=: :+=. :+=. :+=: :-.......................:-.......................--....................... :++++++++++++++++++++++=::++++++++++++++++++++++=::++++++++++++++++++++++=. :++++++++++++++++++++=: :++++++++++++++++++++=: :++++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++++=: :+++++++===++++===: :++++++++++++++++=: :++++++++++++++++=. :++++++==++++++=. :++++++++++++++=: :++++++++++++++=. :+++++==+++++=: :++++++++++++=: :++++++++++++=: :+++++==+++=: :++++++++++=: :++++++++++=: :++++++===. :++++++++=: :++++++++=. :++++++=. :++++++=: :++++++=. :++++=: :++++=: :++++=. :++=: :++=: :++=: :=: :=: :=: Infinite Tiles v2 - a Juicebox project */ /** @notice A price resolver interface meant for NFT contracts to calculate price based on parameters. */ interface IPriceResolver { /** @notice A pricing function meant to return some default price. Should revert if not releant for a particular implementation. */ function getPrice() external view returns (uint256); /** @notice A function to calculate price based on the calling address. */ function getPriceFor(address) external view returns (uint256); /** @notice A function to calculate price based on the token id being minted. */ function getPriceOf(uint256) external view returns (uint256); /** @notice A function to calculate price based on caller address, token id being minted and some arbitrary collection of parameters, for example Merkle tree parts. */ function getPriceWithParams( address, uint256, bytes calldata ) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; /* ........................................................................... :++++++++++++++++++++++=::++++++++++++++++++++++=::++++++++++++++++++++++=: :++++++++++++++++++++=. :++++++++++++++++++++=. :++++++++++++++++++++=: :++++++++++++++++++=. :++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++=: :++++++++++++++++=: :+++++++===++++===: :++++++++++++++=: :++++++++++++++=: :++++++==++++++=. :++++++++++++=. :++++++++++++=. :+++++==+++++=. :++++++++++=. :++++++++++=: :+++++==+++=: :++++++++=: :++++++++=: :++++++===: :++++++=: :++++++=: :++++++=. :++++=: :++++=: :++++=: :++=. :++=. :++=: :=. :=: :=: :=======================-:=======================--=======================- :+++++++++++++++++++++=: :+++++++++++++++++++++=: :+++++++++++++++++++++=: :+++++++++++++++++++=. :+++++++++++++++++++=. :+++++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++=: :+++++++++++++++=: :+++++++++++++++=: :+++++++++++++=: :+++++++++++++=: :+++++++++++++=: :+++++++++++=: :+++++++++++=: :+++++++++++=: :+++++++++=. :+++++++++=: :+++++++++=: :+++++++=: :+++++++=: :+++++++=: :+++++=: :+++++=: :+++++=: :+++=: :+++=: :+++=: :+=. :+=. :+=: :-.......................:-.......................--....................... :++++++++++++++++++++++=::++++++++++++++++++++++=::++++++++++++++++++++++=. :++++++++++++++++++++=: :++++++++++++++++++++=: :++++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++++=: :+++++++===++++===: :++++++++++++++++=: :++++++++++++++++=. :++++++==++++++=. :++++++++++++++=: :++++++++++++++=. :+++++==+++++=: :++++++++++++=: :++++++++++++=: :+++++==+++=: :++++++++++=: :++++++++++=: :++++++===. :++++++++=: :++++++++=. :++++++=. :++++++=: :++++++=. :++++=: :++++=: :++++=. :++=: :++=: :++=: :=: :=: :=: Infinite Tiles v2 - a Juicebox project */ import '@jbx-protocol/contracts-v2/contracts/interfaces/IJBProjectPayer.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import './IPriceResolver.sol'; import './ITileContentProvider.sol'; /** @notice Tiles on chain interface definition. */ interface IInfiniteTiles { function idForAddress(address) external view returns (uint256); function addressForId(uint256) external view returns (address); function contractURI() external view returns (string memory); function mint() external payable returns (uint256); function grab(address) external payable returns (uint256); function merkleMint( uint256, address, bytes calldata ) external payable returns (uint256); function seize() external payable returns (uint256); function superMint(address, address) external payable returns (uint256); function registerMinter(address) external; function removeMinter(address) external; function setPriceResolver(IPriceResolver) external; function setContractUri(string calldata) external; function transferBalance(address payable, uint256) external; function transferTokenBalance( IERC20 token, address to, uint256 amount ) external; function setTokenUriResolver(ITileContentProvider) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; /* ........................................................................... :++++++++++++++++++++++=::++++++++++++++++++++++=::++++++++++++++++++++++=: :++++++++++++++++++++=. :++++++++++++++++++++=. :++++++++++++++++++++=: :++++++++++++++++++=. :++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++=: :++++++++++++++++=: :+++++++===++++===: :++++++++++++++=: :++++++++++++++=: :++++++==++++++=. :++++++++++++=. :++++++++++++=. :+++++==+++++=. :++++++++++=. :++++++++++=: :+++++==+++=: :++++++++=: :++++++++=: :++++++===: :++++++=: :++++++=: :++++++=. :++++=: :++++=: :++++=: :++=. :++=. :++=: :=. :=: :=: :=======================-:=======================--=======================- :+++++++++++++++++++++=: :+++++++++++++++++++++=: :+++++++++++++++++++++=: :+++++++++++++++++++=. :+++++++++++++++++++=. :+++++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++++=: :+++++++++++++++=: :+++++++++++++++=: :+++++++++++++++=: :+++++++++++++=: :+++++++++++++=: :+++++++++++++=: :+++++++++++=: :+++++++++++=: :+++++++++++=: :+++++++++=. :+++++++++=: :+++++++++=: :+++++++=: :+++++++=: :+++++++=: :+++++=: :+++++=: :+++++=: :+++=: :+++=: :+++=: :+=. :+=. :+=: :-.......................:-.......................--....................... :++++++++++++++++++++++=::++++++++++++++++++++++=::++++++++++++++++++++++=. :++++++++++++++++++++=: :++++++++++++++++++++=: :++++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++++=: :++++++++++++++++++=: :+++++++===++++===: :++++++++++++++++=: :++++++++++++++++=. :++++++==++++++=. :++++++++++++++=: :++++++++++++++=. :+++++==+++++=: :++++++++++++=: :++++++++++++=: :+++++==+++=: :++++++++++=: :++++++++++=: :++++++===. :++++++++=: :++++++++=. :++++++=. :++++++=: :++++++=. :++++=: :++++=: :++++=. :++=: :++=: :++=: :=: :=: :=: Infinite Tiles v2 - a Juicebox project */ import './IInfiniteTiles.sol'; import './ITokenUriResolver.sol'; interface ITileContentProvider is ITokenUriResolver { function setParent(IInfiniteTiles) external; function getSvgContent(address) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import '@openzeppelin/contracts/interfaces/IERC721Enumerable.sol'; import {ERC721} from '@rari-capital/solmate/src/tokens/ERC721.sol'; /** @notice openzeppelin ERC721Enumerable but using the rari-capital version */ abstract contract ERC721Enumerable is ERC721 { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; constructor(string memory _name, string memory _symbol) ERC721(_name, _symbol) {} /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual returns (uint256) { require(index < ERC721._balanceOf[owner], 'ERC721Enumerable: owner index out of bounds'); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual returns (uint256) { require(index < ERC721Enumerable.totalSupply(), 'ERC721Enumerable: global index out of bounds'); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual { if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721._balanceOf[to]; _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721._balanceOf[from] - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import './../enums/JBBallotState.sol'; import './../structs/JBFundingCycle.sol'; import './../structs/JBFundingCycleData.sol'; interface IJBFundingCycleStore { event Configure( uint256 indexed configuration, uint256 indexed projectId, JBFundingCycleData data, uint256 metadata, uint256 mustStartAtOrAfter, address caller ); event Init(uint256 indexed configuration, uint256 indexed projectId, uint256 indexed basedOn); function latestConfigurationOf(uint256 _projectId) external view returns (uint256); function get(uint256 _projectId, uint256 _configuration) external view returns (JBFundingCycle memory); function latestConfiguredOf(uint256 _projectId) external view returns (JBFundingCycle memory fundingCycle, JBBallotState ballotState); function queuedOf(uint256 _projectId) external view returns (JBFundingCycle memory fundingCycle); function currentOf(uint256 _projectId) external view returns (JBFundingCycle memory fundingCycle); function currentBallotStateOf(uint256 _projectId) external view returns (JBBallotState); function configureFor( uint256 _projectId, JBFundingCycleData calldata _data, uint256 _metadata, uint256 _mustStartAtOrAfter ) external returns (JBFundingCycle memory fundingCycle); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import './../structs/JBProjectMetadata.sol'; import './IJBTokenUriResolver.sol'; interface IJBProjects is IERC721 { event Create( uint256 indexed projectId, address indexed owner, JBProjectMetadata metadata, address caller ); event SetMetadata(uint256 indexed projectId, JBProjectMetadata metadata, address caller); event SetTokenUriResolver(IJBTokenUriResolver indexed resolver, address caller); function count() external view returns (uint256); function metadataContentOf(uint256 _projectId, uint256 _domain) external view returns (string memory); function tokenUriResolver() external view returns (IJBTokenUriResolver); function createFor(address _owner, JBProjectMetadata calldata _metadata) external returns (uint256 projectId); function setMetadataOf(uint256 _projectId, JBProjectMetadata calldata _metadata) external; function setTokenUriResolver(IJBTokenUriResolver _newResolver) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; enum JBBallotState { Active, Approved, Failed }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import './../interfaces/IJBFundingCycleBallot.sol'; /** @member number The funding cycle number for the cycle's project. Each funding cycle has a number that is an increment of the cycle that directly preceded it. Each project's first funding cycle has a number of 1. @member configuration The timestamp when the parameters for this funding cycle were configured. This value will stay the same for subsequent funding cycles that roll over from an originally configured cycle. @member basedOn The `configuration` of the funding cycle that was active when this cycle was created. @member start The timestamp marking the moment from which the funding cycle is considered active. It is a unix timestamp measured in seconds. @member duration The number of seconds the funding cycle lasts for, after which a new funding cycle will start. A duration of 0 means that the funding cycle will stay active until the project owner explicitly issues a reconfiguration, at which point a new funding cycle will immediately start with the updated properties. If the duration is greater than 0, a project owner cannot make changes to a funding cycle's parameters while it is active – any proposed changes will apply to the subsequent cycle. If no changes are proposed, a funding cycle rolls over to another one with the same properties but new `start` timestamp and a discounted `weight`. @member weight A fixed point number with 18 decimals that contracts can use to base arbitrary calculations on. For example, payment terminals can use this to determine how many tokens should be minted when a payment is received. @member discountRate A percent by how much the `weight` of the subsequent funding cycle should be reduced, if the project owner hasn't configured the subsequent funding cycle with an explicit `weight`. If it's 0, each funding cycle will have equal weight. If the number is 90%, the next funding cycle will have a 10% smaller weight. This weight is out of `JBConstants.MAX_DISCOUNT_RATE`. @member ballot An address of a contract that says whether a proposed reconfiguration should be accepted or rejected. It can be used to create rules around how a project owner can change funding cycle parameters over time. @member metadata Extra data that can be associated with a funding cycle. */ struct JBFundingCycle { uint256 number; uint256 configuration; uint256 basedOn; uint256 start; uint256 duration; uint256 weight; uint256 discountRate; IJBFundingCycleBallot ballot; uint256 metadata; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import './../interfaces/IJBFundingCycleBallot.sol'; /** @member duration The number of seconds the funding cycle lasts for, after which a new funding cycle will start. A duration of 0 means that the funding cycle will stay active until the project owner explicitly issues a reconfiguration, at which point a new funding cycle will immediately start with the updated properties. If the duration is greater than 0, a project owner cannot make changes to a funding cycle's parameters while it is active – any proposed changes will apply to the subsequent cycle. If no changes are proposed, a funding cycle rolls over to another one with the same properties but new `start` timestamp and a discounted `weight`. @member weight A fixed point number with 18 decimals that contracts can use to base arbitrary calculations on. For example, payment terminals can use this to determine how many tokens should be minted when a payment is received. @member discountRate A percent by how much the `weight` of the subsequent funding cycle should be reduced, if the project owner hasn't configured the subsequent funding cycle with an explicit `weight`. If it's 0, each funding cycle will have equal weight. If the number is 90%, the next funding cycle will have a 10% smaller weight. This weight is out of `JBConstants.MAX_DISCOUNT_RATE`. @member ballot An address of a contract that says whether a proposed reconfiguration should be accepted or rejected. It can be used to create rules around how a project owner can change funding cycle parameters over time. */ struct JBFundingCycleData { uint256 duration; uint256 weight; uint256 discountRate; IJBFundingCycleBallot ballot; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import '@openzeppelin/contracts/utils/introspection/IERC165.sol'; import './../enums/JBBallotState.sol'; import './IJBFundingCycleStore.sol'; interface IJBFundingCycleBallot is IERC165 { function duration() external view returns (uint256); function stateOf( uint256 _projectId, uint256 _configuration, uint256 _start ) external view returns (JBBallotState); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; /** @member content The metadata content. @member domain The domain within which the metadata applies. */ struct JBProjectMetadata { string content; uint256 domain; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; interface IJBTokenUriResolver { function getUri(uint256 _projectId) external view returns (string memory tokenUri); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import '@openzeppelin/contracts/utils/introspection/IERC165.sol'; import './IJBDirectory.sol'; interface IJBProjectPayer is IERC165 { event SetDefaultValues( uint256 indexed projectId, address indexed beneficiary, bool preferClaimedTokens, string memo, bytes metadata, bool preferAddToBalance, address caller ); function directory() external view returns (IJBDirectory); function defaultProjectId() external view returns (uint256); function defaultBeneficiary() external view returns (address payable); function defaultPreferClaimedTokens() external view returns (bool); function defaultMemo() external view returns (string memory); function defaultMetadata() external view returns (bytes memory); function defaultPreferAddToBalance() external view returns (bool); function setDefaultValues( uint256 _projectId, address payable _beneficiary, bool _preferClaimedTokens, string memory _memo, bytes memory _metadata, bool _defaultPreferAddToBalance ) external; function pay( uint256 _projectId, address _token, uint256 _amount, uint256 _decimals, address _beneficiary, uint256 _minReturnedTokens, bool _preferClaimedTokens, string memory _memo, bytes memory _metadata ) external payable; function addToBalanceOf( uint256 _projectId, address _token, uint256 _amount, uint256 _decimals, string memory _memo, bytes memory _metadata ) external payable; receive() external payable; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; /** @notice A price resolver interface meant for NFT contracts to calculate price based on parameters. */ interface ITokenUriResolver { /** @notice A pricing function meant to return some default price. Should revert if not releant for a particular implementation. */ function tokenUri(uint256) external view returns (string memory); function externalPreviewUrl(address) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../token/ERC721/extensions/IERC721Enumerable.sol";
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC721 BALANCE/OWNER STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) internal _ownerOf; mapping(address => uint256) internal _balanceOf; function ownerOf(uint256 id) public view virtual returns (address owner) { require((owner = _ownerOf[id]) != address(0), "NOT_MINTED"); } function balanceOf(address owner) public view virtual returns (uint256) { require(owner != address(0), "ZERO_ADDRESS"); return _balanceOf[owner]; } /*////////////////////////////////////////////////////////////// ERC721 APPROVAL STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = _ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == _ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _balanceOf[from]--; _balanceOf[to]++; } _ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(_ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { _balanceOf[to]++; } _ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = _ownerOf[id]; require(owner != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { _balanceOf[owner]--; } delete _ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721TokenReceiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721TokenReceiver.onERC721Received.selector; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": false, "runs": 800 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"contract IPriceResolver","name":"_priceResolver","type":"address"},{"internalType":"contract ITileContentProvider","name":"_tokenUriResolver","type":"address"},{"internalType":"contract IJBDirectory","name":"_jbxDirectory","type":"address"},{"internalType":"uint256","name":"_jbxProjectId","type":"uint256"},{"internalType":"string","name":"_metadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ALREADY_MINTED","type":"error"},{"inputs":[],"name":"INCORRECT_PRICE","type":"error"},{"inputs":[],"name":"INVALID_ADDRESS","type":"error"},{"inputs":[],"name":"INVALID_AMOUNT","type":"error"},{"inputs":[],"name":"INVALID_RATE","type":"error"},{"inputs":[],"name":"INVALID_TOKEN","type":"error"},{"inputs":[],"name":"MINT_PAUSED","type":"error"},{"inputs":[],"name":"PRIVILEDGED_OPERATION","type":"error"},{"inputs":[],"name":"UNSUPPORTED_OPERATION","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"addressForId","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","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":"contractURI","outputs":[{"internalType":"string","name":"contractUri","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"},{"internalType":"address","name":"_tile","type":"address"}],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tile","type":"address"}],"name":"grab","outputs":[{"internalType":"uint256","name":"mintedTokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"idForAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"_tile","type":"address"},{"internalType":"bytes","name":"proof","type":"bytes"}],"name":"merkleMint","outputs":[{"internalType":"uint256","name":"mintedTokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mint","outputs":[{"internalType":"uint256","name":"mintedTokenId","type":"uint256"}],"stateMutability":"payable","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":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"registerMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[],"name":"royaltyRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceiver","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seize","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"payable","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":"contractUri","type":"string"}],"name":"setContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IJBDirectory","name":"_jbxDirectory","type":"address"},{"internalType":"uint256","name":"_jbxProjectId","type":"uint256"}],"name":"setJuiceboxParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_pause","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IPriceResolver","name":"_priceResolver","type":"address"}],"name":"setPriceResolver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyReceiver","type":"address"},{"internalType":"uint16","name":"_royaltyRate","type":"uint16"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITileContentProvider","name":"_tokenUriResolver","type":"address"}],"name":"setTokenUriResolver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"address","name":"_tile","type":"address"}],"name":"superMint","outputs":[{"internalType":"uint256","name":"mintedTokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferTokenBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162005fcf38038062005fcf833981810160405281019062000037919062000486565b86868181816000908051906020019062000053929190620002fc565b5080600190805190602001906200006c929190620002fc565b505050505062000091620000856200022e60201b60201c565b6200023660201b60201c565b6001600b8190555084600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160108190555080601190805190602001906200017b929190620002fc565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161462000221578373ffffffffffffffffffffffffffffffffffffffff16631499c592306040518263ffffffff1660e01b8152600401620001ec9190620005a7565b600060405180830381600087803b1580156200020757600080fd5b505af11580156200021c573d6000803e3d6000fd5b505050505b5050505050505062000852565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200030a90620006fb565b90600052602060002090601f0160209004810192826200032e57600085556200037a565b82601f106200034957805160ff19168380011785556200037a565b828001600101855582156200037a579182015b82811115620003795782518255916020019190600101906200035c565b5b5090506200038991906200038d565b5090565b5b80821115620003a85760008160009055506001016200038e565b5090565b6000620003c3620003bd84620005ed565b620005c4565b905082815260208101848484011115620003e257620003e1620007ca565b5b620003ef848285620006c5565b509392505050565b6000815190506200040881620007ea565b92915050565b6000815190506200041f8162000804565b92915050565b60008151905062000436816200081e565b92915050565b600082601f830112620004545762000453620007c5565b5b815162000466848260208601620003ac565b91505092915050565b600081519050620004808162000838565b92915050565b600080600080600080600060e0888a031215620004a857620004a7620007d4565b5b600088015167ffffffffffffffff811115620004c957620004c8620007cf565b5b620004d78a828b016200043c565b975050602088015167ffffffffffffffff811115620004fb57620004fa620007cf565b5b620005098a828b016200043c565b96505060406200051c8a828b016200040e565b95505060606200052f8a828b0162000425565b9450506080620005428a828b01620003f7565b93505060a0620005558a828b016200046f565b92505060c088015167ffffffffffffffff811115620005795762000578620007cf565b5b620005878a828b016200043c565b91505092959891949750929550565b620005a1816200069d565b82525050565b6000602082019050620005be600083018462000596565b92915050565b6000620005d0620005e3565b9050620005de828262000731565b919050565b6000604051905090565b600067ffffffffffffffff8211156200060b576200060a62000796565b5b6200061682620007d9565b9050602081019050919050565b6000620006308262000673565b9050919050565b6000620006448262000623565b9050919050565b6000620006588262000623565b9050919050565b60006200066c8262000623565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000620006aa82620006b1565b9050919050565b6000620006be8262000673565b9050919050565b60005b83811015620006e5578082015181840152602081019050620006c8565b83811115620006f5576000848401525b50505050565b600060028204905060018216806200071457607f821691505b602082108114156200072b576200072a62000767565b5b50919050565b6200073c82620007d9565b810181811067ffffffffffffffff821117156200075e576200075d62000796565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620007f58162000637565b81146200080157600080fd5b50565b6200080f816200064b565b81146200081b57600080fd5b50565b62000829816200065f565b81146200083557600080fd5b50565b620008438162000693565b81146200084f57600080fd5b50565b61576d80620008626000396000f3fe6080604052600436106102d55760003560e01c806356a6d9ef11610179578063a7f93ebd116100d6578063ccb4807b1161008a578063e985e9c511610064578063e985e9c5146109f0578063f2fde38b14610a2d578063f33e49fa14610a56576102e6565b8063ccb4807b1461096c578063e5f30d9014610995578063e8a3d485146109c5576102e6565b8063bedb86fb116100bb578063bedb86fb146108db578063c4d1510d14610904578063c87b56dd1461092f576102e6565b8063a7f93ebd14610887578063b88d4fde146108b2576102e6565b80637b163c1d1161012d57806395d89b411161011257806395d89b41146108085780639fbc871314610833578063a22cb4651461085e576102e6565b80637b163c1d146107b45780638da5cb5b146107dd576102e6565b80636352211e1161015e5780636352211e1461072357806370a0823114610760578063715018a61461079d576102e6565b806356a6d9ef146106dc578063605297e114610705576102e6565b80631ad8f848116102325780632f745c59116101e657806342842e0e116101c057806342842e0e1461064d57806347230dcb146106765780634f6ccce71461069f576102e6565b80632f745c59146105be5780633092afd5146105fb57806338c86f3214610624576102e6565b806323b872dd1161021757806323b872dd1461052e5780632407497e146105575780632a55205a14610580576102e6565b80631ad8f848146104c1578063222fc658146104fe576102e6565b8063095ea7b31161028957806311a1d03b1161026e57806311a1d03b1461044f5780631249c58b1461047857806318160ddd14610496576102e6565b8063095ea7b3146103fd5780630c222ee514610426576102e6565b806303a7f612116102ba57806303a7f6121461035857806306fdde0314610395578063081812fc146103c0576102e6565b806301ffc9a7146102eb57806303a03a8414610328576102e6565b366102e6576102e46000610a93565b005b600080fd5b3480156102f757600080fd5b50610312600480360381019061030d919061445f565b610d1f565b60405161031f9190614c67565b60405180910390f35b610342600480360381019061033d919061422a565b610d99565b60405161034f9190614e3f565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a91906141bd565b610f10565b60405161038c9190614e3f565b60405180910390f35b3480156103a157600080fd5b506103aa610f28565b6040516103b79190614c82565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e29190614669565b610fb6565b6040516103f49190614ab4565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f91906143c5565b610fe9565b005b34801561043257600080fd5b5061044d60048036038101906104489190614385565b6111d2565b005b34801561045b57600080fd5b50610476600480360381019061047191906144b9565b611297565b005b610480611332565b60405161048d9190614e3f565b60405180910390f35b3480156104a257600080fd5b506104ab611582565b6040516104b89190614e3f565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e39190614669565b61158f565b6040516104f59190614ab4565b60405180910390f35b610518600480360381019061051391906146c3565b6115c2565b6040516105259190614e3f565b60405180910390f35b34801561053a57600080fd5b506105556004803603810190610550919061426a565b6117f0565b005b34801561056357600080fd5b5061057e600480360381019061057991906145a6565b61180b565b005b34801561058c57600080fd5b506105a760048036038101906105a29190614737565b611857565b6040516105b5929190614bc0565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e091906143c5565b611991565b6040516105f29190614e3f565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d91906141bd565b611a6d565b005b34801561063057600080fd5b5061064b60048036038101906106469190614579565b611ad0565b005b34801561065957600080fd5b50610674600480360381019061066f919061426a565b611b1c565b005b34801561068257600080fd5b5061069d600480360381019061069891906141bd565b611b37565b005b3480156106ab57600080fd5b506106c660048036038101906106c19190614669565b611b9a565b6040516106d39190614e3f565b60405180910390f35b3480156106e857600080fd5b5061070360048036038101906106fe91906141ea565b611c0b565b005b61070d611d21565b60405161071a9190614e3f565b60405180910390f35b34801561072f57600080fd5b5061074a60048036038101906107459190614669565b611f3a565b6040516107579190614ab4565b60405180910390f35b34801561076c57600080fd5b50610787600480360381019061078291906141bd565b611fe6565b6040516107949190614e3f565b60405180910390f35b3480156107a957600080fd5b506107b261209e565b005b3480156107c057600080fd5b506107db60048036038101906107d6919061450c565b6120b2565b005b3480156107e957600080fd5b506107f2612106565b6040516107ff9190614ab4565b60405180910390f35b34801561081457600080fd5b5061081d612130565b60405161082a9190614c82565b60405180910390f35b34801561083f57600080fd5b506108486121be565b6040516108559190614acf565b60405180910390f35b34801561086a57600080fd5b5061088560048036038101906108809190614345565b6121e4565b005b34801561089357600080fd5b5061089c6122e1565b6040516108a99190614e3f565b60405180910390f35b3480156108be57600080fd5b506108d960048036038101906108d491906142bd565b612448565b005b3480156108e757600080fd5b5061090260048036038101906108fd9190614405565b612467565b005b34801561091057600080fd5b5061091961248c565b6040516109269190614e24565b60405180910390f35b34801561093b57600080fd5b5061095660048036038101906109519190614669565b61249e565b6040516109639190614c82565b60405180910390f35b34801561097857600080fd5b50610993600480360381019061098e91906145d3565b612645565b005b6109af60048036038101906109aa91906141bd565b612663565b6040516109bc9190614e3f565b60405180910390f35b3480156109d157600080fd5b506109da6128b5565b6040516109e79190614c82565b60405180910390f35b3480156109fc57600080fd5b50610a176004803603810190610a12919061422a565b612947565b604051610a249190614c67565b60405180910390f35b348015610a3957600080fd5b50610a546004803603810190610a4f91906141bd565b612976565b005b348015610a6257600080fd5b50610a7d6004803603810190610a78919061422a565b6129fa565b604051610a8a9190614e3f565b60405180910390f35b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638620265060105461eeee6040518363ffffffff1660e01b8152600401610af6929190614e5a565b60206040518083038186803b158015610b0e57600080fd5b505afa158015610b22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b46919061454c565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b835750610d1c565b8073ffffffffffffffffffffffffffffffffffffffff16631ebc263f346010543461eeee33600080600073ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff1614610c9457600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631328c0f68c6040518263ffffffff1660e01b8152600401610c3a9190614ab4565b60006040518083038186803b158015610c5257600080fd5b505afa158015610c66573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610c8f9190614620565b610ca5565b604051806020016040528060008152505b6040518963ffffffff1660e01b8152600401610cc79796959493929190614e83565b6020604051808303818588803b158015610ce057600080fd5b505af1158015610cf4573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610d199190614696565b50505b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d925750610d9182612c17565b5b9050919050565b60006002600b541415610de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd890614de4565b60405180910390fd5b6002600b8190555033610df2612106565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610e775750600e60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15610eae576040517f7d05041300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601460169054906101000a900460ff1615610ef5576040517f271085d900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610eff8484612c91565b9150506001600b8190555092915050565b60126020528060005260406000206000915090505481565b60008054610f35906151f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610f61906151f2565b8015610fae5780601f10610f8357610100808354040283529160200191610fae565b820191906000526020600020905b815481529060010190602001808311610f9157829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110e15750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790614da4565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6111da612dd4565b81601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506127108161ffff16111561125b576040517f1db2f87000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060148054906101000a900461ffff1661ffff16141561129357806014806101000a81548161ffff021916908361ffff1602179055505b5050565b61129f612dd4565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016112da929190614bc0565b602060405180830381600087803b1580156112f457600080fd5b505af1158015611308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132c9190614432565b50505050565b60006002600b54141561137a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137190614de4565b60405180910390fd5b6002600b81905550601460169054906101000a900460ff16156113c9576040517f271085d900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611452576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a333600061149b611582565b336040516020016114ad929190614a88565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016114da93929190614b82565b60206040518083038186803b1580156114f257600080fd5b505afa158015611506573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152a9190614696565b3414611562576040517f2656d32500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61156b33610a93565b6115753333612c91565b90506001600b8190555090565b6000600880549050905090565b60136020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002600b54141561160a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160190614de4565b60405180910390fd5b6002600b81905550601460169054906101000a900460ff1615611659576040517f271085d900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156116e2576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a3338786866040518563ffffffff1660e01b81526004016117439493929190614be9565b60206040518083038186803b15801561175b57600080fd5b505afa15801561176f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117939190614696565b34146117cb576040517f2656d32500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117d484610a93565b6117de3385612c91565b90506001600b81905550949350505050565b6117fb838383612e52565b611806838383612f5b565b505050565b611813612dd4565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060008314806118c85750600073ffffffffffffffffffffffffffffffffffffffff166002600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b156118da57600091506000905061198a565b600073ffffffffffffffffffffffffffffffffffffffff16601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461195857601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661195a565b305b915061271060148054906101000a900461ffff1661ffff168461197d9190615022565b6119879190614ff1565b90505b9250929050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548210611a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0b90614ca4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611a75612dd4565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611ad8612dd4565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b27838383612e52565b611b3283838361335b565b505050565b611b3f612dd4565b6001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000611ba4611582565b8210611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc90614d64565b60405180910390fd5b60088281548110611bf957611bf861533f565b5b90600052602060002001549050919050565b611c13612dd4565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c7a576040517f5963709b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811480611c9f57503073ffffffffffffffffffffffffffffffffffffffff163181115b15611cd6576040517ffae8279100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611d1c573d6000803e3d6000fd5b505050565b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811415611da0576040517fd0995cf200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611dab82611f3a565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e13576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a33384611e5b611582565b33604051602001611e6d929190614a88565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401611e9a93929190614c29565b60206040518083038186803b158015611eb257600080fd5b505afa158015611ec6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eea9190614696565b3414611f22576040517f2656d32500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f2b33610a93565b611f368133846134a2565b5090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff161415611fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd890614dc4565b60405180910390fd5b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204e90614d04565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6120a6612dd4565b6120b060006136a4565b565b6120ba612dd4565b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806010819055505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6001805461213d906151f2565b80601f0160208091040260200160405190810160405280929190818152602001828054612169906151f2565b80156121b65780601f1061218b576101008083540402835291602001916121b6565b820191906000526020600020905b81548152906001019060200180831161219957829003601f168201915b505050505081565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122d59190614c67565b60405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561236b576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a33360006123b4611582565b336040516020016123c6929190614a88565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016123f393929190614b82565b60206040518083038186803b15801561240b57600080fd5b505afa15801561241f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124439190614696565b905090565b612453858585612e52565b612460858585858561376a565b5050505050565b61246f612dd4565b80601460166101000a81548160ff02191690831515021790555050565b60148054906101000a900461ffff1681565b6060600073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561251f57604051806020016040528060008152509050612640565b600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461262c57600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631675f455836040518263ffffffff1660e01b81526004016125d09190614e3f565b60006040518083038186803b1580156125e857600080fd5b505afa1580156125fc573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906126259190614620565b905061263f565b6040518060200160405280600081525090505b5b919050565b61264d612dd4565b81816011919061265e929190613ed8565b505050565b60006002600b5414156126ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a290614de4565b60405180910390fd5b6002600b81905550601460169054906101000a900460ff16156126fa576040517f271085d900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612783576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a33360006127cc611582565b866040516020016127de929190614a88565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161280b93929190614b82565b60206040518083038186803b15801561282357600080fd5b505afa158015612837573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285b9190614696565b3414612893576040517f2656d32500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61289c82610a93565b6128a63383612c91565b90506001600b81905550919050565b6060601180546128c4906151f2565b80601f01602080910402602001604051908101604052809291908181526020018280546128f0906151f2565b801561293d5780601f106129125761010080835404028352916020019161293d565b820191906000526020600020905b81548152906001019060200180831161292057829003601f168201915b5050505050905090565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b61297e612dd4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e590614cc4565b60405180910390fd5b6129f7816136a4565b50565b60008073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a84576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414158015612b0057508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15612b37576040517fdfa4c0d500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a3846000612b80611582565b86604051602001612b92929190614a88565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612bbf93929190614b82565b60206040518083038186803b158015612bd757600080fd5b505afa158015612beb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c0f9190614696565b905092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c8a5750612c89826138b7565b5b9050919050565b60006001612c9d611582565b612ca79190614f9b565b90506000601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414612d22576040517fdfa4c0d500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816013600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612dc460008483612e52565b612dce8382613949565b92915050565b612ddc613b5c565b73ffffffffffffffffffffffffffffffffffffffff16612dfa612106565b73ffffffffffffffffffffffffffffffffffffffff1614612e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4790614d44565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e9557612e9081613b64565b612ed4565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ed357612ed28382613bad565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f1757612f1281613d51565b612f56565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612f5557612f548282613e22565b5b5b505050565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff390614e04565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561306c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306390614ce4565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061312c5750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b8061319557506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6131d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cb90614da4565b60405180910390fd5b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6133668383836117f0565b60008273ffffffffffffffffffffffffffffffffffffffff163b148061345e575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016133eb93929190614b38565b602060405180830381600087803b15801561340557600080fd5b505af1158015613419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061343d919061448c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61349d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349490614d24565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350990614ce4565b60405180910390fd5b61351d838383612e52565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6137758585856117f0565b60008473ffffffffffffffffffffffffffffffffffffffff163b1480613871575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b81526004016137fe959493929190614aea565b602060405180830381600087803b15801561381857600080fd5b505af115801561382c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613850919061448c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6138b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138a790614d24565b60405180910390fd5b5050505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061391257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806139425750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139b090614ce4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613a5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a5290614d84565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600033905090565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613bfb919061507c565b9050600060076000848152602001908152602001600020549050818114613ce0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d65919061507c565b9050600060096000848152602001908152602001600020549050600060088381548110613d9557613d9461533f565b5b906000526020600020015490508060088381548110613db757613db661533f565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613e0657613e05615310565b5b6001900381819060005260206000200160009055905550505050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613ee4906151f2565b90600052602060002090601f016020900481019282613f065760008555613f4d565b82601f10613f1f57803560ff1916838001178555613f4d565b82800160010185558215613f4d579182015b82811115613f4c578235825591602001919060010190613f31565b5b509050613f5a9190613f5e565b5090565b5b80821115613f77576000816000905550600101613f5f565b5090565b6000613f8e613f8984614f32565b614f0d565b905082815260208101848484011115613faa57613fa96153ac565b5b613fb58482856151bf565b509392505050565b600081359050613fcc81615663565b92915050565b600081359050613fe18161567a565b92915050565b600081359050613ff681615691565b92915050565b60008151905061400b81615691565b92915050565b600081359050614020816156a8565b92915050565b600081519050614035816156a8565b92915050565b60008083601f840112614051576140506153a2565b5b8235905067ffffffffffffffff81111561406e5761406d61539d565b5b60208301915083600182028301111561408a576140896153a7565b5b9250929050565b6000813590506140a0816156bf565b92915050565b6000813590506140b5816156d6565b92915050565b6000815190506140ca816156ed565b92915050565b6000813590506140df81615704565b92915050565b6000813590506140f48161571b565b92915050565b60008083601f8401126141105761410f6153a2565b5b8235905067ffffffffffffffff81111561412d5761412c61539d565b5b602083019150836001820283011115614149576141486153a7565b5b9250929050565b600082601f830112614165576141646153a2565b5b8151614175848260208601613f7b565b91505092915050565b60008135905061418d81615732565b92915050565b6000813590506141a281615749565b92915050565b6000815190506141b781615749565b92915050565b6000602082840312156141d3576141d26153b6565b5b60006141e184828501613fbd565b91505092915050565b60008060408385031215614201576142006153b6565b5b600061420f85828601613fd2565b925050602061422085828601614193565b9150509250929050565b60008060408385031215614241576142406153b6565b5b600061424f85828601613fbd565b925050602061426085828601613fbd565b9150509250929050565b600080600060608486031215614283576142826153b6565b5b600061429186828701613fbd565b93505060206142a286828701613fbd565b92505060406142b386828701614193565b9150509250925092565b6000806000806000608086880312156142d9576142d86153b6565b5b60006142e788828901613fbd565b95505060206142f888828901613fbd565b945050604061430988828901614193565b935050606086013567ffffffffffffffff81111561432a576143296153b1565b5b6143368882890161403b565b92509250509295509295909350565b6000806040838503121561435c5761435b6153b6565b5b600061436a85828601613fbd565b925050602061437b85828601613fe7565b9150509250929050565b6000806040838503121561439c5761439b6153b6565b5b60006143aa85828601613fbd565b92505060206143bb8582860161417e565b9150509250929050565b600080604083850312156143dc576143db6153b6565b5b60006143ea85828601613fbd565b92505060206143fb85828601614193565b9150509250929050565b60006020828403121561441b5761441a6153b6565b5b600061442984828501613fe7565b91505092915050565b600060208284031215614448576144476153b6565b5b600061445684828501613ffc565b91505092915050565b600060208284031215614475576144746153b6565b5b600061448384828501614011565b91505092915050565b6000602082840312156144a2576144a16153b6565b5b60006144b084828501614026565b91505092915050565b6000806000606084860312156144d2576144d16153b6565b5b60006144e086828701614091565b93505060206144f186828701613fbd565b925050604061450286828701614193565b9150509250925092565b60008060408385031215614523576145226153b6565b5b6000614531858286016140a6565b925050602061454285828601614193565b9150509250929050565b600060208284031215614562576145616153b6565b5b6000614570848285016140bb565b91505092915050565b60006020828403121561458f5761458e6153b6565b5b600061459d848285016140d0565b91505092915050565b6000602082840312156145bc576145bb6153b6565b5b60006145ca848285016140e5565b91505092915050565b600080602083850312156145ea576145e96153b6565b5b600083013567ffffffffffffffff811115614608576146076153b1565b5b614614858286016140fa565b92509250509250929050565b600060208284031215614636576146356153b6565b5b600082015167ffffffffffffffff811115614654576146536153b1565b5b61466084828501614150565b91505092915050565b60006020828403121561467f5761467e6153b6565b5b600061468d84828501614193565b91505092915050565b6000602082840312156146ac576146ab6153b6565b5b60006146ba848285016141a8565b91505092915050565b600080600080606085870312156146dd576146dc6153b6565b5b60006146eb87828801614193565b94505060206146fc87828801613fbd565b935050604085013567ffffffffffffffff81111561471d5761471c6153b1565b5b6147298782880161403b565b925092505092959194509250565b6000806040838503121561474e5761474d6153b6565b5b600061475c85828601614193565b925050602061476d85828601614193565b9150509250929050565b614780816150c2565b82525050565b61478f816150b0565b82525050565b6147a66147a1826150b0565b615255565b82525050565b6147b5816150d4565b82525050565b60006147c78385614f79565b93506147d48385846151b0565b6147dd836153bb565b840190509392505050565b60006147f382614f63565b6147fd8185614f79565b935061480d8185602086016151bf565b614816816153bb565b840191505092915050565b61482a8161519e565b82525050565b600061483b82614f6e565b6148458185614f8a565b93506148558185602086016151bf565b61485e816153bb565b840191505092915050565b6000614876602b83614f8a565b9150614881826153d9565b604082019050919050565b6000614899602683614f8a565b91506148a482615428565b604082019050919050565b60006148bc600483614f79565b91506148c782615477565b602082019050919050565b60006148df601183614f8a565b91506148ea826154a0565b602082019050919050565b6000614902600c83614f8a565b915061490d826154c9565b602082019050919050565b6000614925601083614f8a565b9150614930826154f2565b602082019050919050565b6000614948602083614f8a565b91506149538261551b565b602082019050919050565b600061496b600083614f79565b915061497682615544565b600082019050919050565b600061498e602c83614f8a565b915061499982615547565b604082019050919050565b60006149b1600e83614f8a565b91506149bc82615596565b602082019050919050565b60006149d4600e83614f8a565b91506149df826155bf565b602082019050919050565b60006149f7600a83614f8a565b9150614a02826155e8565b602082019050919050565b6000614a1a601f83614f8a565b9150614a2582615611565b602082019050919050565b6000614a3d600a83614f8a565b9150614a488261563a565b602082019050919050565b614a5c81615166565b82525050565b614a6b81615194565b82525050565b614a82614a7d82615194565b615279565b82525050565b6000614a948285614a71565b602082019150614aa48284614795565b6014820191508190509392505050565b6000602082019050614ac96000830184614786565b92915050565b6000602082019050614ae46000830184614777565b92915050565b6000608082019050614aff6000830188614786565b614b0c6020830187614786565b614b196040830186614a62565b8181036060830152614b2c8184866147bb565b90509695505050505050565b6000608082019050614b4d6000830186614786565b614b5a6020830185614786565b614b676040830184614a62565b8181036060830152614b788161495e565b9050949350505050565b6000606082019050614b976000830186614786565b614ba46020830185614821565b8181036040830152614bb681846147e8565b9050949350505050565b6000604082019050614bd56000830185614786565b614be26020830184614a62565b9392505050565b6000606082019050614bfe6000830187614786565b614c0b6020830186614a62565b8181036040830152614c1e8184866147bb565b905095945050505050565b6000606082019050614c3e6000830186614786565b614c4b6020830185614a62565b8181036040830152614c5d81846147e8565b9050949350505050565b6000602082019050614c7c60008301846147ac565b92915050565b60006020820190508181036000830152614c9c8184614830565b905092915050565b60006020820190508181036000830152614cbd81614869565b9050919050565b60006020820190508181036000830152614cdd8161488c565b9050919050565b60006020820190508181036000830152614cfd816148d2565b9050919050565b60006020820190508181036000830152614d1d816148f5565b9050919050565b60006020820190508181036000830152614d3d81614918565b9050919050565b60006020820190508181036000830152614d5d8161493b565b9050919050565b60006020820190508181036000830152614d7d81614981565b9050919050565b60006020820190508181036000830152614d9d816149a4565b9050919050565b60006020820190508181036000830152614dbd816149c7565b9050919050565b60006020820190508181036000830152614ddd816149ea565b9050919050565b60006020820190508181036000830152614dfd81614a0d565b9050919050565b60006020820190508181036000830152614e1d81614a30565b9050919050565b6000602082019050614e396000830184614a53565b92915050565b6000602082019050614e546000830184614a62565b92915050565b6000604082019050614e6f6000830185614a62565b614e7c6020830184614786565b9392505050565b600061010082019050614e99600083018a614a62565b614ea66020830189614a62565b614eb36040830188614786565b614ec06060830187614786565b614ecd6080830186614821565b614eda60a08301856147ac565b81810360c0830152614eec8184614830565b905081810360e0830152614eff816148af565b905098975050505050505050565b6000614f17614f28565b9050614f238282615224565b919050565b6000604051905090565b600067ffffffffffffffff821115614f4d57614f4c61536e565b5b614f56826153bb565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000614fa682615194565b9150614fb183615194565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fe657614fe5615283565b5b828201905092915050565b6000614ffc82615194565b915061500783615194565b925082615017576150166152b2565b5b828204905092915050565b600061502d82615194565b915061503883615194565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561507157615070615283565b5b828202905092915050565b600061508782615194565b915061509283615194565b9250828210156150a5576150a4615283565b5b828203905092915050565b60006150bb82615174565b9050919050565b60006150cd82615174565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000615117826150b0565b9050919050565b6000615129826150b0565b9050919050565b600061513b826150b0565b9050919050565b600061514d826150b0565b9050919050565b600061515f826150b0565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006151a982615194565b9050919050565b82818337600083830152505050565b60005b838110156151dd5780820151818401526020810190506151c2565b838111156151ec576000848401525b50505050565b6000600282049050600182168061520a57607f821691505b6020821081141561521e5761521d6152e1565b5b50919050565b61522d826153bb565b810181811067ffffffffffffffff8211171561524c5761524b61536e565b5b80604052505050565b600061526082615267565b9050919050565b6000615272826153cc565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f3078303000000000000000000000000000000000000000000000000000000000600082015250565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b61566c816150b0565b811461567757600080fd5b50565b615683816150c2565b811461568e57600080fd5b50565b61569a816150d4565b81146156a557600080fd5b50565b6156b1816150e0565b81146156bc57600080fd5b50565b6156c88161510c565b81146156d357600080fd5b50565b6156df8161511e565b81146156ea57600080fd5b50565b6156f681615130565b811461570157600080fd5b50565b61570d81615142565b811461571857600080fd5b50565b61572481615154565b811461572f57600080fd5b50565b61573b81615166565b811461574657600080fd5b50565b61575281615194565b811461575d57600080fd5b5056fea164736f6c6343000806000a00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000b42c951937e241f0345315dcc75de160b3ee31200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc8f7a89d89c2ab3559f484e0c656423e979ac9c00000000000000000000000000000000000000000000000000000000000000af00000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000012496e66696e6974652054696c657320322e300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000654494c45533200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5579785362734636574431627659717265454e6e6e506a36654c36366b4a78335938454e62354d4c483658740000000000000000000000
Deployed Bytecode
0x6080604052600436106102d55760003560e01c806356a6d9ef11610179578063a7f93ebd116100d6578063ccb4807b1161008a578063e985e9c511610064578063e985e9c5146109f0578063f2fde38b14610a2d578063f33e49fa14610a56576102e6565b8063ccb4807b1461096c578063e5f30d9014610995578063e8a3d485146109c5576102e6565b8063bedb86fb116100bb578063bedb86fb146108db578063c4d1510d14610904578063c87b56dd1461092f576102e6565b8063a7f93ebd14610887578063b88d4fde146108b2576102e6565b80637b163c1d1161012d57806395d89b411161011257806395d89b41146108085780639fbc871314610833578063a22cb4651461085e576102e6565b80637b163c1d146107b45780638da5cb5b146107dd576102e6565b80636352211e1161015e5780636352211e1461072357806370a0823114610760578063715018a61461079d576102e6565b806356a6d9ef146106dc578063605297e114610705576102e6565b80631ad8f848116102325780632f745c59116101e657806342842e0e116101c057806342842e0e1461064d57806347230dcb146106765780634f6ccce71461069f576102e6565b80632f745c59146105be5780633092afd5146105fb57806338c86f3214610624576102e6565b806323b872dd1161021757806323b872dd1461052e5780632407497e146105575780632a55205a14610580576102e6565b80631ad8f848146104c1578063222fc658146104fe576102e6565b8063095ea7b31161028957806311a1d03b1161026e57806311a1d03b1461044f5780631249c58b1461047857806318160ddd14610496576102e6565b8063095ea7b3146103fd5780630c222ee514610426576102e6565b806303a7f612116102ba57806303a7f6121461035857806306fdde0314610395578063081812fc146103c0576102e6565b806301ffc9a7146102eb57806303a03a8414610328576102e6565b366102e6576102e46000610a93565b005b600080fd5b3480156102f757600080fd5b50610312600480360381019061030d919061445f565b610d1f565b60405161031f9190614c67565b60405180910390f35b610342600480360381019061033d919061422a565b610d99565b60405161034f9190614e3f565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a91906141bd565b610f10565b60405161038c9190614e3f565b60405180910390f35b3480156103a157600080fd5b506103aa610f28565b6040516103b79190614c82565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e29190614669565b610fb6565b6040516103f49190614ab4565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f91906143c5565b610fe9565b005b34801561043257600080fd5b5061044d60048036038101906104489190614385565b6111d2565b005b34801561045b57600080fd5b50610476600480360381019061047191906144b9565b611297565b005b610480611332565b60405161048d9190614e3f565b60405180910390f35b3480156104a257600080fd5b506104ab611582565b6040516104b89190614e3f565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e39190614669565b61158f565b6040516104f59190614ab4565b60405180910390f35b610518600480360381019061051391906146c3565b6115c2565b6040516105259190614e3f565b60405180910390f35b34801561053a57600080fd5b506105556004803603810190610550919061426a565b6117f0565b005b34801561056357600080fd5b5061057e600480360381019061057991906145a6565b61180b565b005b34801561058c57600080fd5b506105a760048036038101906105a29190614737565b611857565b6040516105b5929190614bc0565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e091906143c5565b611991565b6040516105f29190614e3f565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d91906141bd565b611a6d565b005b34801561063057600080fd5b5061064b60048036038101906106469190614579565b611ad0565b005b34801561065957600080fd5b50610674600480360381019061066f919061426a565b611b1c565b005b34801561068257600080fd5b5061069d600480360381019061069891906141bd565b611b37565b005b3480156106ab57600080fd5b506106c660048036038101906106c19190614669565b611b9a565b6040516106d39190614e3f565b60405180910390f35b3480156106e857600080fd5b5061070360048036038101906106fe91906141ea565b611c0b565b005b61070d611d21565b60405161071a9190614e3f565b60405180910390f35b34801561072f57600080fd5b5061074a60048036038101906107459190614669565b611f3a565b6040516107579190614ab4565b60405180910390f35b34801561076c57600080fd5b50610787600480360381019061078291906141bd565b611fe6565b6040516107949190614e3f565b60405180910390f35b3480156107a957600080fd5b506107b261209e565b005b3480156107c057600080fd5b506107db60048036038101906107d6919061450c565b6120b2565b005b3480156107e957600080fd5b506107f2612106565b6040516107ff9190614ab4565b60405180910390f35b34801561081457600080fd5b5061081d612130565b60405161082a9190614c82565b60405180910390f35b34801561083f57600080fd5b506108486121be565b6040516108559190614acf565b60405180910390f35b34801561086a57600080fd5b5061088560048036038101906108809190614345565b6121e4565b005b34801561089357600080fd5b5061089c6122e1565b6040516108a99190614e3f565b60405180910390f35b3480156108be57600080fd5b506108d960048036038101906108d491906142bd565b612448565b005b3480156108e757600080fd5b5061090260048036038101906108fd9190614405565b612467565b005b34801561091057600080fd5b5061091961248c565b6040516109269190614e24565b60405180910390f35b34801561093b57600080fd5b5061095660048036038101906109519190614669565b61249e565b6040516109639190614c82565b60405180910390f35b34801561097857600080fd5b50610993600480360381019061098e91906145d3565b612645565b005b6109af60048036038101906109aa91906141bd565b612663565b6040516109bc9190614e3f565b60405180910390f35b3480156109d157600080fd5b506109da6128b5565b6040516109e79190614c82565b60405180910390f35b3480156109fc57600080fd5b50610a176004803603810190610a12919061422a565b612947565b604051610a249190614c67565b60405180910390f35b348015610a3957600080fd5b50610a546004803603810190610a4f91906141bd565b612976565b005b348015610a6257600080fd5b50610a7d6004803603810190610a78919061422a565b6129fa565b604051610a8a9190614e3f565b60405180910390f35b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638620265060105461eeee6040518363ffffffff1660e01b8152600401610af6929190614e5a565b60206040518083038186803b158015610b0e57600080fd5b505afa158015610b22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b46919061454c565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b835750610d1c565b8073ffffffffffffffffffffffffffffffffffffffff16631ebc263f346010543461eeee33600080600073ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff1614610c9457600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631328c0f68c6040518263ffffffff1660e01b8152600401610c3a9190614ab4565b60006040518083038186803b158015610c5257600080fd5b505afa158015610c66573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610c8f9190614620565b610ca5565b604051806020016040528060008152505b6040518963ffffffff1660e01b8152600401610cc79796959493929190614e83565b6020604051808303818588803b158015610ce057600080fd5b505af1158015610cf4573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610d199190614696565b50505b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d925750610d9182612c17565b5b9050919050565b60006002600b541415610de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd890614de4565b60405180910390fd5b6002600b8190555033610df2612106565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610e775750600e60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15610eae576040517f7d05041300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601460169054906101000a900460ff1615610ef5576040517f271085d900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610eff8484612c91565b9150506001600b8190555092915050565b60126020528060005260406000206000915090505481565b60008054610f35906151f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610f61906151f2565b8015610fae5780601f10610f8357610100808354040283529160200191610fae565b820191906000526020600020905b815481529060010190602001808311610f9157829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110e15750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790614da4565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6111da612dd4565b81601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506127108161ffff16111561125b576040517f1db2f87000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060148054906101000a900461ffff1661ffff16141561129357806014806101000a81548161ffff021916908361ffff1602179055505b5050565b61129f612dd4565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016112da929190614bc0565b602060405180830381600087803b1580156112f457600080fd5b505af1158015611308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132c9190614432565b50505050565b60006002600b54141561137a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137190614de4565b60405180910390fd5b6002600b81905550601460169054906101000a900460ff16156113c9576040517f271085d900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611452576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a333600061149b611582565b336040516020016114ad929190614a88565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016114da93929190614b82565b60206040518083038186803b1580156114f257600080fd5b505afa158015611506573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152a9190614696565b3414611562576040517f2656d32500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61156b33610a93565b6115753333612c91565b90506001600b8190555090565b6000600880549050905090565b60136020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002600b54141561160a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160190614de4565b60405180910390fd5b6002600b81905550601460169054906101000a900460ff1615611659576040517f271085d900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156116e2576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a3338786866040518563ffffffff1660e01b81526004016117439493929190614be9565b60206040518083038186803b15801561175b57600080fd5b505afa15801561176f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117939190614696565b34146117cb576040517f2656d32500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117d484610a93565b6117de3385612c91565b90506001600b81905550949350505050565b6117fb838383612e52565b611806838383612f5b565b505050565b611813612dd4565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060008314806118c85750600073ffffffffffffffffffffffffffffffffffffffff166002600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b156118da57600091506000905061198a565b600073ffffffffffffffffffffffffffffffffffffffff16601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461195857601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661195a565b305b915061271060148054906101000a900461ffff1661ffff168461197d9190615022565b6119879190614ff1565b90505b9250929050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548210611a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0b90614ca4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611a75612dd4565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611ad8612dd4565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b27838383612e52565b611b3283838361335b565b505050565b611b3f612dd4565b6001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000611ba4611582565b8210611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc90614d64565b60405180910390fd5b60088281548110611bf957611bf861533f565b5b90600052602060002001549050919050565b611c13612dd4565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c7a576040517f5963709b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811480611c9f57503073ffffffffffffffffffffffffffffffffffffffff163181115b15611cd6576040517ffae8279100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611d1c573d6000803e3d6000fd5b505050565b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811415611da0576040517fd0995cf200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611dab82611f3a565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e13576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a33384611e5b611582565b33604051602001611e6d929190614a88565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401611e9a93929190614c29565b60206040518083038186803b158015611eb257600080fd5b505afa158015611ec6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eea9190614696565b3414611f22576040517f2656d32500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f2b33610a93565b611f368133846134a2565b5090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff161415611fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd890614dc4565b60405180910390fd5b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204e90614d04565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6120a6612dd4565b6120b060006136a4565b565b6120ba612dd4565b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806010819055505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6001805461213d906151f2565b80601f0160208091040260200160405190810160405280929190818152602001828054612169906151f2565b80156121b65780601f1061218b576101008083540402835291602001916121b6565b820191906000526020600020905b81548152906001019060200180831161219957829003601f168201915b505050505081565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122d59190614c67565b60405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561236b576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a33360006123b4611582565b336040516020016123c6929190614a88565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016123f393929190614b82565b60206040518083038186803b15801561240b57600080fd5b505afa15801561241f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124439190614696565b905090565b612453858585612e52565b612460858585858561376a565b5050505050565b61246f612dd4565b80601460166101000a81548160ff02191690831515021790555050565b60148054906101000a900461ffff1681565b6060600073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561251f57604051806020016040528060008152509050612640565b600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461262c57600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631675f455836040518263ffffffff1660e01b81526004016125d09190614e3f565b60006040518083038186803b1580156125e857600080fd5b505afa1580156125fc573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906126259190614620565b905061263f565b6040518060200160405280600081525090505b5b919050565b61264d612dd4565b81816011919061265e929190613ed8565b505050565b60006002600b5414156126ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a290614de4565b60405180910390fd5b6002600b81905550601460169054906101000a900460ff16156126fa576040517f271085d900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612783576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a33360006127cc611582565b866040516020016127de929190614a88565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161280b93929190614b82565b60206040518083038186803b15801561282357600080fd5b505afa158015612837573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285b9190614696565b3414612893576040517f2656d32500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61289c82610a93565b6128a63383612c91565b90506001600b81905550919050565b6060601180546128c4906151f2565b80601f01602080910402602001604051908101604052809291908181526020018280546128f0906151f2565b801561293d5780601f106129125761010080835404028352916020019161293d565b820191906000526020600020905b81548152906001019060200180831161292057829003601f168201915b5050505050905090565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b61297e612dd4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e590614cc4565b60405180910390fd5b6129f7816136a4565b50565b60008073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a84576040517fc1b9a99e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414158015612b0057508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15612b37576040517fdfa4c0d500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa8038a3846000612b80611582565b86604051602001612b92929190614a88565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612bbf93929190614b82565b60206040518083038186803b158015612bd757600080fd5b505afa158015612beb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c0f9190614696565b905092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c8a5750612c89826138b7565b5b9050919050565b60006001612c9d611582565b612ca79190614f9b565b90506000601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414612d22576040517fdfa4c0d500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816013600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612dc460008483612e52565b612dce8382613949565b92915050565b612ddc613b5c565b73ffffffffffffffffffffffffffffffffffffffff16612dfa612106565b73ffffffffffffffffffffffffffffffffffffffff1614612e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4790614d44565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e9557612e9081613b64565b612ed4565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ed357612ed28382613bad565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f1757612f1281613d51565b612f56565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612f5557612f548282613e22565b5b5b505050565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff390614e04565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561306c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306390614ce4565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061312c5750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b8061319557506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6131d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cb90614da4565b60405180910390fd5b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6133668383836117f0565b60008273ffffffffffffffffffffffffffffffffffffffff163b148061345e575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016133eb93929190614b38565b602060405180830381600087803b15801561340557600080fd5b505af1158015613419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061343d919061448c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61349d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349490614d24565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350990614ce4565b60405180910390fd5b61351d838383612e52565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6137758585856117f0565b60008473ffffffffffffffffffffffffffffffffffffffff163b1480613871575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b81526004016137fe959493929190614aea565b602060405180830381600087803b15801561381857600080fd5b505af115801561382c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613850919061448c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6138b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138a790614d24565b60405180910390fd5b5050505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061391257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806139425750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139b090614ce4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613a5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a5290614d84565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600033905090565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613bfb919061507c565b9050600060076000848152602001908152602001600020549050818114613ce0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d65919061507c565b9050600060096000848152602001908152602001600020549050600060088381548110613d9557613d9461533f565b5b906000526020600020015490508060088381548110613db757613db661533f565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613e0657613e05615310565b5b6001900381819060005260206000200160009055905550505050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613ee4906151f2565b90600052602060002090601f016020900481019282613f065760008555613f4d565b82601f10613f1f57803560ff1916838001178555613f4d565b82800160010185558215613f4d579182015b82811115613f4c578235825591602001919060010190613f31565b5b509050613f5a9190613f5e565b5090565b5b80821115613f77576000816000905550600101613f5f565b5090565b6000613f8e613f8984614f32565b614f0d565b905082815260208101848484011115613faa57613fa96153ac565b5b613fb58482856151bf565b509392505050565b600081359050613fcc81615663565b92915050565b600081359050613fe18161567a565b92915050565b600081359050613ff681615691565b92915050565b60008151905061400b81615691565b92915050565b600081359050614020816156a8565b92915050565b600081519050614035816156a8565b92915050565b60008083601f840112614051576140506153a2565b5b8235905067ffffffffffffffff81111561406e5761406d61539d565b5b60208301915083600182028301111561408a576140896153a7565b5b9250929050565b6000813590506140a0816156bf565b92915050565b6000813590506140b5816156d6565b92915050565b6000815190506140ca816156ed565b92915050565b6000813590506140df81615704565b92915050565b6000813590506140f48161571b565b92915050565b60008083601f8401126141105761410f6153a2565b5b8235905067ffffffffffffffff81111561412d5761412c61539d565b5b602083019150836001820283011115614149576141486153a7565b5b9250929050565b600082601f830112614165576141646153a2565b5b8151614175848260208601613f7b565b91505092915050565b60008135905061418d81615732565b92915050565b6000813590506141a281615749565b92915050565b6000815190506141b781615749565b92915050565b6000602082840312156141d3576141d26153b6565b5b60006141e184828501613fbd565b91505092915050565b60008060408385031215614201576142006153b6565b5b600061420f85828601613fd2565b925050602061422085828601614193565b9150509250929050565b60008060408385031215614241576142406153b6565b5b600061424f85828601613fbd565b925050602061426085828601613fbd565b9150509250929050565b600080600060608486031215614283576142826153b6565b5b600061429186828701613fbd565b93505060206142a286828701613fbd565b92505060406142b386828701614193565b9150509250925092565b6000806000806000608086880312156142d9576142d86153b6565b5b60006142e788828901613fbd565b95505060206142f888828901613fbd565b945050604061430988828901614193565b935050606086013567ffffffffffffffff81111561432a576143296153b1565b5b6143368882890161403b565b92509250509295509295909350565b6000806040838503121561435c5761435b6153b6565b5b600061436a85828601613fbd565b925050602061437b85828601613fe7565b9150509250929050565b6000806040838503121561439c5761439b6153b6565b5b60006143aa85828601613fbd565b92505060206143bb8582860161417e565b9150509250929050565b600080604083850312156143dc576143db6153b6565b5b60006143ea85828601613fbd565b92505060206143fb85828601614193565b9150509250929050565b60006020828403121561441b5761441a6153b6565b5b600061442984828501613fe7565b91505092915050565b600060208284031215614448576144476153b6565b5b600061445684828501613ffc565b91505092915050565b600060208284031215614475576144746153b6565b5b600061448384828501614011565b91505092915050565b6000602082840312156144a2576144a16153b6565b5b60006144b084828501614026565b91505092915050565b6000806000606084860312156144d2576144d16153b6565b5b60006144e086828701614091565b93505060206144f186828701613fbd565b925050604061450286828701614193565b9150509250925092565b60008060408385031215614523576145226153b6565b5b6000614531858286016140a6565b925050602061454285828601614193565b9150509250929050565b600060208284031215614562576145616153b6565b5b6000614570848285016140bb565b91505092915050565b60006020828403121561458f5761458e6153b6565b5b600061459d848285016140d0565b91505092915050565b6000602082840312156145bc576145bb6153b6565b5b60006145ca848285016140e5565b91505092915050565b600080602083850312156145ea576145e96153b6565b5b600083013567ffffffffffffffff811115614608576146076153b1565b5b614614858286016140fa565b92509250509250929050565b600060208284031215614636576146356153b6565b5b600082015167ffffffffffffffff811115614654576146536153b1565b5b61466084828501614150565b91505092915050565b60006020828403121561467f5761467e6153b6565b5b600061468d84828501614193565b91505092915050565b6000602082840312156146ac576146ab6153b6565b5b60006146ba848285016141a8565b91505092915050565b600080600080606085870312156146dd576146dc6153b6565b5b60006146eb87828801614193565b94505060206146fc87828801613fbd565b935050604085013567ffffffffffffffff81111561471d5761471c6153b1565b5b6147298782880161403b565b925092505092959194509250565b6000806040838503121561474e5761474d6153b6565b5b600061475c85828601614193565b925050602061476d85828601614193565b9150509250929050565b614780816150c2565b82525050565b61478f816150b0565b82525050565b6147a66147a1826150b0565b615255565b82525050565b6147b5816150d4565b82525050565b60006147c78385614f79565b93506147d48385846151b0565b6147dd836153bb565b840190509392505050565b60006147f382614f63565b6147fd8185614f79565b935061480d8185602086016151bf565b614816816153bb565b840191505092915050565b61482a8161519e565b82525050565b600061483b82614f6e565b6148458185614f8a565b93506148558185602086016151bf565b61485e816153bb565b840191505092915050565b6000614876602b83614f8a565b9150614881826153d9565b604082019050919050565b6000614899602683614f8a565b91506148a482615428565b604082019050919050565b60006148bc600483614f79565b91506148c782615477565b602082019050919050565b60006148df601183614f8a565b91506148ea826154a0565b602082019050919050565b6000614902600c83614f8a565b915061490d826154c9565b602082019050919050565b6000614925601083614f8a565b9150614930826154f2565b602082019050919050565b6000614948602083614f8a565b91506149538261551b565b602082019050919050565b600061496b600083614f79565b915061497682615544565b600082019050919050565b600061498e602c83614f8a565b915061499982615547565b604082019050919050565b60006149b1600e83614f8a565b91506149bc82615596565b602082019050919050565b60006149d4600e83614f8a565b91506149df826155bf565b602082019050919050565b60006149f7600a83614f8a565b9150614a02826155e8565b602082019050919050565b6000614a1a601f83614f8a565b9150614a2582615611565b602082019050919050565b6000614a3d600a83614f8a565b9150614a488261563a565b602082019050919050565b614a5c81615166565b82525050565b614a6b81615194565b82525050565b614a82614a7d82615194565b615279565b82525050565b6000614a948285614a71565b602082019150614aa48284614795565b6014820191508190509392505050565b6000602082019050614ac96000830184614786565b92915050565b6000602082019050614ae46000830184614777565b92915050565b6000608082019050614aff6000830188614786565b614b0c6020830187614786565b614b196040830186614a62565b8181036060830152614b2c8184866147bb565b90509695505050505050565b6000608082019050614b4d6000830186614786565b614b5a6020830185614786565b614b676040830184614a62565b8181036060830152614b788161495e565b9050949350505050565b6000606082019050614b976000830186614786565b614ba46020830185614821565b8181036040830152614bb681846147e8565b9050949350505050565b6000604082019050614bd56000830185614786565b614be26020830184614a62565b9392505050565b6000606082019050614bfe6000830187614786565b614c0b6020830186614a62565b8181036040830152614c1e8184866147bb565b905095945050505050565b6000606082019050614c3e6000830186614786565b614c4b6020830185614a62565b8181036040830152614c5d81846147e8565b9050949350505050565b6000602082019050614c7c60008301846147ac565b92915050565b60006020820190508181036000830152614c9c8184614830565b905092915050565b60006020820190508181036000830152614cbd81614869565b9050919050565b60006020820190508181036000830152614cdd8161488c565b9050919050565b60006020820190508181036000830152614cfd816148d2565b9050919050565b60006020820190508181036000830152614d1d816148f5565b9050919050565b60006020820190508181036000830152614d3d81614918565b9050919050565b60006020820190508181036000830152614d5d8161493b565b9050919050565b60006020820190508181036000830152614d7d81614981565b9050919050565b60006020820190508181036000830152614d9d816149a4565b9050919050565b60006020820190508181036000830152614dbd816149c7565b9050919050565b60006020820190508181036000830152614ddd816149ea565b9050919050565b60006020820190508181036000830152614dfd81614a0d565b9050919050565b60006020820190508181036000830152614e1d81614a30565b9050919050565b6000602082019050614e396000830184614a53565b92915050565b6000602082019050614e546000830184614a62565b92915050565b6000604082019050614e6f6000830185614a62565b614e7c6020830184614786565b9392505050565b600061010082019050614e99600083018a614a62565b614ea66020830189614a62565b614eb36040830188614786565b614ec06060830187614786565b614ecd6080830186614821565b614eda60a08301856147ac565b81810360c0830152614eec8184614830565b905081810360e0830152614eff816148af565b905098975050505050505050565b6000614f17614f28565b9050614f238282615224565b919050565b6000604051905090565b600067ffffffffffffffff821115614f4d57614f4c61536e565b5b614f56826153bb565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000614fa682615194565b9150614fb183615194565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fe657614fe5615283565b5b828201905092915050565b6000614ffc82615194565b915061500783615194565b925082615017576150166152b2565b5b828204905092915050565b600061502d82615194565b915061503883615194565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561507157615070615283565b5b828202905092915050565b600061508782615194565b915061509283615194565b9250828210156150a5576150a4615283565b5b828203905092915050565b60006150bb82615174565b9050919050565b60006150cd82615174565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000615117826150b0565b9050919050565b6000615129826150b0565b9050919050565b600061513b826150b0565b9050919050565b600061514d826150b0565b9050919050565b600061515f826150b0565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006151a982615194565b9050919050565b82818337600083830152505050565b60005b838110156151dd5780820151818401526020810190506151c2565b838111156151ec576000848401525b50505050565b6000600282049050600182168061520a57607f821691505b6020821081141561521e5761521d6152e1565b5b50919050565b61522d826153bb565b810181811067ffffffffffffffff8211171561524c5761524b61536e565b5b80604052505050565b600061526082615267565b9050919050565b6000615272826153cc565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f3078303000000000000000000000000000000000000000000000000000000000600082015250565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b61566c816150b0565b811461567757600080fd5b50565b615683816150c2565b811461568e57600080fd5b50565b61569a816150d4565b81146156a557600080fd5b50565b6156b1816150e0565b81146156bc57600080fd5b50565b6156c88161510c565b81146156d357600080fd5b50565b6156df8161511e565b81146156ea57600080fd5b50565b6156f681615130565b811461570157600080fd5b50565b61570d81615142565b811461571857600080fd5b50565b61572481615154565b811461572f57600080fd5b50565b61573b81615166565b811461574657600080fd5b50565b61575281615194565b811461575d57600080fd5b5056fea164736f6c6343000806000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000b42c951937e241f0345315dcc75de160b3ee31200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc8f7a89d89c2ab3559f484e0c656423e979ac9c00000000000000000000000000000000000000000000000000000000000000af00000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000012496e66696e6974652054696c657320322e300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000654494c45533200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5579785362734636574431627659717265454e6e6e506a36654c36366b4a78335938454e62354d4c483658740000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Infinite Tiles 2.0
Arg [1] : _symbol (string): TILES2
Arg [2] : _priceResolver (address): 0xB42c951937e241F0345315DCc75de160B3eE3120
Arg [3] : _tokenUriResolver (address): 0x0000000000000000000000000000000000000000
Arg [4] : _jbxDirectory (address): 0xCc8f7a89d89c2AB3559f484E0C656423E979ac9C
Arg [5] : _jbxProjectId (uint256): 175
Arg [6] : _metadataUri (string): ipfs://QmUyxSbsF6WD1bvYqreENnnPj6eL66kJx3Y8ENb5MLH6Xt
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 000000000000000000000000b42c951937e241f0345315dcc75de160b3ee3120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000cc8f7a89d89c2ab3559f484e0c656423e979ac9c
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000af
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [8] : 496e66696e6974652054696c657320322e300000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [10] : 54494c4553320000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [12] : 697066733a2f2f516d5579785362734636574431627659717265454e6e6e506a
Arg [13] : 36654c36366b4a78335938454e62354d4c483658740000000000000000000000
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.