ERC-721
Overview
Max Total Supply
495 XFACTIONS
Holders
282
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 XFACTIONSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
XFACTIONS
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity =0.8.4; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeCast.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; contract XFACTIONS is ERC721Enumerable, Ownable, Pausable { using SafeCast for uint256; event TokenPriceChanged(uint256 newTokenPrice); event PresaleConfigChanged(uint256 preSaleFee, uint32 startTime, uint32 endTime, uint32 maxCount); event SaleConfigChanged(uint32 startTime, uint32 maxCount); event TreasuryChanged(address newTreasury); event BaseURIChanged(string newBaseURI); event PresaleMint(address minter, uint256 count); event SaleMint(address minter, uint256 count); // Both structs fit in a single storage slot for gas optimization struct PresaleConfig { uint256 preSaleFee; uint32 startTime; uint32 endTime; uint32 maxCount; } struct SaleConfig { uint32 startTime; uint32 maxCount; } uint256 public immutable maxSupply; uint256 public immutable reserveCount; uint256 public tokensReserved; uint256 public nextTokenId; address payable public treasury; uint256 public tokenPrice; PresaleConfig public presaleConfig; mapping(address => uint256) public presaleBoughtCounts; mapping(address => uint256) public saleBoughtCounts; SaleConfig public saleConfig; string public baseURI; constructor(uint256 _maxSupply, uint256 _reserveCount) ERC721("XFACTIONS", "XFACTIONS") { require(_reserveCount <= _maxSupply, "XFACTIONS: reserve count out of range"); maxSupply = _maxSupply; reserveCount = _reserveCount; nextTokenId = 1; // We start from token 1 } function reserveTokens(address recipient, uint256 count) external onlyOwner { require(recipient != address(0), "XFACTIONS: zero address"); // Gas optimization uint256 _nextTokenId = nextTokenId; require(count > 0, "XFACTIONS: invalid count"); require(_nextTokenId + count <= maxSupply, "XFACTIONS: max supply exceeded"); require(tokensReserved + count <= reserveCount, "XFACTIONS: max reserve count exceeded"); tokensReserved += count; for (uint256 ind = 0; ind < count; ind++) { _safeMint(recipient, _nextTokenId + ind); } nextTokenId += count; } function setTokenPrice(uint256 _tokenPrice) external onlyOwner { tokenPrice = _tokenPrice; emit TokenPriceChanged(_tokenPrice); } function setUpPresale( uint256 preSaleFee, uint256 startTime, uint256 endTime, uint256 maxCount ) external onlyOwner { uint32 _startTime = startTime.toUint32(); uint32 _endTime = endTime.toUint32(); uint32 _maxCount = maxCount.toUint32(); // Check params require(_startTime > 0 && _endTime > _startTime, "XFACTIONS: invalid time range"); require(_maxCount > 0, "XFACTIONS: maxCount is zero"); presaleConfig = PresaleConfig({preSaleFee: preSaleFee, startTime: _startTime, endTime: _endTime, maxCount: _maxCount}); emit PresaleConfigChanged(preSaleFee, _startTime, _endTime, _maxCount); } function setUpSale( uint256 startTime, uint256 maxCount ) external onlyOwner { uint32 _startTime = startTime.toUint32(); uint32 _maxCount = maxCount.toUint32(); require(_maxCount > 0, "XFACTIONS: zero amount"); require(_startTime > 0 , "XFACTIONS: invalid time range"); saleConfig = SaleConfig({ startTime: _startTime, maxCount: _maxCount }); emit SaleConfigChanged(_startTime, _maxCount); } function setTreasury(address payable _treasury) external onlyOwner { treasury = _treasury; emit TreasuryChanged(_treasury); } function setBaseURI(string calldata newbaseURI) external onlyOwner { baseURI = newbaseURI; emit BaseURIChanged(newbaseURI); } function mintPresaleTokens( uint256 count ) external payable whenNotPaused{ // Gas optimization uint256 _nextTokenId = nextTokenId; // Make sure presale has been set up PresaleConfig memory _presaleConfig = presaleConfig; require(treasury != address(0), "XFACTIONS: treasury not set"); require(count > 0, "XFACTIONS: invalid count"); require(block.timestamp >= _presaleConfig.startTime, "XFACTIONS: presale not started"); require(block.timestamp < _presaleConfig.endTime, "XFACTIONS: presale ended"); require(_nextTokenId + count <= maxSupply, "XFACTIONS: max supply exceeded"); require(_presaleConfig.preSaleFee * count == msg.value, "XFACTIONS: incorrect Ether value"); require(presaleBoughtCounts[msg.sender] + count <= _presaleConfig.maxCount, "XFACTIONS: presale max count exceeded"); presaleBoughtCounts[msg.sender] += count; // The contract never holds any Ether. Everything gets redirected to treasury directly. treasury.transfer(msg.value); for (uint256 ind = 0; ind < count; ind++) { _safeMint(msg.sender, _nextTokenId + ind); } nextTokenId += count; emit PresaleMint(msg.sender, count); } function mintTokens(uint256 count) external payable whenNotPaused { // Gas optimization uint256 _nextTokenId = nextTokenId; // Make sure presale has been set up SaleConfig memory _saleConfig = saleConfig; require(_saleConfig.startTime > 0, "XFACTIONS: sale not configured"); require(treasury != address(0), "XFACTIONS: treasury not set"); require(tokenPrice > 0, "XFACTIONS: token price not set"); require(count > 0, "XFACTIONS: invalid count"); require(block.timestamp >= _saleConfig.startTime, "XFACTIONS: sale not started"); require(count + saleBoughtCounts[msg.sender] <= _saleConfig.maxCount, "XFACTIONS: presale max count exceeded"); saleBoughtCounts[msg.sender] += count; require(_nextTokenId + count <= maxSupply, "XFACTIONS: max supply exceeded"); require(tokenPrice * count == msg.value, "XFACTIONS: incorrect Ether value"); // The contract never holds any Ether. Everything gets redirected to treasury directly. treasury.transfer(msg.value); for (uint256 ind = 0; ind < count; ind++) { _safeMint(msg.sender, _nextTokenId + ind); } nextTokenId += count; emit SaleMint(msg.sender, count); } function burn(uint256 tokenId) external { require(_isApprovedOrOwner(msg.sender, tokenId), "XFACTIONS: burn caller is not owner nor approved"); _burn(tokenId); } function _baseURI() internal view override returns (string memory) { return baseURI; } function pauseMinting() external onlyOwner { _pause(); } function unPauseMinting() external onlyOwner { _unpause(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 (utils/math/SafeCast.sol) pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast { /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits */ function toUint224(uint256 value) internal pure returns (uint224) { require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits"); return uint224(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits */ function toUint96(uint256 value) internal pure returns (uint96) { require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits"); return uint96(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits. */ function toUint8(uint256 value) internal pure returns (uint8) { require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128) { require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits"); return int128(value); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64) { require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits"); return int64(value); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32) { require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits"); return int32(value); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16) { require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits"); return int16(value); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits. * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8) { require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits"); return int8(value); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256"); return int256(value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// 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 (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 (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/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 (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/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); }
{ "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":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_reserveCount","type":"uint256"}],"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":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"preSaleFee","type":"uint256"},{"indexed":false,"internalType":"uint32","name":"startTime","type":"uint32"},{"indexed":false,"internalType":"uint32","name":"endTime","type":"uint32"},{"indexed":false,"internalType":"uint32","name":"maxCount","type":"uint32"}],"name":"PresaleConfigChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"PresaleMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"startTime","type":"uint32"},{"indexed":false,"internalType":"uint32","name":"maxCount","type":"uint32"}],"name":"SaleConfigChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"SaleMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newTokenPrice","type":"uint256"}],"name":"TokenPriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintPresaleTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleBoughtCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleConfig","outputs":[{"internalType":"uint256","name":"preSaleFee","type":"uint256"},{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"uint32","name":"endTime","type":"uint32"},{"internalType":"uint32","name":"maxCount","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"saleBoughtCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"uint32","name":"maxCount","type":"uint32"}],"stateMutability":"view","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":"newbaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenPrice","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"preSaleFee","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"maxCount","type":"uint256"}],"name":"setUpPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"maxCount","type":"uint256"}],"name":"setUpSale","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":[],"name":"tokenPrice","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":"tokensReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unPauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040523480156200001157600080fd5b50604051620063783803806200637883398181016040528101906200003791906200030d565b6040518060400160405280600981526020017f5846414354494f4e5300000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f5846414354494f4e5300000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000246565b508060019080519060200190620000d492919062000246565b505050620000f7620000eb6200017860201b60201c565b6200018060201b60201c565b6000600a60146101000a81548160ff0219169083151502179055508181111562000158576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200014f9062000375565b60405180910390fd5b81608081815250508060a081815250506001600c81905550505062000480565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200025490620003b2565b90600052602060002090601f016020900481019282620002785760008555620002c4565b82601f106200029357805160ff1916838001178555620002c4565b82800160010185558215620002c4579182015b82811115620002c3578251825591602001919060010190620002a6565b5b509050620002d39190620002d7565b5090565b5b80821115620002f2576000816000905550600101620002d8565b5090565b600081519050620003078162000466565b92915050565b600080604083850312156200032157600080fd5b60006200033185828601620002f6565b92505060206200034485828601620002f6565b9150509250929050565b60006200035d60258362000397565b91506200036a8262000417565b604082019050919050565b6000602082019050818103600083015262000390816200034e565b9050919050565b600082825260208201905092915050565b6000819050919050565b60006002820490506001821680620003cb57607f821691505b60208210811415620003e257620003e1620003e8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f5846414354494f4e533a207265736572766520636f756e74206f7574206f662060008201527f72616e6765000000000000000000000000000000000000000000000000000000602082015250565b6200047181620003a8565b81146200047d57600080fd5b50565b60805160a051615eb6620004c260003960008181610c5301526115400152600081816114d20152818161189501528181611f4601526122160152615eb66000f3fe6080604052600436106102515760003560e01c8063715018a611610139578063a22cb465116100b6578063e985e9c51161007a578063e985e9c514610899578063ec97ceb1146108d6578063f0f44260146108ff578063f2fde38b14610928578063f81c9ddd14610951578063fd88fa691461097a57610251565b8063a22cb465146107c8578063b88d4fde146107f1578063c87b56dd1461081a578063d5abeb0114610857578063da8fbf2a1461088257610251565b80638da5cb5b116100fd5780638da5cb5b1461070e5780638db8053b1461073957806390aa0b0f1461075557806395d89b411461078157806397304ced146107ac57610251565b8063715018a61461063b578063725c8ee71461065257806375794a3c1461068f57806378cf19e9146106ba5780637ff9b596146106e357610251565b8063433adb05116101d257806361d027b31161019657806361d027b3146105055780636352211e146105305780636a61e5fc1461056d5780636c0360eb146105965780636feade9a146105c157806370a08231146105fe57610251565b8063433adb05146104325780634f6ccce71461045d57806355f804b31461049a5780635c975abb146104c35780635d72f059146104ee57610251565b806318160ddd1161021957806318160ddd1461034f57806323b872dd1461037a5780632f745c59146103a357806342842e0e146103e057806342966c681461040957610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb57806316317c2114610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190614302565b6109a8565b60405161028a9190614b84565b60405180910390f35b34801561029f57600080fd5b506102a8610a22565b6040516102b59190614bc3565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190614399565b610ab4565b6040516102f29190614abe565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906142c6565b610b39565b005b34801561033057600080fd5b50610339610c51565b6040516103469190615085565b60405180910390f35b34801561035b57600080fd5b50610364610c75565b6040516103719190615085565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c91906141c0565b610c82565b005b3480156103af57600080fd5b506103ca60048036038101906103c591906142c6565b610ce2565b6040516103d79190615085565b60405180910390f35b3480156103ec57600080fd5b50610407600480360381019061040291906141c0565b610d87565b005b34801561041557600080fd5b50610430600480360381019061042b9190614399565b610da7565b005b34801561043e57600080fd5b50610447610dfc565b6040516104549190615085565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190614399565b610e02565b6040516104919190615085565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc9190614354565b610e99565b005b3480156104cf57600080fd5b506104d8610f64565b6040516104e59190614b84565b60405180910390f35b3480156104fa57600080fd5b50610503610f7b565b005b34801561051157600080fd5b5061051a611001565b6040516105279190614af4565b60405180910390f35b34801561053c57600080fd5b5061055760048036038101906105529190614399565b611027565b6040516105649190614abe565b60405180910390f35b34801561057957600080fd5b50610594600480360381019061058f9190614399565b6110d9565b005b3480156105a257600080fd5b506105ab611196565b6040516105b89190614bc3565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e39190614132565b611224565b6040516105f59190615085565b60405180910390f35b34801561060a57600080fd5b5061062560048036038101906106209190614132565b61123c565b6040516106329190615085565b60405180910390f35b34801561064757600080fd5b506106506112f4565b005b34801561065e57600080fd5b5061067960048036038101906106749190614132565b61137c565b6040516106869190615085565b60405180910390f35b34801561069b57600080fd5b506106a4611394565b6040516106b19190615085565b60405180910390f35b3480156106c657600080fd5b506106e160048036038101906106dc91906142c6565b61139a565b005b3480156106ef57600080fd5b506106f8611619565b6040516107059190615085565b60405180910390f35b34801561071a57600080fd5b5061072361161f565b6040516107309190614abe565b60405180910390f35b610753600480360381019061074e9190614399565b611649565b005b34801561076157600080fd5b5061076a611b33565b6040516107789291906150e5565b60405180910390f35b34801561078d57600080fd5b50610796611b65565b6040516107a39190614bc3565b60405180910390f35b6107c660048036038101906107c19190614399565b611bf7565b005b3480156107d457600080fd5b506107ef60048036038101906107ea919061428a565b6120f5565b005b3480156107fd57600080fd5b506108186004803603810190610813919061420f565b61210b565b005b34801561082657600080fd5b50610841600480360381019061083c9190614399565b61216d565b60405161084e9190614bc3565b60405180910390f35b34801561086357600080fd5b5061086c612214565b6040516108799190615085565b60405180910390f35b34801561088e57600080fd5b50610897612238565b005b3480156108a557600080fd5b506108c060048036038101906108bb9190614184565b6122be565b6040516108cd9190614b84565b60405180910390f35b3480156108e257600080fd5b506108fd60048036038101906108f891906143c2565b612352565b005b34801561090b57600080fd5b506109266004803603810190610921919061415b565b61252d565b005b34801561093457600080fd5b5061094f600480360381019061094a9190614132565b612624565b005b34801561095d57600080fd5b50610978600480360381019061097391906143fe565b61271c565b005b34801561098657600080fd5b5061098f612965565b60405161099f94939291906150a0565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a1b5750610a1a826129b3565b5b9050919050565b606060008054610a31906153ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5d906153ca565b8015610aaa5780601f10610a7f57610100808354040283529160200191610aaa565b820191906000526020600020905b815481529060010190602001808311610a8d57829003601f168201915b5050505050905090565b6000610abf82612a95565b610afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af590614e45565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b4482611027565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bac90614f25565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bd4612b01565b73ffffffffffffffffffffffffffffffffffffffff161480610c035750610c0281610bfd612b01565b6122be565b5b610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3990614dc5565b60405180910390fd5b610c4c8383612b09565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600880549050905090565b610c93610c8d612b01565b82612bc2565b610cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc990614f65565b60405180910390fd5b610cdd838383612ca0565b505050565b6000610ced8361123c565b8210610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590614c45565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610da28383836040518060200160405280600081525061210b565b505050565b610db13382612bc2565b610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de790615065565b60405180910390fd5b610df981612efc565b50565b600b5481565b6000610e0c610c75565b8210610e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4490614fa5565b60405180910390fd5b60088281548110610e87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610ea1612b01565b73ffffffffffffffffffffffffffffffffffffffff16610ebf61161f565b73ffffffffffffffffffffffffffffffffffffffff1614610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c90614e65565b60405180910390fd5b818160149190610f26929190613f5f565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf68282604051610f58929190614b9f565b60405180910390a15050565b6000600a60149054906101000a900460ff16905090565b610f83612b01565b73ffffffffffffffffffffffffffffffffffffffff16610fa161161f565b73ffffffffffffffffffffffffffffffffffffffff1614610ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fee90614e65565b60405180910390fd5b610fff61300d565b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c790614e05565b60405180910390fd5b80915050919050565b6110e1612b01565b73ffffffffffffffffffffffffffffffffffffffff166110ff61161f565b73ffffffffffffffffffffffffffffffffffffffff1614611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c90614e65565b60405180910390fd5b80600e819055507fac21bacd333b316c6640fca5086322638b0a7aa4367179afd5dfcbe0a5427bc78160405161118b9190615085565b60405180910390a150565b601480546111a3906153ca565b80601f01602080910402602001604051908101604052809291908181526020018280546111cf906153ca565b801561121c5780601f106111f15761010080835404028352916020019161121c565b820191906000526020600020905b8154815290600101906020018083116111ff57829003601f168201915b505050505081565b60126020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a490614de5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112fc612b01565b73ffffffffffffffffffffffffffffffffffffffff1661131a61161f565b73ffffffffffffffffffffffffffffffffffffffff1614611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136790614e65565b60405180910390fd5b61137a60006130af565b565b60116020528060005260406000206000915090505481565b600c5481565b6113a2612b01565b73ffffffffffffffffffffffffffffffffffffffff166113c061161f565b73ffffffffffffffffffffffffffffffffffffffff1614611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140d90614e65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90614fc5565b60405180910390fd5b6000600c549050600082116114d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c790615005565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000082826114fd91906151a7565b111561153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590614c25565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000082600b5461156d91906151a7565b11156115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a590614be5565b60405180910390fd5b81600b60008282546115c091906151a7565b9250508190555060005b828110156115fa576115e78482846115e291906151a7565b613175565b80806115f29061542d565b9150506115ca565b5081600c600082825461160d91906151a7565b92505081905550505050565b600e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611651610f64565b15611691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168890614da5565b60405180910390fd5b6000600c5490506000600f604051806080016040529081600082015481526020016001820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820160089054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90614f45565b60405180910390fd5b600083116117fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f190615005565b60405180910390fd5b806020015163ffffffff16421015611847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183e90614fe5565b60405180910390fd5b806040015163ffffffff164210611893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188a90615025565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000083836118c091906151a7565b1115611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f890614c25565b60405180910390fd5b34838260000151611912919061522e565b14611952576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194990614e85565b60405180910390fd5b806060015163ffffffff1683601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119a891906151a7565b11156119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e090614ea5565b60405180910390fd5b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3891906151a7565b92505081905550600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611aa7573d6000803e3d6000fd5b5060005b83811015611adb57611ac8338285611ac391906151a7565b613175565b8080611ad39061542d565b915050611aab565b5082600c6000828254611aee91906151a7565b925050819055507ff5df7d07fef0d8ac7581015ebd1a3b7b7760da84b12f0c8174ae0dcd639cb6a33384604051611b26929190614b5b565b60405180910390a1505050565b60138060000160009054906101000a900463ffffffff16908060000160049054906101000a900463ffffffff16905082565b606060018054611b74906153ca565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba0906153ca565b8015611bed5780601f10611bc257610100808354040283529160200191611bed565b820191906000526020600020905b815481529060010190602001808311611bd057829003601f168201915b5050505050905090565b611bff610f64565b15611c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3690614da5565b60405180910390fd5b6000600c549050600060136040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff168152505090506000816000015163ffffffff1611611cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce790614d85565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7990614f45565b60405180910390fd5b6000600e5411611dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbe90614d05565b60405180910390fd5b60008311611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0190615005565b60405180910390fd5b806000015163ffffffff16421015611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90614c85565b60405180910390fd5b806020015163ffffffff16601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611ead91906151a7565b1115611eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee590614ea5565b60405180910390fd5b82601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f3d91906151a7565b925050819055507f00000000000000000000000000000000000000000000000000000000000000008383611f7191906151a7565b1115611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614c25565b60405180910390fd5b3483600e54611fc1919061522e565b14612001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff890614e85565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015612069573d6000803e3d6000fd5b5060005b8381101561209d5761208a33828561208591906151a7565b613175565b80806120959061542d565b91505061206d565b5082600c60008282546120b091906151a7565b925050819055507f35b6d348af664cd334c7ec2746e1ab49907efa953fa3f622552cd0b19a828b3f33846040516120e8929190614b5b565b60405180910390a1505050565b612107612100612b01565b8383613193565b5050565b61211c612116612b01565b83612bc2565b61215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290614f65565b60405180910390fd5b61216784848484613300565b50505050565b606061217882612a95565b6121b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ae90614f05565b60405180910390fd5b60006121c161335c565b905060008151116121e1576040518060200160405280600081525061220c565b806121eb846133ee565b6040516020016121fc929190614a9a565b6040516020818303038152906040525b915050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b612240612b01565b73ffffffffffffffffffffffffffffffffffffffff1661225e61161f565b73ffffffffffffffffffffffffffffffffffffffff16146122b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ab90614e65565b60405180910390fd5b6122bc61359b565b565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61235a612b01565b73ffffffffffffffffffffffffffffffffffffffff1661237861161f565b73ffffffffffffffffffffffffffffffffffffffff16146123ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c590614e65565b60405180910390fd5b60006123d98361363e565b905060006123e68361363e565b905060008163ffffffff1611612431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242890614cc5565b60405180910390fd5b60008263ffffffff161161247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247190614ee5565b60405180910390fd5b60405180604001604052808363ffffffff1681526020018263ffffffff16815250601360008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548163ffffffff021916908363ffffffff1602179055509050507fdeea4bc4c584249a0eee970a3b4f6d21bb13cdc2f6199522d5ea6db52fe6ade6828260405161251f9291906150e5565b60405180910390a150505050565b612535612b01565b73ffffffffffffffffffffffffffffffffffffffff1661255361161f565b73ffffffffffffffffffffffffffffffffffffffff16146125a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a090614e65565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc714d22a2f08b695f81e7c707058db484aa5b4d6b4c9fd64beb10fe85832f608816040516126199190614ad9565b60405180910390a150565b61262c612b01565b73ffffffffffffffffffffffffffffffffffffffff1661264a61161f565b73ffffffffffffffffffffffffffffffffffffffff16146126a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269790614e65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270790614ca5565b60405180910390fd5b612719816130af565b50565b612724612b01565b73ffffffffffffffffffffffffffffffffffffffff1661274261161f565b73ffffffffffffffffffffffffffffffffffffffff1614612798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278f90614e65565b60405180910390fd5b60006127a38461363e565b905060006127b08461363e565b905060006127bd8461363e565b905060008363ffffffff161180156127e057508263ffffffff168263ffffffff16115b61281f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281690614ee5565b60405180910390fd5b60008163ffffffff1611612868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285f90615045565b60405180910390fd5b60405180608001604052808881526020018463ffffffff1681526020018363ffffffff1681526020018263ffffffff16815250600f6000820151816000015560208201518160010160006101000a81548163ffffffff021916908363ffffffff16021790555060408201518160010160046101000a81548163ffffffff021916908363ffffffff16021790555060608201518160010160086101000a81548163ffffffff021916908363ffffffff1602179055509050507f274fa7c774313f08445667a8caa1593bde5951653c98e34fdad8a0a7542438fe8784848460405161295494939291906150a0565b60405180910390a150505050505050565b600f8060000154908060010160009054906101000a900463ffffffff16908060010160049054906101000a900463ffffffff16908060010160089054906101000a900463ffffffff16905084565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a7e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a8e5750612a8d82613691565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b7c83611027565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612bcd82612a95565b612c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0390614d65565b60405180910390fd5b6000612c1783611027565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c8657508373ffffffffffffffffffffffffffffffffffffffff16612c6e84610ab4565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c975750612c9681856122be565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612cc082611027565b73ffffffffffffffffffffffffffffffffffffffff1614612d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0d90614ec5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7d90614d25565b60405180910390fd5b612d918383836136fb565b612d9c600082612b09565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dec9190615288565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e4391906151a7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612f0782611027565b9050612f15816000846136fb565b612f20600083612b09565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f709190615288565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613015610f64565b613054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304b90614c05565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa613098612b01565b6040516130a59190614abe565b60405180910390a1565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61318f82826040518060200160405280600081525061380f565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131f990614d45565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132f39190614b84565b60405180910390a3505050565b61330b848484612ca0565b6133178484848461386a565b613356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334d90614c65565b60405180910390fd5b50505050565b60606014805461336b906153ca565b80601f0160208091040260200160405190810160405280929190818152602001828054613397906153ca565b80156133e45780601f106133b9576101008083540402835291602001916133e4565b820191906000526020600020905b8154815290600101906020018083116133c757829003601f168201915b5050505050905090565b60606000821415613436576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613596565b600082905060005b600082146134685780806134519061542d565b915050600a8261346191906151fd565b915061343e565b60008167ffffffffffffffff8111156134aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134dc5781602001600182028036833780820191505090505b5090505b6000851461358f576001826134f59190615288565b9150600a856135049190615476565b603061351091906151a7565b60f81b81838151811061354c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561358891906151fd565b94506134e0565b8093505050505b919050565b6135a3610f64565b156135e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135da90614da5565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613627612b01565b6040516136349190614abe565b60405180910390a1565b600063ffffffff8016821115613689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368090614f85565b60405180910390fd5b819050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613706838383613a01565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137495761374481613a06565b613788565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613787576137868382613a4f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137cb576137c681613bbc565b61380a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613809576138088282613cff565b5b5b505050565b6138198383613d7e565b613826600084848461386a565b613865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161385c90614c65565b60405180910390fd5b505050565b600061388b8473ffffffffffffffffffffffffffffffffffffffff16613f4c565b156139f4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138b4612b01565b8786866040518563ffffffff1660e01b81526004016138d69493929190614b0f565b602060405180830381600087803b1580156138f057600080fd5b505af192505050801561392157506040513d601f19601f8201168201806040525081019061391e919061432b565b60015b6139a4573d8060008114613951576040519150601f19603f3d011682016040523d82523d6000602084013e613956565b606091505b5060008151141561399c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399390614c65565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506139f9565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a5c8461123c565b613a669190615288565b9050600060076000848152602001908152602001600020549050818114613b4b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613bd09190615288565b9050600060096000848152602001908152602001600020549050600060088381548110613c26577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c6e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613ce3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613d0a8361123c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613de590614e25565b60405180910390fd5b613df781612a95565b15613e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e2e90614ce5565b60405180910390fd5b613e43600083836136fb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e9391906151a7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613f6b906153ca565b90600052602060002090601f016020900481019282613f8d5760008555613fd4565b82601f10613fa657803560ff1916838001178555613fd4565b82800160010185558215613fd4579182015b82811115613fd3578235825591602001919060010190613fb8565b5b509050613fe19190613fe5565b5090565b5b80821115613ffe576000816000905550600101613fe6565b5090565b600061401561401084615133565b61510e565b90508281526020810184848401111561402d57600080fd5b614038848285615388565b509392505050565b60008135905061404f81615e0d565b92915050565b60008135905061406481615e24565b92915050565b60008135905061407981615e3b565b92915050565b60008135905061408e81615e52565b92915050565b6000815190506140a381615e52565b92915050565b600082601f8301126140ba57600080fd5b81356140ca848260208601614002565b91505092915050565b60008083601f8401126140e557600080fd5b8235905067ffffffffffffffff8111156140fe57600080fd5b60208301915083600182028301111561411657600080fd5b9250929050565b60008135905061412c81615e69565b92915050565b60006020828403121561414457600080fd5b600061415284828501614040565b91505092915050565b60006020828403121561416d57600080fd5b600061417b84828501614055565b91505092915050565b6000806040838503121561419757600080fd5b60006141a585828601614040565b92505060206141b685828601614040565b9150509250929050565b6000806000606084860312156141d557600080fd5b60006141e386828701614040565b93505060206141f486828701614040565b92505060406142058682870161411d565b9150509250925092565b6000806000806080858703121561422557600080fd5b600061423387828801614040565b945050602061424487828801614040565b93505060406142558782880161411d565b925050606085013567ffffffffffffffff81111561427257600080fd5b61427e878288016140a9565b91505092959194509250565b6000806040838503121561429d57600080fd5b60006142ab85828601614040565b92505060206142bc8582860161406a565b9150509250929050565b600080604083850312156142d957600080fd5b60006142e785828601614040565b92505060206142f88582860161411d565b9150509250929050565b60006020828403121561431457600080fd5b60006143228482850161407f565b91505092915050565b60006020828403121561433d57600080fd5b600061434b84828501614094565b91505092915050565b6000806020838503121561436757600080fd5b600083013567ffffffffffffffff81111561438157600080fd5b61438d858286016140d3565b92509250509250929050565b6000602082840312156143ab57600080fd5b60006143b98482850161411d565b91505092915050565b600080604083850312156143d557600080fd5b60006143e38582860161411d565b92505060206143f48582860161411d565b9150509250929050565b6000806000806080858703121561441457600080fd5b60006144228782880161411d565b94505060206144338782880161411d565b93505060406144448782880161411d565b92505060606144558782880161411d565b91505092959194509250565b61446a81615352565b82525050565b614479816152ce565b82525050565b614488816152bc565b82525050565b614497816152e0565b82525050565b60006144a882615164565b6144b2818561517a565b93506144c2818560208601615397565b6144cb81615563565b840191505092915050565b60006144e2838561518b565b93506144ef838584615388565b6144f883615563565b840190509392505050565b600061450e8261516f565b614518818561518b565b9350614528818560208601615397565b61453181615563565b840191505092915050565b60006145478261516f565b614551818561519c565b9350614561818560208601615397565b80840191505092915050565b600061457a60258361518b565b915061458582615574565b604082019050919050565b600061459d60148361518b565b91506145a8826155c3565b602082019050919050565b60006145c0601e8361518b565b91506145cb826155ec565b602082019050919050565b60006145e3602b8361518b565b91506145ee82615615565b604082019050919050565b600061460660328361518b565b915061461182615664565b604082019050919050565b6000614629601b8361518b565b9150614634826156b3565b602082019050919050565b600061464c60268361518b565b9150614657826156dc565b604082019050919050565b600061466f60168361518b565b915061467a8261572b565b602082019050919050565b6000614692601c8361518b565b915061469d82615754565b602082019050919050565b60006146b5601e8361518b565b91506146c08261577d565b602082019050919050565b60006146d860248361518b565b91506146e3826157a6565b604082019050919050565b60006146fb60198361518b565b9150614706826157f5565b602082019050919050565b600061471e602c8361518b565b91506147298261581e565b604082019050919050565b6000614741601e8361518b565b915061474c8261586d565b602082019050919050565b600061476460108361518b565b915061476f82615896565b602082019050919050565b600061478760388361518b565b9150614792826158bf565b604082019050919050565b60006147aa602a8361518b565b91506147b58261590e565b604082019050919050565b60006147cd60298361518b565b91506147d88261595d565b604082019050919050565b60006147f060208361518b565b91506147fb826159ac565b602082019050919050565b6000614813602c8361518b565b915061481e826159d5565b604082019050919050565b600061483660208361518b565b915061484182615a24565b602082019050919050565b600061485960208361518b565b915061486482615a4d565b602082019050919050565b600061487c60258361518b565b915061488782615a76565b604082019050919050565b600061489f60298361518b565b91506148aa82615ac5565b604082019050919050565b60006148c2601d8361518b565b91506148cd82615b14565b602082019050919050565b60006148e5602f8361518b565b91506148f082615b3d565b604082019050919050565b600061490860218361518b565b915061491382615b8c565b604082019050919050565b600061492b601b8361518b565b915061493682615bdb565b602082019050919050565b600061494e60318361518b565b915061495982615c04565b604082019050919050565b600061497160268361518b565b915061497c82615c53565b604082019050919050565b6000614994602c8361518b565b915061499f82615ca2565b604082019050919050565b60006149b760178361518b565b91506149c282615cf1565b602082019050919050565b60006149da601e8361518b565b91506149e582615d1a565b602082019050919050565b60006149fd60188361518b565b9150614a0882615d43565b602082019050919050565b6000614a2060188361518b565b9150614a2b82615d6c565b602082019050919050565b6000614a43601b8361518b565b9150614a4e82615d95565b602082019050919050565b6000614a6660308361518b565b9150614a7182615dbe565b604082019050919050565b614a8581615338565b82525050565b614a9481615342565b82525050565b6000614aa6828561453c565b9150614ab2828461453c565b91508190509392505050565b6000602082019050614ad3600083018461447f565b92915050565b6000602082019050614aee6000830184614461565b92915050565b6000602082019050614b096000830184614470565b92915050565b6000608082019050614b24600083018761447f565b614b31602083018661447f565b614b3e6040830185614a7c565b8181036060830152614b50818461449d565b905095945050505050565b6000604082019050614b70600083018561447f565b614b7d6020830184614a7c565b9392505050565b6000602082019050614b99600083018461448e565b92915050565b60006020820190508181036000830152614bba8184866144d6565b90509392505050565b60006020820190508181036000830152614bdd8184614503565b905092915050565b60006020820190508181036000830152614bfe8161456d565b9050919050565b60006020820190508181036000830152614c1e81614590565b9050919050565b60006020820190508181036000830152614c3e816145b3565b9050919050565b60006020820190508181036000830152614c5e816145d6565b9050919050565b60006020820190508181036000830152614c7e816145f9565b9050919050565b60006020820190508181036000830152614c9e8161461c565b9050919050565b60006020820190508181036000830152614cbe8161463f565b9050919050565b60006020820190508181036000830152614cde81614662565b9050919050565b60006020820190508181036000830152614cfe81614685565b9050919050565b60006020820190508181036000830152614d1e816146a8565b9050919050565b60006020820190508181036000830152614d3e816146cb565b9050919050565b60006020820190508181036000830152614d5e816146ee565b9050919050565b60006020820190508181036000830152614d7e81614711565b9050919050565b60006020820190508181036000830152614d9e81614734565b9050919050565b60006020820190508181036000830152614dbe81614757565b9050919050565b60006020820190508181036000830152614dde8161477a565b9050919050565b60006020820190508181036000830152614dfe8161479d565b9050919050565b60006020820190508181036000830152614e1e816147c0565b9050919050565b60006020820190508181036000830152614e3e816147e3565b9050919050565b60006020820190508181036000830152614e5e81614806565b9050919050565b60006020820190508181036000830152614e7e81614829565b9050919050565b60006020820190508181036000830152614e9e8161484c565b9050919050565b60006020820190508181036000830152614ebe8161486f565b9050919050565b60006020820190508181036000830152614ede81614892565b9050919050565b60006020820190508181036000830152614efe816148b5565b9050919050565b60006020820190508181036000830152614f1e816148d8565b9050919050565b60006020820190508181036000830152614f3e816148fb565b9050919050565b60006020820190508181036000830152614f5e8161491e565b9050919050565b60006020820190508181036000830152614f7e81614941565b9050919050565b60006020820190508181036000830152614f9e81614964565b9050919050565b60006020820190508181036000830152614fbe81614987565b9050919050565b60006020820190508181036000830152614fde816149aa565b9050919050565b60006020820190508181036000830152614ffe816149cd565b9050919050565b6000602082019050818103600083015261501e816149f0565b9050919050565b6000602082019050818103600083015261503e81614a13565b9050919050565b6000602082019050818103600083015261505e81614a36565b9050919050565b6000602082019050818103600083015261507e81614a59565b9050919050565b600060208201905061509a6000830184614a7c565b92915050565b60006080820190506150b56000830187614a7c565b6150c26020830186614a8b565b6150cf6040830185614a8b565b6150dc6060830184614a8b565b95945050505050565b60006040820190506150fa6000830185614a8b565b6151076020830184614a8b565b9392505050565b6000615118615129565b905061512482826153fc565b919050565b6000604051905090565b600067ffffffffffffffff82111561514e5761514d615534565b5b61515782615563565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006151b282615338565b91506151bd83615338565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151f2576151f16154a7565b5b828201905092915050565b600061520882615338565b915061521383615338565b925082615223576152226154d6565b5b828204905092915050565b600061523982615338565b915061524483615338565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561527d5761527c6154a7565b5b828202905092915050565b600061529382615338565b915061529e83615338565b9250828210156152b1576152b06154a7565b5b828203905092915050565b60006152c782615318565b9050919050565b60006152d982615318565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600061535d82615364565b9050919050565b600061536f82615376565b9050919050565b600061538182615318565b9050919050565b82818337600083830152505050565b60005b838110156153b557808201518184015260208101905061539a565b838111156153c4576000848401525b50505050565b600060028204905060018216806153e257607f821691505b602082108114156153f6576153f5615505565b5b50919050565b61540582615563565b810181811067ffffffffffffffff8211171561542457615423615534565b5b80604052505050565b600061543882615338565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561546b5761546a6154a7565b5b600182019050919050565b600061548182615338565b915061548c83615338565b92508261549c5761549b6154d6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5846414354494f4e533a206d6178207265736572766520636f756e742065786360008201527f6565646564000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f5846414354494f4e533a206d617820737570706c792065786365656465640000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f5846414354494f4e533a2073616c65206e6f7420737461727465640000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5846414354494f4e533a207a65726f20616d6f756e7400000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5846414354494f4e533a20746f6b656e207072696365206e6f74207365740000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5846414354494f4e533a2073616c65206e6f7420636f6e666967757265640000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5846414354494f4e533a20696e636f72726563742045746865722076616c7565600082015250565b7f5846414354494f4e533a2070726573616c65206d617820636f756e742065786360008201527f6565646564000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5846414354494f4e533a20696e76616c69642074696d652072616e6765000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5846414354494f4e533a207472656173757279206e6f74207365740000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203360008201527f3220626974730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5846414354494f4e533a207a65726f2061646472657373000000000000000000600082015250565b7f5846414354494f4e533a2070726573616c65206e6f7420737461727465640000600082015250565b7f5846414354494f4e533a20696e76616c696420636f756e740000000000000000600082015250565b7f5846414354494f4e533a2070726573616c6520656e6465640000000000000000600082015250565b7f5846414354494f4e533a206d6178436f756e74206973207a65726f0000000000600082015250565b7f5846414354494f4e533a206275726e2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615e16816152bc565b8114615e2157600080fd5b50565b615e2d816152ce565b8114615e3857600080fd5b50565b615e44816152e0565b8114615e4f57600080fd5b50565b615e5b816152ec565b8114615e6657600080fd5b50565b615e7281615338565b8114615e7d57600080fd5b5056fea26469706673582212202f137f52bc1b3b5952497ad727d1feff22e138f97465b3ab470e39a4e124e1df64736f6c634300080400330000000000000000000000000000000000000000000000000000000000001b580000000000000000000000000000000000000000000000000000000000000078
Deployed Bytecode
0x6080604052600436106102515760003560e01c8063715018a611610139578063a22cb465116100b6578063e985e9c51161007a578063e985e9c514610899578063ec97ceb1146108d6578063f0f44260146108ff578063f2fde38b14610928578063f81c9ddd14610951578063fd88fa691461097a57610251565b8063a22cb465146107c8578063b88d4fde146107f1578063c87b56dd1461081a578063d5abeb0114610857578063da8fbf2a1461088257610251565b80638da5cb5b116100fd5780638da5cb5b1461070e5780638db8053b1461073957806390aa0b0f1461075557806395d89b411461078157806397304ced146107ac57610251565b8063715018a61461063b578063725c8ee71461065257806375794a3c1461068f57806378cf19e9146106ba5780637ff9b596146106e357610251565b8063433adb05116101d257806361d027b31161019657806361d027b3146105055780636352211e146105305780636a61e5fc1461056d5780636c0360eb146105965780636feade9a146105c157806370a08231146105fe57610251565b8063433adb05146104325780634f6ccce71461045d57806355f804b31461049a5780635c975abb146104c35780635d72f059146104ee57610251565b806318160ddd1161021957806318160ddd1461034f57806323b872dd1461037a5780632f745c59146103a357806342842e0e146103e057806342966c681461040957610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb57806316317c2114610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190614302565b6109a8565b60405161028a9190614b84565b60405180910390f35b34801561029f57600080fd5b506102a8610a22565b6040516102b59190614bc3565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190614399565b610ab4565b6040516102f29190614abe565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906142c6565b610b39565b005b34801561033057600080fd5b50610339610c51565b6040516103469190615085565b60405180910390f35b34801561035b57600080fd5b50610364610c75565b6040516103719190615085565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c91906141c0565b610c82565b005b3480156103af57600080fd5b506103ca60048036038101906103c591906142c6565b610ce2565b6040516103d79190615085565b60405180910390f35b3480156103ec57600080fd5b50610407600480360381019061040291906141c0565b610d87565b005b34801561041557600080fd5b50610430600480360381019061042b9190614399565b610da7565b005b34801561043e57600080fd5b50610447610dfc565b6040516104549190615085565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190614399565b610e02565b6040516104919190615085565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc9190614354565b610e99565b005b3480156104cf57600080fd5b506104d8610f64565b6040516104e59190614b84565b60405180910390f35b3480156104fa57600080fd5b50610503610f7b565b005b34801561051157600080fd5b5061051a611001565b6040516105279190614af4565b60405180910390f35b34801561053c57600080fd5b5061055760048036038101906105529190614399565b611027565b6040516105649190614abe565b60405180910390f35b34801561057957600080fd5b50610594600480360381019061058f9190614399565b6110d9565b005b3480156105a257600080fd5b506105ab611196565b6040516105b89190614bc3565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e39190614132565b611224565b6040516105f59190615085565b60405180910390f35b34801561060a57600080fd5b5061062560048036038101906106209190614132565b61123c565b6040516106329190615085565b60405180910390f35b34801561064757600080fd5b506106506112f4565b005b34801561065e57600080fd5b5061067960048036038101906106749190614132565b61137c565b6040516106869190615085565b60405180910390f35b34801561069b57600080fd5b506106a4611394565b6040516106b19190615085565b60405180910390f35b3480156106c657600080fd5b506106e160048036038101906106dc91906142c6565b61139a565b005b3480156106ef57600080fd5b506106f8611619565b6040516107059190615085565b60405180910390f35b34801561071a57600080fd5b5061072361161f565b6040516107309190614abe565b60405180910390f35b610753600480360381019061074e9190614399565b611649565b005b34801561076157600080fd5b5061076a611b33565b6040516107789291906150e5565b60405180910390f35b34801561078d57600080fd5b50610796611b65565b6040516107a39190614bc3565b60405180910390f35b6107c660048036038101906107c19190614399565b611bf7565b005b3480156107d457600080fd5b506107ef60048036038101906107ea919061428a565b6120f5565b005b3480156107fd57600080fd5b506108186004803603810190610813919061420f565b61210b565b005b34801561082657600080fd5b50610841600480360381019061083c9190614399565b61216d565b60405161084e9190614bc3565b60405180910390f35b34801561086357600080fd5b5061086c612214565b6040516108799190615085565b60405180910390f35b34801561088e57600080fd5b50610897612238565b005b3480156108a557600080fd5b506108c060048036038101906108bb9190614184565b6122be565b6040516108cd9190614b84565b60405180910390f35b3480156108e257600080fd5b506108fd60048036038101906108f891906143c2565b612352565b005b34801561090b57600080fd5b506109266004803603810190610921919061415b565b61252d565b005b34801561093457600080fd5b5061094f600480360381019061094a9190614132565b612624565b005b34801561095d57600080fd5b50610978600480360381019061097391906143fe565b61271c565b005b34801561098657600080fd5b5061098f612965565b60405161099f94939291906150a0565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a1b5750610a1a826129b3565b5b9050919050565b606060008054610a31906153ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5d906153ca565b8015610aaa5780601f10610a7f57610100808354040283529160200191610aaa565b820191906000526020600020905b815481529060010190602001808311610a8d57829003601f168201915b5050505050905090565b6000610abf82612a95565b610afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af590614e45565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b4482611027565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bac90614f25565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bd4612b01565b73ffffffffffffffffffffffffffffffffffffffff161480610c035750610c0281610bfd612b01565b6122be565b5b610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3990614dc5565b60405180910390fd5b610c4c8383612b09565b505050565b7f000000000000000000000000000000000000000000000000000000000000007881565b6000600880549050905090565b610c93610c8d612b01565b82612bc2565b610cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc990614f65565b60405180910390fd5b610cdd838383612ca0565b505050565b6000610ced8361123c565b8210610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590614c45565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610da28383836040518060200160405280600081525061210b565b505050565b610db13382612bc2565b610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de790615065565b60405180910390fd5b610df981612efc565b50565b600b5481565b6000610e0c610c75565b8210610e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4490614fa5565b60405180910390fd5b60088281548110610e87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610ea1612b01565b73ffffffffffffffffffffffffffffffffffffffff16610ebf61161f565b73ffffffffffffffffffffffffffffffffffffffff1614610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c90614e65565b60405180910390fd5b818160149190610f26929190613f5f565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf68282604051610f58929190614b9f565b60405180910390a15050565b6000600a60149054906101000a900460ff16905090565b610f83612b01565b73ffffffffffffffffffffffffffffffffffffffff16610fa161161f565b73ffffffffffffffffffffffffffffffffffffffff1614610ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fee90614e65565b60405180910390fd5b610fff61300d565b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c790614e05565b60405180910390fd5b80915050919050565b6110e1612b01565b73ffffffffffffffffffffffffffffffffffffffff166110ff61161f565b73ffffffffffffffffffffffffffffffffffffffff1614611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c90614e65565b60405180910390fd5b80600e819055507fac21bacd333b316c6640fca5086322638b0a7aa4367179afd5dfcbe0a5427bc78160405161118b9190615085565b60405180910390a150565b601480546111a3906153ca565b80601f01602080910402602001604051908101604052809291908181526020018280546111cf906153ca565b801561121c5780601f106111f15761010080835404028352916020019161121c565b820191906000526020600020905b8154815290600101906020018083116111ff57829003601f168201915b505050505081565b60126020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a490614de5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112fc612b01565b73ffffffffffffffffffffffffffffffffffffffff1661131a61161f565b73ffffffffffffffffffffffffffffffffffffffff1614611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136790614e65565b60405180910390fd5b61137a60006130af565b565b60116020528060005260406000206000915090505481565b600c5481565b6113a2612b01565b73ffffffffffffffffffffffffffffffffffffffff166113c061161f565b73ffffffffffffffffffffffffffffffffffffffff1614611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140d90614e65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90614fc5565b60405180910390fd5b6000600c549050600082116114d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c790615005565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000001b5882826114fd91906151a7565b111561153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590614c25565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000007882600b5461156d91906151a7565b11156115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a590614be5565b60405180910390fd5b81600b60008282546115c091906151a7565b9250508190555060005b828110156115fa576115e78482846115e291906151a7565b613175565b80806115f29061542d565b9150506115ca565b5081600c600082825461160d91906151a7565b92505081905550505050565b600e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611651610f64565b15611691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168890614da5565b60405180910390fd5b6000600c5490506000600f604051806080016040529081600082015481526020016001820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820160089054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90614f45565b60405180910390fd5b600083116117fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f190615005565b60405180910390fd5b806020015163ffffffff16421015611847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183e90614fe5565b60405180910390fd5b806040015163ffffffff164210611893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188a90615025565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000001b5883836118c091906151a7565b1115611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f890614c25565b60405180910390fd5b34838260000151611912919061522e565b14611952576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194990614e85565b60405180910390fd5b806060015163ffffffff1683601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119a891906151a7565b11156119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e090614ea5565b60405180910390fd5b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3891906151a7565b92505081905550600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611aa7573d6000803e3d6000fd5b5060005b83811015611adb57611ac8338285611ac391906151a7565b613175565b8080611ad39061542d565b915050611aab565b5082600c6000828254611aee91906151a7565b925050819055507ff5df7d07fef0d8ac7581015ebd1a3b7b7760da84b12f0c8174ae0dcd639cb6a33384604051611b26929190614b5b565b60405180910390a1505050565b60138060000160009054906101000a900463ffffffff16908060000160049054906101000a900463ffffffff16905082565b606060018054611b74906153ca565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba0906153ca565b8015611bed5780601f10611bc257610100808354040283529160200191611bed565b820191906000526020600020905b815481529060010190602001808311611bd057829003601f168201915b5050505050905090565b611bff610f64565b15611c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3690614da5565b60405180910390fd5b6000600c549050600060136040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff168152505090506000816000015163ffffffff1611611cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce790614d85565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7990614f45565b60405180910390fd5b6000600e5411611dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbe90614d05565b60405180910390fd5b60008311611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0190615005565b60405180910390fd5b806000015163ffffffff16421015611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90614c85565b60405180910390fd5b806020015163ffffffff16601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611ead91906151a7565b1115611eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee590614ea5565b60405180910390fd5b82601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f3d91906151a7565b925050819055507f0000000000000000000000000000000000000000000000000000000000001b588383611f7191906151a7565b1115611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614c25565b60405180910390fd5b3483600e54611fc1919061522e565b14612001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff890614e85565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015612069573d6000803e3d6000fd5b5060005b8381101561209d5761208a33828561208591906151a7565b613175565b80806120959061542d565b91505061206d565b5082600c60008282546120b091906151a7565b925050819055507f35b6d348af664cd334c7ec2746e1ab49907efa953fa3f622552cd0b19a828b3f33846040516120e8929190614b5b565b60405180910390a1505050565b612107612100612b01565b8383613193565b5050565b61211c612116612b01565b83612bc2565b61215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290614f65565b60405180910390fd5b61216784848484613300565b50505050565b606061217882612a95565b6121b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ae90614f05565b60405180910390fd5b60006121c161335c565b905060008151116121e1576040518060200160405280600081525061220c565b806121eb846133ee565b6040516020016121fc929190614a9a565b6040516020818303038152906040525b915050919050565b7f0000000000000000000000000000000000000000000000000000000000001b5881565b612240612b01565b73ffffffffffffffffffffffffffffffffffffffff1661225e61161f565b73ffffffffffffffffffffffffffffffffffffffff16146122b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ab90614e65565b60405180910390fd5b6122bc61359b565b565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61235a612b01565b73ffffffffffffffffffffffffffffffffffffffff1661237861161f565b73ffffffffffffffffffffffffffffffffffffffff16146123ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c590614e65565b60405180910390fd5b60006123d98361363e565b905060006123e68361363e565b905060008163ffffffff1611612431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242890614cc5565b60405180910390fd5b60008263ffffffff161161247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247190614ee5565b60405180910390fd5b60405180604001604052808363ffffffff1681526020018263ffffffff16815250601360008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548163ffffffff021916908363ffffffff1602179055509050507fdeea4bc4c584249a0eee970a3b4f6d21bb13cdc2f6199522d5ea6db52fe6ade6828260405161251f9291906150e5565b60405180910390a150505050565b612535612b01565b73ffffffffffffffffffffffffffffffffffffffff1661255361161f565b73ffffffffffffffffffffffffffffffffffffffff16146125a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a090614e65565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc714d22a2f08b695f81e7c707058db484aa5b4d6b4c9fd64beb10fe85832f608816040516126199190614ad9565b60405180910390a150565b61262c612b01565b73ffffffffffffffffffffffffffffffffffffffff1661264a61161f565b73ffffffffffffffffffffffffffffffffffffffff16146126a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269790614e65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270790614ca5565b60405180910390fd5b612719816130af565b50565b612724612b01565b73ffffffffffffffffffffffffffffffffffffffff1661274261161f565b73ffffffffffffffffffffffffffffffffffffffff1614612798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278f90614e65565b60405180910390fd5b60006127a38461363e565b905060006127b08461363e565b905060006127bd8461363e565b905060008363ffffffff161180156127e057508263ffffffff168263ffffffff16115b61281f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281690614ee5565b60405180910390fd5b60008163ffffffff1611612868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285f90615045565b60405180910390fd5b60405180608001604052808881526020018463ffffffff1681526020018363ffffffff1681526020018263ffffffff16815250600f6000820151816000015560208201518160010160006101000a81548163ffffffff021916908363ffffffff16021790555060408201518160010160046101000a81548163ffffffff021916908363ffffffff16021790555060608201518160010160086101000a81548163ffffffff021916908363ffffffff1602179055509050507f274fa7c774313f08445667a8caa1593bde5951653c98e34fdad8a0a7542438fe8784848460405161295494939291906150a0565b60405180910390a150505050505050565b600f8060000154908060010160009054906101000a900463ffffffff16908060010160049054906101000a900463ffffffff16908060010160089054906101000a900463ffffffff16905084565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a7e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a8e5750612a8d82613691565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b7c83611027565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612bcd82612a95565b612c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0390614d65565b60405180910390fd5b6000612c1783611027565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c8657508373ffffffffffffffffffffffffffffffffffffffff16612c6e84610ab4565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c975750612c9681856122be565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612cc082611027565b73ffffffffffffffffffffffffffffffffffffffff1614612d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0d90614ec5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7d90614d25565b60405180910390fd5b612d918383836136fb565b612d9c600082612b09565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dec9190615288565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e4391906151a7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612f0782611027565b9050612f15816000846136fb565b612f20600083612b09565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f709190615288565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613015610f64565b613054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304b90614c05565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa613098612b01565b6040516130a59190614abe565b60405180910390a1565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61318f82826040518060200160405280600081525061380f565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131f990614d45565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132f39190614b84565b60405180910390a3505050565b61330b848484612ca0565b6133178484848461386a565b613356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334d90614c65565b60405180910390fd5b50505050565b60606014805461336b906153ca565b80601f0160208091040260200160405190810160405280929190818152602001828054613397906153ca565b80156133e45780601f106133b9576101008083540402835291602001916133e4565b820191906000526020600020905b8154815290600101906020018083116133c757829003601f168201915b5050505050905090565b60606000821415613436576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613596565b600082905060005b600082146134685780806134519061542d565b915050600a8261346191906151fd565b915061343e565b60008167ffffffffffffffff8111156134aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134dc5781602001600182028036833780820191505090505b5090505b6000851461358f576001826134f59190615288565b9150600a856135049190615476565b603061351091906151a7565b60f81b81838151811061354c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561358891906151fd565b94506134e0565b8093505050505b919050565b6135a3610f64565b156135e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135da90614da5565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613627612b01565b6040516136349190614abe565b60405180910390a1565b600063ffffffff8016821115613689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368090614f85565b60405180910390fd5b819050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613706838383613a01565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137495761374481613a06565b613788565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613787576137868382613a4f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137cb576137c681613bbc565b61380a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613809576138088282613cff565b5b5b505050565b6138198383613d7e565b613826600084848461386a565b613865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161385c90614c65565b60405180910390fd5b505050565b600061388b8473ffffffffffffffffffffffffffffffffffffffff16613f4c565b156139f4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138b4612b01565b8786866040518563ffffffff1660e01b81526004016138d69493929190614b0f565b602060405180830381600087803b1580156138f057600080fd5b505af192505050801561392157506040513d601f19601f8201168201806040525081019061391e919061432b565b60015b6139a4573d8060008114613951576040519150601f19603f3d011682016040523d82523d6000602084013e613956565b606091505b5060008151141561399c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399390614c65565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506139f9565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a5c8461123c565b613a669190615288565b9050600060076000848152602001908152602001600020549050818114613b4b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613bd09190615288565b9050600060096000848152602001908152602001600020549050600060088381548110613c26577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c6e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613ce3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613d0a8361123c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613de590614e25565b60405180910390fd5b613df781612a95565b15613e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e2e90614ce5565b60405180910390fd5b613e43600083836136fb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e9391906151a7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613f6b906153ca565b90600052602060002090601f016020900481019282613f8d5760008555613fd4565b82601f10613fa657803560ff1916838001178555613fd4565b82800160010185558215613fd4579182015b82811115613fd3578235825591602001919060010190613fb8565b5b509050613fe19190613fe5565b5090565b5b80821115613ffe576000816000905550600101613fe6565b5090565b600061401561401084615133565b61510e565b90508281526020810184848401111561402d57600080fd5b614038848285615388565b509392505050565b60008135905061404f81615e0d565b92915050565b60008135905061406481615e24565b92915050565b60008135905061407981615e3b565b92915050565b60008135905061408e81615e52565b92915050565b6000815190506140a381615e52565b92915050565b600082601f8301126140ba57600080fd5b81356140ca848260208601614002565b91505092915050565b60008083601f8401126140e557600080fd5b8235905067ffffffffffffffff8111156140fe57600080fd5b60208301915083600182028301111561411657600080fd5b9250929050565b60008135905061412c81615e69565b92915050565b60006020828403121561414457600080fd5b600061415284828501614040565b91505092915050565b60006020828403121561416d57600080fd5b600061417b84828501614055565b91505092915050565b6000806040838503121561419757600080fd5b60006141a585828601614040565b92505060206141b685828601614040565b9150509250929050565b6000806000606084860312156141d557600080fd5b60006141e386828701614040565b93505060206141f486828701614040565b92505060406142058682870161411d565b9150509250925092565b6000806000806080858703121561422557600080fd5b600061423387828801614040565b945050602061424487828801614040565b93505060406142558782880161411d565b925050606085013567ffffffffffffffff81111561427257600080fd5b61427e878288016140a9565b91505092959194509250565b6000806040838503121561429d57600080fd5b60006142ab85828601614040565b92505060206142bc8582860161406a565b9150509250929050565b600080604083850312156142d957600080fd5b60006142e785828601614040565b92505060206142f88582860161411d565b9150509250929050565b60006020828403121561431457600080fd5b60006143228482850161407f565b91505092915050565b60006020828403121561433d57600080fd5b600061434b84828501614094565b91505092915050565b6000806020838503121561436757600080fd5b600083013567ffffffffffffffff81111561438157600080fd5b61438d858286016140d3565b92509250509250929050565b6000602082840312156143ab57600080fd5b60006143b98482850161411d565b91505092915050565b600080604083850312156143d557600080fd5b60006143e38582860161411d565b92505060206143f48582860161411d565b9150509250929050565b6000806000806080858703121561441457600080fd5b60006144228782880161411d565b94505060206144338782880161411d565b93505060406144448782880161411d565b92505060606144558782880161411d565b91505092959194509250565b61446a81615352565b82525050565b614479816152ce565b82525050565b614488816152bc565b82525050565b614497816152e0565b82525050565b60006144a882615164565b6144b2818561517a565b93506144c2818560208601615397565b6144cb81615563565b840191505092915050565b60006144e2838561518b565b93506144ef838584615388565b6144f883615563565b840190509392505050565b600061450e8261516f565b614518818561518b565b9350614528818560208601615397565b61453181615563565b840191505092915050565b60006145478261516f565b614551818561519c565b9350614561818560208601615397565b80840191505092915050565b600061457a60258361518b565b915061458582615574565b604082019050919050565b600061459d60148361518b565b91506145a8826155c3565b602082019050919050565b60006145c0601e8361518b565b91506145cb826155ec565b602082019050919050565b60006145e3602b8361518b565b91506145ee82615615565b604082019050919050565b600061460660328361518b565b915061461182615664565b604082019050919050565b6000614629601b8361518b565b9150614634826156b3565b602082019050919050565b600061464c60268361518b565b9150614657826156dc565b604082019050919050565b600061466f60168361518b565b915061467a8261572b565b602082019050919050565b6000614692601c8361518b565b915061469d82615754565b602082019050919050565b60006146b5601e8361518b565b91506146c08261577d565b602082019050919050565b60006146d860248361518b565b91506146e3826157a6565b604082019050919050565b60006146fb60198361518b565b9150614706826157f5565b602082019050919050565b600061471e602c8361518b565b91506147298261581e565b604082019050919050565b6000614741601e8361518b565b915061474c8261586d565b602082019050919050565b600061476460108361518b565b915061476f82615896565b602082019050919050565b600061478760388361518b565b9150614792826158bf565b604082019050919050565b60006147aa602a8361518b565b91506147b58261590e565b604082019050919050565b60006147cd60298361518b565b91506147d88261595d565b604082019050919050565b60006147f060208361518b565b91506147fb826159ac565b602082019050919050565b6000614813602c8361518b565b915061481e826159d5565b604082019050919050565b600061483660208361518b565b915061484182615a24565b602082019050919050565b600061485960208361518b565b915061486482615a4d565b602082019050919050565b600061487c60258361518b565b915061488782615a76565b604082019050919050565b600061489f60298361518b565b91506148aa82615ac5565b604082019050919050565b60006148c2601d8361518b565b91506148cd82615b14565b602082019050919050565b60006148e5602f8361518b565b91506148f082615b3d565b604082019050919050565b600061490860218361518b565b915061491382615b8c565b604082019050919050565b600061492b601b8361518b565b915061493682615bdb565b602082019050919050565b600061494e60318361518b565b915061495982615c04565b604082019050919050565b600061497160268361518b565b915061497c82615c53565b604082019050919050565b6000614994602c8361518b565b915061499f82615ca2565b604082019050919050565b60006149b760178361518b565b91506149c282615cf1565b602082019050919050565b60006149da601e8361518b565b91506149e582615d1a565b602082019050919050565b60006149fd60188361518b565b9150614a0882615d43565b602082019050919050565b6000614a2060188361518b565b9150614a2b82615d6c565b602082019050919050565b6000614a43601b8361518b565b9150614a4e82615d95565b602082019050919050565b6000614a6660308361518b565b9150614a7182615dbe565b604082019050919050565b614a8581615338565b82525050565b614a9481615342565b82525050565b6000614aa6828561453c565b9150614ab2828461453c565b91508190509392505050565b6000602082019050614ad3600083018461447f565b92915050565b6000602082019050614aee6000830184614461565b92915050565b6000602082019050614b096000830184614470565b92915050565b6000608082019050614b24600083018761447f565b614b31602083018661447f565b614b3e6040830185614a7c565b8181036060830152614b50818461449d565b905095945050505050565b6000604082019050614b70600083018561447f565b614b7d6020830184614a7c565b9392505050565b6000602082019050614b99600083018461448e565b92915050565b60006020820190508181036000830152614bba8184866144d6565b90509392505050565b60006020820190508181036000830152614bdd8184614503565b905092915050565b60006020820190508181036000830152614bfe8161456d565b9050919050565b60006020820190508181036000830152614c1e81614590565b9050919050565b60006020820190508181036000830152614c3e816145b3565b9050919050565b60006020820190508181036000830152614c5e816145d6565b9050919050565b60006020820190508181036000830152614c7e816145f9565b9050919050565b60006020820190508181036000830152614c9e8161461c565b9050919050565b60006020820190508181036000830152614cbe8161463f565b9050919050565b60006020820190508181036000830152614cde81614662565b9050919050565b60006020820190508181036000830152614cfe81614685565b9050919050565b60006020820190508181036000830152614d1e816146a8565b9050919050565b60006020820190508181036000830152614d3e816146cb565b9050919050565b60006020820190508181036000830152614d5e816146ee565b9050919050565b60006020820190508181036000830152614d7e81614711565b9050919050565b60006020820190508181036000830152614d9e81614734565b9050919050565b60006020820190508181036000830152614dbe81614757565b9050919050565b60006020820190508181036000830152614dde8161477a565b9050919050565b60006020820190508181036000830152614dfe8161479d565b9050919050565b60006020820190508181036000830152614e1e816147c0565b9050919050565b60006020820190508181036000830152614e3e816147e3565b9050919050565b60006020820190508181036000830152614e5e81614806565b9050919050565b60006020820190508181036000830152614e7e81614829565b9050919050565b60006020820190508181036000830152614e9e8161484c565b9050919050565b60006020820190508181036000830152614ebe8161486f565b9050919050565b60006020820190508181036000830152614ede81614892565b9050919050565b60006020820190508181036000830152614efe816148b5565b9050919050565b60006020820190508181036000830152614f1e816148d8565b9050919050565b60006020820190508181036000830152614f3e816148fb565b9050919050565b60006020820190508181036000830152614f5e8161491e565b9050919050565b60006020820190508181036000830152614f7e81614941565b9050919050565b60006020820190508181036000830152614f9e81614964565b9050919050565b60006020820190508181036000830152614fbe81614987565b9050919050565b60006020820190508181036000830152614fde816149aa565b9050919050565b60006020820190508181036000830152614ffe816149cd565b9050919050565b6000602082019050818103600083015261501e816149f0565b9050919050565b6000602082019050818103600083015261503e81614a13565b9050919050565b6000602082019050818103600083015261505e81614a36565b9050919050565b6000602082019050818103600083015261507e81614a59565b9050919050565b600060208201905061509a6000830184614a7c565b92915050565b60006080820190506150b56000830187614a7c565b6150c26020830186614a8b565b6150cf6040830185614a8b565b6150dc6060830184614a8b565b95945050505050565b60006040820190506150fa6000830185614a8b565b6151076020830184614a8b565b9392505050565b6000615118615129565b905061512482826153fc565b919050565b6000604051905090565b600067ffffffffffffffff82111561514e5761514d615534565b5b61515782615563565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006151b282615338565b91506151bd83615338565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151f2576151f16154a7565b5b828201905092915050565b600061520882615338565b915061521383615338565b925082615223576152226154d6565b5b828204905092915050565b600061523982615338565b915061524483615338565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561527d5761527c6154a7565b5b828202905092915050565b600061529382615338565b915061529e83615338565b9250828210156152b1576152b06154a7565b5b828203905092915050565b60006152c782615318565b9050919050565b60006152d982615318565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600061535d82615364565b9050919050565b600061536f82615376565b9050919050565b600061538182615318565b9050919050565b82818337600083830152505050565b60005b838110156153b557808201518184015260208101905061539a565b838111156153c4576000848401525b50505050565b600060028204905060018216806153e257607f821691505b602082108114156153f6576153f5615505565b5b50919050565b61540582615563565b810181811067ffffffffffffffff8211171561542457615423615534565b5b80604052505050565b600061543882615338565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561546b5761546a6154a7565b5b600182019050919050565b600061548182615338565b915061548c83615338565b92508261549c5761549b6154d6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5846414354494f4e533a206d6178207265736572766520636f756e742065786360008201527f6565646564000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f5846414354494f4e533a206d617820737570706c792065786365656465640000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f5846414354494f4e533a2073616c65206e6f7420737461727465640000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5846414354494f4e533a207a65726f20616d6f756e7400000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5846414354494f4e533a20746f6b656e207072696365206e6f74207365740000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5846414354494f4e533a2073616c65206e6f7420636f6e666967757265640000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5846414354494f4e533a20696e636f72726563742045746865722076616c7565600082015250565b7f5846414354494f4e533a2070726573616c65206d617820636f756e742065786360008201527f6565646564000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5846414354494f4e533a20696e76616c69642074696d652072616e6765000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5846414354494f4e533a207472656173757279206e6f74207365740000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203360008201527f3220626974730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5846414354494f4e533a207a65726f2061646472657373000000000000000000600082015250565b7f5846414354494f4e533a2070726573616c65206e6f7420737461727465640000600082015250565b7f5846414354494f4e533a20696e76616c696420636f756e740000000000000000600082015250565b7f5846414354494f4e533a2070726573616c6520656e6465640000000000000000600082015250565b7f5846414354494f4e533a206d6178436f756e74206973207a65726f0000000000600082015250565b7f5846414354494f4e533a206275726e2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615e16816152bc565b8114615e2157600080fd5b50565b615e2d816152ce565b8114615e3857600080fd5b50565b615e44816152e0565b8114615e4f57600080fd5b50565b615e5b816152ec565b8114615e6657600080fd5b50565b615e7281615338565b8114615e7d57600080fd5b5056fea26469706673582212202f137f52bc1b3b5952497ad727d1feff22e138f97465b3ab470e39a4e124e1df64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000001b580000000000000000000000000000000000000000000000000000000000000078
-----Decoded View---------------
Arg [0] : _maxSupply (uint256): 7000
Arg [1] : _reserveCount (uint256): 120
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000001b58
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000078
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.