Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,349 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21476279 | 17 hrs ago | IN | 0 ETH | 0.00019677 | ||||
Set Approval For... | 21475447 | 19 hrs ago | IN | 0 ETH | 0.00020464 | ||||
Set Approval For... | 21376798 | 14 days ago | IN | 0 ETH | 0.00042537 | ||||
Set Approval For... | 21376789 | 14 days ago | IN | 0 ETH | 0.00037752 | ||||
Set Approval For... | 21376783 | 14 days ago | IN | 0 ETH | 0.00038242 | ||||
Set Approval For... | 21376734 | 14 days ago | IN | 0 ETH | 0.00033937 | ||||
Set Approval For... | 21376733 | 14 days ago | IN | 0 ETH | 0.00032162 | ||||
Set Approval For... | 21376728 | 14 days ago | IN | 0 ETH | 0.00034698 | ||||
Set Approval For... | 21376712 | 14 days ago | IN | 0 ETH | 0.00033939 | ||||
Set Approval For... | 21376709 | 14 days ago | IN | 0 ETH | 0.00031808 | ||||
Set Approval For... | 21376705 | 14 days ago | IN | 0 ETH | 0.00032453 | ||||
Set Approval For... | 21376704 | 14 days ago | IN | 0 ETH | 0.00032111 | ||||
Set Approval For... | 21362034 | 16 days ago | IN | 0 ETH | 0.00049646 | ||||
Set Approval For... | 20563590 | 128 days ago | IN | 0 ETH | 0.00019991 | ||||
Set Approval For... | 20101235 | 192 days ago | IN | 0 ETH | 0.00011511 | ||||
Set Approval For... | 19784599 | 236 days ago | IN | 0 ETH | 0.00029886 | ||||
Set Approval For... | 19540719 | 271 days ago | IN | 0 ETH | 0.0022407 | ||||
Set Approval For... | 19510257 | 275 days ago | IN | 0 ETH | 0.00079144 | ||||
Set Approval For... | 19463981 | 281 days ago | IN | 0 ETH | 0.00188418 | ||||
Set Approval For... | 19388194 | 292 days ago | IN | 0 ETH | 0.00199821 | ||||
Set Approval For... | 19038168 | 341 days ago | IN | 0 ETH | 0.00081902 | ||||
Set Approval For... | 18974481 | 350 days ago | IN | 0 ETH | 0.00098941 | ||||
Set Approval For... | 18804531 | 374 days ago | IN | 0 ETH | 0.00077782 | ||||
Set Approval For... | 18589198 | 404 days ago | IN | 0 ETH | 0.00050463 | ||||
Set Approval For... | 18487408 | 418 days ago | IN | 0 ETH | 0.00101562 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
StonerCatsPosters
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract StonerCatsPosters is ERC721Enumerable, Ownable{ IERC721Enumerable stonerCats; string __uriBase = "https://flat-fuchsia-fairy.fission.app/json/"; string __uriSuffix = ".json"; uint16 private tokens; mapping(uint => bool) _claimed; bool public started = false; constructor(address _stonerCats) ERC721("Stoner Cats Posters","SCP"){ stonerCats = IERC721Enumerable(_stonerCats); } function start() public onlyOwner{ started = true; } function claim(uint _tokenId) public{ require(started,"claim process not started"); require(stonerCats.ownerOf(_tokenId) == msg.sender,"owner"); require(!_claimed[_tokenId],"poster already claimed"); require(_tokenId < 10420,"posters are for the original 10420"); _claimed[_tokenId] = true; _safeMint(msg.sender,tokens++); } function claimMultiple(uint[] calldata _tokenIds) public{ for(uint i = 0; i < _tokenIds.length; i++){ claim(_tokenIds[i]); } } function claimable(uint _tokenId) public view returns(bool){ return _tokenId < 10420 && !_claimed[_tokenId]; } function unclaimed(uint start_index, uint limit) public view returns(uint[] memory){ uint unclaimedTokens; uint balance = stonerCats.balanceOf(msg.sender); if(balance == 0){ uint[] memory _unclaimed; return _unclaimed; } require(start_index < balance,"Invalid start index"); uint sampleSize = balance - start_index; if(limit != 0 && sampleSize > limit){ sampleSize = limit; } for(uint i = 0; i < sampleSize; i++){ if(claimable(stonerCats.tokenOfOwnerByIndex(msg.sender,i + start_index))){ unclaimedTokens++; } } uint[] memory _tokenIds = new uint256[](unclaimedTokens); unclaimedTokens = 0; for(uint i = 0; i < sampleSize; i++){ uint tokenId = stonerCats.tokenOfOwnerByIndex(msg.sender,i + start_index); if(claimable(tokenId)){ _tokenIds[unclaimedTokens] = tokenId; unclaimedTokens++; } } return _tokenIds; } function claimed(uint start_index, uint limit) public view returns(uint[] memory){ uint balance = balanceOf(msg.sender); if(balance == 0){ uint[] memory _unclaimed; return _unclaimed; } require(start_index < balance,"Invalid start index"); uint sampleSize = balance - start_index; if(limit != 0 && sampleSize > limit){ sampleSize = limit; } uint[] memory _tokenIds = new uint256[](sampleSize); for(uint i = 0; i < sampleSize; i++){ _tokenIds[i] = tokenOfOwnerByIndex(msg.sender,i + start_index); } return _tokenIds; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory){ require(_exists(_tokenId),"exists"); if(_tokenId == 0){ return string(abi.encodePacked(__uriBase,bytes("0"),__uriSuffix)); } uint _i = _tokenId; uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len; while (_i != 0) { k = k-1; uint8 temp = (48 + uint8(_i - _i / 10 * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(abi.encodePacked(__uriBase,bstr,__uriSuffix)); } }
// 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; 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 "../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 "../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; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../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 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", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_stonerCats","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"claimMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"claimable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"start_index","type":"uint256"},{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"renounceOwnership","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":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[{"internalType":"uint256","name":"start_index","type":"uint256"},{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"unclaimed","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526040518060600160405280602c81526020016200477a602c9139600c908051906020019062000035929190620002a8565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600d908051906020019062000083929190620002a8565b506000601060006101000a81548160ff021916908315150217905550348015620000ac57600080fd5b50604051620047a6380380620047a68339818101604052810190620000d291906200036f565b6040518060400160405280601381526020017f53746f6e6572204361747320506f7374657273000000000000000000000000008152506040518060400160405280600381526020017f5343500000000000000000000000000000000000000000000000000000000000815250816000908051906020019062000156929190620002a8565b5080600190805190602001906200016f929190620002a8565b5050506200019262000186620001da60201b60201c565b620001e260201b60201c565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506200044e565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002b690620003cf565b90600052602060002090601f016020900481019282620002da576000855562000326565b82601f10620002f557805160ff191683800117855562000326565b8280016001018555821562000326579182015b828111156200032557825182559160200191906001019062000308565b5b50905062000335919062000339565b5090565b5b80821115620003545760008160009055506001016200033a565b5090565b600081519050620003698162000434565b92915050565b6000602082840312156200038257600080fd5b6000620003928482850162000358565b91505092915050565b6000620003a882620003af565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620003e857607f821691505b60208210811415620003ff57620003fe62000405565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200043f816200039b565b81146200044b57600080fd5b50565b61431c806200045e6000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063a54ab45711610097578063c87b56dd11610071578063c87b56dd14610481578063d1d58b25146104b1578063e985e9c5146104e1578063f2fde38b146105115761018e565b8063a54ab4571461042b578063b88d4fde1461045b578063be9a6555146104775761018e565b806370a082311461037d578063715018a6146103ad5780638da5cb5b146103b75780639051cce9146103d557806395d89b41146103f1578063a22cb4651461040f5761018e565b806323b872dd1161014b57806337f101421161012557806337f10142146102d157806342842e0e146103015780634f6ccce71461031d5780636352211e1461034d5761018e565b806323b872dd146102695780632f745c5914610285578063379607f5146102b55761018e565b806301ffc9a71461019357806306fdde03146101c3578063081812fc146101e1578063095ea7b31461021157806318160ddd1461022d5780631f2698ab1461024b575b600080fd5b6101ad60048036038101906101a89190612e20565b61052d565b6040516101ba91906134dc565b60405180910390f35b6101cb6105a7565b6040516101d891906134f7565b60405180910390f35b6101fb60048036038101906101f69190612e72565b610639565b604051610208919061342a565b60405180910390f35b61022b60048036038101906102269190612d9f565b6106be565b005b6102356107d6565b60405161024291906137f9565b60405180910390f35b6102536107e3565b60405161026091906134dc565b60405180910390f35b610283600480360381019061027e9190612c99565b6107f6565b005b61029f600480360381019061029a9190612d9f565b610856565b6040516102ac91906137f9565b60405180910390f35b6102cf60048036038101906102ca9190612e72565b6108fb565b005b6102eb60048036038101906102e69190612ec4565b610b7d565b6040516102f891906134ba565b60405180910390f35b61031b60048036038101906103169190612c99565b610f67565b005b61033760048036038101906103329190612e72565b610f87565b60405161034491906137f9565b60405180910390f35b61036760048036038101906103629190612e72565b61101e565b604051610374919061342a565b60405180910390f35b61039760048036038101906103929190612c0b565b6110d0565b6040516103a491906137f9565b60405180910390f35b6103b5611188565b005b6103bf611210565b6040516103cc919061342a565b60405180910390f35b6103ef60048036038101906103ea9190612ddb565b61123a565b005b6103f96112a8565b60405161040691906134f7565b60405180910390f35b61042960048036038101906104249190612d63565b61133a565b005b61044560048036038101906104409190612ec4565b6114bb565b60405161045291906134ba565b60405180910390f35b61047560048036038101906104709190612ce8565b611643565b005b61047f6116a5565b005b61049b60048036038101906104969190612e72565b61173e565b6040516104a891906134f7565b60405180910390f35b6104cb60048036038101906104c69190612e72565b6119ab565b6040516104d891906134dc565b60405180910390f35b6104fb60048036038101906104f69190612c5d565b6119e3565b60405161050891906134dc565b60405180910390f35b61052b60048036038101906105269190612c0b565b611a77565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105a0575061059f82611b6f565b5b9050919050565b6060600080546105b690613b23565b80601f01602080910402602001604051908101604052809291908181526020018280546105e290613b23565b801561062f5780601f106106045761010080835404028352916020019161062f565b820191906000526020600020905b81548152906001019060200180831161061257829003601f168201915b5050505050905090565b600061064482611c51565b610683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067a90613719565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106c98261101e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561073a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073190613779565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610759611cbd565b73ffffffffffffffffffffffffffffffffffffffff161480610788575061078781610782611cbd565b6119e3565b5b6107c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107be90613679565b60405180910390fd5b6107d18383611cc5565b505050565b6000600880549050905090565b601060009054906101000a900460ff1681565b610807610801611cbd565b82611d7e565b610846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083d906137b9565b60405180910390fd5b610851838383611e5c565b505050565b6000610861836110d0565b82106108a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089990613559565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601060009054906101000a900460ff1661094a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094190613799565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016109bc91906137f9565b60206040518083038186803b1580156109d457600080fd5b505afa1580156109e8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0c9190612c34565b73ffffffffffffffffffffffffffffffffffffffff1614610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5990613539565b60405180910390fd5b600f600082815260200190815260200160002060009054906101000a900460ff1615610ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aba906135b9565b60405180910390fd5b6128b48110610b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afe906135f9565b60405180910390fd5b6001600f600083815260200190815260200160002060006101000a81548160ff021916908315150217905550610b7a33600e600081819054906101000a900461ffff1680929190610b5790613b86565b91906101000a81548161ffff021916908361ffff16021790555061ffff166120b8565b50565b6060600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610bdd919061342a565b60206040518083038186803b158015610bf557600080fd5b505afa158015610c09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2d9190612e9b565b90506000811415610c45576060809350505050610f61565b808510610c87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7e906136d9565b60405180910390fd5b60008582610c959190613a1e565b905060008514158015610ca757508481115b15610cb0578490505b60005b81811015610da257610d7b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c59338a85610d099190613906565b6040518363ffffffff1660e01b8152600401610d26929190613491565b60206040518083038186803b158015610d3e57600080fd5b505afa158015610d52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d769190612e9b565b6119ab565b15610d8f578380610d8b90613bb1565b9450505b8080610d9a90613bb1565b915050610cb3565b5060008367ffffffffffffffff811115610de5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e135781602001602082028036833780820191505090505b5090506000935060005b82811015610f58576000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c59338b85610e729190613906565b6040518363ffffffff1660e01b8152600401610e8f929190613491565b60206040518083038186803b158015610ea757600080fd5b505afa158015610ebb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edf9190612e9b565b9050610eea816119ab565b15610f445780838781518110610f29577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508580610f4090613bb1565b9650505b508080610f5090613bb1565b915050610e1d565b50809450505050505b92915050565b610f8283838360405180602001604052806000815250611643565b505050565b6000610f916107d6565b8210610fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc9906137d9565b60405180910390fd5b6008828154811061100c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110be906136b9565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890613699565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611190611cbd565b73ffffffffffffffffffffffffffffffffffffffff166111ae611210565b73ffffffffffffffffffffffffffffffffffffffff1614611204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fb90613739565b60405180910390fd5b61120e60006120d6565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60005b828290508110156112a357611290838383818110611284577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356108fb565b808061129b90613bb1565b91505061123d565b505050565b6060600180546112b790613b23565b80601f01602080910402602001604051908101604052809291908181526020018280546112e390613b23565b80156113305780601f1061130557610100808354040283529160200191611330565b820191906000526020600020905b81548152906001019060200180831161131357829003601f168201915b5050505050905090565b611342611cbd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790613639565b60405180910390fd5b80600560006113bd611cbd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661146a611cbd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114af91906134dc565b60405180910390a35050565b606060006114c8336110d0565b905060008114156114df576060809250505061163d565b808410611521576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611518906136d9565b60405180910390fd5b6000848261152f9190613a1e565b90506000841415801561154157508381115b1561154a578390505b60008167ffffffffffffffff81111561158c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156115ba5781602001602082028036833780820191505090505b50905060005b82811015611635576115dd3388836115d89190613906565b610856565b828281518110611616577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061162d90613bb1565b9150506115c0565b508093505050505b92915050565b61165461164e611cbd565b83611d7e565b611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a906137b9565b60405180910390fd5b61169f8484848461219c565b50505050565b6116ad611cbd565b73ffffffffffffffffffffffffffffffffffffffff166116cb611210565b73ffffffffffffffffffffffffffffffffffffffff1614611721576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171890613739565b60405180910390fd5b6001601060006101000a81548160ff021916908315150217905550565b606061174982611c51565b611788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177f90613519565b60405180910390fd5b60008214156117f357600c6040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250600d6040516020016117dd939291906133f9565b60405160208183030381529060405290506119a6565b6000829050600081905060005b6000821461182a57808061181390613bb1565b915050600a826118239190613993565b9150611800565b60008167ffffffffffffffff81111561186c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561189e5781602001600182028036833780820191505090505b50905060008290505b60008514611978576001816118bc9190613a1e565b90506000600a80876118ce9190613993565b6118d891906139c4565b866118e39190613a1e565b60306118ef919061395c565b905060008160f81b905080848481518110611933577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8761196f9190613993565b965050506118a7565b600c82600d60405160200161198f939291906133f9565b604051602081830303815290604052955050505050505b919050565b60006128b4821080156119dc5750600f600083815260200190815260200160002060009054906101000a900460ff16155b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a7f611cbd565b73ffffffffffffffffffffffffffffffffffffffff16611a9d611210565b73ffffffffffffffffffffffffffffffffffffffff1614611af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aea90613739565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5a90613599565b60405180910390fd5b611b6c816120d6565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c3a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c4a5750611c49826121f8565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d388361101e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611d8982611c51565b611dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbf90613659565b60405180910390fd5b6000611dd38361101e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e4257508373ffffffffffffffffffffffffffffffffffffffff16611e2a84610639565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e535750611e5281856119e3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e7c8261101e565b73ffffffffffffffffffffffffffffffffffffffff1614611ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec990613759565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990613619565b60405180910390fd5b611f4d838383612262565b611f58600082611cc5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fa89190613a1e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fff9190613906565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6120d2828260405180602001604052806000815250612376565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6121a7848484611e5c565b6121b3848484846123d1565b6121f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e990613579565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61226d838383612568565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122b0576122ab8161256d565b6122ef565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146122ee576122ed83826125b6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123325761232d81612723565b612371565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146123705761236f8282612866565b5b5b505050565b61238083836128e5565b61238d60008484846123d1565b6123cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c390613579565b60405180910390fd5b505050565b60006123f28473ffffffffffffffffffffffffffffffffffffffff16612ab3565b1561255b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261241b611cbd565b8786866040518563ffffffff1660e01b815260040161243d9493929190613445565b602060405180830381600087803b15801561245757600080fd5b505af192505050801561248857506040513d601f19601f820116820180604052508101906124859190612e49565b60015b61250b573d80600081146124b8576040519150601f19603f3d011682016040523d82523d6000602084013e6124bd565b606091505b50600081511415612503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fa90613579565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612560565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016125c3846110d0565b6125cd9190613a1e565b90506000600760008481526020019081526020016000205490508181146126b2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506127379190613a1e565b905060006009600084815260200190815260200160002054905060006008838154811061278d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106127d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061284a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612871836110d0565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294c906136f9565b60405180910390fd5b61295e81611c51565b1561299e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612995906135d9565b60405180910390fd5b6129aa60008383612262565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129fa9190613906565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6000612ad9612ad484613839565b613814565b905082815260208101848484011115612af157600080fd5b612afc848285613ae1565b509392505050565b600081359050612b138161428a565b92915050565b600081519050612b288161428a565b92915050565b60008083601f840112612b4057600080fd5b8235905067ffffffffffffffff811115612b5957600080fd5b602083019150836020820283011115612b7157600080fd5b9250929050565b600081359050612b87816142a1565b92915050565b600081359050612b9c816142b8565b92915050565b600081519050612bb1816142b8565b92915050565b600082601f830112612bc857600080fd5b8135612bd8848260208601612ac6565b91505092915050565b600081359050612bf0816142cf565b92915050565b600081519050612c05816142cf565b92915050565b600060208284031215612c1d57600080fd5b6000612c2b84828501612b04565b91505092915050565b600060208284031215612c4657600080fd5b6000612c5484828501612b19565b91505092915050565b60008060408385031215612c7057600080fd5b6000612c7e85828601612b04565b9250506020612c8f85828601612b04565b9150509250929050565b600080600060608486031215612cae57600080fd5b6000612cbc86828701612b04565b9350506020612ccd86828701612b04565b9250506040612cde86828701612be1565b9150509250925092565b60008060008060808587031215612cfe57600080fd5b6000612d0c87828801612b04565b9450506020612d1d87828801612b04565b9350506040612d2e87828801612be1565b925050606085013567ffffffffffffffff811115612d4b57600080fd5b612d5787828801612bb7565b91505092959194509250565b60008060408385031215612d7657600080fd5b6000612d8485828601612b04565b9250506020612d9585828601612b78565b9150509250929050565b60008060408385031215612db257600080fd5b6000612dc085828601612b04565b9250506020612dd185828601612be1565b9150509250929050565b60008060208385031215612dee57600080fd5b600083013567ffffffffffffffff811115612e0857600080fd5b612e1485828601612b2e565b92509250509250929050565b600060208284031215612e3257600080fd5b6000612e4084828501612b8d565b91505092915050565b600060208284031215612e5b57600080fd5b6000612e6984828501612ba2565b91505092915050565b600060208284031215612e8457600080fd5b6000612e9284828501612be1565b91505092915050565b600060208284031215612ead57600080fd5b6000612ebb84828501612bf6565b91505092915050565b60008060408385031215612ed757600080fd5b6000612ee585828601612be1565b9250506020612ef685828601612be1565b9150509250929050565b6000612f0c83836133db565b60208301905092915050565b612f2181613a52565b82525050565b6000612f328261388f565b612f3c81856138bd565b9350612f478361386a565b8060005b83811015612f78578151612f5f8882612f00565b9750612f6a836138b0565b925050600181019050612f4b565b5085935050505092915050565b612f8e81613a64565b82525050565b6000612f9f8261389a565b612fa981856138ce565b9350612fb9818560208601613af0565b612fc281613cb6565b840191505092915050565b6000612fd88261389a565b612fe281856138df565b9350612ff2818560208601613af0565b80840191505092915050565b6000613009826138a5565b61301381856138ea565b9350613023818560208601613af0565b61302c81613cb6565b840191505092915050565b6000815461304481613b23565b61304e81866138fb565b94506001821660008114613069576001811461307a576130ad565b60ff198316865281860193506130ad565b6130838561387a565b60005b838110156130a557815481890152600182019150602081019050613086565b838801955050505b50505092915050565b60006130c36006836138ea565b91506130ce82613cc7565b602082019050919050565b60006130e66005836138ea565b91506130f182613cf0565b602082019050919050565b6000613109602b836138ea565b915061311482613d19565b604082019050919050565b600061312c6032836138ea565b915061313782613d68565b604082019050919050565b600061314f6026836138ea565b915061315a82613db7565b604082019050919050565b60006131726016836138ea565b915061317d82613e06565b602082019050919050565b6000613195601c836138ea565b91506131a082613e2f565b602082019050919050565b60006131b86022836138ea565b91506131c382613e58565b604082019050919050565b60006131db6024836138ea565b91506131e682613ea7565b604082019050919050565b60006131fe6019836138ea565b915061320982613ef6565b602082019050919050565b6000613221602c836138ea565b915061322c82613f1f565b604082019050919050565b60006132446038836138ea565b915061324f82613f6e565b604082019050919050565b6000613267602a836138ea565b915061327282613fbd565b604082019050919050565b600061328a6029836138ea565b91506132958261400c565b604082019050919050565b60006132ad6013836138ea565b91506132b88261405b565b602082019050919050565b60006132d06020836138ea565b91506132db82614084565b602082019050919050565b60006132f3602c836138ea565b91506132fe826140ad565b604082019050919050565b60006133166020836138ea565b9150613321826140fc565b602082019050919050565b60006133396029836138ea565b915061334482614125565b604082019050919050565b600061335c6021836138ea565b915061336782614174565b604082019050919050565b600061337f6019836138ea565b915061338a826141c3565b602082019050919050565b60006133a26031836138ea565b91506133ad826141ec565b604082019050919050565b60006133c5602c836138ea565b91506133d08261423b565b604082019050919050565b6133e481613aca565b82525050565b6133f381613aca565b82525050565b60006134058286613037565b91506134118285612fcd565b915061341d8284613037565b9150819050949350505050565b600060208201905061343f6000830184612f18565b92915050565b600060808201905061345a6000830187612f18565b6134676020830186612f18565b61347460408301856133ea565b81810360608301526134868184612f94565b905095945050505050565b60006040820190506134a66000830185612f18565b6134b360208301846133ea565b9392505050565b600060208201905081810360008301526134d48184612f27565b905092915050565b60006020820190506134f16000830184612f85565b92915050565b600060208201905081810360008301526135118184612ffe565b905092915050565b60006020820190508181036000830152613532816130b6565b9050919050565b60006020820190508181036000830152613552816130d9565b9050919050565b60006020820190508181036000830152613572816130fc565b9050919050565b600060208201905081810360008301526135928161311f565b9050919050565b600060208201905081810360008301526135b281613142565b9050919050565b600060208201905081810360008301526135d281613165565b9050919050565b600060208201905081810360008301526135f281613188565b9050919050565b60006020820190508181036000830152613612816131ab565b9050919050565b60006020820190508181036000830152613632816131ce565b9050919050565b60006020820190508181036000830152613652816131f1565b9050919050565b6000602082019050818103600083015261367281613214565b9050919050565b6000602082019050818103600083015261369281613237565b9050919050565b600060208201905081810360008301526136b28161325a565b9050919050565b600060208201905081810360008301526136d28161327d565b9050919050565b600060208201905081810360008301526136f2816132a0565b9050919050565b60006020820190508181036000830152613712816132c3565b9050919050565b60006020820190508181036000830152613732816132e6565b9050919050565b6000602082019050818103600083015261375281613309565b9050919050565b600060208201905081810360008301526137728161332c565b9050919050565b600060208201905081810360008301526137928161334f565b9050919050565b600060208201905081810360008301526137b281613372565b9050919050565b600060208201905081810360008301526137d281613395565b9050919050565b600060208201905081810360008301526137f2816133b8565b9050919050565b600060208201905061380e60008301846133ea565b92915050565b600061381e61382f565b905061382a8282613b55565b919050565b6000604051905090565b600067ffffffffffffffff82111561385457613853613c87565b5b61385d82613cb6565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061391182613aca565b915061391c83613aca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561395157613950613bfa565b5b828201905092915050565b600061396782613ad4565b915061397283613ad4565b92508260ff0382111561398857613987613bfa565b5b828201905092915050565b600061399e82613aca565b91506139a983613aca565b9250826139b9576139b8613c29565b5b828204905092915050565b60006139cf82613aca565b91506139da83613aca565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a1357613a12613bfa565b5b828202905092915050565b6000613a2982613aca565b9150613a3483613aca565b925082821015613a4757613a46613bfa565b5b828203905092915050565b6000613a5d82613aaa565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613b0e578082015181840152602081019050613af3565b83811115613b1d576000848401525b50505050565b60006002820490506001821680613b3b57607f821691505b60208210811415613b4f57613b4e613c58565b5b50919050565b613b5e82613cb6565b810181811067ffffffffffffffff82111715613b7d57613b7c613c87565b5b80604052505050565b6000613b9182613a9c565b915061ffff821415613ba657613ba5613bfa565b5b600182019050919050565b6000613bbc82613aca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bef57613bee613bfa565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f6578697374730000000000000000000000000000000000000000000000000000600082015250565b7f6f776e6572000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f706f7374657220616c726561647920636c61696d656400000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f706f73746572732061726520666f7220746865206f726967696e616c2031303460008201527f3230000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e76616c696420737461727420696e64657800000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f636c61696d2070726f63657373206e6f74207374617274656400000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61429381613a52565b811461429e57600080fd5b50565b6142aa81613a64565b81146142b557600080fd5b50565b6142c181613a70565b81146142cc57600080fd5b50565b6142d881613aca565b81146142e357600080fd5b5056fea264697066735822122085e386c87007fc8a1e903e17aa15f12104892503cb2ba450fc24aa80fec70d0e64736f6c6343000804003368747470733a2f2f666c61742d667563687369612d66616972792e66697373696f6e2e6170702f6a736f6e2f000000000000000000000000d4d871419714b778ebec2e22c7c53572b573706e
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063a54ab45711610097578063c87b56dd11610071578063c87b56dd14610481578063d1d58b25146104b1578063e985e9c5146104e1578063f2fde38b146105115761018e565b8063a54ab4571461042b578063b88d4fde1461045b578063be9a6555146104775761018e565b806370a082311461037d578063715018a6146103ad5780638da5cb5b146103b75780639051cce9146103d557806395d89b41146103f1578063a22cb4651461040f5761018e565b806323b872dd1161014b57806337f101421161012557806337f10142146102d157806342842e0e146103015780634f6ccce71461031d5780636352211e1461034d5761018e565b806323b872dd146102695780632f745c5914610285578063379607f5146102b55761018e565b806301ffc9a71461019357806306fdde03146101c3578063081812fc146101e1578063095ea7b31461021157806318160ddd1461022d5780631f2698ab1461024b575b600080fd5b6101ad60048036038101906101a89190612e20565b61052d565b6040516101ba91906134dc565b60405180910390f35b6101cb6105a7565b6040516101d891906134f7565b60405180910390f35b6101fb60048036038101906101f69190612e72565b610639565b604051610208919061342a565b60405180910390f35b61022b60048036038101906102269190612d9f565b6106be565b005b6102356107d6565b60405161024291906137f9565b60405180910390f35b6102536107e3565b60405161026091906134dc565b60405180910390f35b610283600480360381019061027e9190612c99565b6107f6565b005b61029f600480360381019061029a9190612d9f565b610856565b6040516102ac91906137f9565b60405180910390f35b6102cf60048036038101906102ca9190612e72565b6108fb565b005b6102eb60048036038101906102e69190612ec4565b610b7d565b6040516102f891906134ba565b60405180910390f35b61031b60048036038101906103169190612c99565b610f67565b005b61033760048036038101906103329190612e72565b610f87565b60405161034491906137f9565b60405180910390f35b61036760048036038101906103629190612e72565b61101e565b604051610374919061342a565b60405180910390f35b61039760048036038101906103929190612c0b565b6110d0565b6040516103a491906137f9565b60405180910390f35b6103b5611188565b005b6103bf611210565b6040516103cc919061342a565b60405180910390f35b6103ef60048036038101906103ea9190612ddb565b61123a565b005b6103f96112a8565b60405161040691906134f7565b60405180910390f35b61042960048036038101906104249190612d63565b61133a565b005b61044560048036038101906104409190612ec4565b6114bb565b60405161045291906134ba565b60405180910390f35b61047560048036038101906104709190612ce8565b611643565b005b61047f6116a5565b005b61049b60048036038101906104969190612e72565b61173e565b6040516104a891906134f7565b60405180910390f35b6104cb60048036038101906104c69190612e72565b6119ab565b6040516104d891906134dc565b60405180910390f35b6104fb60048036038101906104f69190612c5d565b6119e3565b60405161050891906134dc565b60405180910390f35b61052b60048036038101906105269190612c0b565b611a77565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105a0575061059f82611b6f565b5b9050919050565b6060600080546105b690613b23565b80601f01602080910402602001604051908101604052809291908181526020018280546105e290613b23565b801561062f5780601f106106045761010080835404028352916020019161062f565b820191906000526020600020905b81548152906001019060200180831161061257829003601f168201915b5050505050905090565b600061064482611c51565b610683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067a90613719565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106c98261101e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561073a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073190613779565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610759611cbd565b73ffffffffffffffffffffffffffffffffffffffff161480610788575061078781610782611cbd565b6119e3565b5b6107c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107be90613679565b60405180910390fd5b6107d18383611cc5565b505050565b6000600880549050905090565b601060009054906101000a900460ff1681565b610807610801611cbd565b82611d7e565b610846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083d906137b9565b60405180910390fd5b610851838383611e5c565b505050565b6000610861836110d0565b82106108a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089990613559565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601060009054906101000a900460ff1661094a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094190613799565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016109bc91906137f9565b60206040518083038186803b1580156109d457600080fd5b505afa1580156109e8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0c9190612c34565b73ffffffffffffffffffffffffffffffffffffffff1614610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5990613539565b60405180910390fd5b600f600082815260200190815260200160002060009054906101000a900460ff1615610ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aba906135b9565b60405180910390fd5b6128b48110610b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afe906135f9565b60405180910390fd5b6001600f600083815260200190815260200160002060006101000a81548160ff021916908315150217905550610b7a33600e600081819054906101000a900461ffff1680929190610b5790613b86565b91906101000a81548161ffff021916908361ffff16021790555061ffff166120b8565b50565b6060600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610bdd919061342a565b60206040518083038186803b158015610bf557600080fd5b505afa158015610c09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2d9190612e9b565b90506000811415610c45576060809350505050610f61565b808510610c87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7e906136d9565b60405180910390fd5b60008582610c959190613a1e565b905060008514158015610ca757508481115b15610cb0578490505b60005b81811015610da257610d7b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c59338a85610d099190613906565b6040518363ffffffff1660e01b8152600401610d26929190613491565b60206040518083038186803b158015610d3e57600080fd5b505afa158015610d52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d769190612e9b565b6119ab565b15610d8f578380610d8b90613bb1565b9450505b8080610d9a90613bb1565b915050610cb3565b5060008367ffffffffffffffff811115610de5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e135781602001602082028036833780820191505090505b5090506000935060005b82811015610f58576000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c59338b85610e729190613906565b6040518363ffffffff1660e01b8152600401610e8f929190613491565b60206040518083038186803b158015610ea757600080fd5b505afa158015610ebb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edf9190612e9b565b9050610eea816119ab565b15610f445780838781518110610f29577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508580610f4090613bb1565b9650505b508080610f5090613bb1565b915050610e1d565b50809450505050505b92915050565b610f8283838360405180602001604052806000815250611643565b505050565b6000610f916107d6565b8210610fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc9906137d9565b60405180910390fd5b6008828154811061100c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110be906136b9565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890613699565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611190611cbd565b73ffffffffffffffffffffffffffffffffffffffff166111ae611210565b73ffffffffffffffffffffffffffffffffffffffff1614611204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fb90613739565b60405180910390fd5b61120e60006120d6565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60005b828290508110156112a357611290838383818110611284577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356108fb565b808061129b90613bb1565b91505061123d565b505050565b6060600180546112b790613b23565b80601f01602080910402602001604051908101604052809291908181526020018280546112e390613b23565b80156113305780601f1061130557610100808354040283529160200191611330565b820191906000526020600020905b81548152906001019060200180831161131357829003601f168201915b5050505050905090565b611342611cbd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790613639565b60405180910390fd5b80600560006113bd611cbd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661146a611cbd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114af91906134dc565b60405180910390a35050565b606060006114c8336110d0565b905060008114156114df576060809250505061163d565b808410611521576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611518906136d9565b60405180910390fd5b6000848261152f9190613a1e565b90506000841415801561154157508381115b1561154a578390505b60008167ffffffffffffffff81111561158c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156115ba5781602001602082028036833780820191505090505b50905060005b82811015611635576115dd3388836115d89190613906565b610856565b828281518110611616577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061162d90613bb1565b9150506115c0565b508093505050505b92915050565b61165461164e611cbd565b83611d7e565b611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a906137b9565b60405180910390fd5b61169f8484848461219c565b50505050565b6116ad611cbd565b73ffffffffffffffffffffffffffffffffffffffff166116cb611210565b73ffffffffffffffffffffffffffffffffffffffff1614611721576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171890613739565b60405180910390fd5b6001601060006101000a81548160ff021916908315150217905550565b606061174982611c51565b611788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177f90613519565b60405180910390fd5b60008214156117f357600c6040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250600d6040516020016117dd939291906133f9565b60405160208183030381529060405290506119a6565b6000829050600081905060005b6000821461182a57808061181390613bb1565b915050600a826118239190613993565b9150611800565b60008167ffffffffffffffff81111561186c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561189e5781602001600182028036833780820191505090505b50905060008290505b60008514611978576001816118bc9190613a1e565b90506000600a80876118ce9190613993565b6118d891906139c4565b866118e39190613a1e565b60306118ef919061395c565b905060008160f81b905080848481518110611933577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8761196f9190613993565b965050506118a7565b600c82600d60405160200161198f939291906133f9565b604051602081830303815290604052955050505050505b919050565b60006128b4821080156119dc5750600f600083815260200190815260200160002060009054906101000a900460ff16155b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a7f611cbd565b73ffffffffffffffffffffffffffffffffffffffff16611a9d611210565b73ffffffffffffffffffffffffffffffffffffffff1614611af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aea90613739565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5a90613599565b60405180910390fd5b611b6c816120d6565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c3a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c4a5750611c49826121f8565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d388361101e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611d8982611c51565b611dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbf90613659565b60405180910390fd5b6000611dd38361101e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e4257508373ffffffffffffffffffffffffffffffffffffffff16611e2a84610639565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e535750611e5281856119e3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e7c8261101e565b73ffffffffffffffffffffffffffffffffffffffff1614611ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec990613759565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990613619565b60405180910390fd5b611f4d838383612262565b611f58600082611cc5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fa89190613a1e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fff9190613906565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6120d2828260405180602001604052806000815250612376565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6121a7848484611e5c565b6121b3848484846123d1565b6121f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e990613579565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61226d838383612568565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122b0576122ab8161256d565b6122ef565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146122ee576122ed83826125b6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123325761232d81612723565b612371565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146123705761236f8282612866565b5b5b505050565b61238083836128e5565b61238d60008484846123d1565b6123cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c390613579565b60405180910390fd5b505050565b60006123f28473ffffffffffffffffffffffffffffffffffffffff16612ab3565b1561255b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261241b611cbd565b8786866040518563ffffffff1660e01b815260040161243d9493929190613445565b602060405180830381600087803b15801561245757600080fd5b505af192505050801561248857506040513d601f19601f820116820180604052508101906124859190612e49565b60015b61250b573d80600081146124b8576040519150601f19603f3d011682016040523d82523d6000602084013e6124bd565b606091505b50600081511415612503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fa90613579565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612560565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016125c3846110d0565b6125cd9190613a1e565b90506000600760008481526020019081526020016000205490508181146126b2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506127379190613a1e565b905060006009600084815260200190815260200160002054905060006008838154811061278d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106127d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061284a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612871836110d0565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294c906136f9565b60405180910390fd5b61295e81611c51565b1561299e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612995906135d9565b60405180910390fd5b6129aa60008383612262565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129fa9190613906565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6000612ad9612ad484613839565b613814565b905082815260208101848484011115612af157600080fd5b612afc848285613ae1565b509392505050565b600081359050612b138161428a565b92915050565b600081519050612b288161428a565b92915050565b60008083601f840112612b4057600080fd5b8235905067ffffffffffffffff811115612b5957600080fd5b602083019150836020820283011115612b7157600080fd5b9250929050565b600081359050612b87816142a1565b92915050565b600081359050612b9c816142b8565b92915050565b600081519050612bb1816142b8565b92915050565b600082601f830112612bc857600080fd5b8135612bd8848260208601612ac6565b91505092915050565b600081359050612bf0816142cf565b92915050565b600081519050612c05816142cf565b92915050565b600060208284031215612c1d57600080fd5b6000612c2b84828501612b04565b91505092915050565b600060208284031215612c4657600080fd5b6000612c5484828501612b19565b91505092915050565b60008060408385031215612c7057600080fd5b6000612c7e85828601612b04565b9250506020612c8f85828601612b04565b9150509250929050565b600080600060608486031215612cae57600080fd5b6000612cbc86828701612b04565b9350506020612ccd86828701612b04565b9250506040612cde86828701612be1565b9150509250925092565b60008060008060808587031215612cfe57600080fd5b6000612d0c87828801612b04565b9450506020612d1d87828801612b04565b9350506040612d2e87828801612be1565b925050606085013567ffffffffffffffff811115612d4b57600080fd5b612d5787828801612bb7565b91505092959194509250565b60008060408385031215612d7657600080fd5b6000612d8485828601612b04565b9250506020612d9585828601612b78565b9150509250929050565b60008060408385031215612db257600080fd5b6000612dc085828601612b04565b9250506020612dd185828601612be1565b9150509250929050565b60008060208385031215612dee57600080fd5b600083013567ffffffffffffffff811115612e0857600080fd5b612e1485828601612b2e565b92509250509250929050565b600060208284031215612e3257600080fd5b6000612e4084828501612b8d565b91505092915050565b600060208284031215612e5b57600080fd5b6000612e6984828501612ba2565b91505092915050565b600060208284031215612e8457600080fd5b6000612e9284828501612be1565b91505092915050565b600060208284031215612ead57600080fd5b6000612ebb84828501612bf6565b91505092915050565b60008060408385031215612ed757600080fd5b6000612ee585828601612be1565b9250506020612ef685828601612be1565b9150509250929050565b6000612f0c83836133db565b60208301905092915050565b612f2181613a52565b82525050565b6000612f328261388f565b612f3c81856138bd565b9350612f478361386a565b8060005b83811015612f78578151612f5f8882612f00565b9750612f6a836138b0565b925050600181019050612f4b565b5085935050505092915050565b612f8e81613a64565b82525050565b6000612f9f8261389a565b612fa981856138ce565b9350612fb9818560208601613af0565b612fc281613cb6565b840191505092915050565b6000612fd88261389a565b612fe281856138df565b9350612ff2818560208601613af0565b80840191505092915050565b6000613009826138a5565b61301381856138ea565b9350613023818560208601613af0565b61302c81613cb6565b840191505092915050565b6000815461304481613b23565b61304e81866138fb565b94506001821660008114613069576001811461307a576130ad565b60ff198316865281860193506130ad565b6130838561387a565b60005b838110156130a557815481890152600182019150602081019050613086565b838801955050505b50505092915050565b60006130c36006836138ea565b91506130ce82613cc7565b602082019050919050565b60006130e66005836138ea565b91506130f182613cf0565b602082019050919050565b6000613109602b836138ea565b915061311482613d19565b604082019050919050565b600061312c6032836138ea565b915061313782613d68565b604082019050919050565b600061314f6026836138ea565b915061315a82613db7565b604082019050919050565b60006131726016836138ea565b915061317d82613e06565b602082019050919050565b6000613195601c836138ea565b91506131a082613e2f565b602082019050919050565b60006131b86022836138ea565b91506131c382613e58565b604082019050919050565b60006131db6024836138ea565b91506131e682613ea7565b604082019050919050565b60006131fe6019836138ea565b915061320982613ef6565b602082019050919050565b6000613221602c836138ea565b915061322c82613f1f565b604082019050919050565b60006132446038836138ea565b915061324f82613f6e565b604082019050919050565b6000613267602a836138ea565b915061327282613fbd565b604082019050919050565b600061328a6029836138ea565b91506132958261400c565b604082019050919050565b60006132ad6013836138ea565b91506132b88261405b565b602082019050919050565b60006132d06020836138ea565b91506132db82614084565b602082019050919050565b60006132f3602c836138ea565b91506132fe826140ad565b604082019050919050565b60006133166020836138ea565b9150613321826140fc565b602082019050919050565b60006133396029836138ea565b915061334482614125565b604082019050919050565b600061335c6021836138ea565b915061336782614174565b604082019050919050565b600061337f6019836138ea565b915061338a826141c3565b602082019050919050565b60006133a26031836138ea565b91506133ad826141ec565b604082019050919050565b60006133c5602c836138ea565b91506133d08261423b565b604082019050919050565b6133e481613aca565b82525050565b6133f381613aca565b82525050565b60006134058286613037565b91506134118285612fcd565b915061341d8284613037565b9150819050949350505050565b600060208201905061343f6000830184612f18565b92915050565b600060808201905061345a6000830187612f18565b6134676020830186612f18565b61347460408301856133ea565b81810360608301526134868184612f94565b905095945050505050565b60006040820190506134a66000830185612f18565b6134b360208301846133ea565b9392505050565b600060208201905081810360008301526134d48184612f27565b905092915050565b60006020820190506134f16000830184612f85565b92915050565b600060208201905081810360008301526135118184612ffe565b905092915050565b60006020820190508181036000830152613532816130b6565b9050919050565b60006020820190508181036000830152613552816130d9565b9050919050565b60006020820190508181036000830152613572816130fc565b9050919050565b600060208201905081810360008301526135928161311f565b9050919050565b600060208201905081810360008301526135b281613142565b9050919050565b600060208201905081810360008301526135d281613165565b9050919050565b600060208201905081810360008301526135f281613188565b9050919050565b60006020820190508181036000830152613612816131ab565b9050919050565b60006020820190508181036000830152613632816131ce565b9050919050565b60006020820190508181036000830152613652816131f1565b9050919050565b6000602082019050818103600083015261367281613214565b9050919050565b6000602082019050818103600083015261369281613237565b9050919050565b600060208201905081810360008301526136b28161325a565b9050919050565b600060208201905081810360008301526136d28161327d565b9050919050565b600060208201905081810360008301526136f2816132a0565b9050919050565b60006020820190508181036000830152613712816132c3565b9050919050565b60006020820190508181036000830152613732816132e6565b9050919050565b6000602082019050818103600083015261375281613309565b9050919050565b600060208201905081810360008301526137728161332c565b9050919050565b600060208201905081810360008301526137928161334f565b9050919050565b600060208201905081810360008301526137b281613372565b9050919050565b600060208201905081810360008301526137d281613395565b9050919050565b600060208201905081810360008301526137f2816133b8565b9050919050565b600060208201905061380e60008301846133ea565b92915050565b600061381e61382f565b905061382a8282613b55565b919050565b6000604051905090565b600067ffffffffffffffff82111561385457613853613c87565b5b61385d82613cb6565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061391182613aca565b915061391c83613aca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561395157613950613bfa565b5b828201905092915050565b600061396782613ad4565b915061397283613ad4565b92508260ff0382111561398857613987613bfa565b5b828201905092915050565b600061399e82613aca565b91506139a983613aca565b9250826139b9576139b8613c29565b5b828204905092915050565b60006139cf82613aca565b91506139da83613aca565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a1357613a12613bfa565b5b828202905092915050565b6000613a2982613aca565b9150613a3483613aca565b925082821015613a4757613a46613bfa565b5b828203905092915050565b6000613a5d82613aaa565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613b0e578082015181840152602081019050613af3565b83811115613b1d576000848401525b50505050565b60006002820490506001821680613b3b57607f821691505b60208210811415613b4f57613b4e613c58565b5b50919050565b613b5e82613cb6565b810181811067ffffffffffffffff82111715613b7d57613b7c613c87565b5b80604052505050565b6000613b9182613a9c565b915061ffff821415613ba657613ba5613bfa565b5b600182019050919050565b6000613bbc82613aca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bef57613bee613bfa565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f6578697374730000000000000000000000000000000000000000000000000000600082015250565b7f6f776e6572000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f706f7374657220616c726561647920636c61696d656400000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f706f73746572732061726520666f7220746865206f726967696e616c2031303460008201527f3230000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e76616c696420737461727420696e64657800000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f636c61696d2070726f63657373206e6f74207374617274656400000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61429381613a52565b811461429e57600080fd5b50565b6142aa81613a64565b81146142b557600080fd5b50565b6142c181613a70565b81146142cc57600080fd5b50565b6142d881613aca565b81146142e357600080fd5b5056fea264697066735822122085e386c87007fc8a1e903e17aa15f12104892503cb2ba450fc24aa80fec70d0e64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d4d871419714b778ebec2e22c7c53572b573706e
-----Decoded View---------------
Arg [0] : _stonerCats (address): 0xD4d871419714B778eBec2E22C7c53572b573706e
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000d4d871419714b778ebec2e22c7c53572b573706e
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.