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 63 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw All | 18461390 | 314 days ago | IN | 0 ETH | 0.00034543 | ||||
Set Approval For... | 18134073 | 360 days ago | IN | 0 ETH | 0.00062207 | ||||
Mint | 18112100 | 363 days ago | IN | 0.0055 ETH | 0.0028444 | ||||
Mint | 18108427 | 363 days ago | IN | 0.0055 ETH | 0.00342548 | ||||
Mint | 18108325 | 363 days ago | IN | 0.0053 ETH | 0.00287012 | ||||
Mint | 18108312 | 363 days ago | IN | 0.0054 ETH | 0.00279621 | ||||
Mint | 18049148 | 372 days ago | IN | 0.0056 ETH | 0.00454773 | ||||
Mint | 18040279 | 373 days ago | IN | 0.0056 ETH | 0.00367386 | ||||
Mint | 18038286 | 373 days ago | IN | 0.0051 ETH | 0.00259361 | ||||
Mint | 18038276 | 373 days ago | IN | 0.0051 ETH | 0.00314979 | ||||
Mint | 17891842 | 394 days ago | IN | 0.0056 ETH | 0.00630138 | ||||
Mint | 17629694 | 430 days ago | IN | 0.0058 ETH | 0.01271661 | ||||
Mint | 17629650 | 430 days ago | IN | 0.0058 ETH | 0.01262051 | ||||
Withdraw All | 17621748 | 432 days ago | IN | 0 ETH | 0.00076195 | ||||
Mint | 17562045 | 440 days ago | IN | 0.0051 ETH | 0.00283399 | ||||
Mint | 17555658 | 441 days ago | IN | 0.0053 ETH | 0.00335898 | ||||
Mint | 17555532 | 441 days ago | IN | 0.0051 ETH | 0.00311004 | ||||
Mint | 17555498 | 441 days ago | IN | 0.0054 ETH | 0.00378193 | ||||
Mint | 17555490 | 441 days ago | IN | 0.0061 ETH | 0.00368648 | ||||
Mint | 17554685 | 441 days ago | IN | 0.0051 ETH | 0.00405582 | ||||
Mint | 17554551 | 441 days ago | IN | 0.0055 ETH | 0.00344922 | ||||
Mint | 17554362 | 441 days ago | IN | 0.0055 ETH | 0.00321553 | ||||
Mint | 17551858 | 441 days ago | IN | 0.0051 ETH | 0.00363347 | ||||
Mint | 17547822 | 442 days ago | IN | 0.0054 ETH | 0.00610479 | ||||
Mint | 17547640 | 442 days ago | IN | 0.0051 ETH | 0.00328218 |
Loading...
Loading
Contract Name:
Rectangles
Compiler Version
v0.8.12+commit.f00d7308
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.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Base64.sol"; contract Rectangles is ERC721Enumerable, Ownable { using Counters for Counters.Counter; uint256 private maxSupply = 64; mapping(uint256 => address) public creators; mapping(uint256 => TokenData) tokens; bool private paused; event MintEvent(address indexed sender); struct TokenData { uint8 x; uint8 y; uint8 w; uint8 h; uint8 color; uint8 blink; uint time; } Counters.Counter private _tokenIds; constructor() ERC721("64 Rectangles", "RECTS") { paused = false; } function str8(uint8 v) internal pure returns (string memory) { return Strings.toString(v); } modifier whenNotPaused() { require(!paused, "paused"); _; } modifier onlyCreator(uint256 _id) { require( creators[_id] == msg.sender || owner() == msg.sender, "onlyCreator" ); _; } function _unpause() public onlyOwner { paused = false; } function _pause() public onlyOwner { paused = true; } function setTokenData( uint256 id, uint8 x, uint8 y, uint8 w, uint8 h, uint8 color, uint8 blink ) public onlyCreator(id) { require(w>0 && h>0, "sizeError"); tokens[id].x = x; tokens[id].y = y; tokens[id].w = w; tokens[id].h = h; tokens[id].color = color; tokens[id].blink = blink; tokens[id].time = block.timestamp; } function getTokens(uint256 sIdx, uint256 len) public view returns (TokenData[] memory){ //uint256 length = totalSupply(); TokenData[] memory _tokens = new TokenData[](len); for (uint256 i = 0; i <len; ++i) { _tokens[i] = tokens[sIdx+i]; } return _tokens; } function getCreators(uint256 sIdx, uint256 len) public view returns (address[] memory){ address[] memory _creators = new address[](len); for (uint256 i = 0; i <len; ++i) { _creators[i] = creators[sIdx+i]; } return _creators; } function _mintToken(address _to) internal returns (uint256 _tokenId) { uint256 tokenId = _tokenIds.current(); _safeMint(_to, tokenId); _tokenIds.increment(); return tokenId; } function mint( uint8 x, uint8 y, uint8 w, uint8 h, uint8 c, uint8 b ) public payable whenNotPaused { require( totalSupply() < maxSupply, "errorSupply" ); //price = 0.005 + 0.06 * (w*h)/10000; uint256 price = (5000+6*uint256(w)*uint256(h)) * 0.000001 ether; require( msg.value >= price, "errorEth" ); uint256 tokenId = _mintToken(msg.sender); creators[tokenId] = msg.sender; setTokenData(tokenId, x, y, w, h, c, b); emit MintEvent(msg.sender); } function _mint( uint8 x, uint8 y, uint8 w, uint8 h, uint8 c, uint8 b ) public onlyOwner { uint256 tokenId = _mintToken(msg.sender); creators[tokenId] = msg.sender; setTokenData(tokenId, x, y, w, h, c, b); } function html() private view returns (bytes memory) { return abi.encodePacked( "<!DOCTYPE html>" "<html>" "<head>" "<title>64 Rectangles</title>" '<style>' "body { background:#bbb;overflow:hidden;font-size:30px;font-family:sans-serif; } " "#con{position:absolute;left:0;top:0;transform-origin: 0 0;} " ".rect{ color:#fff; display:flex; align-items:center; justify-content:center; overflow:hidden; position: absolute;animation: ani 1s infinite alternate ease-in-out;} " "@keyframes ani{from {opacity: 0;} to {opacity: 1;}} " "</style>" "<script>", json(), js(), "</script>" "</head>" "<body>" "<div id='con'></div>" "</body>" "</html>" ); } function js() private pure returns (bytes memory) { return abi.encodePacked( 'var w=window,dt=document;' 'w.onload=()=>{' 'var dc=dt.createElement.bind(dt),' 'cols=["#000","#f00","#0f0","#00f","#ff0","#f0f","#0ff","#fff"],' 'con=dt.getElementById("con");' 'for(let i=0;i<jsons.length;i++){' 'let d=jsons[i];' "let d1=dc('div')," "d2=dc('div');" "let d1s=d1.style," "d2s=d2.style;" 'd1.classList.add("rect");' 'd1.innerText=""+(i+1);' 'd1s.left=d2s.left=(d[0]*10)+"px";' 'd1s.top=d2s.top=(d[1]*10)+"px";' 'd1s.width=d2s.width=(d[2]*10)+"px";' 'd1s.height=d2s.height=(d[3]*10)+"px";' 'd1s.animationDuration=(d[5])+"0ms";' 'd1s.backgroundColor=cols[Math.floor(d[4]/10)];' 'd1s.zIndex=""+(i*2);' 'd2s.position="absolute";' 'd2s.zIndex=""+(i*2-1);' 'd2s.backgroundColor=cols[d[4]%10];' 'con.appendChild(d1);' 'con.appendChild(d2);' '}' 'rz();' 'w.addEventListener("resize",rz);' 'function rz(e){' 'con.style.transform=`scale(${w.innerWidth/1000},${w.innerHeight/1000})`;' '}' '}' ); } function json() private view returns (bytes memory) { bytes memory str = "var jsons=["; uint256 supply = totalSupply(); for (uint256 i = 0; i < supply; ++i) { str = abi.encodePacked( str, "[", str8(tokens[i].x), ",", str8(tokens[i].y), ",", str8(tokens[i].w), ",", str8(tokens[i].h), ",", str8(tokens[i].color), ",", str8(tokens[i].blink), "]," ); } return abi.encodePacked(str,"];"); } function image(uint256 _id) private view returns (bytes memory) { string memory x = str8(tokens[_id].x); string memory y = str8(tokens[_id].y); string memory w = str8(tokens[_id].w); string memory h = str8(tokens[_id].h); string memory blink = str8(tokens[_id].blink); uint8 col = tokens[_id].color; uint8 colIdx = col%10; uint8 colIdx2 = (col/10); return abi.encodePacked( '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"' ' style="background-color:#bbb;">' '<style>' '@keyframes ani {0%{ opacity: 0;} 100%{ opacity: 1;}}' '</style>' '<rect width="',w,'"' ' height="',h,'"' ' x="',x,'"' ' y="',y,'"' ' style="fill:',getHex(colIdx),';" />' '<rect width="',w,'"' ' height="',h,'"' ' x="',x,'"' ' y="',y,'"' ' style="fill:',getHex(colIdx2),';animation: ani ',blink,'0ms infinite linear alternate;" />' '</svg>' ); } function getHex(uint8 colIdx) public pure returns (bytes memory) { bytes memory colHex = new bytes(0); if(colIdx==1) colHex = bytes("#f00"); else if(colIdx==2) colHex = bytes("#0f0"); else if(colIdx==3) colHex = bytes("#00f"); else if(colIdx==4) colHex = bytes("#ff0"); else if(colIdx==5) colHex = bytes("#f0f"); else if(colIdx==6) colHex = bytes("#0ff"); else if(colIdx==7) colHex = bytes("#fff"); else colHex = bytes("#000"); return colHex; } function tokenURI(uint256 _id) public view override returns (string memory) { require( _exists(_id), "idError" ); bytes memory metadata = abi.encodePacked( "{" '"name":"Rectangle #',Strings.toString(_id+1),'",' '"description":"A generative art made by multiple minters",', '"image":"data:image/svg+xml;base64,',Base64.encode(image(_id)),'",' '"external_url": "https://kitasenjudesign.com/rects/",', '"animation_url":"data:text/html;base64,', Base64.encode(html()),'",' '"attributes": [' '{' '"trait_type": "no",' '"value": ',Strings.toString(_id+1), '}' ']' "}" ); return string(abi.encodePacked("data:application/json,", metadata)); } function withdrawAll() external onlyOwner { uint256 amount = address(this).balance; require(payable(owner()).send(amount)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); 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) { _requireMinted(tokenId); 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 overridden 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 token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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 _ownerOf(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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @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 from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); /// @solidity memory-safe-assembly assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; import "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"MintEvent","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":"uint8","name":"x","type":"uint8"},{"internalType":"uint8","name":"y","type":"uint8"},{"internalType":"uint8","name":"w","type":"uint8"},{"internalType":"uint8","name":"h","type":"uint8"},{"internalType":"uint8","name":"c","type":"uint8"},{"internalType":"uint8","name":"b","type":"uint8"}],"name":"_mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"creators","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sIdx","type":"uint256"},{"internalType":"uint256","name":"len","type":"uint256"}],"name":"getCreators","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"colIdx","type":"uint8"}],"name":"getHex","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"sIdx","type":"uint256"},{"internalType":"uint256","name":"len","type":"uint256"}],"name":"getTokens","outputs":[{"components":[{"internalType":"uint8","name":"x","type":"uint8"},{"internalType":"uint8","name":"y","type":"uint8"},{"internalType":"uint8","name":"w","type":"uint8"},{"internalType":"uint8","name":"h","type":"uint8"},{"internalType":"uint8","name":"color","type":"uint8"},{"internalType":"uint8","name":"blink","type":"uint8"},{"internalType":"uint256","name":"time","type":"uint256"}],"internalType":"struct Rectangles.TokenData[]","name":"","type":"tuple[]"}],"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":[{"internalType":"uint8","name":"x","type":"uint8"},{"internalType":"uint8","name":"y","type":"uint8"},{"internalType":"uint8","name":"w","type":"uint8"},{"internalType":"uint8","name":"h","type":"uint8"},{"internalType":"uint8","name":"c","type":"uint8"},{"internalType":"uint8","name":"b","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint8","name":"x","type":"uint8"},{"internalType":"uint8","name":"y","type":"uint8"},{"internalType":"uint8","name":"w","type":"uint8"},{"internalType":"uint8","name":"h","type":"uint8"},{"internalType":"uint8","name":"color","type":"uint8"},{"internalType":"uint8","name":"blink","type":"uint8"}],"name":"setTokenData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040600b553480156200001657600080fd5b506040518060400160405280600d81526020017f36342052656374616e676c6573000000000000000000000000000000000000008152506040518060400160405280600581526020017f524543545300000000000000000000000000000000000000000000000000000081525081600090805190602001906200009b929190620001c6565b508060019080519060200190620000b4929190620001c6565b505050620000d7620000cb620000f860201b60201c565b6200010060201b60201c565b6000600e60006101000a81548160ff021916908315150217905550620002db565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001d490620002a5565b90600052602060002090601f016020900481019282620001f8576000855562000244565b82601f106200021357805160ff191683800117855562000244565b8280016001018555821562000244579182015b828111156200024357825182559160200191906001019062000226565b5b50905062000253919062000257565b5090565b5b808211156200027257600081600090555060010162000258565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002be57607f821691505b60208210811415620002d557620002d462000276565b5b50919050565b615f5e80620002eb6000396000f3fe6080604052600436106101c25760003560e01c806370a08231116100f7578063b88d4fde11610095578063ed72938811610064578063ed7293881461068a578063f027c3c8146106a6578063f2fde38b146106cf578063fc8234cb146106f8576101c2565b8063b88d4fde146105aa578063c87b56dd146105d3578063cd53d08e14610610578063e985e9c51461064d576101c2565b8063853828b6116100d1578063853828b6146105145780638da5cb5b1461052b57806395d89b4114610556578063a22cb46514610581576101c2565b806370a0823114610483578063715018a6146104c057806383c63e72146104d7576101c2565b8063320b2ad911610164578063494cfc6c1161013e578063494cfc6c1461038f5780634f6ccce7146103cc5780635ac8d444146104095780636352211e14610446576101c2565b8063320b2ad91461032657806342842e0e1461033d57806344c6bb1f14610366576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c05780632f745c59146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e991906134d2565b61070f565b6040516101fb919061351a565b60405180910390f35b34801561021057600080fd5b50610219610789565b60405161022691906135ce565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190613626565b61081b565b6040516102639190613694565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e91906136db565b610861565b005b3480156102a157600080fd5b506102aa610979565b6040516102b7919061372a565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e29190613745565b610986565b005b3480156102f557600080fd5b50610310600480360381019061030b91906136db565b6109e6565b60405161031d919061372a565b60405180910390f35b34801561033257600080fd5b5061033b610a8b565b005b34801561034957600080fd5b50610364600480360381019061035f9190613745565b610ab0565b005b34801561037257600080fd5b5061038d600480360381019061038891906137d1565b610ad0565b005b34801561039b57600080fd5b506103b660048036038101906103b19190613873565b610d43565b6040516103c39190613a0e565b60405180910390f35b3480156103d857600080fd5b506103f360048036038101906103ee9190613626565b610ec3565b604051610400919061372a565b60405180910390f35b34801561041557600080fd5b50610430600480360381019061042b9190613873565b610f34565b60405161043d9190613aee565b60405180910390f35b34801561045257600080fd5b5061046d60048036038101906104689190613626565b611036565b60405161047a9190613694565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a59190613b10565b6110bd565b6040516104b7919061372a565b60405180910390f35b3480156104cc57600080fd5b506104d5611175565b005b3480156104e357600080fd5b506104fe60048036038101906104f99190613b3d565b611189565b60405161050b9190613bbf565b60405180910390f35b34801561052057600080fd5b50610529611423565b005b34801561053757600080fd5b50610540611478565b60405161054d9190613694565b60405180910390f35b34801561056257600080fd5b5061056b6114a2565b60405161057891906135ce565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a39190613c0d565b611534565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613d82565b61154a565b005b3480156105df57600080fd5b506105fa60048036038101906105f59190613626565b6115ac565b60405161060791906135ce565b60405180910390f35b34801561061c57600080fd5b5061063760048036038101906106329190613626565b61168f565b6040516106449190613694565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f9190613e05565b6116c2565b604051610681919061351a565b60405180910390f35b6106a4600480360381019061069f9190613e45565b611756565b005b3480156106b257600080fd5b506106cd60048036038101906106c89190613e45565b61192e565b005b3480156106db57600080fd5b506106f660048036038101906106f19190613b10565b6119ad565b005b34801561070457600080fd5b5061070d611a31565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610782575061078182611a56565b5b9050919050565b60606000805461079890613f01565b80601f01602080910402602001604051908101604052809291908181526020018280546107c490613f01565b80156108115780601f106107e657610100808354040283529160200191610811565b820191906000526020600020905b8154815290600101906020018083116107f457829003601f168201915b5050505050905090565b600061082682611b38565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086c82611036565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d490613fa5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc611b83565b73ffffffffffffffffffffffffffffffffffffffff16148061092b575061092a81610925611b83565b6116c2565b5b61096a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096190614037565b60405180910390fd5b6109748383611b8b565b505050565b6000600880549050905090565b610997610991611b83565b82611c44565b6109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd906140c9565b60405180910390fd5b6109e1838383611cd9565b505050565b60006109f1836110bd565b8210610a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a299061415b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a93611fd3565b6001600e60006101000a81548160ff021916908315150217905550565b610acb8383836040518060200160405280600081525061154a565b505050565b863373ffffffffffffffffffffffffffffffffffffffff16600c600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610b7057503373ffffffffffffffffffffffffffffffffffffffff16610b58611478565b73ffffffffffffffffffffffffffffffffffffffff16145b610baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba6906141c7565b60405180910390fd5b60008560ff16118015610bc5575060008460ff16115b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90614233565b60405180910390fd5b86600d60008a815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555085600d60008a815260200190815260200160002060000160016101000a81548160ff021916908360ff16021790555084600d60008a815260200190815260200160002060000160026101000a81548160ff021916908360ff16021790555083600d60008a815260200190815260200160002060000160036101000a81548160ff021916908360ff16021790555082600d60008a815260200190815260200160002060000160046101000a81548160ff021916908360ff16021790555081600d60008a815260200190815260200160002060000160056101000a81548160ff021916908360ff16021790555042600d60008a8152602001908152602001600020600101819055505050505050505050565b606060008267ffffffffffffffff811115610d6157610d60613c57565b5b604051908082528060200260200182016040528015610d9a57816020015b610d87613417565b815260200190600190039081610d7f5790505b50905060005b83811015610eb857600d60008287610db89190614282565b81526020019081526020016000206040518060e00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900460ff1660ff1660ff1681526020016000820160049054906101000a900460ff1660ff1660ff1681526020016000820160059054906101000a900460ff1660ff1660ff168152602001600182015481525050828281518110610e9c57610e9b6142d8565b5b602002602001018190525080610eb190614307565b9050610da0565b508091505092915050565b6000610ecd610979565b8210610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f05906143c2565b60405180910390fd5b60088281548110610f2257610f216142d8565b5b90600052602060002001549050919050565b606060008267ffffffffffffffff811115610f5257610f51613c57565b5b604051908082528060200260200182016040528015610f805781602001602082028036833780820191505090505b50905060005b8381101561102b57600c60008287610f9e9190614282565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828281518110610fe057610fdf6142d8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508061102490614307565b9050610f86565b508091505092915050565b60008061104283612051565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab9061442e565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561112e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611125906144c0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61117d611fd3565b611187600061208e565b565b606060008067ffffffffffffffff8111156111a7576111a6613c57565b5b6040519080825280601f01601f1916602001820160405280156111d95781602001600182028036833780820191505090505b50905060018360ff161415611225576040518060400160405280600481526020017f2366303000000000000000000000000000000000000000000000000000000000815250905061141a565b60028360ff16141561126e576040518060400160405280600481526020017f23306630000000000000000000000000000000000000000000000000000000008152509050611419565b60038360ff1614156112b7576040518060400160405280600481526020017f23303066000000000000000000000000000000000000000000000000000000008152509050611418565b60048360ff161415611300576040518060400160405280600481526020017f23666630000000000000000000000000000000000000000000000000000000008152509050611417565b60058360ff161415611349576040518060400160405280600481526020017f23663066000000000000000000000000000000000000000000000000000000008152509050611416565b60068360ff161415611392576040518060400160405280600481526020017f23306666000000000000000000000000000000000000000000000000000000008152509050611415565b60078360ff1614156113db576040518060400160405280600481526020017f23666666000000000000000000000000000000000000000000000000000000008152509050611414565b6040518060400160405280600481526020017f233030300000000000000000000000000000000000000000000000000000000081525090505b5b5b5b5b5b5b80915050919050565b61142b611fd3565b6000479050611438611478565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061147557600080fd5b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114b190613f01565b80601f01602080910402602001604051908101604052809291908181526020018280546114dd90613f01565b801561152a5780601f106114ff5761010080835404028352916020019161152a565b820191906000526020600020905b81548152906001019060200180831161150d57829003601f168201915b5050505050905090565b61154661153f611b83565b8383612154565b5050565b61155b611555611b83565b83611c44565b61159a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611591906140c9565b60405180910390fd5b6115a6848484846122c1565b50505050565b60606115b78261231d565b6115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed9061452c565b60405180910390fd5b600061160d6001846116089190614282565b61235e565b61161e61161985612436565b6125c5565b61162e611629612729565b6125c5565b61164360018761163e9190614282565b61235e565b604051602001611656949392919061485a565b604051602081830303815290604052905080604051602001611678919061496d565b604051602081830303815290604052915050919050565b600c6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff16156117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d906149db565b60405180910390fd5b600b546117b1610979565b106117f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e890614a47565b60405180910390fd5b600064e8d4a510008460ff168660ff16600661180d9190614a67565b6118179190614a67565b6113886118249190614282565b61182e9190614a67565b905080341015611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a90614b0d565b60405180910390fd5b600061187e33612760565b905033600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506118e181898989898989610ad0565b3373ffffffffffffffffffffffffffffffffffffffff167fcccf45135e1be7bf26a3320f96f1c8f1885b52b04535973d149251e87b73d20860405160405180910390a25050505050505050565b611936611fd3565b600061194133612760565b905033600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506119a481888888888888610ad0565b50505050505050565b6119b5611fd3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1c90614b9f565b60405180910390fd5b611a2e8161208e565b50565b611a39611fd3565b6000600e60006101000a81548160ff021916908315150217905550565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b2157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b315750611b308261278c565b5b9050919050565b611b418161231d565b611b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b779061442e565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611bfe83611036565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c5083611036565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c925750611c9181856116c2565b5b80611cd057508373ffffffffffffffffffffffffffffffffffffffff16611cb88461081b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cf982611036565b73ffffffffffffffffffffffffffffffffffffffff1614611d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4690614c31565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db690614cc3565b60405180910390fd5b611dcc83838360016127f6565b8273ffffffffffffffffffffffffffffffffffffffff16611dec82611036565b73ffffffffffffffffffffffffffffffffffffffff1614611e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3990614c31565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fce8383836001612956565b505050565b611fdb611b83565b73ffffffffffffffffffffffffffffffffffffffff16611ff9611478565b73ffffffffffffffffffffffffffffffffffffffff161461204f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204690614d2f565b60405180910390fd5b565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ba90614d9b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122b4919061351a565b60405180910390a3505050565b6122cc848484611cd9565b6122d88484848461295c565b612317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230e90614e2d565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff1661233f83612051565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000600161236d84612ae4565b01905060008167ffffffffffffffff81111561238c5761238b613c57565b5b6040519080825280601f01601f1916602001820160405280156123be5781602001600182028036833780820191505090505b509050600082602001820190505b60011561242b578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161241557612414614e4d565b5b04945060008514156124265761242b565b6123cc565b819350505050919050565b60606000612466600d600085815260200190815260200160002060000160009054906101000a900460ff16612c37565b90506000612496600d600086815260200190815260200160002060000160019054906101000a900460ff16612c37565b905060006124c6600d600087815260200190815260200160002060000160029054906101000a900460ff16612c37565b905060006124f6600d600088815260200190815260200160002060000160039054906101000a900460ff16612c37565b90506000612526600d600089815260200190815260200160002060000160059054906101000a900460ff16612c37565b90506000600d600089815260200190815260200160002060000160049054906101000a900460ff1690506000600a8261255f9190614e7c565b90506000600a836125709190614ead565b90508585898961257f86611189565b8a8a8e8e61258c8a611189565b8d6040516020016125a79b9a99989796959493929190615222565b60405160208183030381529060405298505050505050505050919050565b60606000825114156125e857604051806020016040528060008152509050612724565b6000604051806060016040528060408152602001615ee960409139905060006003600285516126179190614282565b612621919061533f565b600461262d9190614a67565b67ffffffffffffffff81111561264657612645613c57565b5b6040519080825280601f01601f1916602001820160405280156126785781602001600182028036833780820191505090505b509050600182016020820185865187015b808210156126e4576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612689565b505060038651066001811461270057600281146127135761271b565b603d6001830353603d600283035361271b565b603d60018303535b50505080925050505b919050565b6060612733612c4c565b61273b612e08565b60405160200161274c929190615624565b604051602081830303815290604052905090565b60008061276d600f612e2d565b90506127798382612e3b565b612783600f612e59565b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61280284848484612e6f565b6001811115612846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283d906156d0565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561288e5761288981612e75565b6128cd565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146128cc576128cb8582612ebe565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129105761290b8161302b565b61294f565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461294e5761294d84826130fc565b5b5b5050505050565b50505050565b600061297d8473ffffffffffffffffffffffffffffffffffffffff1661317b565b15612ad7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129a6611b83565b8786866040518563ffffffff1660e01b81526004016129c894939291906156f0565b6020604051808303816000875af1925050508015612a0457506040513d601f19601f82011682018060405250810190612a019190615751565b60015b612a87573d8060008114612a34576040519150601f19603f3d011682016040523d82523d6000602084013e612a39565b606091505b50600081511415612a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7690614e2d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612adc565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612b42577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612b3857612b37614e4d565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612b7f576d04ee2d6d415b85acef81000000008381612b7557612b74614e4d565b5b0492506020810190505b662386f26fc100008310612bae57662386f26fc100008381612ba457612ba3614e4d565b5b0492506010810190505b6305f5e1008310612bd7576305f5e1008381612bcd57612bcc614e4d565b5b0492506008810190505b6127108310612bfc576127108381612bf257612bf1614e4d565b5b0492506004810190505b60648310612c1f5760648381612c1557612c14614e4d565b5b0492506002810190505b600a8310612c2e576001810190505b80915050919050565b6060612c458260ff1661235e565b9050919050565b606060006040518060400160405280600b81526020017f766172206a736f6e733d5b00000000000000000000000000000000000000000081525090506000612c92610979565b905060005b81811015612de05782612ccc600d600084815260200190815260200160002060000160009054906101000a900460ff16612c37565b612cf8600d600085815260200190815260200160002060000160019054906101000a900460ff16612c37565b612d24600d600086815260200190815260200160002060000160029054906101000a900460ff16612c37565b612d50600d600087815260200190815260200160002060000160039054906101000a900460ff16612c37565b612d7c600d600088815260200190815260200160002060000160049054906101000a900460ff16612c37565b612da8600d600089815260200190815260200160002060000160059054906101000a900460ff16612c37565b604051602001612dbe9796959493929190615862565b604051602081830303815290604052925080612dd990614307565b9050612c97565b5081604051602001612df29190615960565b6040516020818303038152906040529250505090565b6060604051602001612e1990615d98565b604051602081830303815290604052905090565b600081600001549050919050565b612e5582826040518060200160405280600081525061319e565b5050565b6001816000016000828254019250508190555050565b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ecb846110bd565b612ed59190615dad565b9050600060076000848152602001908152602001600020549050818114612fba576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061303f9190615dad565b905060006009600084815260200190815260200160002054905060006008838154811061306f5761306e6142d8565b5b906000526020600020015490508060088381548110613091576130906142d8565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130e0576130df615de1565b5b6001900381819060005260206000200160009055905550505050565b6000613107836110bd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6131a883836131f9565b6131b5600084848461295c565b6131f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131eb90614e2d565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326090615e5c565b60405180910390fd5b6132728161231d565b156132b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a990615ec8565b60405180910390fd5b6132c06000838360016127f6565b6132c98161231d565b15613309576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330090615ec8565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613413600083836001612956565b5050565b6040518060e00160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600081525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134af8161347a565b81146134ba57600080fd5b50565b6000813590506134cc816134a6565b92915050565b6000602082840312156134e8576134e7613470565b5b60006134f6848285016134bd565b91505092915050565b60008115159050919050565b613514816134ff565b82525050565b600060208201905061352f600083018461350b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561356f578082015181840152602081019050613554565b8381111561357e576000848401525b50505050565b6000601f19601f8301169050919050565b60006135a082613535565b6135aa8185613540565b93506135ba818560208601613551565b6135c381613584565b840191505092915050565b600060208201905081810360008301526135e88184613595565b905092915050565b6000819050919050565b613603816135f0565b811461360e57600080fd5b50565b600081359050613620816135fa565b92915050565b60006020828403121561363c5761363b613470565b5b600061364a84828501613611565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061367e82613653565b9050919050565b61368e81613673565b82525050565b60006020820190506136a96000830184613685565b92915050565b6136b881613673565b81146136c357600080fd5b50565b6000813590506136d5816136af565b92915050565b600080604083850312156136f2576136f1613470565b5b6000613700858286016136c6565b925050602061371185828601613611565b9150509250929050565b613724816135f0565b82525050565b600060208201905061373f600083018461371b565b92915050565b60008060006060848603121561375e5761375d613470565b5b600061376c868287016136c6565b935050602061377d868287016136c6565b925050604061378e86828701613611565b9150509250925092565b600060ff82169050919050565b6137ae81613798565b81146137b957600080fd5b50565b6000813590506137cb816137a5565b92915050565b600080600080600080600060e0888a0312156137f0576137ef613470565b5b60006137fe8a828b01613611565b975050602061380f8a828b016137bc565b96505060406138208a828b016137bc565b95505060606138318a828b016137bc565b94505060806138428a828b016137bc565b93505060a06138538a828b016137bc565b92505060c06138648a828b016137bc565b91505092959891949750929550565b6000806040838503121561388a57613889613470565b5b600061389885828601613611565b92505060206138a985828601613611565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6138e881613798565b82525050565b6138f7816135f0565b82525050565b60e08201600082015161391360008501826138df565b50602082015161392660208501826138df565b50604082015161393960408501826138df565b50606082015161394c60608501826138df565b50608082015161395f60808501826138df565b5060a082015161397260a08501826138df565b5060c082015161398560c08501826138ee565b50505050565b600061399783836138fd565b60e08301905092915050565b6000602082019050919050565b60006139bb826138b3565b6139c581856138be565b93506139d0836138cf565b8060005b83811015613a015781516139e8888261398b565b97506139f3836139a3565b9250506001810190506139d4565b5085935050505092915050565b60006020820190508181036000830152613a2881846139b0565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a6581613673565b82525050565b6000613a778383613a5c565b60208301905092915050565b6000602082019050919050565b6000613a9b82613a30565b613aa58185613a3b565b9350613ab083613a4c565b8060005b83811015613ae1578151613ac88882613a6b565b9750613ad383613a83565b925050600181019050613ab4565b5085935050505092915050565b60006020820190508181036000830152613b088184613a90565b905092915050565b600060208284031215613b2657613b25613470565b5b6000613b34848285016136c6565b91505092915050565b600060208284031215613b5357613b52613470565b5b6000613b61848285016137bc565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000613b9182613b6a565b613b9b8185613b75565b9350613bab818560208601613551565b613bb481613584565b840191505092915050565b60006020820190508181036000830152613bd98184613b86565b905092915050565b613bea816134ff565b8114613bf557600080fd5b50565b600081359050613c0781613be1565b92915050565b60008060408385031215613c2457613c23613470565b5b6000613c32858286016136c6565b9250506020613c4385828601613bf8565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c8f82613584565b810181811067ffffffffffffffff82111715613cae57613cad613c57565b5b80604052505050565b6000613cc1613466565b9050613ccd8282613c86565b919050565b600067ffffffffffffffff821115613ced57613cec613c57565b5b613cf682613584565b9050602081019050919050565b82818337600083830152505050565b6000613d25613d2084613cd2565b613cb7565b905082815260208101848484011115613d4157613d40613c52565b5b613d4c848285613d03565b509392505050565b600082601f830112613d6957613d68613c4d565b5b8135613d79848260208601613d12565b91505092915050565b60008060008060808587031215613d9c57613d9b613470565b5b6000613daa878288016136c6565b9450506020613dbb878288016136c6565b9350506040613dcc87828801613611565b925050606085013567ffffffffffffffff811115613ded57613dec613475565b5b613df987828801613d54565b91505092959194509250565b60008060408385031215613e1c57613e1b613470565b5b6000613e2a858286016136c6565b9250506020613e3b858286016136c6565b9150509250929050565b60008060008060008060c08789031215613e6257613e61613470565b5b6000613e7089828a016137bc565b9650506020613e8189828a016137bc565b9550506040613e9289828a016137bc565b9450506060613ea389828a016137bc565b9350506080613eb489828a016137bc565b92505060a0613ec589828a016137bc565b9150509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f1957607f821691505b60208210811415613f2d57613f2c613ed2565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f8f602183613540565b9150613f9a82613f33565b604082019050919050565b60006020820190508181036000830152613fbe81613f82565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614021603d83613540565b915061402c82613fc5565b604082019050919050565b6000602082019050818103600083015261405081614014565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006140b3602d83613540565b91506140be82614057565b604082019050919050565b600060208201905081810360008301526140e2816140a6565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614145602b83613540565b9150614150826140e9565b604082019050919050565b6000602082019050818103600083015261417481614138565b9050919050565b7f6f6e6c7943726561746f72000000000000000000000000000000000000000000600082015250565b60006141b1600b83613540565b91506141bc8261417b565b602082019050919050565b600060208201905081810360008301526141e0816141a4565b9050919050565b7f73697a654572726f720000000000000000000000000000000000000000000000600082015250565b600061421d600983613540565b9150614228826141e7565b602082019050919050565b6000602082019050818103600083015261424c81614210565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061428d826135f0565b9150614298836135f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142cd576142cc614253565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614312826135f0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561434557614344614253565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006143ac602c83613540565b91506143b782614350565b604082019050919050565b600060208201905081810360008301526143db8161439f565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614418601883613540565b9150614423826143e2565b602082019050919050565b600060208201905081810360008301526144478161440b565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006144aa602983613540565b91506144b58261444e565b604082019050919050565b600060208201905081810360008301526144d98161449d565b9050919050565b7f69644572726f7200000000000000000000000000000000000000000000000000600082015250565b6000614516600783613540565b9150614521826144e0565b602082019050919050565b6000602082019050818103600083015261454581614509565b9050919050565b600081905092915050565b7f7b226e616d65223a2252656374616e676c652023000000000000000000000000600082015250565b600061458d60148361454c565b915061459882614557565b601482019050919050565b60006145ae82613535565b6145b8818561454c565b93506145c8818560208601613551565b80840191505092915050565b7f222c226465736372697074696f6e223a22412067656e6572617469766520617260008201527f74206d616465206279206d756c7469706c65206d696e74657273222c00000000602082015250565b6000614630603c8361454c565b915061463b826145d4565b603c82019050919050565b7f22696d616765223a22646174613a696d6167652f7376672b786d6c3b6261736560008201527f36342c0000000000000000000000000000000000000000000000000000000000602082015250565b60006146a260238361454c565b91506146ad82614646565b602382019050919050565b7f222c2265787465726e616c5f75726c223a202268747470733a2f2f6b6974617360008201527f656e6a7564657369676e2e636f6d2f72656374732f222c000000000000000000602082015250565b600061471460378361454c565b915061471f826146b8565b603782019050919050565b7f22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d6c3b60008201527f6261736536342c00000000000000000000000000000000000000000000000000602082015250565b600061478660278361454c565b91506147918261472a565b602782019050919050565b7f222c2261747472696275746573223a205b7b2274726169745f74797065223a2060008201527f226e6f222c2276616c7565223a20000000000000000000000000000000000000602082015250565b60006147f8602e8361454c565b91506148038261479c565b602e82019050919050565b7f7d5d7d0000000000000000000000000000000000000000000000000000000000600082015250565b600061484460038361454c565b915061484f8261480e565b600382019050919050565b600061486582614580565b915061487182876145a3565b915061487c82614623565b915061488782614695565b915061489382866145a3565b915061489e82614707565b91506148a982614779565b91506148b582856145a3565b91506148c0826147eb565b91506148cc82846145a3565b91506148d782614837565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e2c00000000000000000000600082015250565b600061491b60168361454c565b9150614926826148e5565b601682019050919050565b600081905092915050565b600061494782613b6a565b6149518185614931565b9350614961818560208601613551565b80840191505092915050565b60006149788261490e565b9150614984828461493c565b915081905092915050565b7f7061757365640000000000000000000000000000000000000000000000000000600082015250565b60006149c5600683613540565b91506149d08261498f565b602082019050919050565b600060208201905081810360008301526149f4816149b8565b9050919050565b7f6572726f72537570706c79000000000000000000000000000000000000000000600082015250565b6000614a31600b83613540565b9150614a3c826149fb565b602082019050919050565b60006020820190508181036000830152614a6081614a24565b9050919050565b6000614a72826135f0565b9150614a7d836135f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ab657614ab5614253565b5b828202905092915050565b7f6572726f72457468000000000000000000000000000000000000000000000000600082015250565b6000614af7600883613540565b9150614b0282614ac1565b602082019050919050565b60006020820190508181036000830152614b2681614aea565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b89602683613540565b9150614b9482614b2d565b604082019050919050565b60006020820190508181036000830152614bb881614b7c565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614c1b602583613540565b9150614c2682614bbf565b604082019050919050565b60006020820190508181036000830152614c4a81614c0e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614cad602483613540565b9150614cb882614c51565b604082019050919050565b60006020820190508181036000830152614cdc81614ca0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614d19602083613540565b9150614d2482614ce3565b602082019050919050565b60006020820190508181036000830152614d4881614d0c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614d85601983613540565b9150614d9082614d4f565b602082019050919050565b60006020820190508181036000830152614db481614d78565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614e17603283613540565b9150614e2282614dbb565b604082019050919050565b60006020820190508181036000830152614e4681614e0a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e8782613798565b9150614e9283613798565b925082614ea257614ea1614e4d565b5b828206905092915050565b6000614eb882613798565b9150614ec383613798565b925082614ed357614ed2614e4d565b5b828204905092915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667222076696577426f783d2230203020313030203130302220737460208201527f796c653d226261636b67726f756e642d636f6c6f723a236262623b223e3c737460408201527f796c653e406b65796672616d657320616e69207b30257b206f7061636974793a60608201527f20303b7d20313030257b206f7061636974793a20313b7d7d3c2f7374796c653e60808201527f3c726563742077696474683d220000000000000000000000000000000000000060a082015250565b6000614fd260ad8361454c565b9150614fdd82614ede565b60ad82019050919050565b7f22206865696768743d2200000000000000000000000000000000000000000000600082015250565b600061501e600a8361454c565b915061502982614fe8565b600a82019050919050565b7f2220783d22000000000000000000000000000000000000000000000000000000600082015250565b600061506a60058361454c565b915061507582615034565b600582019050919050565b7f2220793d22000000000000000000000000000000000000000000000000000000600082015250565b60006150b660058361454c565b91506150c182615080565b600582019050919050565b7f22207374796c653d2266696c6c3a000000000000000000000000000000000000600082015250565b6000615102600e8361454c565b915061510d826150cc565b600e82019050919050565b7f3b22202f3e3c726563742077696474683d220000000000000000000000000000600082015250565b600061514e60128361454c565b915061515982615118565b601282019050919050565b7f3b616e696d6174696f6e3a20616e692000000000000000000000000000000000600082015250565b600061519a60108361454c565b91506151a582615164565b601082019050919050565b7f306d7320696e66696e697465206c696e65617220616c7465726e6174653b222060008201527f2f3e3c2f7376673e000000000000000000000000000000000000000000000000602082015250565b600061520c60288361454c565b9150615217826151b0565b602882019050919050565b600061522d82614fc5565b9150615239828e6145a3565b915061524482615011565b9150615250828d6145a3565b915061525b8261505d565b9150615267828c6145a3565b9150615272826150a9565b915061527e828b6145a3565b9150615289826150f5565b9150615295828a61493c565b91506152a082615141565b91506152ac82896145a3565b91506152b782615011565b91506152c382886145a3565b91506152ce8261505d565b91506152da82876145a3565b91506152e5826150a9565b91506152f182866145a3565b91506152fc826150f5565b9150615308828561493c565b91506153138261518d565b915061531f82846145a3565b915061532a826151ff565b91508190509c9b505050505050505050505050565b600061534a826135f0565b9150615355836135f0565b92508261536557615364614e4d565b5b828204905092915050565b7f3c21444f43545950452068746d6c3e3c68746d6c3e3c686561643e3c7469746c60008201527f653e36342052656374616e676c65733c2f7469746c653e3c7374796c653e626f60208201527f6479207b206261636b67726f756e643a236262623b6f766572666c6f773a686960408201527f6464656e3b666f6e742d73697a653a333070783b666f6e742d66616d696c793a60608201527f73616e732d73657269663b207d2023636f6e7b706f736974696f6e3a6162736f60808201527f6c7574653b6c6566743a303b746f703a303b7472616e73666f726d2d6f72696760a08201527f696e3a203020303b7d202e726563747b20636f6c6f723a236666663b2064697360c08201527f706c61793a666c65783b20616c69676e2d6974656d733a63656e7465723b206a60e08201527f7573746966792d636f6e74656e743a63656e7465723b206f766572666c6f773a6101008201527f68696464656e3b20706f736974696f6e3a206162736f6c7574653b616e696d616101208201527f74696f6e3a20616e6920317320696e66696e69746520616c7465726e617465206101408201527f656173652d696e2d6f75743b7d20406b65796672616d657320616e697b66726f6101608201527f6d207b6f7061636974793a20303b7d20746f207b6f7061636974793a20313b7d6101808201527f7d203c2f7374796c653e3c7363726970743e00000000000000000000000000006101a082015250565b600061559b6101b28361454c565b91506155a682615370565b6101b282019050919050565b7f3c2f7363726970743e3c2f686561643e3c626f64793e3c6469762069643d276360008201527f6f6e273e3c2f6469763e3c2f626f64793e3c2f68746d6c3e0000000000000000602082015250565b600061560e60388361454c565b9150615619826155b2565b603882019050919050565b600061562f8261558d565b915061563b828561493c565b9150615647828461493c565b915061565282615601565b91508190509392505050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b60006156ba603583613540565b91506156c58261565e565b604082019050919050565b600060208201905081810360008301526156e9816156ad565b9050919050565b60006080820190506157056000830187613685565b6157126020830186613685565b61571f604083018561371b565b81810360608301526157318184613b86565b905095945050505050565b60008151905061574b816134a6565b92915050565b60006020828403121561576757615766613470565b5b60006157758482850161573c565b91505092915050565b7f5b00000000000000000000000000000000000000000000000000000000000000600082015250565b60006157b460018361454c565b91506157bf8261577e565b600182019050919050565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b600061580060018361454c565b915061580b826157ca565b600182019050919050565b7f5d2c000000000000000000000000000000000000000000000000000000000000600082015250565b600061584c60028361454c565b915061585782615816565b600282019050919050565b600061586e828a61493c565b9150615879826157a7565b915061588582896145a3565b9150615890826157f3565b915061589c82886145a3565b91506158a7826157f3565b91506158b382876145a3565b91506158be826157f3565b91506158ca82866145a3565b91506158d5826157f3565b91506158e182856145a3565b91506158ec826157f3565b91506158f882846145a3565b91506159038261583f565b915081905098975050505050505050565b7f5d3b000000000000000000000000000000000000000000000000000000000000600082015250565b600061594a60028361454c565b915061595582615914565b600282019050919050565b600061596c828461493c565b91506159778261593d565b915081905092915050565b7f76617220773d77696e646f772c64743d646f63756d656e743b772e6f6e6c6f6160008201527f643d28293d3e7b7661722064633d64742e637265617465456c656d656e742e6260208201527f696e64286474292c636f6c733d5b2223303030222c2223663030222c2223306660408201527f30222c2223303066222c2223666630222c2223663066222c2223306666222c2260608201527f23666666225d2c636f6e3d64742e676574456c656d656e74427949642822636f60808201527f6e22293b666f72286c657420693d303b693c6a736f6e732e6c656e6774683b6960a08201527f2b2b297b6c657420643d6a736f6e735b695d3b6c65742064313d64632827646960c08201527f7627292c64323d6463282764697627293b6c6574206431733d64312e7374796c60e08201527f652c6432733d64322e7374796c653b64312e636c6173734c6973742e616464286101008201527f227265637422293b64312e696e6e6572546578743d22222b28692b31293b64316101208201527f732e6c6566743d6432732e6c6566743d28645b305d2a3130292b227078223b646101408201527f31732e746f703d6432732e746f703d28645b315d2a3130292b227078223b64316101608201527f732e77696474683d6432732e77696474683d28645b325d2a3130292b227078226101808201527f3b6431732e6865696768743d6432732e6865696768743d28645b335d2a3130296101a08201527f2b227078223b6431732e616e696d6174696f6e4475726174696f6e3d28645b356101c08201527f5d292b22306d73223b6431732e6261636b67726f756e64436f6c6f723d636f6c6101e08201527f735b4d6174682e666c6f6f7228645b345d2f3130295d3b6431732e7a496e64656102008201527f783d22222b28692a32293b6432732e706f736974696f6e3d226162736f6c75746102208201527f65223b6432732e7a496e6465783d22222b28692a322d31293b6432732e6261636102408201527f6b67726f756e64436f6c6f723d636f6c735b645b345d2531305d3b636f6e2e616102608201527f7070656e644368696c64286431293b636f6e2e617070656e644368696c6428646102808201527f32293b7d727a28293b772e6164644576656e744c697374656e657228227265736102a08201527f697a65222c727a293b66756e6374696f6e20727a2865297b636f6e2e7374796c6102c08201527f652e7472616e73666f726d3d607363616c6528247b772e696e6e6572576964746102e08201527f682f313030307d2c247b772e696e6e65724865696768742f313030307d29603b6103008201527f7d7d00000000000000000000000000000000000000000000000000000000000061032082015250565b6000615d816103228361454c565b9150615d8c82615982565b61032282019050919050565b6000615da382615d73565b9150819050919050565b6000615db8826135f0565b9150615dc3836135f0565b925082821015615dd657615dd5614253565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615e46602083613540565b9150615e5182615e10565b602082019050919050565b60006020820190508181036000830152615e7581615e39565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615eb2601c83613540565b9150615ebd82615e7c565b602082019050919050565b60006020820190508181036000830152615ee181615ea5565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122090730dfcfd190ac71557ddbefd73949a40be1ef1a685aa6cad55c790b6e9de5364736f6c634300080c0033
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806370a08231116100f7578063b88d4fde11610095578063ed72938811610064578063ed7293881461068a578063f027c3c8146106a6578063f2fde38b146106cf578063fc8234cb146106f8576101c2565b8063b88d4fde146105aa578063c87b56dd146105d3578063cd53d08e14610610578063e985e9c51461064d576101c2565b8063853828b6116100d1578063853828b6146105145780638da5cb5b1461052b57806395d89b4114610556578063a22cb46514610581576101c2565b806370a0823114610483578063715018a6146104c057806383c63e72146104d7576101c2565b8063320b2ad911610164578063494cfc6c1161013e578063494cfc6c1461038f5780634f6ccce7146103cc5780635ac8d444146104095780636352211e14610446576101c2565b8063320b2ad91461032657806342842e0e1461033d57806344c6bb1f14610366576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c05780632f745c59146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e991906134d2565b61070f565b6040516101fb919061351a565b60405180910390f35b34801561021057600080fd5b50610219610789565b60405161022691906135ce565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190613626565b61081b565b6040516102639190613694565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e91906136db565b610861565b005b3480156102a157600080fd5b506102aa610979565b6040516102b7919061372a565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e29190613745565b610986565b005b3480156102f557600080fd5b50610310600480360381019061030b91906136db565b6109e6565b60405161031d919061372a565b60405180910390f35b34801561033257600080fd5b5061033b610a8b565b005b34801561034957600080fd5b50610364600480360381019061035f9190613745565b610ab0565b005b34801561037257600080fd5b5061038d600480360381019061038891906137d1565b610ad0565b005b34801561039b57600080fd5b506103b660048036038101906103b19190613873565b610d43565b6040516103c39190613a0e565b60405180910390f35b3480156103d857600080fd5b506103f360048036038101906103ee9190613626565b610ec3565b604051610400919061372a565b60405180910390f35b34801561041557600080fd5b50610430600480360381019061042b9190613873565b610f34565b60405161043d9190613aee565b60405180910390f35b34801561045257600080fd5b5061046d60048036038101906104689190613626565b611036565b60405161047a9190613694565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a59190613b10565b6110bd565b6040516104b7919061372a565b60405180910390f35b3480156104cc57600080fd5b506104d5611175565b005b3480156104e357600080fd5b506104fe60048036038101906104f99190613b3d565b611189565b60405161050b9190613bbf565b60405180910390f35b34801561052057600080fd5b50610529611423565b005b34801561053757600080fd5b50610540611478565b60405161054d9190613694565b60405180910390f35b34801561056257600080fd5b5061056b6114a2565b60405161057891906135ce565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a39190613c0d565b611534565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613d82565b61154a565b005b3480156105df57600080fd5b506105fa60048036038101906105f59190613626565b6115ac565b60405161060791906135ce565b60405180910390f35b34801561061c57600080fd5b5061063760048036038101906106329190613626565b61168f565b6040516106449190613694565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f9190613e05565b6116c2565b604051610681919061351a565b60405180910390f35b6106a4600480360381019061069f9190613e45565b611756565b005b3480156106b257600080fd5b506106cd60048036038101906106c89190613e45565b61192e565b005b3480156106db57600080fd5b506106f660048036038101906106f19190613b10565b6119ad565b005b34801561070457600080fd5b5061070d611a31565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610782575061078182611a56565b5b9050919050565b60606000805461079890613f01565b80601f01602080910402602001604051908101604052809291908181526020018280546107c490613f01565b80156108115780601f106107e657610100808354040283529160200191610811565b820191906000526020600020905b8154815290600101906020018083116107f457829003601f168201915b5050505050905090565b600061082682611b38565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086c82611036565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d490613fa5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc611b83565b73ffffffffffffffffffffffffffffffffffffffff16148061092b575061092a81610925611b83565b6116c2565b5b61096a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096190614037565b60405180910390fd5b6109748383611b8b565b505050565b6000600880549050905090565b610997610991611b83565b82611c44565b6109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd906140c9565b60405180910390fd5b6109e1838383611cd9565b505050565b60006109f1836110bd565b8210610a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a299061415b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a93611fd3565b6001600e60006101000a81548160ff021916908315150217905550565b610acb8383836040518060200160405280600081525061154a565b505050565b863373ffffffffffffffffffffffffffffffffffffffff16600c600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610b7057503373ffffffffffffffffffffffffffffffffffffffff16610b58611478565b73ffffffffffffffffffffffffffffffffffffffff16145b610baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba6906141c7565b60405180910390fd5b60008560ff16118015610bc5575060008460ff16115b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90614233565b60405180910390fd5b86600d60008a815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555085600d60008a815260200190815260200160002060000160016101000a81548160ff021916908360ff16021790555084600d60008a815260200190815260200160002060000160026101000a81548160ff021916908360ff16021790555083600d60008a815260200190815260200160002060000160036101000a81548160ff021916908360ff16021790555082600d60008a815260200190815260200160002060000160046101000a81548160ff021916908360ff16021790555081600d60008a815260200190815260200160002060000160056101000a81548160ff021916908360ff16021790555042600d60008a8152602001908152602001600020600101819055505050505050505050565b606060008267ffffffffffffffff811115610d6157610d60613c57565b5b604051908082528060200260200182016040528015610d9a57816020015b610d87613417565b815260200190600190039081610d7f5790505b50905060005b83811015610eb857600d60008287610db89190614282565b81526020019081526020016000206040518060e00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900460ff1660ff1660ff1681526020016000820160049054906101000a900460ff1660ff1660ff1681526020016000820160059054906101000a900460ff1660ff1660ff168152602001600182015481525050828281518110610e9c57610e9b6142d8565b5b602002602001018190525080610eb190614307565b9050610da0565b508091505092915050565b6000610ecd610979565b8210610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f05906143c2565b60405180910390fd5b60088281548110610f2257610f216142d8565b5b90600052602060002001549050919050565b606060008267ffffffffffffffff811115610f5257610f51613c57565b5b604051908082528060200260200182016040528015610f805781602001602082028036833780820191505090505b50905060005b8381101561102b57600c60008287610f9e9190614282565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828281518110610fe057610fdf6142d8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508061102490614307565b9050610f86565b508091505092915050565b60008061104283612051565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab9061442e565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561112e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611125906144c0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61117d611fd3565b611187600061208e565b565b606060008067ffffffffffffffff8111156111a7576111a6613c57565b5b6040519080825280601f01601f1916602001820160405280156111d95781602001600182028036833780820191505090505b50905060018360ff161415611225576040518060400160405280600481526020017f2366303000000000000000000000000000000000000000000000000000000000815250905061141a565b60028360ff16141561126e576040518060400160405280600481526020017f23306630000000000000000000000000000000000000000000000000000000008152509050611419565b60038360ff1614156112b7576040518060400160405280600481526020017f23303066000000000000000000000000000000000000000000000000000000008152509050611418565b60048360ff161415611300576040518060400160405280600481526020017f23666630000000000000000000000000000000000000000000000000000000008152509050611417565b60058360ff161415611349576040518060400160405280600481526020017f23663066000000000000000000000000000000000000000000000000000000008152509050611416565b60068360ff161415611392576040518060400160405280600481526020017f23306666000000000000000000000000000000000000000000000000000000008152509050611415565b60078360ff1614156113db576040518060400160405280600481526020017f23666666000000000000000000000000000000000000000000000000000000008152509050611414565b6040518060400160405280600481526020017f233030300000000000000000000000000000000000000000000000000000000081525090505b5b5b5b5b5b5b80915050919050565b61142b611fd3565b6000479050611438611478565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061147557600080fd5b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114b190613f01565b80601f01602080910402602001604051908101604052809291908181526020018280546114dd90613f01565b801561152a5780601f106114ff5761010080835404028352916020019161152a565b820191906000526020600020905b81548152906001019060200180831161150d57829003601f168201915b5050505050905090565b61154661153f611b83565b8383612154565b5050565b61155b611555611b83565b83611c44565b61159a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611591906140c9565b60405180910390fd5b6115a6848484846122c1565b50505050565b60606115b78261231d565b6115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed9061452c565b60405180910390fd5b600061160d6001846116089190614282565b61235e565b61161e61161985612436565b6125c5565b61162e611629612729565b6125c5565b61164360018761163e9190614282565b61235e565b604051602001611656949392919061485a565b604051602081830303815290604052905080604051602001611678919061496d565b604051602081830303815290604052915050919050565b600c6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff16156117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d906149db565b60405180910390fd5b600b546117b1610979565b106117f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e890614a47565b60405180910390fd5b600064e8d4a510008460ff168660ff16600661180d9190614a67565b6118179190614a67565b6113886118249190614282565b61182e9190614a67565b905080341015611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a90614b0d565b60405180910390fd5b600061187e33612760565b905033600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506118e181898989898989610ad0565b3373ffffffffffffffffffffffffffffffffffffffff167fcccf45135e1be7bf26a3320f96f1c8f1885b52b04535973d149251e87b73d20860405160405180910390a25050505050505050565b611936611fd3565b600061194133612760565b905033600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506119a481888888888888610ad0565b50505050505050565b6119b5611fd3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1c90614b9f565b60405180910390fd5b611a2e8161208e565b50565b611a39611fd3565b6000600e60006101000a81548160ff021916908315150217905550565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b2157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b315750611b308261278c565b5b9050919050565b611b418161231d565b611b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b779061442e565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611bfe83611036565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c5083611036565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c925750611c9181856116c2565b5b80611cd057508373ffffffffffffffffffffffffffffffffffffffff16611cb88461081b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cf982611036565b73ffffffffffffffffffffffffffffffffffffffff1614611d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4690614c31565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db690614cc3565b60405180910390fd5b611dcc83838360016127f6565b8273ffffffffffffffffffffffffffffffffffffffff16611dec82611036565b73ffffffffffffffffffffffffffffffffffffffff1614611e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3990614c31565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fce8383836001612956565b505050565b611fdb611b83565b73ffffffffffffffffffffffffffffffffffffffff16611ff9611478565b73ffffffffffffffffffffffffffffffffffffffff161461204f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204690614d2f565b60405180910390fd5b565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ba90614d9b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122b4919061351a565b60405180910390a3505050565b6122cc848484611cd9565b6122d88484848461295c565b612317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230e90614e2d565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff1661233f83612051565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000600161236d84612ae4565b01905060008167ffffffffffffffff81111561238c5761238b613c57565b5b6040519080825280601f01601f1916602001820160405280156123be5781602001600182028036833780820191505090505b509050600082602001820190505b60011561242b578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161241557612414614e4d565b5b04945060008514156124265761242b565b6123cc565b819350505050919050565b60606000612466600d600085815260200190815260200160002060000160009054906101000a900460ff16612c37565b90506000612496600d600086815260200190815260200160002060000160019054906101000a900460ff16612c37565b905060006124c6600d600087815260200190815260200160002060000160029054906101000a900460ff16612c37565b905060006124f6600d600088815260200190815260200160002060000160039054906101000a900460ff16612c37565b90506000612526600d600089815260200190815260200160002060000160059054906101000a900460ff16612c37565b90506000600d600089815260200190815260200160002060000160049054906101000a900460ff1690506000600a8261255f9190614e7c565b90506000600a836125709190614ead565b90508585898961257f86611189565b8a8a8e8e61258c8a611189565b8d6040516020016125a79b9a99989796959493929190615222565b60405160208183030381529060405298505050505050505050919050565b60606000825114156125e857604051806020016040528060008152509050612724565b6000604051806060016040528060408152602001615ee960409139905060006003600285516126179190614282565b612621919061533f565b600461262d9190614a67565b67ffffffffffffffff81111561264657612645613c57565b5b6040519080825280601f01601f1916602001820160405280156126785781602001600182028036833780820191505090505b509050600182016020820185865187015b808210156126e4576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612689565b505060038651066001811461270057600281146127135761271b565b603d6001830353603d600283035361271b565b603d60018303535b50505080925050505b919050565b6060612733612c4c565b61273b612e08565b60405160200161274c929190615624565b604051602081830303815290604052905090565b60008061276d600f612e2d565b90506127798382612e3b565b612783600f612e59565b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61280284848484612e6f565b6001811115612846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283d906156d0565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561288e5761288981612e75565b6128cd565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146128cc576128cb8582612ebe565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129105761290b8161302b565b61294f565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461294e5761294d84826130fc565b5b5b5050505050565b50505050565b600061297d8473ffffffffffffffffffffffffffffffffffffffff1661317b565b15612ad7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129a6611b83565b8786866040518563ffffffff1660e01b81526004016129c894939291906156f0565b6020604051808303816000875af1925050508015612a0457506040513d601f19601f82011682018060405250810190612a019190615751565b60015b612a87573d8060008114612a34576040519150601f19603f3d011682016040523d82523d6000602084013e612a39565b606091505b50600081511415612a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7690614e2d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612adc565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612b42577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612b3857612b37614e4d565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612b7f576d04ee2d6d415b85acef81000000008381612b7557612b74614e4d565b5b0492506020810190505b662386f26fc100008310612bae57662386f26fc100008381612ba457612ba3614e4d565b5b0492506010810190505b6305f5e1008310612bd7576305f5e1008381612bcd57612bcc614e4d565b5b0492506008810190505b6127108310612bfc576127108381612bf257612bf1614e4d565b5b0492506004810190505b60648310612c1f5760648381612c1557612c14614e4d565b5b0492506002810190505b600a8310612c2e576001810190505b80915050919050565b6060612c458260ff1661235e565b9050919050565b606060006040518060400160405280600b81526020017f766172206a736f6e733d5b00000000000000000000000000000000000000000081525090506000612c92610979565b905060005b81811015612de05782612ccc600d600084815260200190815260200160002060000160009054906101000a900460ff16612c37565b612cf8600d600085815260200190815260200160002060000160019054906101000a900460ff16612c37565b612d24600d600086815260200190815260200160002060000160029054906101000a900460ff16612c37565b612d50600d600087815260200190815260200160002060000160039054906101000a900460ff16612c37565b612d7c600d600088815260200190815260200160002060000160049054906101000a900460ff16612c37565b612da8600d600089815260200190815260200160002060000160059054906101000a900460ff16612c37565b604051602001612dbe9796959493929190615862565b604051602081830303815290604052925080612dd990614307565b9050612c97565b5081604051602001612df29190615960565b6040516020818303038152906040529250505090565b6060604051602001612e1990615d98565b604051602081830303815290604052905090565b600081600001549050919050565b612e5582826040518060200160405280600081525061319e565b5050565b6001816000016000828254019250508190555050565b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ecb846110bd565b612ed59190615dad565b9050600060076000848152602001908152602001600020549050818114612fba576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061303f9190615dad565b905060006009600084815260200190815260200160002054905060006008838154811061306f5761306e6142d8565b5b906000526020600020015490508060088381548110613091576130906142d8565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130e0576130df615de1565b5b6001900381819060005260206000200160009055905550505050565b6000613107836110bd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6131a883836131f9565b6131b5600084848461295c565b6131f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131eb90614e2d565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326090615e5c565b60405180910390fd5b6132728161231d565b156132b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a990615ec8565b60405180910390fd5b6132c06000838360016127f6565b6132c98161231d565b15613309576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330090615ec8565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613413600083836001612956565b5050565b6040518060e00160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600081525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134af8161347a565b81146134ba57600080fd5b50565b6000813590506134cc816134a6565b92915050565b6000602082840312156134e8576134e7613470565b5b60006134f6848285016134bd565b91505092915050565b60008115159050919050565b613514816134ff565b82525050565b600060208201905061352f600083018461350b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561356f578082015181840152602081019050613554565b8381111561357e576000848401525b50505050565b6000601f19601f8301169050919050565b60006135a082613535565b6135aa8185613540565b93506135ba818560208601613551565b6135c381613584565b840191505092915050565b600060208201905081810360008301526135e88184613595565b905092915050565b6000819050919050565b613603816135f0565b811461360e57600080fd5b50565b600081359050613620816135fa565b92915050565b60006020828403121561363c5761363b613470565b5b600061364a84828501613611565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061367e82613653565b9050919050565b61368e81613673565b82525050565b60006020820190506136a96000830184613685565b92915050565b6136b881613673565b81146136c357600080fd5b50565b6000813590506136d5816136af565b92915050565b600080604083850312156136f2576136f1613470565b5b6000613700858286016136c6565b925050602061371185828601613611565b9150509250929050565b613724816135f0565b82525050565b600060208201905061373f600083018461371b565b92915050565b60008060006060848603121561375e5761375d613470565b5b600061376c868287016136c6565b935050602061377d868287016136c6565b925050604061378e86828701613611565b9150509250925092565b600060ff82169050919050565b6137ae81613798565b81146137b957600080fd5b50565b6000813590506137cb816137a5565b92915050565b600080600080600080600060e0888a0312156137f0576137ef613470565b5b60006137fe8a828b01613611565b975050602061380f8a828b016137bc565b96505060406138208a828b016137bc565b95505060606138318a828b016137bc565b94505060806138428a828b016137bc565b93505060a06138538a828b016137bc565b92505060c06138648a828b016137bc565b91505092959891949750929550565b6000806040838503121561388a57613889613470565b5b600061389885828601613611565b92505060206138a985828601613611565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6138e881613798565b82525050565b6138f7816135f0565b82525050565b60e08201600082015161391360008501826138df565b50602082015161392660208501826138df565b50604082015161393960408501826138df565b50606082015161394c60608501826138df565b50608082015161395f60808501826138df565b5060a082015161397260a08501826138df565b5060c082015161398560c08501826138ee565b50505050565b600061399783836138fd565b60e08301905092915050565b6000602082019050919050565b60006139bb826138b3565b6139c581856138be565b93506139d0836138cf565b8060005b83811015613a015781516139e8888261398b565b97506139f3836139a3565b9250506001810190506139d4565b5085935050505092915050565b60006020820190508181036000830152613a2881846139b0565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a6581613673565b82525050565b6000613a778383613a5c565b60208301905092915050565b6000602082019050919050565b6000613a9b82613a30565b613aa58185613a3b565b9350613ab083613a4c565b8060005b83811015613ae1578151613ac88882613a6b565b9750613ad383613a83565b925050600181019050613ab4565b5085935050505092915050565b60006020820190508181036000830152613b088184613a90565b905092915050565b600060208284031215613b2657613b25613470565b5b6000613b34848285016136c6565b91505092915050565b600060208284031215613b5357613b52613470565b5b6000613b61848285016137bc565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000613b9182613b6a565b613b9b8185613b75565b9350613bab818560208601613551565b613bb481613584565b840191505092915050565b60006020820190508181036000830152613bd98184613b86565b905092915050565b613bea816134ff565b8114613bf557600080fd5b50565b600081359050613c0781613be1565b92915050565b60008060408385031215613c2457613c23613470565b5b6000613c32858286016136c6565b9250506020613c4385828601613bf8565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c8f82613584565b810181811067ffffffffffffffff82111715613cae57613cad613c57565b5b80604052505050565b6000613cc1613466565b9050613ccd8282613c86565b919050565b600067ffffffffffffffff821115613ced57613cec613c57565b5b613cf682613584565b9050602081019050919050565b82818337600083830152505050565b6000613d25613d2084613cd2565b613cb7565b905082815260208101848484011115613d4157613d40613c52565b5b613d4c848285613d03565b509392505050565b600082601f830112613d6957613d68613c4d565b5b8135613d79848260208601613d12565b91505092915050565b60008060008060808587031215613d9c57613d9b613470565b5b6000613daa878288016136c6565b9450506020613dbb878288016136c6565b9350506040613dcc87828801613611565b925050606085013567ffffffffffffffff811115613ded57613dec613475565b5b613df987828801613d54565b91505092959194509250565b60008060408385031215613e1c57613e1b613470565b5b6000613e2a858286016136c6565b9250506020613e3b858286016136c6565b9150509250929050565b60008060008060008060c08789031215613e6257613e61613470565b5b6000613e7089828a016137bc565b9650506020613e8189828a016137bc565b9550506040613e9289828a016137bc565b9450506060613ea389828a016137bc565b9350506080613eb489828a016137bc565b92505060a0613ec589828a016137bc565b9150509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f1957607f821691505b60208210811415613f2d57613f2c613ed2565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f8f602183613540565b9150613f9a82613f33565b604082019050919050565b60006020820190508181036000830152613fbe81613f82565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614021603d83613540565b915061402c82613fc5565b604082019050919050565b6000602082019050818103600083015261405081614014565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006140b3602d83613540565b91506140be82614057565b604082019050919050565b600060208201905081810360008301526140e2816140a6565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614145602b83613540565b9150614150826140e9565b604082019050919050565b6000602082019050818103600083015261417481614138565b9050919050565b7f6f6e6c7943726561746f72000000000000000000000000000000000000000000600082015250565b60006141b1600b83613540565b91506141bc8261417b565b602082019050919050565b600060208201905081810360008301526141e0816141a4565b9050919050565b7f73697a654572726f720000000000000000000000000000000000000000000000600082015250565b600061421d600983613540565b9150614228826141e7565b602082019050919050565b6000602082019050818103600083015261424c81614210565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061428d826135f0565b9150614298836135f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142cd576142cc614253565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614312826135f0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561434557614344614253565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006143ac602c83613540565b91506143b782614350565b604082019050919050565b600060208201905081810360008301526143db8161439f565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614418601883613540565b9150614423826143e2565b602082019050919050565b600060208201905081810360008301526144478161440b565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006144aa602983613540565b91506144b58261444e565b604082019050919050565b600060208201905081810360008301526144d98161449d565b9050919050565b7f69644572726f7200000000000000000000000000000000000000000000000000600082015250565b6000614516600783613540565b9150614521826144e0565b602082019050919050565b6000602082019050818103600083015261454581614509565b9050919050565b600081905092915050565b7f7b226e616d65223a2252656374616e676c652023000000000000000000000000600082015250565b600061458d60148361454c565b915061459882614557565b601482019050919050565b60006145ae82613535565b6145b8818561454c565b93506145c8818560208601613551565b80840191505092915050565b7f222c226465736372697074696f6e223a22412067656e6572617469766520617260008201527f74206d616465206279206d756c7469706c65206d696e74657273222c00000000602082015250565b6000614630603c8361454c565b915061463b826145d4565b603c82019050919050565b7f22696d616765223a22646174613a696d6167652f7376672b786d6c3b6261736560008201527f36342c0000000000000000000000000000000000000000000000000000000000602082015250565b60006146a260238361454c565b91506146ad82614646565b602382019050919050565b7f222c2265787465726e616c5f75726c223a202268747470733a2f2f6b6974617360008201527f656e6a7564657369676e2e636f6d2f72656374732f222c000000000000000000602082015250565b600061471460378361454c565b915061471f826146b8565b603782019050919050565b7f22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d6c3b60008201527f6261736536342c00000000000000000000000000000000000000000000000000602082015250565b600061478660278361454c565b91506147918261472a565b602782019050919050565b7f222c2261747472696275746573223a205b7b2274726169745f74797065223a2060008201527f226e6f222c2276616c7565223a20000000000000000000000000000000000000602082015250565b60006147f8602e8361454c565b91506148038261479c565b602e82019050919050565b7f7d5d7d0000000000000000000000000000000000000000000000000000000000600082015250565b600061484460038361454c565b915061484f8261480e565b600382019050919050565b600061486582614580565b915061487182876145a3565b915061487c82614623565b915061488782614695565b915061489382866145a3565b915061489e82614707565b91506148a982614779565b91506148b582856145a3565b91506148c0826147eb565b91506148cc82846145a3565b91506148d782614837565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e2c00000000000000000000600082015250565b600061491b60168361454c565b9150614926826148e5565b601682019050919050565b600081905092915050565b600061494782613b6a565b6149518185614931565b9350614961818560208601613551565b80840191505092915050565b60006149788261490e565b9150614984828461493c565b915081905092915050565b7f7061757365640000000000000000000000000000000000000000000000000000600082015250565b60006149c5600683613540565b91506149d08261498f565b602082019050919050565b600060208201905081810360008301526149f4816149b8565b9050919050565b7f6572726f72537570706c79000000000000000000000000000000000000000000600082015250565b6000614a31600b83613540565b9150614a3c826149fb565b602082019050919050565b60006020820190508181036000830152614a6081614a24565b9050919050565b6000614a72826135f0565b9150614a7d836135f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ab657614ab5614253565b5b828202905092915050565b7f6572726f72457468000000000000000000000000000000000000000000000000600082015250565b6000614af7600883613540565b9150614b0282614ac1565b602082019050919050565b60006020820190508181036000830152614b2681614aea565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b89602683613540565b9150614b9482614b2d565b604082019050919050565b60006020820190508181036000830152614bb881614b7c565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614c1b602583613540565b9150614c2682614bbf565b604082019050919050565b60006020820190508181036000830152614c4a81614c0e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614cad602483613540565b9150614cb882614c51565b604082019050919050565b60006020820190508181036000830152614cdc81614ca0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614d19602083613540565b9150614d2482614ce3565b602082019050919050565b60006020820190508181036000830152614d4881614d0c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614d85601983613540565b9150614d9082614d4f565b602082019050919050565b60006020820190508181036000830152614db481614d78565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614e17603283613540565b9150614e2282614dbb565b604082019050919050565b60006020820190508181036000830152614e4681614e0a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e8782613798565b9150614e9283613798565b925082614ea257614ea1614e4d565b5b828206905092915050565b6000614eb882613798565b9150614ec383613798565b925082614ed357614ed2614e4d565b5b828204905092915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667222076696577426f783d2230203020313030203130302220737460208201527f796c653d226261636b67726f756e642d636f6c6f723a236262623b223e3c737460408201527f796c653e406b65796672616d657320616e69207b30257b206f7061636974793a60608201527f20303b7d20313030257b206f7061636974793a20313b7d7d3c2f7374796c653e60808201527f3c726563742077696474683d220000000000000000000000000000000000000060a082015250565b6000614fd260ad8361454c565b9150614fdd82614ede565b60ad82019050919050565b7f22206865696768743d2200000000000000000000000000000000000000000000600082015250565b600061501e600a8361454c565b915061502982614fe8565b600a82019050919050565b7f2220783d22000000000000000000000000000000000000000000000000000000600082015250565b600061506a60058361454c565b915061507582615034565b600582019050919050565b7f2220793d22000000000000000000000000000000000000000000000000000000600082015250565b60006150b660058361454c565b91506150c182615080565b600582019050919050565b7f22207374796c653d2266696c6c3a000000000000000000000000000000000000600082015250565b6000615102600e8361454c565b915061510d826150cc565b600e82019050919050565b7f3b22202f3e3c726563742077696474683d220000000000000000000000000000600082015250565b600061514e60128361454c565b915061515982615118565b601282019050919050565b7f3b616e696d6174696f6e3a20616e692000000000000000000000000000000000600082015250565b600061519a60108361454c565b91506151a582615164565b601082019050919050565b7f306d7320696e66696e697465206c696e65617220616c7465726e6174653b222060008201527f2f3e3c2f7376673e000000000000000000000000000000000000000000000000602082015250565b600061520c60288361454c565b9150615217826151b0565b602882019050919050565b600061522d82614fc5565b9150615239828e6145a3565b915061524482615011565b9150615250828d6145a3565b915061525b8261505d565b9150615267828c6145a3565b9150615272826150a9565b915061527e828b6145a3565b9150615289826150f5565b9150615295828a61493c565b91506152a082615141565b91506152ac82896145a3565b91506152b782615011565b91506152c382886145a3565b91506152ce8261505d565b91506152da82876145a3565b91506152e5826150a9565b91506152f182866145a3565b91506152fc826150f5565b9150615308828561493c565b91506153138261518d565b915061531f82846145a3565b915061532a826151ff565b91508190509c9b505050505050505050505050565b600061534a826135f0565b9150615355836135f0565b92508261536557615364614e4d565b5b828204905092915050565b7f3c21444f43545950452068746d6c3e3c68746d6c3e3c686561643e3c7469746c60008201527f653e36342052656374616e676c65733c2f7469746c653e3c7374796c653e626f60208201527f6479207b206261636b67726f756e643a236262623b6f766572666c6f773a686960408201527f6464656e3b666f6e742d73697a653a333070783b666f6e742d66616d696c793a60608201527f73616e732d73657269663b207d2023636f6e7b706f736974696f6e3a6162736f60808201527f6c7574653b6c6566743a303b746f703a303b7472616e73666f726d2d6f72696760a08201527f696e3a203020303b7d202e726563747b20636f6c6f723a236666663b2064697360c08201527f706c61793a666c65783b20616c69676e2d6974656d733a63656e7465723b206a60e08201527f7573746966792d636f6e74656e743a63656e7465723b206f766572666c6f773a6101008201527f68696464656e3b20706f736974696f6e3a206162736f6c7574653b616e696d616101208201527f74696f6e3a20616e6920317320696e66696e69746520616c7465726e617465206101408201527f656173652d696e2d6f75743b7d20406b65796672616d657320616e697b66726f6101608201527f6d207b6f7061636974793a20303b7d20746f207b6f7061636974793a20313b7d6101808201527f7d203c2f7374796c653e3c7363726970743e00000000000000000000000000006101a082015250565b600061559b6101b28361454c565b91506155a682615370565b6101b282019050919050565b7f3c2f7363726970743e3c2f686561643e3c626f64793e3c6469762069643d276360008201527f6f6e273e3c2f6469763e3c2f626f64793e3c2f68746d6c3e0000000000000000602082015250565b600061560e60388361454c565b9150615619826155b2565b603882019050919050565b600061562f8261558d565b915061563b828561493c565b9150615647828461493c565b915061565282615601565b91508190509392505050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b60006156ba603583613540565b91506156c58261565e565b604082019050919050565b600060208201905081810360008301526156e9816156ad565b9050919050565b60006080820190506157056000830187613685565b6157126020830186613685565b61571f604083018561371b565b81810360608301526157318184613b86565b905095945050505050565b60008151905061574b816134a6565b92915050565b60006020828403121561576757615766613470565b5b60006157758482850161573c565b91505092915050565b7f5b00000000000000000000000000000000000000000000000000000000000000600082015250565b60006157b460018361454c565b91506157bf8261577e565b600182019050919050565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b600061580060018361454c565b915061580b826157ca565b600182019050919050565b7f5d2c000000000000000000000000000000000000000000000000000000000000600082015250565b600061584c60028361454c565b915061585782615816565b600282019050919050565b600061586e828a61493c565b9150615879826157a7565b915061588582896145a3565b9150615890826157f3565b915061589c82886145a3565b91506158a7826157f3565b91506158b382876145a3565b91506158be826157f3565b91506158ca82866145a3565b91506158d5826157f3565b91506158e182856145a3565b91506158ec826157f3565b91506158f882846145a3565b91506159038261583f565b915081905098975050505050505050565b7f5d3b000000000000000000000000000000000000000000000000000000000000600082015250565b600061594a60028361454c565b915061595582615914565b600282019050919050565b600061596c828461493c565b91506159778261593d565b915081905092915050565b7f76617220773d77696e646f772c64743d646f63756d656e743b772e6f6e6c6f6160008201527f643d28293d3e7b7661722064633d64742e637265617465456c656d656e742e6260208201527f696e64286474292c636f6c733d5b2223303030222c2223663030222c2223306660408201527f30222c2223303066222c2223666630222c2223663066222c2223306666222c2260608201527f23666666225d2c636f6e3d64742e676574456c656d656e74427949642822636f60808201527f6e22293b666f72286c657420693d303b693c6a736f6e732e6c656e6774683b6960a08201527f2b2b297b6c657420643d6a736f6e735b695d3b6c65742064313d64632827646960c08201527f7627292c64323d6463282764697627293b6c6574206431733d64312e7374796c60e08201527f652c6432733d64322e7374796c653b64312e636c6173734c6973742e616464286101008201527f227265637422293b64312e696e6e6572546578743d22222b28692b31293b64316101208201527f732e6c6566743d6432732e6c6566743d28645b305d2a3130292b227078223b646101408201527f31732e746f703d6432732e746f703d28645b315d2a3130292b227078223b64316101608201527f732e77696474683d6432732e77696474683d28645b325d2a3130292b227078226101808201527f3b6431732e6865696768743d6432732e6865696768743d28645b335d2a3130296101a08201527f2b227078223b6431732e616e696d6174696f6e4475726174696f6e3d28645b356101c08201527f5d292b22306d73223b6431732e6261636b67726f756e64436f6c6f723d636f6c6101e08201527f735b4d6174682e666c6f6f7228645b345d2f3130295d3b6431732e7a496e64656102008201527f783d22222b28692a32293b6432732e706f736974696f6e3d226162736f6c75746102208201527f65223b6432732e7a496e6465783d22222b28692a322d31293b6432732e6261636102408201527f6b67726f756e64436f6c6f723d636f6c735b645b345d2531305d3b636f6e2e616102608201527f7070656e644368696c64286431293b636f6e2e617070656e644368696c6428646102808201527f32293b7d727a28293b772e6164644576656e744c697374656e657228227265736102a08201527f697a65222c727a293b66756e6374696f6e20727a2865297b636f6e2e7374796c6102c08201527f652e7472616e73666f726d3d607363616c6528247b772e696e6e6572576964746102e08201527f682f313030307d2c247b772e696e6e65724865696768742f313030307d29603b6103008201527f7d7d00000000000000000000000000000000000000000000000000000000000061032082015250565b6000615d816103228361454c565b9150615d8c82615982565b61032282019050919050565b6000615da382615d73565b9150819050919050565b6000615db8826135f0565b9150615dc3836135f0565b925082821015615dd657615dd5614253565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615e46602083613540565b9150615e5182615e10565b602082019050919050565b60006020820190508181036000830152615e7581615e39565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615eb2601c83613540565b9150615ebd82615e7c565b602082019050919050565b60006020820190508181036000830152615ee181615ea5565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122090730dfcfd190ac71557ddbefd73949a40be1ef1a685aa6cad55c790b6e9de5364736f6c634300080c0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
POL | 100.00% | $0.374611 | 0.0129 | $0.004832 |
Loading...
Loading
[ Download: CSV Export ]
[ 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.