ERC-721
Overview
Max Total Supply
58 CMC
Holders
36
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CMCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CryptoMonsterClub
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// https://cryptomasterclub.com // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract CryptoMonsterClub is ERC721Enumerable, ERC721Pausable, Ownable { using SafeMath for uint; uint constant public MONSTER_TOTAL_SUPPLY = 7777; uint MONSTER_RESERVED = 200; uint constant public PORTAL_PER_USER_ALLOWED = 1; uint constant public PRE_MINT_LIMIT_PER_TOKEN = 3; uint constant public PUB_MINT_LIMIT_PER_TX = 10; uint private basePrice = 0.055 ether; bool public isPreMintOpen = true; bool public isPublicMintOpen = false; bool public canSacrifice = false; string _baseTokenURI; address public portalAddress = 0x118461022A2F99EF65BeE1Dd93eF62FB49D974FC; mapping(uint => uint) public mintedPerTokenTracker; event Mint(address owner, uint tokenId); event Sacrifice(address owner, uint monsterId); constructor() ERC721("Crypto Monster Club", "CMC") { MONSTER_RESERVED = MONSTER_RESERVED.sub(3); for (uint monster = 0; monster < 3; monster ++) { _safeMint(_msgSender(), totalSupply().add(1)); emit Mint(_msgSender(), totalSupply()); } } function premint() external payable { require(isPreMintOpen, "CryptoMonsterClub: Pre-mint not yet open."); uint tokenId = IERC721Enumerable(portalAddress).tokenOfOwnerByIndex(_msgSender(), 0); uint balanceOfUser = IERC721Enumerable(portalAddress).balanceOf(_msgSender()); require(balanceOfUser > 0, "CryptoMonsterClub: Only portal holder allowed."); require(balanceOfUser == PORTAL_PER_USER_ALLOWED, "CryptoMonsterClub: Allowed 1 portal per address only."); uint remainder = msg.value.mod(basePrice); // make sure that it divisible by 0.055 require(remainder == 0, "CryptoMonsterClub: eth should be divisible by 0.055."); uint numberOfTokenToBeMinted = msg.value.div(basePrice); mintedPerTokenTracker[tokenId] = mintedPerTokenTracker[tokenId].add(numberOfTokenToBeMinted); uint numberOfMintedInToken = mintedPerTokenTracker[tokenId]; require(numberOfMintedInToken <= PRE_MINT_LIMIT_PER_TOKEN, "CryptoMonsterClub: Only 3 monster can be minted per portal."); require(numberOfTokenToBeMinted > 0 && numberOfTokenToBeMinted <= PRE_MINT_LIMIT_PER_TOKEN, "CryptoMonsterClub: min 1 and max is 3 per portal"); require(totalSupply().add(numberOfTokenToBeMinted) <= MONSTER_TOTAL_SUPPLY.sub(MONSTER_RESERVED), "CryptoMonsterClub: Sold out."); require(msg.value >= numberOfTokenToBeMinted.mul(basePrice), "CryptoMonsterClub: Insuffient Eth"); for (uint256 num = 0; num < numberOfTokenToBeMinted; num ++) { _safeMint(_msgSender(), totalSupply().add(1)); emit Mint(_msgSender(), totalSupply()); } } function mint() external payable { require(isPublicMintOpen, "CryptoMonsterClub: Public mint not yet open."); uint remainder = msg.value.mod(basePrice); uint numberOfTokenToBeMinted = msg.value.div(basePrice); uint allSupply = totalSupply().add(numberOfTokenToBeMinted); require(remainder == 0, "CryptoMonsterClub: eth should be divisible by 0.055."); require(numberOfTokenToBeMinted > 0 && numberOfTokenToBeMinted <= PUB_MINT_LIMIT_PER_TX, "CryptoMonsterClub: min 1 and max 10 per tx."); require(allSupply <= MONSTER_TOTAL_SUPPLY.sub(MONSTER_RESERVED), "CryptoMonsterClub: Sold out."); for (uint i = 0; i < numberOfTokenToBeMinted; i++) { _safeMint(_msgSender(), totalSupply().add(1)); emit Mint(_msgSender(), totalSupply()); } } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721Enumerable, ERC721Pausable) { super._beforeTokenTransfer(from, to, tokenId); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function getReserveSupply() external view returns(uint) { return MONSTER_RESERVED; } function sacrifice(uint256 _monsterId) public { require(canSacrifice, "CryptoMonsterClub: sacrifice monster not enable."); require( _isApprovedOrOwner(_msgSender(), _monsterId), "CryptoMonsterClub: caller is not the owner nor approved address." ); _burn(_monsterId); emit Sacrifice(_msgSender(), _monsterId); } function airdrop(address[] memory _airdropAddrs) external onlyOwner() { require(totalSupply().add(_airdropAddrs.length) <= MONSTER_TOTAL_SUPPLY, "CryptoMonsterClub: exceed supply."); require(MONSTER_RESERVED.sub(_airdropAddrs.length) > 0); MONSTER_RESERVED = MONSTER_RESERVED.sub(_airdropAddrs.length); for (uint i = 0; i < _airdropAddrs.length; i++) { _safeMint(_airdropAddrs[i], totalSupply().add(1)); emit Mint(_airdropAddrs[i], totalSupply()); } } function mintAndTransfer(address _to, uint numberOfToken) external onlyOwner() { require(totalSupply().add(numberOfToken) <= MONSTER_TOTAL_SUPPLY, "CryptoMonsterClub: mint exceed supply."); for (uint i = 0; i < numberOfToken; i++) { _safeMint(_to, totalSupply().add(1)); } } function setCanSacrifice(bool _isCanSacrifice) external { canSacrifice = _isCanSacrifice; } function setPreMintState(bool _isOpen) external onlyOwner() { isPreMintOpen = _isOpen; } function setPubMintState(bool _isOpen) external onlyOwner() { isPublicMintOpen = _isOpen; } function pause() external onlyOwner() { _pause(); } function unpause() external onlyOwner() { _unpause(); } function updateBaseUri(string memory _newUri) external onlyOwner() { _baseTokenURI = _newUri; } function updatePortal(address _portal) external onlyOwner() { portalAddress = _portal; } function withdrawAll() external onlyOwner() { uint balance = address(this).balance; payable(owner()).transfer(balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC721Pausable is ERC721, Pausable { /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT 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 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 pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev 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 Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which 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 pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "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":[],"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":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","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":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"monsterId","type":"uint256"}],"name":"Sacrifice","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":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MONSTER_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PORTAL_PER_USER_ALLOWED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_MINT_LIMIT_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUB_MINT_LIMIT_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_airdropAddrs","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canSacrifice","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserveSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"numberOfToken","type":"uint256"}],"name":"mintAndTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedPerTokenTracker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"portalAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_monsterId","type":"uint256"}],"name":"sacrifice","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isCanSacrifice","type":"bool"}],"name":"setCanSacrifice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOpen","type":"bool"}],"name":"setPreMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOpen","type":"bool"}],"name":"setPubMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newUri","type":"string"}],"name":"updateBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_portal","type":"address"}],"name":"updatePortal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260c8600b5566c3663566a58000600c556001600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff0219169083151502179055506000600d60026101000a81548160ff02191690831515021790555073118461022a2f99ef65bee1dd93ef62fb49d974fc600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000c757600080fd5b506040518060400160405280601381526020017f43727970746f204d6f6e7374657220436c7562000000000000000000000000008152506040518060400160405280600381526020017f434d43000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200014c92919062000e2a565b5080600190805190602001906200016592919062000e2a565b5050506000600a60006101000a81548160ff021916908315150217905550620001a3620001976200029360201b60201c565b6200029b60201b60201c565b620001c06003600b546200036160201b6200246a1790919060201c565b600b8190555060005b60038110156200028c576200021d620001e76200029360201b60201c565b620002116001620001fd6200037960201b60201c565b6200038660201b620024801790919060201c565b6200039e60201b60201c565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968856200024e6200029360201b60201c565b6200025e6200037960201b60201c565b6040516200026e9291906200109d565b60405180910390a1808062000283906200130f565b915050620001c9565b5062001588565b600033905090565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183620003719190620011fe565b905092915050565b6000600880549050905090565b60008183620003969190620011a1565b905092915050565b620003c0828260405180602001604052806000815250620003c460201b60201c565b5050565b620003d683836200043260201b60201c565b620003eb60008484846200061860201b60201c565b6200042d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200042490620010ec565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004a5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200049c9062001152565b60405180910390fd5b620004b681620007d260201b60201c565b15620004f9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004f0906200110e565b60405180910390fd5b6200050d600083836200083e60201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200055f9190620011a1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000620006468473ffffffffffffffffffffffffffffffffffffffff166200085b60201b620024961760201c565b15620007c5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620006786200029360201b60201c565b8786866040518563ffffffff1660e01b81526004016200069c949392919062001049565b602060405180830381600087803b158015620006b757600080fd5b505af1925050508015620006eb57506040513d601f19601f82011682018060405250810190620006e8919062000ef1565b60015b62000774573d80600081146200071e576040519150601f19603f3d011682016040523d82523d6000602084013e62000723565b606091505b506000815114156200076c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200076390620010ec565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050620007ca565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b620008568383836200086e60201b620024a91760201c565b505050565b600080823b905060008111915050919050565b62000886838383620008de60201b620025011760201c565b6200089662000a2560201b60201c565b15620008d9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008d090620010ca565b60405180910390fd5b505050565b620008f683838362000a3c60201b620026151760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562000943576200093d8162000a4160201b60201c565b6200098b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146200098a5762000989838262000a8a60201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620009d857620009d28162000c0760201b60201c565b62000a20565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000a1f5762000a1e828262000ce360201b60201c565b5b5b505050565b6000600a60009054906101000a900460ff16905090565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000aa48462000d6f60201b620017c31760201c565b62000ab09190620011fe565b905060006007600084815260200190815260200160002054905081811462000b96576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000c1d9190620011fe565b905060006009600084815260200190815260200160002054905060006008838154811062000c505762000c4f620013ea565b5b90600052602060002001549050806008838154811062000c755762000c74620013ea565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548062000cc75762000cc6620013bb565b5b6001900381819060005260206000200160009055905550505050565b600062000cfb8362000d6f60201b620017c31760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000de3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000dda9062001130565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000e3890620012d9565b90600052602060002090601f01602090048101928262000e5c576000855562000ea8565b82601f1062000e7757805160ff191683800117855562000ea8565b8280016001018555821562000ea8579182015b8281111562000ea757825182559160200191906001019062000e8a565b5b50905062000eb7919062000ebb565b5090565b5b8082111562000ed657600081600090555060010162000ebc565b5090565b60008151905062000eeb816200156e565b92915050565b60006020828403121562000f0a5762000f0962001419565b5b600062000f1a8482850162000eda565b91505092915050565b62000f2e8162001239565b82525050565b600062000f418262001174565b62000f4d81856200117f565b935062000f5f818560208601620012a3565b62000f6a816200141e565b840191505092915050565b600062000f84602b8362001190565b915062000f91826200142f565b604082019050919050565b600062000fab60328362001190565b915062000fb8826200147e565b604082019050919050565b600062000fd2601c8362001190565b915062000fdf82620014cd565b602082019050919050565b600062000ff9602a8362001190565b91506200100682620014f6565b604082019050919050565b60006200102060208362001190565b91506200102d8262001545565b602082019050919050565b620010438162001299565b82525050565b600060808201905062001060600083018762000f23565b6200106f602083018662000f23565b6200107e604083018562001038565b818103606083015262001092818462000f34565b905095945050505050565b6000604082019050620010b4600083018562000f23565b620010c3602083018462001038565b9392505050565b60006020820190508181036000830152620010e58162000f75565b9050919050565b60006020820190508181036000830152620011078162000f9c565b9050919050565b60006020820190508181036000830152620011298162000fc3565b9050919050565b600060208201905081810360008301526200114b8162000fea565b9050919050565b600060208201905081810360008301526200116d8162001011565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000620011ae8262001299565b9150620011bb8362001299565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620011f357620011f26200135d565b5b828201905092915050565b60006200120b8262001299565b9150620012188362001299565b9250828210156200122e576200122d6200135d565b5b828203905092915050565b6000620012468262001279565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620012c3578082015181840152602081019050620012a6565b83811115620012d3576000848401525b50505050565b60006002820490506001821680620012f257607f821691505b602082108114156200130957620013086200138c565b5b50919050565b60006200131c8262001299565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200135257620013516200135d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b62001579816200124d565b81146200158557600080fd5b50565b61594380620015986000396000f3fe60806040526004361061025c5760003560e01c806371f4ba3411610144578063a22cb465116100b6578063c6c079481161007a578063c6c079481461086c578063c87b56dd14610897578063d0c5ef45146108d4578063e178e051146108ff578063e985e9c514610928578063f2fde38b146109655761025c565b8063a22cb46514610799578063a4435dfd146107c2578063b79d0814146107ed578063b88d4fde14610818578063bec6667a146108415761025c565b8063853828b611610108578063853828b61461069b57806389de2084146106b25780638a83473c146106ef5780638da5cb5b1461071857806395d89b4114610743578063a172db061461076e5761025c565b806371f4ba34146105de578063729ad39e146106075780637e2f6e3b14610630578063831685c71461065b5780638456cb59146106845761025c565b806339f7e37f116101dd5780635c975abb116101a15780635c975abb146104cc5780636352211e146104f757806367dd9ef3146105345780636d54d5301461055f57806370a082311461058a578063715018a6146105c75761025c565b806339f7e37f1461041c5780633f4ba83a1461044557806342842e0e1461045c57806348a1e66b146104855780634f6ccce71461048f5761025c565b80631249c58b116102245780631249c58b1461035857806318160ddd1461036257806323b872dd1461038d5780632f745c59146103b657806332e51b50146103f35761025c565b806301ffc9a71461026157806306fdde031461029e578063080571eb146102c9578063081812fc146102f2578063095ea7b31461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613dc0565b61098e565b6040516102959190614542565b60405180910390f35b3480156102aa57600080fd5b506102b36109a0565b6040516102c0919061455d565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613d0a565b610a32565b005b3480156102fe57600080fd5b5061031960048036038101906103149190613e63565b610b53565b6040516103269190614489565b60405180910390f35b34801561033b57600080fd5b5061035660048036038101906103519190613d0a565b610bd8565b005b610360610cf0565b005b34801561036e57600080fd5b50610377610f11565b60405161038491906149df565b60405180910390f35b34801561039957600080fd5b506103b460048036038101906103af9190613bf4565b610f1e565b005b3480156103c257600080fd5b506103dd60048036038101906103d89190613d0a565b610f7e565b6040516103ea91906149df565b60405180910390f35b3480156103ff57600080fd5b5061041a60048036038101906104159190613d93565b611023565b005b34801561042857600080fd5b50610443600480360381019061043e9190613e1a565b611040565b005b34801561045157600080fd5b5061045a6110d6565b005b34801561046857600080fd5b50610483600480360381019061047e9190613bf4565b61115c565b005b61048d61117c565b005b34801561049b57600080fd5b506104b660048036038101906104b19190613e63565b61167f565b6040516104c391906149df565b60405180910390f35b3480156104d857600080fd5b506104e16116f0565b6040516104ee9190614542565b60405180910390f35b34801561050357600080fd5b5061051e60048036038101906105199190613e63565b611707565b60405161052b9190614489565b60405180910390f35b34801561054057600080fd5b506105496117b9565b60405161055691906149df565b60405180910390f35b34801561056b57600080fd5b506105746117be565b60405161058191906149df565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac9190613b87565b6117c3565b6040516105be91906149df565b60405180910390f35b3480156105d357600080fd5b506105dc61187b565b005b3480156105ea57600080fd5b5061060560048036038101906106009190613b87565b611903565b005b34801561061357600080fd5b5061062e60048036038101906106299190613d4a565b6119c3565b005b34801561063c57600080fd5b50610645611b97565b60405161065291906149df565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d9190613d93565b611ba1565b005b34801561069057600080fd5b50610699611c3a565b005b3480156106a757600080fd5b506106b0611cc0565b005b3480156106be57600080fd5b506106d960048036038101906106d49190613e63565b611d92565b6040516106e691906149df565b60405180910390f35b3480156106fb57600080fd5b5061071660048036038101906107119190613d93565b611daa565b005b34801561072457600080fd5b5061072d611e43565b60405161073a9190614489565b60405180910390f35b34801561074f57600080fd5b50610758611e6d565b604051610765919061455d565b60405180910390f35b34801561077a57600080fd5b50610783611eff565b6040516107909190614489565b60405180910390f35b3480156107a557600080fd5b506107c060048036038101906107bb9190613cca565b611f25565b005b3480156107ce57600080fd5b506107d76120a6565b6040516107e49190614542565b60405180910390f35b3480156107f957600080fd5b506108026120b9565b60405161080f9190614542565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a9190613c47565b6120cc565b005b34801561084d57600080fd5b5061085661212e565b6040516108639190614542565b60405180910390f35b34801561087857600080fd5b50610881612141565b60405161088e91906149df565b60405180910390f35b3480156108a357600080fd5b506108be60048036038101906108b99190613e63565b612146565b6040516108cb919061455d565b60405180910390f35b3480156108e057600080fd5b506108e96121ed565b6040516108f691906149df565b60405180910390f35b34801561090b57600080fd5b5061092660048036038101906109219190613e63565b6121f3565b005b34801561093457600080fd5b5061094f600480360381019061094a9190613bb4565b6122de565b60405161095c9190614542565b60405180910390f35b34801561097157600080fd5b5061098c60048036038101906109879190613b87565b612372565b005b60006109998261261a565b9050919050565b6060600080546109af90614ccd565b80601f01602080910402602001604051908101604052809291908181526020018280546109db90614ccd565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b610a3a612694565b73ffffffffffffffffffffffffffffffffffffffff16610a58611e43565b73ffffffffffffffffffffffffffffffffffffffff1614610aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa59061489f565b60405180910390fd5b611e61610acb82610abd610f11565b61248090919063ffffffff16565b1115610b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b03906147bf565b60405180910390fd5b60005b81811015610b4e57610b3b83610b366001610b28610f11565b61248090919063ffffffff16565b61269c565b8080610b4690614d30565b915050610b0f565b505050565b6000610b5e826126ba565b610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b949061485f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610be382611707565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b906148ff565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c73612694565b73ffffffffffffffffffffffffffffffffffffffff161480610ca25750610ca181610c9c612694565b6122de565b5b610ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd89061475f565b60405180910390fd5b610ceb8383612726565b505050565b600d60019054906101000a900460ff16610d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d369061471f565b60405180910390fd5b6000610d56600c54346127df90919063ffffffff16565b90506000610d6f600c54346127f590919063ffffffff16565b90506000610d8d82610d7f610f11565b61248090919063ffffffff16565b905060008314610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc99061499f565b60405180910390fd5b600082118015610de35750600a8211155b610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e19906146ff565b60405180910390fd5b610e39600b54611e6161246a90919063ffffffff16565b811115610e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e729061491f565b60405180910390fd5b60005b82811015610f0b57610eb1610e91612694565b610eac6001610e9e610f11565b61248090919063ffffffff16565b61269c565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885610eda612694565b610ee2610f11565b604051610ef0929190614519565b60405180910390a18080610f0390614d30565b915050610e7e565b50505050565b6000600880549050905090565b610f2f610f29612694565b8261280b565b610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f659061493f565b60405180910390fd5b610f798383836128e9565b505050565b6000610f89836117c3565b8210610fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc1906145ff565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b80600d60026101000a81548160ff02191690831515021790555050565b611048612694565b73ffffffffffffffffffffffffffffffffffffffff16611066611e43565b73ffffffffffffffffffffffffffffffffffffffff16146110bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b39061489f565b60405180910390fd5b80600e90805190602001906110d29291906138e8565b5050565b6110de612694565b73ffffffffffffffffffffffffffffffffffffffff166110fc611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611152576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111499061489f565b60405180910390fd5b61115a612b45565b565b611177838383604051806020016040528060008152506120cc565b505050565b600d60009054906101000a900460ff166111cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c29061497f565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c59611213612694565b60006040518363ffffffff1660e01b81526004016112329291906144f0565b60206040518083038186803b15801561124a57600080fd5b505afa15801561125e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112829190613e90565b90506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082316112cc612694565b6040518263ffffffff1660e01b81526004016112e89190614489565b60206040518083038186803b15801561130057600080fd5b505afa158015611314573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113389190613e90565b90506000811161137d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611374906145df565b60405180910390fd5b600181146113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b7906147df565b60405180910390fd5b60006113d7600c54346127df90919063ffffffff16565b90506000811461141c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114139061499f565b60405180910390fd5b6000611433600c54346127f590919063ffffffff16565b905061145b81601060008781526020019081526020016000205461248090919063ffffffff16565b601060008681526020019081526020016000208190555060006010600086815260200190815260200160002054905060038111156114ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c5906147ff565b60405180910390fd5b6000821180156114df575060038211155b61151e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611515906145bf565b60405180910390fd5b611535600b54611e6161246a90919063ffffffff16565b61154f83611541610f11565b61248090919063ffffffff16565b1115611590576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115879061491f565b60405180910390fd5b6115a5600c5483612be790919063ffffffff16565b3410156115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115de9061467f565b60405180910390fd5b60005b828110156116775761161d6115fd612694565b611618600161160a610f11565b61248090919063ffffffff16565b61269c565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885611646612694565b61164e610f11565b60405161165c929190614519565b60405180910390a1808061166f90614d30565b9150506115ea565b505050505050565b6000611689610f11565b82106116ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c19061495f565b60405180910390fd5b600882815481106116de576116dd614e66565b5b90600052602060002001549050919050565b6000600a60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a79061479f565b60405180910390fd5b80915050919050565b600381565b600181565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182b9061477f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611883612694565b73ffffffffffffffffffffffffffffffffffffffff166118a1611e43565b73ffffffffffffffffffffffffffffffffffffffff16146118f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ee9061489f565b60405180910390fd5b6119016000612bfd565b565b61190b612694565b73ffffffffffffffffffffffffffffffffffffffff16611929611e43565b73ffffffffffffffffffffffffffffffffffffffff161461197f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119769061489f565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6119cb612694565b73ffffffffffffffffffffffffffffffffffffffff166119e9611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a369061489f565b60405180910390fd5b611e61611a5d8251611a4f610f11565b61248090919063ffffffff16565b1115611a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a95906149bf565b60405180910390fd5b6000611ab68251600b5461246a90919063ffffffff16565b11611ac057600080fd5b611ad68151600b5461246a90919063ffffffff16565b600b8190555060005b8151811015611b9357611b26828281518110611afe57611afd614e66565b5b6020026020010151611b216001611b13610f11565b61248090919063ffffffff16565b61269c565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885828281518110611b5a57611b59614e66565b5b6020026020010151611b6a610f11565b604051611b78929190614519565b60405180910390a18080611b8b90614d30565b915050611adf565b5050565b6000600b54905090565b611ba9612694565b73ffffffffffffffffffffffffffffffffffffffff16611bc7611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c149061489f565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b611c42612694565b73ffffffffffffffffffffffffffffffffffffffff16611c60611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad9061489f565b60405180910390fd5b611cbe612cc3565b565b611cc8612694565b73ffffffffffffffffffffffffffffffffffffffff16611ce6611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d339061489f565b60405180910390fd5b6000479050611d49611e43565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611d8e573d6000803e3d6000fd5b5050565b60106020528060005260406000206000915090505481565b611db2612694565b73ffffffffffffffffffffffffffffffffffffffff16611dd0611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611e26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1d9061489f565b60405180910390fd5b80600d60016101000a81548160ff02191690831515021790555050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611e7c90614ccd565b80601f0160208091040260200160405190810160405280929190818152602001828054611ea890614ccd565b8015611ef55780601f10611eca57610100808354040283529160200191611ef5565b820191906000526020600020905b815481529060010190602001808311611ed857829003601f168201915b5050505050905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611f2d612694565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f92906146bf565b60405180910390fd5b8060056000611fa8612694565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612055612694565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161209a9190614542565b60405180910390a35050565b600d60019054906101000a900460ff1681565b600d60029054906101000a900460ff1681565b6120dd6120d7612694565b8361280b565b61211c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121139061493f565b60405180910390fd5b61212884848484612d66565b50505050565b600d60009054906101000a900460ff1681565b600a81565b6060612151826126ba565b612190576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612187906148df565b60405180910390fd5b600061219a612dc2565b905060008151116121ba57604051806020016040528060008152506121e5565b806121c484612e54565b6040516020016121d5929190614465565b6040516020818303038152906040525b915050919050565b611e6181565b600d60029054906101000a900460ff16612242576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122399061481f565b60405180910390fd5b61225361224d612694565b8261280b565b612292576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122899061487f565b60405180910390fd5b61229b81612fb5565b7fff8488d11ac2308131a8d9936ff5d9df537241466d5b70a4d0637191ca0aca546122c4612694565b826040516122d3929190614519565b60405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61237a612694565b73ffffffffffffffffffffffffffffffffffffffff16612398611e43565b73ffffffffffffffffffffffffffffffffffffffff16146123ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e59061489f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561245e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124559061463f565b60405180910390fd5b61246781612bfd565b50565b600081836124789190614bd1565b905092915050565b6000818361248e9190614af0565b905092915050565b600080823b905060008111915050919050565b6124b4838383612501565b6124bc6116f0565b156124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f39061457f565b60405180910390fd5b505050565b61250c838383612615565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561254f5761254a816130c6565b61258e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461258d5761258c838261310f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125d1576125cc8161327c565b612610565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461260f5761260e828261334d565b5b5b505050565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061268d575061268c826133cc565b5b9050919050565b600033905090565b6126b68282604051806020016040528060008152506134ae565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661279983611707565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081836127ed9190614d79565b905092915050565b600081836128039190614b46565b905092915050565b6000612816826126ba565b612855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284c906146df565b60405180910390fd5b600061286083611707565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806128cf57508373ffffffffffffffffffffffffffffffffffffffff166128b784610b53565b73ffffffffffffffffffffffffffffffffffffffff16145b806128e057506128df81856122de565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661290982611707565b73ffffffffffffffffffffffffffffffffffffffff161461295f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612956906148bf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c69061469f565b60405180910390fd5b6129da838383613509565b6129e5600082612726565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a359190614bd1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8c9190614af0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612b4d6116f0565b612b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b839061459f565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612bd0612694565b604051612bdd9190614489565b60405180910390a1565b60008183612bf59190614b77565b905092915050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612ccb6116f0565b15612d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d029061473f565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612d4f612694565b604051612d5c9190614489565b60405180910390a1565b612d718484846128e9565b612d7d84848484613519565b612dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db39061461f565b60405180910390fd5b50505050565b6060600e8054612dd190614ccd565b80601f0160208091040260200160405190810160405280929190818152602001828054612dfd90614ccd565b8015612e4a5780601f10612e1f57610100808354040283529160200191612e4a565b820191906000526020600020905b815481529060010190602001808311612e2d57829003601f168201915b5050505050905090565b60606000821415612e9c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fb0565b600082905060005b60008214612ece578080612eb790614d30565b915050600a82612ec79190614b46565b9150612ea4565b60008167ffffffffffffffff811115612eea57612ee9614e95565b5b6040519080825280601f01601f191660200182016040528015612f1c5781602001600182028036833780820191505090505b5090505b60008514612fa957600182612f359190614bd1565b9150600a85612f449190614d79565b6030612f509190614af0565b60f81b818381518110612f6657612f65614e66565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fa29190614b46565b9450612f20565b8093505050505b919050565b6000612fc082611707565b9050612fce81600084613509565b612fd9600083612726565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130299190614bd1565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161311c846117c3565b6131269190614bd1565b905060006007600084815260200190815260200160002054905081811461320b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132909190614bd1565b90506000600960008481526020019081526020016000205490506000600883815481106132c0576132bf614e66565b5b9060005260206000200154905080600883815481106132e2576132e1614e66565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061333157613330614e37565b5b6001900381819060005260206000200160009055905550505050565b6000613358836117c3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061349757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134a757506134a6826136b0565b5b9050919050565b6134b8838361371a565b6134c56000848484613519565b613504576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fb9061461f565b60405180910390fd5b505050565b6135148383836124a9565b505050565b600061353a8473ffffffffffffffffffffffffffffffffffffffff16612496565b156136a3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613563612694565b8786866040518563ffffffff1660e01b815260040161358594939291906144a4565b602060405180830381600087803b15801561359f57600080fd5b505af19250505080156135d057506040513d601f19601f820116820180604052508101906135cd9190613ded565b60015b613653573d8060008114613600576040519150601f19603f3d011682016040523d82523d6000602084013e613605565b606091505b5060008151141561364b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136429061461f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136a8565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561378a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137819061483f565b60405180910390fd5b613793816126ba565b156137d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ca9061465f565b60405180910390fd5b6137df60008383613509565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461382f9190614af0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546138f490614ccd565b90600052602060002090601f016020900481019282613916576000855561395d565b82601f1061392f57805160ff191683800117855561395d565b8280016001018555821561395d579182015b8281111561395c578251825591602001919060010190613941565b5b50905061396a919061396e565b5090565b5b8082111561398757600081600090555060010161396f565b5090565b600061399e61399984614a1f565b6149fa565b905080838252602082019050828560208602820111156139c1576139c0614ec9565b5b60005b858110156139f157816139d78882613a7f565b8452602084019350602083019250506001810190506139c4565b5050509392505050565b6000613a0e613a0984614a4b565b6149fa565b905082815260208101848484011115613a2a57613a29614ece565b5b613a35848285614c8b565b509392505050565b6000613a50613a4b84614a7c565b6149fa565b905082815260208101848484011115613a6c57613a6b614ece565b5b613a77848285614c8b565b509392505050565b600081359050613a8e816158b1565b92915050565b600082601f830112613aa957613aa8614ec4565b5b8135613ab984826020860161398b565b91505092915050565b600081359050613ad1816158c8565b92915050565b600081359050613ae6816158df565b92915050565b600081519050613afb816158df565b92915050565b600082601f830112613b1657613b15614ec4565b5b8135613b268482602086016139fb565b91505092915050565b600082601f830112613b4457613b43614ec4565b5b8135613b54848260208601613a3d565b91505092915050565b600081359050613b6c816158f6565b92915050565b600081519050613b81816158f6565b92915050565b600060208284031215613b9d57613b9c614ed8565b5b6000613bab84828501613a7f565b91505092915050565b60008060408385031215613bcb57613bca614ed8565b5b6000613bd985828601613a7f565b9250506020613bea85828601613a7f565b9150509250929050565b600080600060608486031215613c0d57613c0c614ed8565b5b6000613c1b86828701613a7f565b9350506020613c2c86828701613a7f565b9250506040613c3d86828701613b5d565b9150509250925092565b60008060008060808587031215613c6157613c60614ed8565b5b6000613c6f87828801613a7f565b9450506020613c8087828801613a7f565b9350506040613c9187828801613b5d565b925050606085013567ffffffffffffffff811115613cb257613cb1614ed3565b5b613cbe87828801613b01565b91505092959194509250565b60008060408385031215613ce157613ce0614ed8565b5b6000613cef85828601613a7f565b9250506020613d0085828601613ac2565b9150509250929050565b60008060408385031215613d2157613d20614ed8565b5b6000613d2f85828601613a7f565b9250506020613d4085828601613b5d565b9150509250929050565b600060208284031215613d6057613d5f614ed8565b5b600082013567ffffffffffffffff811115613d7e57613d7d614ed3565b5b613d8a84828501613a94565b91505092915050565b600060208284031215613da957613da8614ed8565b5b6000613db784828501613ac2565b91505092915050565b600060208284031215613dd657613dd5614ed8565b5b6000613de484828501613ad7565b91505092915050565b600060208284031215613e0357613e02614ed8565b5b6000613e1184828501613aec565b91505092915050565b600060208284031215613e3057613e2f614ed8565b5b600082013567ffffffffffffffff811115613e4e57613e4d614ed3565b5b613e5a84828501613b2f565b91505092915050565b600060208284031215613e7957613e78614ed8565b5b6000613e8784828501613b5d565b91505092915050565b600060208284031215613ea657613ea5614ed8565b5b6000613eb484828501613b72565b91505092915050565b613ec681614c05565b82525050565b613ed581614c17565b82525050565b6000613ee682614aad565b613ef08185614ac3565b9350613f00818560208601614c9a565b613f0981614edd565b840191505092915050565b613f1d81614c79565b82525050565b6000613f2e82614ab8565b613f388185614ad4565b9350613f48818560208601614c9a565b613f5181614edd565b840191505092915050565b6000613f6782614ab8565b613f718185614ae5565b9350613f81818560208601614c9a565b80840191505092915050565b6000613f9a602b83614ad4565b9150613fa582614eee565b604082019050919050565b6000613fbd601483614ad4565b9150613fc882614f3d565b602082019050919050565b6000613fe0603083614ad4565b9150613feb82614f66565b604082019050919050565b6000614003602e83614ad4565b915061400e82614fb5565b604082019050919050565b6000614026602b83614ad4565b915061403182615004565b604082019050919050565b6000614049603283614ad4565b915061405482615053565b604082019050919050565b600061406c602683614ad4565b9150614077826150a2565b604082019050919050565b600061408f601c83614ad4565b915061409a826150f1565b602082019050919050565b60006140b2602183614ad4565b91506140bd8261511a565b604082019050919050565b60006140d5602483614ad4565b91506140e082615169565b604082019050919050565b60006140f8601983614ad4565b9150614103826151b8565b602082019050919050565b600061411b602c83614ad4565b9150614126826151e1565b604082019050919050565b600061413e602b83614ad4565b915061414982615230565b604082019050919050565b6000614161602c83614ad4565b915061416c8261527f565b604082019050919050565b6000614184601083614ad4565b915061418f826152ce565b602082019050919050565b60006141a7603883614ad4565b91506141b2826152f7565b604082019050919050565b60006141ca602a83614ad4565b91506141d582615346565b604082019050919050565b60006141ed602983614ad4565b91506141f882615395565b604082019050919050565b6000614210602683614ad4565b915061421b826153e4565b604082019050919050565b6000614233603583614ad4565b915061423e82615433565b604082019050919050565b6000614256603b83614ad4565b915061426182615482565b604082019050919050565b6000614279603083614ad4565b9150614284826154d1565b604082019050919050565b600061429c602083614ad4565b91506142a782615520565b602082019050919050565b60006142bf602c83614ad4565b91506142ca82615549565b604082019050919050565b60006142e2604083614ad4565b91506142ed82615598565b604082019050919050565b6000614305602083614ad4565b9150614310826155e7565b602082019050919050565b6000614328602983614ad4565b915061433382615610565b604082019050919050565b600061434b602f83614ad4565b91506143568261565f565b604082019050919050565b600061436e602183614ad4565b9150614379826156ae565b604082019050919050565b6000614391601c83614ad4565b915061439c826156fd565b602082019050919050565b60006143b4603183614ad4565b91506143bf82615726565b604082019050919050565b60006143d7602c83614ad4565b91506143e282615775565b604082019050919050565b60006143fa602983614ad4565b9150614405826157c4565b604082019050919050565b600061441d603483614ad4565b915061442882615813565b604082019050919050565b6000614440602183614ad4565b915061444b82615862565b604082019050919050565b61445f81614c6f565b82525050565b60006144718285613f5c565b915061447d8284613f5c565b91508190509392505050565b600060208201905061449e6000830184613ebd565b92915050565b60006080820190506144b96000830187613ebd565b6144c66020830186613ebd565b6144d36040830185614456565b81810360608301526144e58184613edb565b905095945050505050565b60006040820190506145056000830185613ebd565b6145126020830184613f14565b9392505050565b600060408201905061452e6000830185613ebd565b61453b6020830184614456565b9392505050565b60006020820190506145576000830184613ecc565b92915050565b600060208201905081810360008301526145778184613f23565b905092915050565b6000602082019050818103600083015261459881613f8d565b9050919050565b600060208201905081810360008301526145b881613fb0565b9050919050565b600060208201905081810360008301526145d881613fd3565b9050919050565b600060208201905081810360008301526145f881613ff6565b9050919050565b6000602082019050818103600083015261461881614019565b9050919050565b600060208201905081810360008301526146388161403c565b9050919050565b600060208201905081810360008301526146588161405f565b9050919050565b6000602082019050818103600083015261467881614082565b9050919050565b60006020820190508181036000830152614698816140a5565b9050919050565b600060208201905081810360008301526146b8816140c8565b9050919050565b600060208201905081810360008301526146d8816140eb565b9050919050565b600060208201905081810360008301526146f88161410e565b9050919050565b6000602082019050818103600083015261471881614131565b9050919050565b6000602082019050818103600083015261473881614154565b9050919050565b6000602082019050818103600083015261475881614177565b9050919050565b600060208201905081810360008301526147788161419a565b9050919050565b60006020820190508181036000830152614798816141bd565b9050919050565b600060208201905081810360008301526147b8816141e0565b9050919050565b600060208201905081810360008301526147d881614203565b9050919050565b600060208201905081810360008301526147f881614226565b9050919050565b6000602082019050818103600083015261481881614249565b9050919050565b600060208201905081810360008301526148388161426c565b9050919050565b600060208201905081810360008301526148588161428f565b9050919050565b60006020820190508181036000830152614878816142b2565b9050919050565b60006020820190508181036000830152614898816142d5565b9050919050565b600060208201905081810360008301526148b8816142f8565b9050919050565b600060208201905081810360008301526148d88161431b565b9050919050565b600060208201905081810360008301526148f88161433e565b9050919050565b6000602082019050818103600083015261491881614361565b9050919050565b6000602082019050818103600083015261493881614384565b9050919050565b60006020820190508181036000830152614958816143a7565b9050919050565b60006020820190508181036000830152614978816143ca565b9050919050565b60006020820190508181036000830152614998816143ed565b9050919050565b600060208201905081810360008301526149b881614410565b9050919050565b600060208201905081810360008301526149d881614433565b9050919050565b60006020820190506149f46000830184614456565b92915050565b6000614a04614a15565b9050614a108282614cff565b919050565b6000604051905090565b600067ffffffffffffffff821115614a3a57614a39614e95565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a6657614a65614e95565b5b614a6f82614edd565b9050602081019050919050565b600067ffffffffffffffff821115614a9757614a96614e95565b5b614aa082614edd565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614afb82614c6f565b9150614b0683614c6f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b3b57614b3a614daa565b5b828201905092915050565b6000614b5182614c6f565b9150614b5c83614c6f565b925082614b6c57614b6b614dd9565b5b828204905092915050565b6000614b8282614c6f565b9150614b8d83614c6f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bc657614bc5614daa565b5b828202905092915050565b6000614bdc82614c6f565b9150614be783614c6f565b925082821015614bfa57614bf9614daa565b5b828203905092915050565b6000614c1082614c4f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614c8482614c6f565b9050919050565b82818337600083830152505050565b60005b83811015614cb8578082015181840152602081019050614c9d565b83811115614cc7576000848401525b50505050565b60006002820490506001821680614ce557607f821691505b60208210811415614cf957614cf8614e08565b5b50919050565b614d0882614edd565b810181811067ffffffffffffffff82111715614d2757614d26614e95565b5b80604052505050565b6000614d3b82614c6f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d6e57614d6d614daa565b5b600182019050919050565b6000614d8482614c6f565b9150614d8f83614c6f565b925082614d9f57614d9e614dd9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f43727970746f4d6f6e73746572436c75623a206d696e203120616e64206d617860008201527f20697320332070657220706f7274616c00000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a204f6e6c7920706f7274616c206860008201527f6f6c64657220616c6c6f7765642e000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f43727970746f4d6f6e73746572436c75623a20496e7375666669656e7420457460008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a206d696e203120616e64206d617860008201527f203130207065722074782e000000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a205075626c6963206d696e74206e60008201527f6f7420796574206f70656e2e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a206d696e7420657863656564207360008201527f7570706c792e0000000000000000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a20416c6c6f776564203120706f7260008201527f74616c207065722061646472657373206f6e6c792e0000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a204f6e6c792033206d6f6e73746560008201527f722063616e206265206d696e7465642070657220706f7274616c2e0000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a20736163726966696365206d6f6e60008201527f73746572206e6f7420656e61626c652e00000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a2063616c6c6572206973206e6f7460008201527f20746865206f776e6572206e6f7220617070726f76656420616464726573732e602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a20536f6c64206f75742e00000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a205072652d6d696e74206e6f742060008201527f796574206f70656e2e0000000000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a206574682073686f756c6420626560008201527f20646976697369626c6520627920302e3035352e000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a2065786365656420737570706c7960008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b6158ba81614c05565b81146158c557600080fd5b50565b6158d181614c17565b81146158dc57600080fd5b50565b6158e881614c23565b81146158f357600080fd5b50565b6158ff81614c6f565b811461590a57600080fd5b5056fea264697066735822122018d491e290ff0b61573c22edd49d08ee0eeb140445843315fee60c15cd47a0b164736f6c63430008070033
Deployed Bytecode
0x60806040526004361061025c5760003560e01c806371f4ba3411610144578063a22cb465116100b6578063c6c079481161007a578063c6c079481461086c578063c87b56dd14610897578063d0c5ef45146108d4578063e178e051146108ff578063e985e9c514610928578063f2fde38b146109655761025c565b8063a22cb46514610799578063a4435dfd146107c2578063b79d0814146107ed578063b88d4fde14610818578063bec6667a146108415761025c565b8063853828b611610108578063853828b61461069b57806389de2084146106b25780638a83473c146106ef5780638da5cb5b1461071857806395d89b4114610743578063a172db061461076e5761025c565b806371f4ba34146105de578063729ad39e146106075780637e2f6e3b14610630578063831685c71461065b5780638456cb59146106845761025c565b806339f7e37f116101dd5780635c975abb116101a15780635c975abb146104cc5780636352211e146104f757806367dd9ef3146105345780636d54d5301461055f57806370a082311461058a578063715018a6146105c75761025c565b806339f7e37f1461041c5780633f4ba83a1461044557806342842e0e1461045c57806348a1e66b146104855780634f6ccce71461048f5761025c565b80631249c58b116102245780631249c58b1461035857806318160ddd1461036257806323b872dd1461038d5780632f745c59146103b657806332e51b50146103f35761025c565b806301ffc9a71461026157806306fdde031461029e578063080571eb146102c9578063081812fc146102f2578063095ea7b31461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613dc0565b61098e565b6040516102959190614542565b60405180910390f35b3480156102aa57600080fd5b506102b36109a0565b6040516102c0919061455d565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613d0a565b610a32565b005b3480156102fe57600080fd5b5061031960048036038101906103149190613e63565b610b53565b6040516103269190614489565b60405180910390f35b34801561033b57600080fd5b5061035660048036038101906103519190613d0a565b610bd8565b005b610360610cf0565b005b34801561036e57600080fd5b50610377610f11565b60405161038491906149df565b60405180910390f35b34801561039957600080fd5b506103b460048036038101906103af9190613bf4565b610f1e565b005b3480156103c257600080fd5b506103dd60048036038101906103d89190613d0a565b610f7e565b6040516103ea91906149df565b60405180910390f35b3480156103ff57600080fd5b5061041a60048036038101906104159190613d93565b611023565b005b34801561042857600080fd5b50610443600480360381019061043e9190613e1a565b611040565b005b34801561045157600080fd5b5061045a6110d6565b005b34801561046857600080fd5b50610483600480360381019061047e9190613bf4565b61115c565b005b61048d61117c565b005b34801561049b57600080fd5b506104b660048036038101906104b19190613e63565b61167f565b6040516104c391906149df565b60405180910390f35b3480156104d857600080fd5b506104e16116f0565b6040516104ee9190614542565b60405180910390f35b34801561050357600080fd5b5061051e60048036038101906105199190613e63565b611707565b60405161052b9190614489565b60405180910390f35b34801561054057600080fd5b506105496117b9565b60405161055691906149df565b60405180910390f35b34801561056b57600080fd5b506105746117be565b60405161058191906149df565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac9190613b87565b6117c3565b6040516105be91906149df565b60405180910390f35b3480156105d357600080fd5b506105dc61187b565b005b3480156105ea57600080fd5b5061060560048036038101906106009190613b87565b611903565b005b34801561061357600080fd5b5061062e60048036038101906106299190613d4a565b6119c3565b005b34801561063c57600080fd5b50610645611b97565b60405161065291906149df565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d9190613d93565b611ba1565b005b34801561069057600080fd5b50610699611c3a565b005b3480156106a757600080fd5b506106b0611cc0565b005b3480156106be57600080fd5b506106d960048036038101906106d49190613e63565b611d92565b6040516106e691906149df565b60405180910390f35b3480156106fb57600080fd5b5061071660048036038101906107119190613d93565b611daa565b005b34801561072457600080fd5b5061072d611e43565b60405161073a9190614489565b60405180910390f35b34801561074f57600080fd5b50610758611e6d565b604051610765919061455d565b60405180910390f35b34801561077a57600080fd5b50610783611eff565b6040516107909190614489565b60405180910390f35b3480156107a557600080fd5b506107c060048036038101906107bb9190613cca565b611f25565b005b3480156107ce57600080fd5b506107d76120a6565b6040516107e49190614542565b60405180910390f35b3480156107f957600080fd5b506108026120b9565b60405161080f9190614542565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a9190613c47565b6120cc565b005b34801561084d57600080fd5b5061085661212e565b6040516108639190614542565b60405180910390f35b34801561087857600080fd5b50610881612141565b60405161088e91906149df565b60405180910390f35b3480156108a357600080fd5b506108be60048036038101906108b99190613e63565b612146565b6040516108cb919061455d565b60405180910390f35b3480156108e057600080fd5b506108e96121ed565b6040516108f691906149df565b60405180910390f35b34801561090b57600080fd5b5061092660048036038101906109219190613e63565b6121f3565b005b34801561093457600080fd5b5061094f600480360381019061094a9190613bb4565b6122de565b60405161095c9190614542565b60405180910390f35b34801561097157600080fd5b5061098c60048036038101906109879190613b87565b612372565b005b60006109998261261a565b9050919050565b6060600080546109af90614ccd565b80601f01602080910402602001604051908101604052809291908181526020018280546109db90614ccd565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b610a3a612694565b73ffffffffffffffffffffffffffffffffffffffff16610a58611e43565b73ffffffffffffffffffffffffffffffffffffffff1614610aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa59061489f565b60405180910390fd5b611e61610acb82610abd610f11565b61248090919063ffffffff16565b1115610b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b03906147bf565b60405180910390fd5b60005b81811015610b4e57610b3b83610b366001610b28610f11565b61248090919063ffffffff16565b61269c565b8080610b4690614d30565b915050610b0f565b505050565b6000610b5e826126ba565b610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b949061485f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610be382611707565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b906148ff565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c73612694565b73ffffffffffffffffffffffffffffffffffffffff161480610ca25750610ca181610c9c612694565b6122de565b5b610ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd89061475f565b60405180910390fd5b610ceb8383612726565b505050565b600d60019054906101000a900460ff16610d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d369061471f565b60405180910390fd5b6000610d56600c54346127df90919063ffffffff16565b90506000610d6f600c54346127f590919063ffffffff16565b90506000610d8d82610d7f610f11565b61248090919063ffffffff16565b905060008314610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc99061499f565b60405180910390fd5b600082118015610de35750600a8211155b610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e19906146ff565b60405180910390fd5b610e39600b54611e6161246a90919063ffffffff16565b811115610e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e729061491f565b60405180910390fd5b60005b82811015610f0b57610eb1610e91612694565b610eac6001610e9e610f11565b61248090919063ffffffff16565b61269c565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885610eda612694565b610ee2610f11565b604051610ef0929190614519565b60405180910390a18080610f0390614d30565b915050610e7e565b50505050565b6000600880549050905090565b610f2f610f29612694565b8261280b565b610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f659061493f565b60405180910390fd5b610f798383836128e9565b505050565b6000610f89836117c3565b8210610fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc1906145ff565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b80600d60026101000a81548160ff02191690831515021790555050565b611048612694565b73ffffffffffffffffffffffffffffffffffffffff16611066611e43565b73ffffffffffffffffffffffffffffffffffffffff16146110bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b39061489f565b60405180910390fd5b80600e90805190602001906110d29291906138e8565b5050565b6110de612694565b73ffffffffffffffffffffffffffffffffffffffff166110fc611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611152576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111499061489f565b60405180910390fd5b61115a612b45565b565b611177838383604051806020016040528060008152506120cc565b505050565b600d60009054906101000a900460ff166111cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c29061497f565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c59611213612694565b60006040518363ffffffff1660e01b81526004016112329291906144f0565b60206040518083038186803b15801561124a57600080fd5b505afa15801561125e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112829190613e90565b90506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082316112cc612694565b6040518263ffffffff1660e01b81526004016112e89190614489565b60206040518083038186803b15801561130057600080fd5b505afa158015611314573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113389190613e90565b90506000811161137d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611374906145df565b60405180910390fd5b600181146113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b7906147df565b60405180910390fd5b60006113d7600c54346127df90919063ffffffff16565b90506000811461141c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114139061499f565b60405180910390fd5b6000611433600c54346127f590919063ffffffff16565b905061145b81601060008781526020019081526020016000205461248090919063ffffffff16565b601060008681526020019081526020016000208190555060006010600086815260200190815260200160002054905060038111156114ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c5906147ff565b60405180910390fd5b6000821180156114df575060038211155b61151e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611515906145bf565b60405180910390fd5b611535600b54611e6161246a90919063ffffffff16565b61154f83611541610f11565b61248090919063ffffffff16565b1115611590576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115879061491f565b60405180910390fd5b6115a5600c5483612be790919063ffffffff16565b3410156115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115de9061467f565b60405180910390fd5b60005b828110156116775761161d6115fd612694565b611618600161160a610f11565b61248090919063ffffffff16565b61269c565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885611646612694565b61164e610f11565b60405161165c929190614519565b60405180910390a1808061166f90614d30565b9150506115ea565b505050505050565b6000611689610f11565b82106116ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c19061495f565b60405180910390fd5b600882815481106116de576116dd614e66565b5b90600052602060002001549050919050565b6000600a60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a79061479f565b60405180910390fd5b80915050919050565b600381565b600181565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182b9061477f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611883612694565b73ffffffffffffffffffffffffffffffffffffffff166118a1611e43565b73ffffffffffffffffffffffffffffffffffffffff16146118f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ee9061489f565b60405180910390fd5b6119016000612bfd565b565b61190b612694565b73ffffffffffffffffffffffffffffffffffffffff16611929611e43565b73ffffffffffffffffffffffffffffffffffffffff161461197f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119769061489f565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6119cb612694565b73ffffffffffffffffffffffffffffffffffffffff166119e9611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a369061489f565b60405180910390fd5b611e61611a5d8251611a4f610f11565b61248090919063ffffffff16565b1115611a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a95906149bf565b60405180910390fd5b6000611ab68251600b5461246a90919063ffffffff16565b11611ac057600080fd5b611ad68151600b5461246a90919063ffffffff16565b600b8190555060005b8151811015611b9357611b26828281518110611afe57611afd614e66565b5b6020026020010151611b216001611b13610f11565b61248090919063ffffffff16565b61269c565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885828281518110611b5a57611b59614e66565b5b6020026020010151611b6a610f11565b604051611b78929190614519565b60405180910390a18080611b8b90614d30565b915050611adf565b5050565b6000600b54905090565b611ba9612694565b73ffffffffffffffffffffffffffffffffffffffff16611bc7611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c149061489f565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b611c42612694565b73ffffffffffffffffffffffffffffffffffffffff16611c60611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad9061489f565b60405180910390fd5b611cbe612cc3565b565b611cc8612694565b73ffffffffffffffffffffffffffffffffffffffff16611ce6611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d339061489f565b60405180910390fd5b6000479050611d49611e43565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611d8e573d6000803e3d6000fd5b5050565b60106020528060005260406000206000915090505481565b611db2612694565b73ffffffffffffffffffffffffffffffffffffffff16611dd0611e43565b73ffffffffffffffffffffffffffffffffffffffff1614611e26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1d9061489f565b60405180910390fd5b80600d60016101000a81548160ff02191690831515021790555050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611e7c90614ccd565b80601f0160208091040260200160405190810160405280929190818152602001828054611ea890614ccd565b8015611ef55780601f10611eca57610100808354040283529160200191611ef5565b820191906000526020600020905b815481529060010190602001808311611ed857829003601f168201915b5050505050905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611f2d612694565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f92906146bf565b60405180910390fd5b8060056000611fa8612694565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612055612694565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161209a9190614542565b60405180910390a35050565b600d60019054906101000a900460ff1681565b600d60029054906101000a900460ff1681565b6120dd6120d7612694565b8361280b565b61211c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121139061493f565b60405180910390fd5b61212884848484612d66565b50505050565b600d60009054906101000a900460ff1681565b600a81565b6060612151826126ba565b612190576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612187906148df565b60405180910390fd5b600061219a612dc2565b905060008151116121ba57604051806020016040528060008152506121e5565b806121c484612e54565b6040516020016121d5929190614465565b6040516020818303038152906040525b915050919050565b611e6181565b600d60029054906101000a900460ff16612242576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122399061481f565b60405180910390fd5b61225361224d612694565b8261280b565b612292576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122899061487f565b60405180910390fd5b61229b81612fb5565b7fff8488d11ac2308131a8d9936ff5d9df537241466d5b70a4d0637191ca0aca546122c4612694565b826040516122d3929190614519565b60405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61237a612694565b73ffffffffffffffffffffffffffffffffffffffff16612398611e43565b73ffffffffffffffffffffffffffffffffffffffff16146123ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e59061489f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561245e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124559061463f565b60405180910390fd5b61246781612bfd565b50565b600081836124789190614bd1565b905092915050565b6000818361248e9190614af0565b905092915050565b600080823b905060008111915050919050565b6124b4838383612501565b6124bc6116f0565b156124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f39061457f565b60405180910390fd5b505050565b61250c838383612615565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561254f5761254a816130c6565b61258e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461258d5761258c838261310f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125d1576125cc8161327c565b612610565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461260f5761260e828261334d565b5b5b505050565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061268d575061268c826133cc565b5b9050919050565b600033905090565b6126b68282604051806020016040528060008152506134ae565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661279983611707565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081836127ed9190614d79565b905092915050565b600081836128039190614b46565b905092915050565b6000612816826126ba565b612855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284c906146df565b60405180910390fd5b600061286083611707565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806128cf57508373ffffffffffffffffffffffffffffffffffffffff166128b784610b53565b73ffffffffffffffffffffffffffffffffffffffff16145b806128e057506128df81856122de565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661290982611707565b73ffffffffffffffffffffffffffffffffffffffff161461295f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612956906148bf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c69061469f565b60405180910390fd5b6129da838383613509565b6129e5600082612726565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a359190614bd1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8c9190614af0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612b4d6116f0565b612b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b839061459f565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612bd0612694565b604051612bdd9190614489565b60405180910390a1565b60008183612bf59190614b77565b905092915050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612ccb6116f0565b15612d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d029061473f565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612d4f612694565b604051612d5c9190614489565b60405180910390a1565b612d718484846128e9565b612d7d84848484613519565b612dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db39061461f565b60405180910390fd5b50505050565b6060600e8054612dd190614ccd565b80601f0160208091040260200160405190810160405280929190818152602001828054612dfd90614ccd565b8015612e4a5780601f10612e1f57610100808354040283529160200191612e4a565b820191906000526020600020905b815481529060010190602001808311612e2d57829003601f168201915b5050505050905090565b60606000821415612e9c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fb0565b600082905060005b60008214612ece578080612eb790614d30565b915050600a82612ec79190614b46565b9150612ea4565b60008167ffffffffffffffff811115612eea57612ee9614e95565b5b6040519080825280601f01601f191660200182016040528015612f1c5781602001600182028036833780820191505090505b5090505b60008514612fa957600182612f359190614bd1565b9150600a85612f449190614d79565b6030612f509190614af0565b60f81b818381518110612f6657612f65614e66565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fa29190614b46565b9450612f20565b8093505050505b919050565b6000612fc082611707565b9050612fce81600084613509565b612fd9600083612726565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130299190614bd1565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161311c846117c3565b6131269190614bd1565b905060006007600084815260200190815260200160002054905081811461320b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132909190614bd1565b90506000600960008481526020019081526020016000205490506000600883815481106132c0576132bf614e66565b5b9060005260206000200154905080600883815481106132e2576132e1614e66565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061333157613330614e37565b5b6001900381819060005260206000200160009055905550505050565b6000613358836117c3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061349757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134a757506134a6826136b0565b5b9050919050565b6134b8838361371a565b6134c56000848484613519565b613504576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fb9061461f565b60405180910390fd5b505050565b6135148383836124a9565b505050565b600061353a8473ffffffffffffffffffffffffffffffffffffffff16612496565b156136a3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613563612694565b8786866040518563ffffffff1660e01b815260040161358594939291906144a4565b602060405180830381600087803b15801561359f57600080fd5b505af19250505080156135d057506040513d601f19601f820116820180604052508101906135cd9190613ded565b60015b613653573d8060008114613600576040519150601f19603f3d011682016040523d82523d6000602084013e613605565b606091505b5060008151141561364b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136429061461f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136a8565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561378a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137819061483f565b60405180910390fd5b613793816126ba565b156137d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ca9061465f565b60405180910390fd5b6137df60008383613509565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461382f9190614af0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546138f490614ccd565b90600052602060002090601f016020900481019282613916576000855561395d565b82601f1061392f57805160ff191683800117855561395d565b8280016001018555821561395d579182015b8281111561395c578251825591602001919060010190613941565b5b50905061396a919061396e565b5090565b5b8082111561398757600081600090555060010161396f565b5090565b600061399e61399984614a1f565b6149fa565b905080838252602082019050828560208602820111156139c1576139c0614ec9565b5b60005b858110156139f157816139d78882613a7f565b8452602084019350602083019250506001810190506139c4565b5050509392505050565b6000613a0e613a0984614a4b565b6149fa565b905082815260208101848484011115613a2a57613a29614ece565b5b613a35848285614c8b565b509392505050565b6000613a50613a4b84614a7c565b6149fa565b905082815260208101848484011115613a6c57613a6b614ece565b5b613a77848285614c8b565b509392505050565b600081359050613a8e816158b1565b92915050565b600082601f830112613aa957613aa8614ec4565b5b8135613ab984826020860161398b565b91505092915050565b600081359050613ad1816158c8565b92915050565b600081359050613ae6816158df565b92915050565b600081519050613afb816158df565b92915050565b600082601f830112613b1657613b15614ec4565b5b8135613b268482602086016139fb565b91505092915050565b600082601f830112613b4457613b43614ec4565b5b8135613b54848260208601613a3d565b91505092915050565b600081359050613b6c816158f6565b92915050565b600081519050613b81816158f6565b92915050565b600060208284031215613b9d57613b9c614ed8565b5b6000613bab84828501613a7f565b91505092915050565b60008060408385031215613bcb57613bca614ed8565b5b6000613bd985828601613a7f565b9250506020613bea85828601613a7f565b9150509250929050565b600080600060608486031215613c0d57613c0c614ed8565b5b6000613c1b86828701613a7f565b9350506020613c2c86828701613a7f565b9250506040613c3d86828701613b5d565b9150509250925092565b60008060008060808587031215613c6157613c60614ed8565b5b6000613c6f87828801613a7f565b9450506020613c8087828801613a7f565b9350506040613c9187828801613b5d565b925050606085013567ffffffffffffffff811115613cb257613cb1614ed3565b5b613cbe87828801613b01565b91505092959194509250565b60008060408385031215613ce157613ce0614ed8565b5b6000613cef85828601613a7f565b9250506020613d0085828601613ac2565b9150509250929050565b60008060408385031215613d2157613d20614ed8565b5b6000613d2f85828601613a7f565b9250506020613d4085828601613b5d565b9150509250929050565b600060208284031215613d6057613d5f614ed8565b5b600082013567ffffffffffffffff811115613d7e57613d7d614ed3565b5b613d8a84828501613a94565b91505092915050565b600060208284031215613da957613da8614ed8565b5b6000613db784828501613ac2565b91505092915050565b600060208284031215613dd657613dd5614ed8565b5b6000613de484828501613ad7565b91505092915050565b600060208284031215613e0357613e02614ed8565b5b6000613e1184828501613aec565b91505092915050565b600060208284031215613e3057613e2f614ed8565b5b600082013567ffffffffffffffff811115613e4e57613e4d614ed3565b5b613e5a84828501613b2f565b91505092915050565b600060208284031215613e7957613e78614ed8565b5b6000613e8784828501613b5d565b91505092915050565b600060208284031215613ea657613ea5614ed8565b5b6000613eb484828501613b72565b91505092915050565b613ec681614c05565b82525050565b613ed581614c17565b82525050565b6000613ee682614aad565b613ef08185614ac3565b9350613f00818560208601614c9a565b613f0981614edd565b840191505092915050565b613f1d81614c79565b82525050565b6000613f2e82614ab8565b613f388185614ad4565b9350613f48818560208601614c9a565b613f5181614edd565b840191505092915050565b6000613f6782614ab8565b613f718185614ae5565b9350613f81818560208601614c9a565b80840191505092915050565b6000613f9a602b83614ad4565b9150613fa582614eee565b604082019050919050565b6000613fbd601483614ad4565b9150613fc882614f3d565b602082019050919050565b6000613fe0603083614ad4565b9150613feb82614f66565b604082019050919050565b6000614003602e83614ad4565b915061400e82614fb5565b604082019050919050565b6000614026602b83614ad4565b915061403182615004565b604082019050919050565b6000614049603283614ad4565b915061405482615053565b604082019050919050565b600061406c602683614ad4565b9150614077826150a2565b604082019050919050565b600061408f601c83614ad4565b915061409a826150f1565b602082019050919050565b60006140b2602183614ad4565b91506140bd8261511a565b604082019050919050565b60006140d5602483614ad4565b91506140e082615169565b604082019050919050565b60006140f8601983614ad4565b9150614103826151b8565b602082019050919050565b600061411b602c83614ad4565b9150614126826151e1565b604082019050919050565b600061413e602b83614ad4565b915061414982615230565b604082019050919050565b6000614161602c83614ad4565b915061416c8261527f565b604082019050919050565b6000614184601083614ad4565b915061418f826152ce565b602082019050919050565b60006141a7603883614ad4565b91506141b2826152f7565b604082019050919050565b60006141ca602a83614ad4565b91506141d582615346565b604082019050919050565b60006141ed602983614ad4565b91506141f882615395565b604082019050919050565b6000614210602683614ad4565b915061421b826153e4565b604082019050919050565b6000614233603583614ad4565b915061423e82615433565b604082019050919050565b6000614256603b83614ad4565b915061426182615482565b604082019050919050565b6000614279603083614ad4565b9150614284826154d1565b604082019050919050565b600061429c602083614ad4565b91506142a782615520565b602082019050919050565b60006142bf602c83614ad4565b91506142ca82615549565b604082019050919050565b60006142e2604083614ad4565b91506142ed82615598565b604082019050919050565b6000614305602083614ad4565b9150614310826155e7565b602082019050919050565b6000614328602983614ad4565b915061433382615610565b604082019050919050565b600061434b602f83614ad4565b91506143568261565f565b604082019050919050565b600061436e602183614ad4565b9150614379826156ae565b604082019050919050565b6000614391601c83614ad4565b915061439c826156fd565b602082019050919050565b60006143b4603183614ad4565b91506143bf82615726565b604082019050919050565b60006143d7602c83614ad4565b91506143e282615775565b604082019050919050565b60006143fa602983614ad4565b9150614405826157c4565b604082019050919050565b600061441d603483614ad4565b915061442882615813565b604082019050919050565b6000614440602183614ad4565b915061444b82615862565b604082019050919050565b61445f81614c6f565b82525050565b60006144718285613f5c565b915061447d8284613f5c565b91508190509392505050565b600060208201905061449e6000830184613ebd565b92915050565b60006080820190506144b96000830187613ebd565b6144c66020830186613ebd565b6144d36040830185614456565b81810360608301526144e58184613edb565b905095945050505050565b60006040820190506145056000830185613ebd565b6145126020830184613f14565b9392505050565b600060408201905061452e6000830185613ebd565b61453b6020830184614456565b9392505050565b60006020820190506145576000830184613ecc565b92915050565b600060208201905081810360008301526145778184613f23565b905092915050565b6000602082019050818103600083015261459881613f8d565b9050919050565b600060208201905081810360008301526145b881613fb0565b9050919050565b600060208201905081810360008301526145d881613fd3565b9050919050565b600060208201905081810360008301526145f881613ff6565b9050919050565b6000602082019050818103600083015261461881614019565b9050919050565b600060208201905081810360008301526146388161403c565b9050919050565b600060208201905081810360008301526146588161405f565b9050919050565b6000602082019050818103600083015261467881614082565b9050919050565b60006020820190508181036000830152614698816140a5565b9050919050565b600060208201905081810360008301526146b8816140c8565b9050919050565b600060208201905081810360008301526146d8816140eb565b9050919050565b600060208201905081810360008301526146f88161410e565b9050919050565b6000602082019050818103600083015261471881614131565b9050919050565b6000602082019050818103600083015261473881614154565b9050919050565b6000602082019050818103600083015261475881614177565b9050919050565b600060208201905081810360008301526147788161419a565b9050919050565b60006020820190508181036000830152614798816141bd565b9050919050565b600060208201905081810360008301526147b8816141e0565b9050919050565b600060208201905081810360008301526147d881614203565b9050919050565b600060208201905081810360008301526147f881614226565b9050919050565b6000602082019050818103600083015261481881614249565b9050919050565b600060208201905081810360008301526148388161426c565b9050919050565b600060208201905081810360008301526148588161428f565b9050919050565b60006020820190508181036000830152614878816142b2565b9050919050565b60006020820190508181036000830152614898816142d5565b9050919050565b600060208201905081810360008301526148b8816142f8565b9050919050565b600060208201905081810360008301526148d88161431b565b9050919050565b600060208201905081810360008301526148f88161433e565b9050919050565b6000602082019050818103600083015261491881614361565b9050919050565b6000602082019050818103600083015261493881614384565b9050919050565b60006020820190508181036000830152614958816143a7565b9050919050565b60006020820190508181036000830152614978816143ca565b9050919050565b60006020820190508181036000830152614998816143ed565b9050919050565b600060208201905081810360008301526149b881614410565b9050919050565b600060208201905081810360008301526149d881614433565b9050919050565b60006020820190506149f46000830184614456565b92915050565b6000614a04614a15565b9050614a108282614cff565b919050565b6000604051905090565b600067ffffffffffffffff821115614a3a57614a39614e95565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a6657614a65614e95565b5b614a6f82614edd565b9050602081019050919050565b600067ffffffffffffffff821115614a9757614a96614e95565b5b614aa082614edd565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614afb82614c6f565b9150614b0683614c6f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b3b57614b3a614daa565b5b828201905092915050565b6000614b5182614c6f565b9150614b5c83614c6f565b925082614b6c57614b6b614dd9565b5b828204905092915050565b6000614b8282614c6f565b9150614b8d83614c6f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bc657614bc5614daa565b5b828202905092915050565b6000614bdc82614c6f565b9150614be783614c6f565b925082821015614bfa57614bf9614daa565b5b828203905092915050565b6000614c1082614c4f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614c8482614c6f565b9050919050565b82818337600083830152505050565b60005b83811015614cb8578082015181840152602081019050614c9d565b83811115614cc7576000848401525b50505050565b60006002820490506001821680614ce557607f821691505b60208210811415614cf957614cf8614e08565b5b50919050565b614d0882614edd565b810181811067ffffffffffffffff82111715614d2757614d26614e95565b5b80604052505050565b6000614d3b82614c6f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d6e57614d6d614daa565b5b600182019050919050565b6000614d8482614c6f565b9150614d8f83614c6f565b925082614d9f57614d9e614dd9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f43727970746f4d6f6e73746572436c75623a206d696e203120616e64206d617860008201527f20697320332070657220706f7274616c00000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a204f6e6c7920706f7274616c206860008201527f6f6c64657220616c6c6f7765642e000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f43727970746f4d6f6e73746572436c75623a20496e7375666669656e7420457460008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a206d696e203120616e64206d617860008201527f203130207065722074782e000000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a205075626c6963206d696e74206e60008201527f6f7420796574206f70656e2e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a206d696e7420657863656564207360008201527f7570706c792e0000000000000000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a20416c6c6f776564203120706f7260008201527f74616c207065722061646472657373206f6e6c792e0000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a204f6e6c792033206d6f6e73746560008201527f722063616e206265206d696e7465642070657220706f7274616c2e0000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a20736163726966696365206d6f6e60008201527f73746572206e6f7420656e61626c652e00000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a2063616c6c6572206973206e6f7460008201527f20746865206f776e6572206e6f7220617070726f76656420616464726573732e602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a20536f6c64206f75742e00000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a205072652d6d696e74206e6f742060008201527f796574206f70656e2e0000000000000000000000000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a206574682073686f756c6420626560008201527f20646976697369626c6520627920302e3035352e000000000000000000000000602082015250565b7f43727970746f4d6f6e73746572436c75623a2065786365656420737570706c7960008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b6158ba81614c05565b81146158c557600080fd5b50565b6158d181614c17565b81146158dc57600080fd5b50565b6158e881614c23565b81146158f357600080fd5b50565b6158ff81614c6f565b811461590a57600080fd5b5056fea264697066735822122018d491e290ff0b61573c22edd49d08ee0eeb140445843315fee60c15cd47a0b164736f6c63430008070033
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.