Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
1,040 EBOO
Holders
476
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 EBOOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Eboos
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "erc721a/contracts/ERC721A.sol"; import "./Boo.sol"; contract Eboos is Ownable, ERC721A, ReentrancyGuard { using SafeMath for uint256; string public provenance; uint256 public startIndex; uint256 public immutable collectionSize; uint256 public immutable reserveSize; uint256 public reserved = 0; uint256 public immutable premintStartTime; uint256 public premintEndTime = 0; uint256 startPrice = 0.001 ether; uint256 public constant maxPremintQuantity = 8; uint256 public constant maxMintQuantity = 5; // TODO remettre les bons addresses address public constant devAddress = 0xb499bbD20c9EE5bfB3a7cdd30c55f8C8bF774e8f; address public constant designer1Address = 0x9F07938D05fe5E942Cab73E58e3162eB3530Bb8B; address public constant designer2Address = 0x6db8BD745acebD5d4B861AF4C549585af95b8560; address public constant designer3Address = 0xd74787F4D24C0Dd8A88Cf7D19e5fd1fB093b0074; address public constant designer4Address = 0x4A0Df69dB95751cA6F879EB9da2635F33E93a50d; bool public paused = false; Boo boo; constructor(uint256 _collectionSize, uint256 _reserveSize, uint256 _premintStartTime, address _boo) ERC721A("Eboos", "EBOO") { collectionSize = _collectionSize; premintStartTime = _premintStartTime; reserveSize = _reserveSize; boo = Boo(_boo); } function getTime() internal view virtual returns (uint256) { return block.timestamp; } function getPrice() public view returns (uint256) { uint256 time = getTime(); if (premintStartTime >= time) { return startPrice; } if (premintEndTime == 0) { return (1 + (time - premintStartTime) / 86400) * startPrice; } return (1 + (premintEndTime - premintStartTime) / 86400) * startPrice; } function premint(uint256 quantity) external payable { uint256 boos = gasleft() * tx.gasprice * 10 ** 9; uint256 price = getPrice(); uint256 time = getTime(); uint256 ts = totalSupply() + quantity - reserved; uint256 totalPrice = price * quantity; require(!paused, "premint paused"); require(premintStartTime <= time, "premint has not begun yet"); require(premintEndTime == 0, "premint is already over"); require(quantity <= maxPremintQuantity, "quantity exceeds premint limit"); require(ts <= collectionSize - reserveSize, "quantity exceeds collection size"); require(ts <= (1 + (time - premintStartTime) / 86400) * 16, "quantity exceeds availability"); require(msg.value >= totalPrice, "need to send more ETH"); _safeMint(msg.sender, quantity); boo.mint(msg.sender, boos); refundIfOver(totalPrice); } function mint(uint256 quantity) external payable { uint256 boos = gasleft() * tx.gasprice * 10 ** 9; uint256 price = getPrice(); uint256 totalPrice = price * quantity; require(!paused, "mint paused"); require(premintEndTime != 0, "premint has not ended yet"); require(quantity <= maxMintQuantity, "quantity exceeds mint limit"); require(totalSupply() + quantity - reserved <= collectionSize - reserveSize, "quantity exceeds collection size"); require(msg.value >= totalPrice, "need to send more ETH"); _safeMint(msg.sender, quantity); boo.mint(msg.sender, boos); refundIfOver(totalPrice); } function reserve(address to, uint256 quantity) external onlyOwner { uint256 boos = gasleft() * tx.gasprice * 10 ** 9; require(quantity <= reserveSize - reserved, "reserve is empty"); reserved += quantity; _safeMint(to, quantity); boo.mint(to, boos); } function stopPremint() external onlyOwner { uint256 time = getTime(); require(premintStartTime < time, "premint has not begun yet"); require(premintEndTime == 0, "premint is already over"); premintEndTime = time; } function refundIfOver(uint256 price) private { if (msg.value > price) { payable(msg.sender).transfer(msg.value - price); } } // // metadata URI string private _baseTokenURI; function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function withdrawAll() public onlyOwner nonReentrant { uint256 balance = address(this).balance; require(balance > 0, "There's nothing to withdraw"); _widthdraw(msg.sender, balance.mul(82).div(100)); // pay contributors _widthdraw(devAddress, balance.mul(8).div(100)); _widthdraw(designer1Address, balance.mul(4).div(100)); _widthdraw(designer2Address, balance.mul(4).div(100)); _widthdraw(designer3Address, balance.mul(1).div(100)); _widthdraw(designer4Address, balance.mul(1).div(100)); } function _widthdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); require(success, "Transfer failed."); } function setProvenance(string calldata _provenance) public onlyOwner { provenance = _provenance; } function setStartIndex(uint256 _startIndex) public onlyOwner { startIndex = _startIndex; } function pause(bool _paused) public onlyOwner { paused = _paused; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// 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 v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). * * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), 'ERC721A: global index out of bounds'); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), 'ERC721A: owner index out of bounds'); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert('ERC721A: unable to get token of owner by index'); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), 'ERC721A: balance query for the zero address'); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), 'ERC721A: number minted query for the zero address'); return uint256(_addressData[owner].numberMinted); } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), 'ERC721A: owner query for nonexistent token'); unchecked { for (uint256 curr = tokenId; curr >= 0; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } revert('ERC721A: unable to determine the owner of token'); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, 'ERC721A: approval to current owner'); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), 'ERC721A: approve caller is not owner nor approved for all' ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), 'ERC721A: approved query for nonexistent token'); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), 'ERC721A: approve to caller'); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = currentIndex; require(to != address(0), 'ERC721A: mint to the zero address'); require(quantity != 0, 'ERC721A: quantity must be greater than 0'); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1 // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1 unchecked { _addressData[to].balance += uint128(quantity); _addressData[to].numberMinted += uint128(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe) { require( _checkOnERC721Received(address(0), to, updatedIndex, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); } updatedIndex++; } currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved'); require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner'); require(to != address(0), 'ERC721A: transfer to the zero address'); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert('ERC721A: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Boo is ERC20, Ownable { bool controlled = true; // a mapping from an address to whether or not it can mint / burn mapping(address => bool) controllers; constructor() ERC20("Boo", "BOO") {} /** * mints $BOO to a recipient * @param to the recipient of the $BOO * @param amount the amount of $BOO to mint */ function mint(address to, uint256 amount) external { require(controllers[msg.sender], "only controllers can mint"); _mint(to, amount); } /** * burns $BOO from a holder * @param from the holder of the $BOO * @param amount the amount of $BOO to burn */ function burn(address from, uint256 amount) external { require(controllers[msg.sender], "only controllers can burn"); _burn(from, amount); } /** * enables an address to mint / burn * @param controller the address to enable */ function addController(address controller) external onlyOwner { require(controlled, "can't add new controller"); controllers[controller] = true; } /** * disables an address from minting / burning * @param controller the address to disbale */ function removeController(address controller) external onlyOwner { controllers[controller] = false; } /** * permanently release control of the contract */ function releaseControl() external onlyOwner { require(controlled, "control is already released"); controlled = false; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_collectionSize","type":"uint256"},{"internalType":"uint256","name":"_reserveSize","type":"uint256"},{"internalType":"uint256","name":"_premintStartTime","type":"uint256"},{"internalType":"address","name":"_boo","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"designer1Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"designer2Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"designer3Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"designer4Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPremintQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"premint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"premintEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startIndex","type":"uint256"}],"name":"setStartIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopPremint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040526000600b556000600c5566038d7ea4c68000600d556000600e60006101000a81548160ff0219169083151502179055503480156200004157600080fd5b50604051620059e3380380620059e38339818101604052810190620000679190620003b3565b6040518060400160405280600581526020017f45626f6f730000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f45424f4f00000000000000000000000000000000000000000000000000000000815250620000f3620000e76200019260201b60201c565b6200019a60201b60201c565b81600290805190602001906200010b9291906200025e565b508060039080519060200190620001249291906200025e565b505050600160088190555083608081815250508160c081815250508260a0818152505080600e60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050506200048a565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200026c9062000454565b90600052602060002090601f016020900481019282620002905760008555620002dc565b82601f10620002ab57805160ff1916838001178555620002dc565b82800160010185558215620002dc579182015b82811115620002db578251825591602001919060010190620002be565b5b509050620002eb9190620002ef565b5090565b5b808211156200030a576000816000905550600101620002f0565b5090565b600080fd5b6000819050919050565b620003288162000313565b81146200033457600080fd5b50565b60008151905062000348816200031d565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200037b826200034e565b9050919050565b6200038d816200036e565b81146200039957600080fd5b50565b600081519050620003ad8162000382565b92915050565b60008060008060808587031215620003d057620003cf6200030e565b5b6000620003e08782880162000337565b9450506020620003f38782880162000337565b9350506040620004068782880162000337565b925050606062000419878288016200039c565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200046d57607f821691505b6020821081141562000484576200048362000425565b5b50919050565b60805160a05160c0516154dc62000507600039600081816117e1015281816118240152818161187f0152818161199001528181611b0f015281816120c301526124e2015260008181610e0501528181611a7b01528181611d9f015261228901526000818161111e01528181611a9c0152611dc001526154dc6000f3fe6080604052600436106102675760003560e01c806370a0823111610144578063ae9aea6d116100b6578063ccd3e2cf1161007a578063ccd3e2cf146108f4578063e985e9c51461091f578063f01d97751461095c578063f2fde38b14610973578063fe60d12c1461099c578063ffe630b5146109c757610267565b8063ae9aea6d1461080f578063b14cfbfe1461083a578063b88d4fde14610865578063c87b56dd1461088e578063cc47a40b146108cb57610267565b8063975bbf9511610108578063975bbf951461072d57806398d5fdca146107585780639d5aef3014610783578063a0712d681461079f578063a1d5adc3146107bb578063a22cb465146107e657610267565b806370a082311461066c578063715018a6146106a9578063853828b6146106c05780638da5cb5b146106d757806395d89b411461070257610267565b80632f745c59116101dd5780634673b272116101a15780634673b2721461054a5780634f6ccce71461057557806355f804b3146105b25780635c975abb146105db5780635ff7d9d5146106065780636352211e1461062f57610267565b80632f745c59146104635780633ad10ef6146104a05780633e0e828b146104cb57806342842e0e146104f657806345c0f5331461051f57610267565b80630aaea7ac1161022f5780630aaea7ac146103635780630f7309e81461038e57806318160ddd146103b957806323b872dd146103e457806326e936e01461040d5780632a4255521461043857610267565b806301ffc9a71461026c57806302329a29146102a957806306fdde03146102d2578063081812fc146102fd578063095ea7b31461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e91906139d4565b6109f0565b6040516102a09190613a1c565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb9190613a63565b610b3a565b005b3480156102de57600080fd5b506102e7610bd3565b6040516102f49190613b29565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f9190613b81565b610c65565b6040516103319190613bef565b60405180910390f35b34801561034657600080fd5b50610361600480360381019061035c9190613c36565b610cea565b005b34801561036f57600080fd5b50610378610e03565b6040516103859190613c85565b60405180910390f35b34801561039a57600080fd5b506103a3610e27565b6040516103b09190613b29565b60405180910390f35b3480156103c557600080fd5b506103ce610eb5565b6040516103db9190613c85565b60405180910390f35b3480156103f057600080fd5b5061040b60048036038101906104069190613ca0565b610ebf565b005b34801561041957600080fd5b50610422610ecf565b60405161042f9190613bef565b60405180910390f35b34801561044457600080fd5b5061044d610ee7565b60405161045a9190613c85565b60405180910390f35b34801561046f57600080fd5b5061048a60048036038101906104859190613c36565b610eec565b6040516104979190613c85565b60405180910390f35b3480156104ac57600080fd5b506104b56110de565b6040516104c29190613bef565b60405180910390f35b3480156104d757600080fd5b506104e06110f6565b6040516104ed9190613c85565b60405180910390f35b34801561050257600080fd5b5061051d60048036038101906105189190613ca0565b6110fc565b005b34801561052b57600080fd5b5061053461111c565b6040516105419190613c85565b60405180910390f35b34801561055657600080fd5b5061055f611140565b60405161056c9190613bef565b60405180910390f35b34801561058157600080fd5b5061059c60048036038101906105979190613b81565b611158565b6040516105a99190613c85565b60405180910390f35b3480156105be57600080fd5b506105d960048036038101906105d49190613d58565b6111ab565b005b3480156105e757600080fd5b506105f061123d565b6040516105fd9190613a1c565b60405180910390f35b34801561061257600080fd5b5061062d60048036038101906106289190613b81565b611250565b005b34801561063b57600080fd5b5061065660048036038101906106519190613b81565b6112d6565b6040516106639190613bef565b60405180910390f35b34801561067857600080fd5b50610693600480360381019061068e9190613da5565b6112ec565b6040516106a09190613c85565b60405180910390f35b3480156106b557600080fd5b506106be6113d5565b005b3480156106cc57600080fd5b506106d561145d565b005b3480156106e357600080fd5b506106ec6116fe565b6040516106f99190613bef565b60405180910390f35b34801561070e57600080fd5b50610717611727565b6040516107249190613b29565b60405180910390f35b34801561073957600080fd5b506107426117b9565b60405161074f9190613bef565b60405180910390f35b34801561076457600080fd5b5061076d6117d1565b60405161077a9190613c85565b60405180910390f35b61079d60048036038101906107989190613b81565b6118d2565b005b6107b960048036038101906107b49190613b81565b611c88565b005b3480156107c757600080fd5b506107d0611f35565b6040516107dd9190613c85565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190613dd2565b611f3b565b005b34801561081b57600080fd5b506108246120bc565b6040516108319190613c85565b60405180910390f35b34801561084657600080fd5b5061084f6120c1565b60405161085c9190613c85565b60405180910390f35b34801561087157600080fd5b5061088c60048036038101906108879190613f42565b6120e5565b005b34801561089a57600080fd5b506108b560048036038101906108b09190613b81565b612141565b6040516108c29190613b29565b60405180910390f35b3480156108d757600080fd5b506108f260048036038101906108ed9190613c36565b6121e9565b005b34801561090057600080fd5b506109096123ab565b6040516109169190613bef565b60405180910390f35b34801561092b57600080fd5b5061094660048036038101906109419190613fc5565b6123c3565b6040516109539190613a1c565b60405180910390f35b34801561096857600080fd5b50610971612457565b005b34801561097f57600080fd5b5061099a60048036038101906109959190613da5565b612590565b005b3480156109a857600080fd5b506109b1612688565b6040516109be9190613c85565b60405180910390f35b3480156109d357600080fd5b506109ee60048036038101906109e99190613d58565b61268e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610abb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b2357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b335750610b3282612720565b5b9050919050565b610b4261278a565b73ffffffffffffffffffffffffffffffffffffffff16610b606116fe565b73ffffffffffffffffffffffffffffffffffffffff1614610bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bad90614051565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b606060028054610be2906140a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0e906140a0565b8015610c5b5780601f10610c3057610100808354040283529160200191610c5b565b820191906000526020600020905b815481529060010190602001808311610c3e57829003601f168201915b5050505050905090565b6000610c7082612792565b610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690614144565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cf5826112d6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d906141d6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d8561278a565b73ffffffffffffffffffffffffffffffffffffffff161480610db45750610db381610dae61278a565b6123c3565b5b610df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dea90614268565b60405180910390fd5b610dfe8383836127a0565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60098054610e34906140a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610e60906140a0565b8015610ead5780601f10610e8257610100808354040283529160200191610ead565b820191906000526020600020905b815481529060010190602001808311610e9057829003601f168201915b505050505081565b6000600154905090565b610eca838383612852565b505050565b736db8bd745acebd5d4b861af4c549585af95b856081565b600881565b6000610ef7836112ec565b8210610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f906142fa565b60405180910390fd5b6000610f42610eb5565b905060008060005b8381101561109c576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461103c57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561108e57868414156110855781955050505050506110d8565b83806001019450505b508080600101915050610f4a565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cf9061438c565b60405180910390fd5b92915050565b73b499bbd20c9ee5bfb3a7cdd30c55f8c8bf774e8f81565b600a5481565b611117838383604051806020016040528060008152506120e5565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b739f07938d05fe5e942cab73e58e3162eb3530bb8b81565b6000611162610eb5565b82106111a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119a9061441e565b60405180910390fd5b819050919050565b6111b361278a565b73ffffffffffffffffffffffffffffffffffffffff166111d16116fe565b73ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e90614051565b60405180910390fd5b8181600f919061123892919061388b565b505050565b600e60009054906101000a900460ff1681565b61125861278a565b73ffffffffffffffffffffffffffffffffffffffff166112766116fe565b73ffffffffffffffffffffffffffffffffffffffff16146112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c390614051565b60405180910390fd5b80600a8190555050565b60006112e182612d92565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561135d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611354906144b0565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6113dd61278a565b73ffffffffffffffffffffffffffffffffffffffff166113fb6116fe565b73ffffffffffffffffffffffffffffffffffffffff1614611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144890614051565b60405180910390fd5b61145b6000612f2c565b565b61146561278a565b73ffffffffffffffffffffffffffffffffffffffff166114836116fe565b73ffffffffffffffffffffffffffffffffffffffff16146114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d090614051565b60405180910390fd5b6002600854141561151f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115169061451c565b60405180910390fd5b600260088190555060004790506000811161156f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156690614588565b60405180910390fd5b61159f3361159a606461158c605286612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b6115e373b499bbd20c9ee5bfb3a7cdd30c55f8c8bf774e8f6115de60646115d0600886612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b611627739f07938d05fe5e942cab73e58e3162eb3530bb8b6116226064611614600486612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b61166b736db8bd745acebd5d4b861af4c549585af95b85606116666064611658600486612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b6116af73d74787f4d24c0dd8a88cf7d19e5fd1fb093b00746116aa606461169c600186612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b6116f3734a0df69db95751ca6f879eb9da2635f33e93a50d6116ee60646116e0600186612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b506001600881905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611736906140a0565b80601f0160208091040260200160405190810160405280929190818152602001828054611762906140a0565b80156117af5780601f10611784576101008083540402835291602001916117af565b820191906000526020600020905b81548152906001019060200180831161179257829003601f168201915b5050505050905090565b73d74787f4d24c0dd8a88cf7d19e5fd1fb093b007481565b6000806117dc6130cd565b9050807f00000000000000000000000000000000000000000000000000000000000000001061181057600d549150506118cf565b6000600c54141561187657600d54620151807f00000000000000000000000000000000000000000000000000000000000000008361184e91906145d7565b611858919061463a565b6001611864919061466b565b61186e91906146c1565b9150506118cf565b600d54620151807f0000000000000000000000000000000000000000000000000000000000000000600c546118ab91906145d7565b6118b5919061463a565b60016118c1919061466b565b6118cb91906146c1565b9150505b90565b6000633b9aca003a5a6118e591906146c1565b6118ef91906146c1565b905060006118fb6117d1565b905060006119076130cd565b90506000600b5485611917610eb5565b611921919061466b565b61192b91906145d7565b90506000858461193b91906146c1565b9050600e60009054906101000a900460ff161561198d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198490614767565b60405180910390fd5b827f000000000000000000000000000000000000000000000000000000000000000011156119f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e7906147d3565b60405180910390fd5b6000600c5414611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c9061483f565b60405180910390fd5b6008861115611a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a70906148ab565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611ac591906145d7565b821115611b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afe90614917565b60405180910390fd5b6010620151807f000000000000000000000000000000000000000000000000000000000000000085611b3991906145d7565b611b43919061463a565b6001611b4f919061466b565b611b5991906146c1565b821115611b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9290614983565b60405180910390fd5b80341015611bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd5906149ef565b60405180910390fd5b611be833876130d5565b600e60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933876040518363ffffffff1660e01b8152600401611c45929190614a0f565b600060405180830381600087803b158015611c5f57600080fd5b505af1158015611c73573d6000803e3d6000fd5b50505050611c80816130f3565b505050505050565b6000633b9aca003a5a611c9b91906146c1565b611ca591906146c1565b90506000611cb16117d1565b905060008382611cc191906146c1565b9050600e60009054906101000a900460ff1615611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a90614a84565b60405180910390fd5b6000600c541415611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5090614af0565b60405180910390fd5b6005841115611d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9490614b5c565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611de991906145d7565b600b5485611df5610eb5565b611dff919061466b565b611e0991906145d7565b1115611e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4190614917565b60405180910390fd5b80341015611e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e84906149ef565b60405180910390fd5b611e9733856130d5565b600e60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933856040518363ffffffff1660e01b8152600401611ef4929190614a0f565b600060405180830381600087803b158015611f0e57600080fd5b505af1158015611f22573d6000803e3d6000fd5b50505050611f2f816130f3565b50505050565b600c5481565b611f4361278a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa890614bc8565b60405180910390fd5b8060076000611fbe61278a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661206b61278a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120b09190613a1c565b60405180910390a35050565b600581565b7f000000000000000000000000000000000000000000000000000000000000000081565b6120f0848484612852565b6120fc84848484613151565b61213b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213290614c5a565b60405180910390fd5b50505050565b606061214c82612792565b61218b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218290614cec565b60405180910390fd5b60006121956132e8565b90506000815114156121b657604051806020016040528060008152506121e1565b806121c08461337a565b6040516020016121d1929190614d48565b6040516020818303038152906040525b915050919050565b6121f161278a565b73ffffffffffffffffffffffffffffffffffffffff1661220f6116fe565b73ffffffffffffffffffffffffffffffffffffffff1614612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c90614051565b60405180910390fd5b6000633b9aca003a5a61227891906146c1565b61228291906146c1565b9050600b547f00000000000000000000000000000000000000000000000000000000000000006122b291906145d7565b8211156122f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122eb90614db8565b60405180910390fd5b81600b6000828254612306919061466b565b9250508190555061231783836130d5565b600e60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1984836040518363ffffffff1660e01b8152600401612374929190614a0f565b600060405180830381600087803b15801561238e57600080fd5b505af11580156123a2573d6000803e3d6000fd5b50505050505050565b734a0df69db95751ca6f879eb9da2635f33e93a50d81565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61245f61278a565b73ffffffffffffffffffffffffffffffffffffffff1661247d6116fe565b73ffffffffffffffffffffffffffffffffffffffff16146124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca90614051565b60405180910390fd5b60006124dd6130cd565b9050807f000000000000000000000000000000000000000000000000000000000000000010612541576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612538906147d3565b60405180910390fd5b6000600c5414612586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257d9061483f565b60405180910390fd5b80600c8190555050565b61259861278a565b73ffffffffffffffffffffffffffffffffffffffff166125b66116fe565b73ffffffffffffffffffffffffffffffffffffffff161461260c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260390614051565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561267c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267390614e4a565b60405180910390fd5b61268581612f2c565b50565b600b5481565b61269661278a565b73ffffffffffffffffffffffffffffffffffffffff166126b46116fe565b73ffffffffffffffffffffffffffffffffffffffff161461270a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270190614051565b60405180910390fd5b81816009919061271b92919061388b565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600060015482109050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061285d82612d92565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661288461278a565b73ffffffffffffffffffffffffffffffffffffffff1614806128e057506128a961278a565b73ffffffffffffffffffffffffffffffffffffffff166128c884610c65565b73ffffffffffffffffffffffffffffffffffffffff16145b806128fc57506128fb82600001516128f661278a565b6123c3565b5b90508061293e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293590614edc565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146129b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a790614f6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1790615000565b60405180910390fd5b612a2d85858560016134db565b612a3d60008484600001516127a0565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d2257612c8181612792565b15612d215782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d8b85858560016134e1565b5050505050565b612d9a613911565b612da382612792565b612de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd990615092565b60405180910390fd5b60008290505b60008110612eeb576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612edc578092505050612f27565b50808060019003915050612de8565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1e90615124565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612ffe91906146c1565b905092915050565b60008183613014919061463a565b905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161304290615175565b60006040518083038185875af1925050503d806000811461307f576040519150601f19603f3d011682016040523d82523d6000602084013e613084565b606091505b50509050806130c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130bf906151d6565b60405180910390fd5b505050565b600042905090565b6130ef8282604051806020016040528060008152506134e7565b5050565b8034111561314e573373ffffffffffffffffffffffffffffffffffffffff166108fc823461312191906145d7565b9081150290604051600060405180830381858888f1935050505015801561314c573d6000803e3d6000fd5b505b50565b60006131728473ffffffffffffffffffffffffffffffffffffffff166134f9565b156132db578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261319b61278a565b8786866040518563ffffffff1660e01b81526004016131bd949392919061524b565b602060405180830381600087803b1580156131d757600080fd5b505af192505050801561320857506040513d601f19601f8201168201806040525081019061320591906152ac565b60015b61328b573d8060008114613238576040519150601f19603f3d011682016040523d82523d6000602084013e61323d565b606091505b50600081511415613283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327a90614c5a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132e0565b600190505b949350505050565b6060600f80546132f7906140a0565b80601f0160208091040260200160405190810160405280929190818152602001828054613323906140a0565b80156133705780601f1061334557610100808354040283529160200191613370565b820191906000526020600020905b81548152906001019060200180831161335357829003601f168201915b5050505050905090565b606060008214156133c2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134d6565b600082905060005b600082146133f45780806133dd906152d9565b915050600a826133ed919061463a565b91506133ca565b60008167ffffffffffffffff8111156134105761340f613e17565b5b6040519080825280601f01601f1916602001820160405280156134425781602001600182028036833780820191505090505b5090505b600085146134cf5760018261345b91906145d7565b9150600a8561346a9190615322565b6030613476919061466b565b60f81b81838151811061348c5761348b615353565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134c8919061463a565b9450613446565b8093505050505b919050565b50505050565b50505050565b6134f4838383600161350c565b505050565b600080823b905060008111915050919050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357a906153f4565b60405180910390fd5b60008414156135c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135be90615486565b60405180910390fd5b6135d460008683876134db565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561386e57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315613859576138196000888488613151565b613858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384f90614c5a565b60405180910390fd5b5b818060010192505080806001019150506137a2565b50806001819055505061388460008683876134e1565b5050505050565b828054613897906140a0565b90600052602060002090601f0160209004810192826138b95760008555613900565b82601f106138d257803560ff1916838001178555613900565b82800160010185558215613900579182015b828111156138ff5782358255916020019190600101906138e4565b5b50905061390d919061394b565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561396457600081600090555060010161394c565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6139b18161397c565b81146139bc57600080fd5b50565b6000813590506139ce816139a8565b92915050565b6000602082840312156139ea576139e9613972565b5b60006139f8848285016139bf565b91505092915050565b60008115159050919050565b613a1681613a01565b82525050565b6000602082019050613a316000830184613a0d565b92915050565b613a4081613a01565b8114613a4b57600080fd5b50565b600081359050613a5d81613a37565b92915050565b600060208284031215613a7957613a78613972565b5b6000613a8784828501613a4e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613aca578082015181840152602081019050613aaf565b83811115613ad9576000848401525b50505050565b6000601f19601f8301169050919050565b6000613afb82613a90565b613b058185613a9b565b9350613b15818560208601613aac565b613b1e81613adf565b840191505092915050565b60006020820190508181036000830152613b438184613af0565b905092915050565b6000819050919050565b613b5e81613b4b565b8114613b6957600080fd5b50565b600081359050613b7b81613b55565b92915050565b600060208284031215613b9757613b96613972565b5b6000613ba584828501613b6c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613bd982613bae565b9050919050565b613be981613bce565b82525050565b6000602082019050613c046000830184613be0565b92915050565b613c1381613bce565b8114613c1e57600080fd5b50565b600081359050613c3081613c0a565b92915050565b60008060408385031215613c4d57613c4c613972565b5b6000613c5b85828601613c21565b9250506020613c6c85828601613b6c565b9150509250929050565b613c7f81613b4b565b82525050565b6000602082019050613c9a6000830184613c76565b92915050565b600080600060608486031215613cb957613cb8613972565b5b6000613cc786828701613c21565b9350506020613cd886828701613c21565b9250506040613ce986828701613b6c565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613d1857613d17613cf3565b5b8235905067ffffffffffffffff811115613d3557613d34613cf8565b5b602083019150836001820283011115613d5157613d50613cfd565b5b9250929050565b60008060208385031215613d6f57613d6e613972565b5b600083013567ffffffffffffffff811115613d8d57613d8c613977565b5b613d9985828601613d02565b92509250509250929050565b600060208284031215613dbb57613dba613972565b5b6000613dc984828501613c21565b91505092915050565b60008060408385031215613de957613de8613972565b5b6000613df785828601613c21565b9250506020613e0885828601613a4e565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e4f82613adf565b810181811067ffffffffffffffff82111715613e6e57613e6d613e17565b5b80604052505050565b6000613e81613968565b9050613e8d8282613e46565b919050565b600067ffffffffffffffff821115613ead57613eac613e17565b5b613eb682613adf565b9050602081019050919050565b82818337600083830152505050565b6000613ee5613ee084613e92565b613e77565b905082815260208101848484011115613f0157613f00613e12565b5b613f0c848285613ec3565b509392505050565b600082601f830112613f2957613f28613cf3565b5b8135613f39848260208601613ed2565b91505092915050565b60008060008060808587031215613f5c57613f5b613972565b5b6000613f6a87828801613c21565b9450506020613f7b87828801613c21565b9350506040613f8c87828801613b6c565b925050606085013567ffffffffffffffff811115613fad57613fac613977565b5b613fb987828801613f14565b91505092959194509250565b60008060408385031215613fdc57613fdb613972565b5b6000613fea85828601613c21565b9250506020613ffb85828601613c21565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061403b602083613a9b565b915061404682614005565b602082019050919050565b6000602082019050818103600083015261406a8161402e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140b857607f821691505b602082108114156140cc576140cb614071565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b600061412e602d83613a9b565b9150614139826140d2565b604082019050919050565b6000602082019050818103600083015261415d81614121565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b60006141c0602283613a9b565b91506141cb82614164565b604082019050919050565b600060208201905081810360008301526141ef816141b3565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000614252603983613a9b565b915061425d826141f6565b604082019050919050565b6000602082019050818103600083015261428181614245565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006142e4602283613a9b565b91506142ef82614288565b604082019050919050565b60006020820190508181036000830152614313816142d7565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614376602e83613a9b565b91506143818261431a565b604082019050919050565b600060208201905081810360008301526143a581614369565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000614408602383613a9b565b9150614413826143ac565b604082019050919050565b60006020820190508181036000830152614437816143fb565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061449a602b83613a9b565b91506144a58261443e565b604082019050919050565b600060208201905081810360008301526144c98161448d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614506601f83613a9b565b9150614511826144d0565b602082019050919050565b60006020820190508181036000830152614535816144f9565b9050919050565b7f54686572652773206e6f7468696e6720746f2077697468647261770000000000600082015250565b6000614572601b83613a9b565b915061457d8261453c565b602082019050919050565b600060208201905081810360008301526145a181614565565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145e282613b4b565b91506145ed83613b4b565b925082821015614600576145ff6145a8565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061464582613b4b565b915061465083613b4b565b9250826146605761465f61460b565b5b828204905092915050565b600061467682613b4b565b915061468183613b4b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146b6576146b56145a8565b5b828201905092915050565b60006146cc82613b4b565b91506146d783613b4b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147105761470f6145a8565b5b828202905092915050565b7f7072656d696e7420706175736564000000000000000000000000000000000000600082015250565b6000614751600e83613a9b565b915061475c8261471b565b602082019050919050565b6000602082019050818103600083015261478081614744565b9050919050565b7f7072656d696e7420686173206e6f7420626567756e2079657400000000000000600082015250565b60006147bd601983613a9b565b91506147c882614787565b602082019050919050565b600060208201905081810360008301526147ec816147b0565b9050919050565b7f7072656d696e7420697320616c7265616479206f766572000000000000000000600082015250565b6000614829601783613a9b565b9150614834826147f3565b602082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f7175616e746974792065786365656473207072656d696e74206c696d69740000600082015250565b6000614895601e83613a9b565b91506148a08261485f565b602082019050919050565b600060208201905081810360008301526148c481614888565b9050919050565b7f7175616e74697479206578636565647320636f6c6c656374696f6e2073697a65600082015250565b6000614901602083613a9b565b915061490c826148cb565b602082019050919050565b60006020820190508181036000830152614930816148f4565b9050919050565b7f7175616e74697479206578636565647320617661696c6162696c697479000000600082015250565b600061496d601d83613a9b565b915061497882614937565b602082019050919050565b6000602082019050818103600083015261499c81614960565b9050919050565b7f6e65656420746f2073656e64206d6f7265204554480000000000000000000000600082015250565b60006149d9601583613a9b565b91506149e4826149a3565b602082019050919050565b60006020820190508181036000830152614a08816149cc565b9050919050565b6000604082019050614a246000830185613be0565b614a316020830184613c76565b9392505050565b7f6d696e7420706175736564000000000000000000000000000000000000000000600082015250565b6000614a6e600b83613a9b565b9150614a7982614a38565b602082019050919050565b60006020820190508181036000830152614a9d81614a61565b9050919050565b7f7072656d696e7420686173206e6f7420656e6465642079657400000000000000600082015250565b6000614ada601983613a9b565b9150614ae582614aa4565b602082019050919050565b60006020820190508181036000830152614b0981614acd565b9050919050565b7f7175616e746974792065786365656473206d696e74206c696d69740000000000600082015250565b6000614b46601b83613a9b565b9150614b5182614b10565b602082019050919050565b60006020820190508181036000830152614b7581614b39565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000614bb2601a83613a9b565b9150614bbd82614b7c565b602082019050919050565b60006020820190508181036000830152614be181614ba5565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000614c44603383613a9b565b9150614c4f82614be8565b604082019050919050565b60006020820190508181036000830152614c7381614c37565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614cd6602f83613a9b565b9150614ce182614c7a565b604082019050919050565b60006020820190508181036000830152614d0581614cc9565b9050919050565b600081905092915050565b6000614d2282613a90565b614d2c8185614d0c565b9350614d3c818560208601613aac565b80840191505092915050565b6000614d548285614d17565b9150614d608284614d17565b91508190509392505050565b7f7265736572766520697320656d70747900000000000000000000000000000000600082015250565b6000614da2601083613a9b565b9150614dad82614d6c565b602082019050919050565b60006020820190508181036000830152614dd181614d95565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e34602683613a9b565b9150614e3f82614dd8565b604082019050919050565b60006020820190508181036000830152614e6381614e27565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614ec6603283613a9b565b9150614ed182614e6a565b604082019050919050565b60006020820190508181036000830152614ef581614eb9565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614f58602683613a9b565b9150614f6382614efc565b604082019050919050565b60006020820190508181036000830152614f8781614f4b565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614fea602583613a9b565b9150614ff582614f8e565b604082019050919050565b6000602082019050818103600083015261501981614fdd565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b600061507c602a83613a9b565b915061508782615020565b604082019050919050565b600060208201905081810360008301526150ab8161506f565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b600061510e602f83613a9b565b9150615119826150b2565b604082019050919050565b6000602082019050818103600083015261513d81615101565b9050919050565b600081905092915050565b50565b600061515f600083615144565b915061516a8261514f565b600082019050919050565b600061518082615152565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006151c0601083613a9b565b91506151cb8261518a565b602082019050919050565b600060208201905081810360008301526151ef816151b3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061521d826151f6565b6152278185615201565b9350615237818560208601613aac565b61524081613adf565b840191505092915050565b60006080820190506152606000830187613be0565b61526d6020830186613be0565b61527a6040830185613c76565b818103606083015261528c8184615212565b905095945050505050565b6000815190506152a6816139a8565b92915050565b6000602082840312156152c2576152c1613972565b5b60006152d084828501615297565b91505092915050565b60006152e482613b4b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615317576153166145a8565b5b600182019050919050565b600061532d82613b4b565b915061533883613b4b565b9250826153485761534761460b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006153de602183613a9b565b91506153e982615382565b604082019050919050565b6000602082019050818103600083015261540d816153d1565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b6000615470602883613a9b565b915061547b82615414565b604082019050919050565b6000602082019050818103600083015261549f81615463565b905091905056fea26469706673582212202310a6e6cff65c0a761aa5312905c803277f679d232c009fe0d08b3cfcc2a6a164736f6c6343000809003300000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000006225f3c000000000000000000000000054155b0533a5a669557517c64c4a8c22fe3b48a0
Deployed Bytecode
0x6080604052600436106102675760003560e01c806370a0823111610144578063ae9aea6d116100b6578063ccd3e2cf1161007a578063ccd3e2cf146108f4578063e985e9c51461091f578063f01d97751461095c578063f2fde38b14610973578063fe60d12c1461099c578063ffe630b5146109c757610267565b8063ae9aea6d1461080f578063b14cfbfe1461083a578063b88d4fde14610865578063c87b56dd1461088e578063cc47a40b146108cb57610267565b8063975bbf9511610108578063975bbf951461072d57806398d5fdca146107585780639d5aef3014610783578063a0712d681461079f578063a1d5adc3146107bb578063a22cb465146107e657610267565b806370a082311461066c578063715018a6146106a9578063853828b6146106c05780638da5cb5b146106d757806395d89b411461070257610267565b80632f745c59116101dd5780634673b272116101a15780634673b2721461054a5780634f6ccce71461057557806355f804b3146105b25780635c975abb146105db5780635ff7d9d5146106065780636352211e1461062f57610267565b80632f745c59146104635780633ad10ef6146104a05780633e0e828b146104cb57806342842e0e146104f657806345c0f5331461051f57610267565b80630aaea7ac1161022f5780630aaea7ac146103635780630f7309e81461038e57806318160ddd146103b957806323b872dd146103e457806326e936e01461040d5780632a4255521461043857610267565b806301ffc9a71461026c57806302329a29146102a957806306fdde03146102d2578063081812fc146102fd578063095ea7b31461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e91906139d4565b6109f0565b6040516102a09190613a1c565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb9190613a63565b610b3a565b005b3480156102de57600080fd5b506102e7610bd3565b6040516102f49190613b29565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f9190613b81565b610c65565b6040516103319190613bef565b60405180910390f35b34801561034657600080fd5b50610361600480360381019061035c9190613c36565b610cea565b005b34801561036f57600080fd5b50610378610e03565b6040516103859190613c85565b60405180910390f35b34801561039a57600080fd5b506103a3610e27565b6040516103b09190613b29565b60405180910390f35b3480156103c557600080fd5b506103ce610eb5565b6040516103db9190613c85565b60405180910390f35b3480156103f057600080fd5b5061040b60048036038101906104069190613ca0565b610ebf565b005b34801561041957600080fd5b50610422610ecf565b60405161042f9190613bef565b60405180910390f35b34801561044457600080fd5b5061044d610ee7565b60405161045a9190613c85565b60405180910390f35b34801561046f57600080fd5b5061048a60048036038101906104859190613c36565b610eec565b6040516104979190613c85565b60405180910390f35b3480156104ac57600080fd5b506104b56110de565b6040516104c29190613bef565b60405180910390f35b3480156104d757600080fd5b506104e06110f6565b6040516104ed9190613c85565b60405180910390f35b34801561050257600080fd5b5061051d60048036038101906105189190613ca0565b6110fc565b005b34801561052b57600080fd5b5061053461111c565b6040516105419190613c85565b60405180910390f35b34801561055657600080fd5b5061055f611140565b60405161056c9190613bef565b60405180910390f35b34801561058157600080fd5b5061059c60048036038101906105979190613b81565b611158565b6040516105a99190613c85565b60405180910390f35b3480156105be57600080fd5b506105d960048036038101906105d49190613d58565b6111ab565b005b3480156105e757600080fd5b506105f061123d565b6040516105fd9190613a1c565b60405180910390f35b34801561061257600080fd5b5061062d60048036038101906106289190613b81565b611250565b005b34801561063b57600080fd5b5061065660048036038101906106519190613b81565b6112d6565b6040516106639190613bef565b60405180910390f35b34801561067857600080fd5b50610693600480360381019061068e9190613da5565b6112ec565b6040516106a09190613c85565b60405180910390f35b3480156106b557600080fd5b506106be6113d5565b005b3480156106cc57600080fd5b506106d561145d565b005b3480156106e357600080fd5b506106ec6116fe565b6040516106f99190613bef565b60405180910390f35b34801561070e57600080fd5b50610717611727565b6040516107249190613b29565b60405180910390f35b34801561073957600080fd5b506107426117b9565b60405161074f9190613bef565b60405180910390f35b34801561076457600080fd5b5061076d6117d1565b60405161077a9190613c85565b60405180910390f35b61079d60048036038101906107989190613b81565b6118d2565b005b6107b960048036038101906107b49190613b81565b611c88565b005b3480156107c757600080fd5b506107d0611f35565b6040516107dd9190613c85565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190613dd2565b611f3b565b005b34801561081b57600080fd5b506108246120bc565b6040516108319190613c85565b60405180910390f35b34801561084657600080fd5b5061084f6120c1565b60405161085c9190613c85565b60405180910390f35b34801561087157600080fd5b5061088c60048036038101906108879190613f42565b6120e5565b005b34801561089a57600080fd5b506108b560048036038101906108b09190613b81565b612141565b6040516108c29190613b29565b60405180910390f35b3480156108d757600080fd5b506108f260048036038101906108ed9190613c36565b6121e9565b005b34801561090057600080fd5b506109096123ab565b6040516109169190613bef565b60405180910390f35b34801561092b57600080fd5b5061094660048036038101906109419190613fc5565b6123c3565b6040516109539190613a1c565b60405180910390f35b34801561096857600080fd5b50610971612457565b005b34801561097f57600080fd5b5061099a60048036038101906109959190613da5565b612590565b005b3480156109a857600080fd5b506109b1612688565b6040516109be9190613c85565b60405180910390f35b3480156109d357600080fd5b506109ee60048036038101906109e99190613d58565b61268e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610abb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b2357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b335750610b3282612720565b5b9050919050565b610b4261278a565b73ffffffffffffffffffffffffffffffffffffffff16610b606116fe565b73ffffffffffffffffffffffffffffffffffffffff1614610bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bad90614051565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b606060028054610be2906140a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0e906140a0565b8015610c5b5780601f10610c3057610100808354040283529160200191610c5b565b820191906000526020600020905b815481529060010190602001808311610c3e57829003601f168201915b5050505050905090565b6000610c7082612792565b610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690614144565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cf5826112d6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d906141d6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d8561278a565b73ffffffffffffffffffffffffffffffffffffffff161480610db45750610db381610dae61278a565b6123c3565b5b610df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dea90614268565b60405180910390fd5b610dfe8383836127a0565b505050565b7f000000000000000000000000000000000000000000000000000000000000008081565b60098054610e34906140a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610e60906140a0565b8015610ead5780601f10610e8257610100808354040283529160200191610ead565b820191906000526020600020905b815481529060010190602001808311610e9057829003601f168201915b505050505081565b6000600154905090565b610eca838383612852565b505050565b736db8bd745acebd5d4b861af4c549585af95b856081565b600881565b6000610ef7836112ec565b8210610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f906142fa565b60405180910390fd5b6000610f42610eb5565b905060008060005b8381101561109c576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461103c57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561108e57868414156110855781955050505050506110d8565b83806001019450505b508080600101915050610f4a565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cf9061438c565b60405180910390fd5b92915050565b73b499bbd20c9ee5bfb3a7cdd30c55f8c8bf774e8f81565b600a5481565b611117838383604051806020016040528060008152506120e5565b505050565b7f000000000000000000000000000000000000000000000000000000000000200081565b739f07938d05fe5e942cab73e58e3162eb3530bb8b81565b6000611162610eb5565b82106111a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119a9061441e565b60405180910390fd5b819050919050565b6111b361278a565b73ffffffffffffffffffffffffffffffffffffffff166111d16116fe565b73ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e90614051565b60405180910390fd5b8181600f919061123892919061388b565b505050565b600e60009054906101000a900460ff1681565b61125861278a565b73ffffffffffffffffffffffffffffffffffffffff166112766116fe565b73ffffffffffffffffffffffffffffffffffffffff16146112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c390614051565b60405180910390fd5b80600a8190555050565b60006112e182612d92565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561135d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611354906144b0565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6113dd61278a565b73ffffffffffffffffffffffffffffffffffffffff166113fb6116fe565b73ffffffffffffffffffffffffffffffffffffffff1614611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144890614051565b60405180910390fd5b61145b6000612f2c565b565b61146561278a565b73ffffffffffffffffffffffffffffffffffffffff166114836116fe565b73ffffffffffffffffffffffffffffffffffffffff16146114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d090614051565b60405180910390fd5b6002600854141561151f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115169061451c565b60405180910390fd5b600260088190555060004790506000811161156f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156690614588565b60405180910390fd5b61159f3361159a606461158c605286612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b6115e373b499bbd20c9ee5bfb3a7cdd30c55f8c8bf774e8f6115de60646115d0600886612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b611627739f07938d05fe5e942cab73e58e3162eb3530bb8b6116226064611614600486612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b61166b736db8bd745acebd5d4b861af4c549585af95b85606116666064611658600486612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b6116af73d74787f4d24c0dd8a88cf7d19e5fd1fb093b00746116aa606461169c600186612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b6116f3734a0df69db95751ca6f879eb9da2635f33e93a50d6116ee60646116e0600186612ff090919063ffffffff16565b61300690919063ffffffff16565b61301c565b506001600881905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611736906140a0565b80601f0160208091040260200160405190810160405280929190818152602001828054611762906140a0565b80156117af5780601f10611784576101008083540402835291602001916117af565b820191906000526020600020905b81548152906001019060200180831161179257829003601f168201915b5050505050905090565b73d74787f4d24c0dd8a88cf7d19e5fd1fb093b007481565b6000806117dc6130cd565b9050807f000000000000000000000000000000000000000000000000000000006225f3c01061181057600d549150506118cf565b6000600c54141561187657600d54620151807f000000000000000000000000000000000000000000000000000000006225f3c08361184e91906145d7565b611858919061463a565b6001611864919061466b565b61186e91906146c1565b9150506118cf565b600d54620151807f000000000000000000000000000000000000000000000000000000006225f3c0600c546118ab91906145d7565b6118b5919061463a565b60016118c1919061466b565b6118cb91906146c1565b9150505b90565b6000633b9aca003a5a6118e591906146c1565b6118ef91906146c1565b905060006118fb6117d1565b905060006119076130cd565b90506000600b5485611917610eb5565b611921919061466b565b61192b91906145d7565b90506000858461193b91906146c1565b9050600e60009054906101000a900460ff161561198d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198490614767565b60405180910390fd5b827f000000000000000000000000000000000000000000000000000000006225f3c011156119f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e7906147d3565b60405180910390fd5b6000600c5414611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c9061483f565b60405180910390fd5b6008861115611a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a70906148ab565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000807f0000000000000000000000000000000000000000000000000000000000002000611ac591906145d7565b821115611b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afe90614917565b60405180910390fd5b6010620151807f000000000000000000000000000000000000000000000000000000006225f3c085611b3991906145d7565b611b43919061463a565b6001611b4f919061466b565b611b5991906146c1565b821115611b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9290614983565b60405180910390fd5b80341015611bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd5906149ef565b60405180910390fd5b611be833876130d5565b600e60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933876040518363ffffffff1660e01b8152600401611c45929190614a0f565b600060405180830381600087803b158015611c5f57600080fd5b505af1158015611c73573d6000803e3d6000fd5b50505050611c80816130f3565b505050505050565b6000633b9aca003a5a611c9b91906146c1565b611ca591906146c1565b90506000611cb16117d1565b905060008382611cc191906146c1565b9050600e60009054906101000a900460ff1615611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a90614a84565b60405180910390fd5b6000600c541415611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5090614af0565b60405180910390fd5b6005841115611d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9490614b5c565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000807f0000000000000000000000000000000000000000000000000000000000002000611de991906145d7565b600b5485611df5610eb5565b611dff919061466b565b611e0991906145d7565b1115611e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4190614917565b60405180910390fd5b80341015611e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e84906149ef565b60405180910390fd5b611e9733856130d5565b600e60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933856040518363ffffffff1660e01b8152600401611ef4929190614a0f565b600060405180830381600087803b158015611f0e57600080fd5b505af1158015611f22573d6000803e3d6000fd5b50505050611f2f816130f3565b50505050565b600c5481565b611f4361278a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa890614bc8565b60405180910390fd5b8060076000611fbe61278a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661206b61278a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120b09190613a1c565b60405180910390a35050565b600581565b7f000000000000000000000000000000000000000000000000000000006225f3c081565b6120f0848484612852565b6120fc84848484613151565b61213b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213290614c5a565b60405180910390fd5b50505050565b606061214c82612792565b61218b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218290614cec565b60405180910390fd5b60006121956132e8565b90506000815114156121b657604051806020016040528060008152506121e1565b806121c08461337a565b6040516020016121d1929190614d48565b6040516020818303038152906040525b915050919050565b6121f161278a565b73ffffffffffffffffffffffffffffffffffffffff1661220f6116fe565b73ffffffffffffffffffffffffffffffffffffffff1614612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c90614051565b60405180910390fd5b6000633b9aca003a5a61227891906146c1565b61228291906146c1565b9050600b547f00000000000000000000000000000000000000000000000000000000000000806122b291906145d7565b8211156122f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122eb90614db8565b60405180910390fd5b81600b6000828254612306919061466b565b9250508190555061231783836130d5565b600e60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1984836040518363ffffffff1660e01b8152600401612374929190614a0f565b600060405180830381600087803b15801561238e57600080fd5b505af11580156123a2573d6000803e3d6000fd5b50505050505050565b734a0df69db95751ca6f879eb9da2635f33e93a50d81565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61245f61278a565b73ffffffffffffffffffffffffffffffffffffffff1661247d6116fe565b73ffffffffffffffffffffffffffffffffffffffff16146124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca90614051565b60405180910390fd5b60006124dd6130cd565b9050807f000000000000000000000000000000000000000000000000000000006225f3c010612541576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612538906147d3565b60405180910390fd5b6000600c5414612586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257d9061483f565b60405180910390fd5b80600c8190555050565b61259861278a565b73ffffffffffffffffffffffffffffffffffffffff166125b66116fe565b73ffffffffffffffffffffffffffffffffffffffff161461260c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260390614051565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561267c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267390614e4a565b60405180910390fd5b61268581612f2c565b50565b600b5481565b61269661278a565b73ffffffffffffffffffffffffffffffffffffffff166126b46116fe565b73ffffffffffffffffffffffffffffffffffffffff161461270a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270190614051565b60405180910390fd5b81816009919061271b92919061388b565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600060015482109050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061285d82612d92565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661288461278a565b73ffffffffffffffffffffffffffffffffffffffff1614806128e057506128a961278a565b73ffffffffffffffffffffffffffffffffffffffff166128c884610c65565b73ffffffffffffffffffffffffffffffffffffffff16145b806128fc57506128fb82600001516128f661278a565b6123c3565b5b90508061293e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293590614edc565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146129b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a790614f6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1790615000565b60405180910390fd5b612a2d85858560016134db565b612a3d60008484600001516127a0565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d2257612c8181612792565b15612d215782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d8b85858560016134e1565b5050505050565b612d9a613911565b612da382612792565b612de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd990615092565b60405180910390fd5b60008290505b60008110612eeb576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612edc578092505050612f27565b50808060019003915050612de8565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1e90615124565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612ffe91906146c1565b905092915050565b60008183613014919061463a565b905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161304290615175565b60006040518083038185875af1925050503d806000811461307f576040519150601f19603f3d011682016040523d82523d6000602084013e613084565b606091505b50509050806130c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130bf906151d6565b60405180910390fd5b505050565b600042905090565b6130ef8282604051806020016040528060008152506134e7565b5050565b8034111561314e573373ffffffffffffffffffffffffffffffffffffffff166108fc823461312191906145d7565b9081150290604051600060405180830381858888f1935050505015801561314c573d6000803e3d6000fd5b505b50565b60006131728473ffffffffffffffffffffffffffffffffffffffff166134f9565b156132db578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261319b61278a565b8786866040518563ffffffff1660e01b81526004016131bd949392919061524b565b602060405180830381600087803b1580156131d757600080fd5b505af192505050801561320857506040513d601f19601f8201168201806040525081019061320591906152ac565b60015b61328b573d8060008114613238576040519150601f19603f3d011682016040523d82523d6000602084013e61323d565b606091505b50600081511415613283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327a90614c5a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132e0565b600190505b949350505050565b6060600f80546132f7906140a0565b80601f0160208091040260200160405190810160405280929190818152602001828054613323906140a0565b80156133705780601f1061334557610100808354040283529160200191613370565b820191906000526020600020905b81548152906001019060200180831161335357829003601f168201915b5050505050905090565b606060008214156133c2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134d6565b600082905060005b600082146133f45780806133dd906152d9565b915050600a826133ed919061463a565b91506133ca565b60008167ffffffffffffffff8111156134105761340f613e17565b5b6040519080825280601f01601f1916602001820160405280156134425781602001600182028036833780820191505090505b5090505b600085146134cf5760018261345b91906145d7565b9150600a8561346a9190615322565b6030613476919061466b565b60f81b81838151811061348c5761348b615353565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134c8919061463a565b9450613446565b8093505050505b919050565b50505050565b50505050565b6134f4838383600161350c565b505050565b600080823b905060008111915050919050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357a906153f4565b60405180910390fd5b60008414156135c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135be90615486565b60405180910390fd5b6135d460008683876134db565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561386e57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315613859576138196000888488613151565b613858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384f90614c5a565b60405180910390fd5b5b818060010192505080806001019150506137a2565b50806001819055505061388460008683876134e1565b5050505050565b828054613897906140a0565b90600052602060002090601f0160209004810192826138b95760008555613900565b82601f106138d257803560ff1916838001178555613900565b82800160010185558215613900579182015b828111156138ff5782358255916020019190600101906138e4565b5b50905061390d919061394b565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561396457600081600090555060010161394c565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6139b18161397c565b81146139bc57600080fd5b50565b6000813590506139ce816139a8565b92915050565b6000602082840312156139ea576139e9613972565b5b60006139f8848285016139bf565b91505092915050565b60008115159050919050565b613a1681613a01565b82525050565b6000602082019050613a316000830184613a0d565b92915050565b613a4081613a01565b8114613a4b57600080fd5b50565b600081359050613a5d81613a37565b92915050565b600060208284031215613a7957613a78613972565b5b6000613a8784828501613a4e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613aca578082015181840152602081019050613aaf565b83811115613ad9576000848401525b50505050565b6000601f19601f8301169050919050565b6000613afb82613a90565b613b058185613a9b565b9350613b15818560208601613aac565b613b1e81613adf565b840191505092915050565b60006020820190508181036000830152613b438184613af0565b905092915050565b6000819050919050565b613b5e81613b4b565b8114613b6957600080fd5b50565b600081359050613b7b81613b55565b92915050565b600060208284031215613b9757613b96613972565b5b6000613ba584828501613b6c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613bd982613bae565b9050919050565b613be981613bce565b82525050565b6000602082019050613c046000830184613be0565b92915050565b613c1381613bce565b8114613c1e57600080fd5b50565b600081359050613c3081613c0a565b92915050565b60008060408385031215613c4d57613c4c613972565b5b6000613c5b85828601613c21565b9250506020613c6c85828601613b6c565b9150509250929050565b613c7f81613b4b565b82525050565b6000602082019050613c9a6000830184613c76565b92915050565b600080600060608486031215613cb957613cb8613972565b5b6000613cc786828701613c21565b9350506020613cd886828701613c21565b9250506040613ce986828701613b6c565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613d1857613d17613cf3565b5b8235905067ffffffffffffffff811115613d3557613d34613cf8565b5b602083019150836001820283011115613d5157613d50613cfd565b5b9250929050565b60008060208385031215613d6f57613d6e613972565b5b600083013567ffffffffffffffff811115613d8d57613d8c613977565b5b613d9985828601613d02565b92509250509250929050565b600060208284031215613dbb57613dba613972565b5b6000613dc984828501613c21565b91505092915050565b60008060408385031215613de957613de8613972565b5b6000613df785828601613c21565b9250506020613e0885828601613a4e565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e4f82613adf565b810181811067ffffffffffffffff82111715613e6e57613e6d613e17565b5b80604052505050565b6000613e81613968565b9050613e8d8282613e46565b919050565b600067ffffffffffffffff821115613ead57613eac613e17565b5b613eb682613adf565b9050602081019050919050565b82818337600083830152505050565b6000613ee5613ee084613e92565b613e77565b905082815260208101848484011115613f0157613f00613e12565b5b613f0c848285613ec3565b509392505050565b600082601f830112613f2957613f28613cf3565b5b8135613f39848260208601613ed2565b91505092915050565b60008060008060808587031215613f5c57613f5b613972565b5b6000613f6a87828801613c21565b9450506020613f7b87828801613c21565b9350506040613f8c87828801613b6c565b925050606085013567ffffffffffffffff811115613fad57613fac613977565b5b613fb987828801613f14565b91505092959194509250565b60008060408385031215613fdc57613fdb613972565b5b6000613fea85828601613c21565b9250506020613ffb85828601613c21565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061403b602083613a9b565b915061404682614005565b602082019050919050565b6000602082019050818103600083015261406a8161402e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140b857607f821691505b602082108114156140cc576140cb614071565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b600061412e602d83613a9b565b9150614139826140d2565b604082019050919050565b6000602082019050818103600083015261415d81614121565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b60006141c0602283613a9b565b91506141cb82614164565b604082019050919050565b600060208201905081810360008301526141ef816141b3565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000614252603983613a9b565b915061425d826141f6565b604082019050919050565b6000602082019050818103600083015261428181614245565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006142e4602283613a9b565b91506142ef82614288565b604082019050919050565b60006020820190508181036000830152614313816142d7565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614376602e83613a9b565b91506143818261431a565b604082019050919050565b600060208201905081810360008301526143a581614369565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000614408602383613a9b565b9150614413826143ac565b604082019050919050565b60006020820190508181036000830152614437816143fb565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061449a602b83613a9b565b91506144a58261443e565b604082019050919050565b600060208201905081810360008301526144c98161448d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614506601f83613a9b565b9150614511826144d0565b602082019050919050565b60006020820190508181036000830152614535816144f9565b9050919050565b7f54686572652773206e6f7468696e6720746f2077697468647261770000000000600082015250565b6000614572601b83613a9b565b915061457d8261453c565b602082019050919050565b600060208201905081810360008301526145a181614565565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145e282613b4b565b91506145ed83613b4b565b925082821015614600576145ff6145a8565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061464582613b4b565b915061465083613b4b565b9250826146605761465f61460b565b5b828204905092915050565b600061467682613b4b565b915061468183613b4b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146b6576146b56145a8565b5b828201905092915050565b60006146cc82613b4b565b91506146d783613b4b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147105761470f6145a8565b5b828202905092915050565b7f7072656d696e7420706175736564000000000000000000000000000000000000600082015250565b6000614751600e83613a9b565b915061475c8261471b565b602082019050919050565b6000602082019050818103600083015261478081614744565b9050919050565b7f7072656d696e7420686173206e6f7420626567756e2079657400000000000000600082015250565b60006147bd601983613a9b565b91506147c882614787565b602082019050919050565b600060208201905081810360008301526147ec816147b0565b9050919050565b7f7072656d696e7420697320616c7265616479206f766572000000000000000000600082015250565b6000614829601783613a9b565b9150614834826147f3565b602082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f7175616e746974792065786365656473207072656d696e74206c696d69740000600082015250565b6000614895601e83613a9b565b91506148a08261485f565b602082019050919050565b600060208201905081810360008301526148c481614888565b9050919050565b7f7175616e74697479206578636565647320636f6c6c656374696f6e2073697a65600082015250565b6000614901602083613a9b565b915061490c826148cb565b602082019050919050565b60006020820190508181036000830152614930816148f4565b9050919050565b7f7175616e74697479206578636565647320617661696c6162696c697479000000600082015250565b600061496d601d83613a9b565b915061497882614937565b602082019050919050565b6000602082019050818103600083015261499c81614960565b9050919050565b7f6e65656420746f2073656e64206d6f7265204554480000000000000000000000600082015250565b60006149d9601583613a9b565b91506149e4826149a3565b602082019050919050565b60006020820190508181036000830152614a08816149cc565b9050919050565b6000604082019050614a246000830185613be0565b614a316020830184613c76565b9392505050565b7f6d696e7420706175736564000000000000000000000000000000000000000000600082015250565b6000614a6e600b83613a9b565b9150614a7982614a38565b602082019050919050565b60006020820190508181036000830152614a9d81614a61565b9050919050565b7f7072656d696e7420686173206e6f7420656e6465642079657400000000000000600082015250565b6000614ada601983613a9b565b9150614ae582614aa4565b602082019050919050565b60006020820190508181036000830152614b0981614acd565b9050919050565b7f7175616e746974792065786365656473206d696e74206c696d69740000000000600082015250565b6000614b46601b83613a9b565b9150614b5182614b10565b602082019050919050565b60006020820190508181036000830152614b7581614b39565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000614bb2601a83613a9b565b9150614bbd82614b7c565b602082019050919050565b60006020820190508181036000830152614be181614ba5565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000614c44603383613a9b565b9150614c4f82614be8565b604082019050919050565b60006020820190508181036000830152614c7381614c37565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614cd6602f83613a9b565b9150614ce182614c7a565b604082019050919050565b60006020820190508181036000830152614d0581614cc9565b9050919050565b600081905092915050565b6000614d2282613a90565b614d2c8185614d0c565b9350614d3c818560208601613aac565b80840191505092915050565b6000614d548285614d17565b9150614d608284614d17565b91508190509392505050565b7f7265736572766520697320656d70747900000000000000000000000000000000600082015250565b6000614da2601083613a9b565b9150614dad82614d6c565b602082019050919050565b60006020820190508181036000830152614dd181614d95565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e34602683613a9b565b9150614e3f82614dd8565b604082019050919050565b60006020820190508181036000830152614e6381614e27565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614ec6603283613a9b565b9150614ed182614e6a565b604082019050919050565b60006020820190508181036000830152614ef581614eb9565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614f58602683613a9b565b9150614f6382614efc565b604082019050919050565b60006020820190508181036000830152614f8781614f4b565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614fea602583613a9b565b9150614ff582614f8e565b604082019050919050565b6000602082019050818103600083015261501981614fdd565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b600061507c602a83613a9b565b915061508782615020565b604082019050919050565b600060208201905081810360008301526150ab8161506f565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b600061510e602f83613a9b565b9150615119826150b2565b604082019050919050565b6000602082019050818103600083015261513d81615101565b9050919050565b600081905092915050565b50565b600061515f600083615144565b915061516a8261514f565b600082019050919050565b600061518082615152565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006151c0601083613a9b565b91506151cb8261518a565b602082019050919050565b600060208201905081810360008301526151ef816151b3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061521d826151f6565b6152278185615201565b9350615237818560208601613aac565b61524081613adf565b840191505092915050565b60006080820190506152606000830187613be0565b61526d6020830186613be0565b61527a6040830185613c76565b818103606083015261528c8184615212565b905095945050505050565b6000815190506152a6816139a8565b92915050565b6000602082840312156152c2576152c1613972565b5b60006152d084828501615297565b91505092915050565b60006152e482613b4b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615317576153166145a8565b5b600182019050919050565b600061532d82613b4b565b915061533883613b4b565b9250826153485761534761460b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006153de602183613a9b565b91506153e982615382565b604082019050919050565b6000602082019050818103600083015261540d816153d1565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b6000615470602883613a9b565b915061547b82615414565b604082019050919050565b6000602082019050818103600083015261549f81615463565b905091905056fea26469706673582212202310a6e6cff65c0a761aa5312905c803277f679d232c009fe0d08b3cfcc2a6a164736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000006225f3c000000000000000000000000054155b0533a5a669557517c64c4a8c22fe3b48a0
-----Decoded View---------------
Arg [0] : _collectionSize (uint256): 8192
Arg [1] : _reserveSize (uint256): 128
Arg [2] : _premintStartTime (uint256): 1646654400
Arg [3] : _boo (address): 0x54155b0533a5A669557517C64C4A8C22FE3B48A0
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000002000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000006225f3c0
Arg [3] : 00000000000000000000000054155b0533a5a669557517c64c4a8c22fe3b48a0
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.