Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 54 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw All | 18766776 | 255 days ago | IN | 0 ETH | 0.00095696 | ||||
_pause | 18605486 | 277 days ago | IN | 0 ETH | 0.00079298 | ||||
Mint | 18605213 | 277 days ago | IN | 0.0079 ETH | 0.00449415 | ||||
Mint | 18605099 | 277 days ago | IN | 0.0079 ETH | 0.00359534 | ||||
Mint | 18604757 | 277 days ago | IN | 0.0076 ETH | 0.00422668 | ||||
Mint | 18604707 | 277 days ago | IN | 0.0071 ETH | 0.00372906 | ||||
Mint | 18604246 | 277 days ago | IN | 0.0077 ETH | 0.00324979 | ||||
Mint | 18603861 | 278 days ago | IN | 0.0144 ETH | 0.00381041 | ||||
Mint | 18603724 | 278 days ago | IN | 0.0075 ETH | 0.00397692 | ||||
Mint | 18602947 | 278 days ago | IN | 0.0077 ETH | 0.00400647 | ||||
Mint | 18598552 | 278 days ago | IN | 0.0087 ETH | 0.00461595 | ||||
Mint | 18598525 | 278 days ago | IN | 0.0075 ETH | 0.00480803 | ||||
Mint | 18598513 | 278 days ago | IN | 0.0082 ETH | 0.00451658 | ||||
Mint | 18598137 | 278 days ago | IN | 0.0071 ETH | 0.00458362 | ||||
Mint | 18597828 | 278 days ago | IN | 0.0097 ETH | 0.00453777 | ||||
Mint | 18596461 | 279 days ago | IN | 0.0103 ETH | 0.00451067 | ||||
Mint | 18592142 | 279 days ago | IN | 0.0071 ETH | 0.00868089 | ||||
Mint | 18589819 | 279 days ago | IN | 0.01 ETH | 0.00517025 | ||||
Mint | 18588314 | 280 days ago | IN | 0.0074 ETH | 0.00670277 | ||||
Mint | 18554610 | 284 days ago | IN | 0.0074 ETH | 0.00527321 | ||||
Mint | 18554257 | 284 days ago | IN | 0.0071 ETH | 0.00473038 | ||||
Mint | 18533505 | 287 days ago | IN | 0.0088 ETH | 0.00830748 | ||||
Mint | 18532544 | 287 days ago | IN | 0.0071 ETH | 0.00660562 | ||||
Set Approval For... | 18524887 | 289 days ago | IN | 0 ETH | 0.00101273 | ||||
Mint | 18504788 | 291 days ago | IN | 0.0073 ETH | 0.00482442 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18766776 | 255 days ago | 0.428 ETH |
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("50 Rectangles", "50RECTS") { 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, "errSize"); 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, // "errSupply" //); //price = 0.007 + 0.1 * (w*h)/10000; uint256 price = (7000+10*uint256(w)*uint256(h)) * 0.000001 ether; require( msg.value >= price, "errEth" ); 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>50 Rectangles</title>" '<style>' "body { background:#ccc;overflow:hidden;font-size:24px;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(50-tokens[_id].w/2);//str8(tokens[_id].x); string memory y = str8(50-tokens[_id].h/2);//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:#ccc;">' '<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), "errId" ); 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/genrects/00/",', '"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
60806040523480156200001157600080fd5b506040518060400160405280600d81526020017f35302052656374616e676c6573000000000000000000000000000000000000008152506040518060400160405280600781526020017f3530524543545300000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620001c1565b508060019080519060200190620000af929190620001c1565b505050620000d2620000c6620000f360201b60201c565b620000fb60201b60201c565b6000600d60006101000a81548160ff021916908315150217905550620002d6565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001cf90620002a0565b90600052602060002090601f016020900481019282620001f357600085556200023f565b82601f106200020e57805160ff19168380011785556200023f565b828001600101855582156200023f579182015b828111156200023e57825182559160200191906001019062000221565b5b5090506200024e919062000252565b5090565b5b808211156200026d57600081600090555060010162000253565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002b957607f821691505b60208210811415620002d057620002cf62000271565b5b50919050565b615f0b80620002e66000396000f3fe6080604052600436106101c25760003560e01c806370a08231116100f7578063b88d4fde11610095578063ed72938811610064578063ed7293881461068a578063f027c3c8146106a6578063f2fde38b146106cf578063fc8234cb146106f8576101c2565b8063b88d4fde146105aa578063c87b56dd146105d3578063cd53d08e14610610578063e985e9c51461064d576101c2565b8063853828b6116100d1578063853828b6146105145780638da5cb5b1461052b57806395d89b4114610556578063a22cb46514610581576101c2565b806370a0823114610483578063715018a6146104c057806383c63e72146104d7576101c2565b8063320b2ad911610164578063494cfc6c1161013e578063494cfc6c1461038f5780634f6ccce7146103cc5780635ac8d444146104095780636352211e14610446576101c2565b8063320b2ad91461032657806342842e0e1461033d57806344c6bb1f14610366576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c05780632f745c59146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e991906134b7565b61070f565b6040516101fb91906134ff565b60405180910390f35b34801561021057600080fd5b50610219610789565b60405161022691906135b3565b60405180910390f35b34801561023b57600080fd5b506102566004803603810190610251919061360b565b61081b565b6040516102639190613679565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e91906136c0565b610861565b005b3480156102a157600080fd5b506102aa610979565b6040516102b7919061370f565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e2919061372a565b610986565b005b3480156102f557600080fd5b50610310600480360381019061030b91906136c0565b6109e6565b60405161031d919061370f565b60405180910390f35b34801561033257600080fd5b5061033b610a8b565b005b34801561034957600080fd5b50610364600480360381019061035f919061372a565b610ab0565b005b34801561037257600080fd5b5061038d600480360381019061038891906137b6565b610ad0565b005b34801561039b57600080fd5b506103b660048036038101906103b19190613858565b610d43565b6040516103c391906139f3565b60405180910390f35b3480156103d857600080fd5b506103f360048036038101906103ee919061360b565b610ec3565b604051610400919061370f565b60405180910390f35b34801561041557600080fd5b50610430600480360381019061042b9190613858565b610f34565b60405161043d9190613ad3565b60405180910390f35b34801561045257600080fd5b5061046d6004803603810190610468919061360b565b611036565b60405161047a9190613679565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a59190613af5565b6110bd565b6040516104b7919061370f565b60405180910390f35b3480156104cc57600080fd5b506104d5611175565b005b3480156104e357600080fd5b506104fe60048036038101906104f99190613b22565b611189565b60405161050b9190613ba4565b60405180910390f35b34801561052057600080fd5b50610529611423565b005b34801561053757600080fd5b50610540611478565b60405161054d9190613679565b60405180910390f35b34801561056257600080fd5b5061056b6114a2565b60405161057891906135b3565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a39190613bf2565b611534565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613d67565b61154a565b005b3480156105df57600080fd5b506105fa60048036038101906105f5919061360b565b6115ac565b60405161060791906135b3565b60405180910390f35b34801561061c57600080fd5b506106376004803603810190610632919061360b565b61168f565b6040516106449190613679565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f9190613dea565b6116c2565b60405161068191906134ff565b60405180910390f35b6106a4600480360381019061069f9190613e2a565b611756565b005b3480156106b257600080fd5b506106cd60048036038101906106c89190613e2a565b6118e3565b005b3480156106db57600080fd5b506106f660048036038101906106f19190613af5565b611962565b005b34801561070457600080fd5b5061070d6119e6565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610782575061078182611a0b565b5b9050919050565b60606000805461079890613ee6565b80601f01602080910402602001604051908101604052809291908181526020018280546107c490613ee6565b80156108115780601f106107e657610100808354040283529160200191610811565b820191906000526020600020905b8154815290600101906020018083116107f457829003601f168201915b5050505050905090565b600061082682611aed565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086c82611036565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d490613f8a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc611b38565b73ffffffffffffffffffffffffffffffffffffffff16148061092b575061092a81610925611b38565b6116c2565b5b61096a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109619061401c565b60405180910390fd5b6109748383611b40565b505050565b6000600880549050905090565b610997610991611b38565b82611bf9565b6109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd906140ae565b60405180910390fd5b6109e1838383611c8e565b505050565b60006109f1836110bd565b8210610a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2990614140565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a93611f88565b6001600d60006101000a81548160ff021916908315150217905550565b610acb8383836040518060200160405280600081525061154a565b505050565b863373ffffffffffffffffffffffffffffffffffffffff16600b600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610b7057503373ffffffffffffffffffffffffffffffffffffffff16610b58611478565b73ffffffffffffffffffffffffffffffffffffffff16145b610baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba6906141ac565b60405180910390fd5b60008560ff16118015610bc5575060008460ff16115b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90614218565b60405180910390fd5b86600c60008a815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555085600c60008a815260200190815260200160002060000160016101000a81548160ff021916908360ff16021790555084600c60008a815260200190815260200160002060000160026101000a81548160ff021916908360ff16021790555083600c60008a815260200190815260200160002060000160036101000a81548160ff021916908360ff16021790555082600c60008a815260200190815260200160002060000160046101000a81548160ff021916908360ff16021790555081600c60008a815260200190815260200160002060000160056101000a81548160ff021916908360ff16021790555042600c60008a8152602001908152602001600020600101819055505050505050505050565b606060008267ffffffffffffffff811115610d6157610d60613c3c565b5b604051908082528060200260200182016040528015610d9a57816020015b610d876133fc565b815260200190600190039081610d7f5790505b50905060005b83811015610eb857600c60008287610db89190614267565b81526020019081526020016000206040518060e00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900460ff1660ff1660ff1681526020016000820160049054906101000a900460ff1660ff1660ff1681526020016000820160059054906101000a900460ff1660ff1660ff168152602001600182015481525050828281518110610e9c57610e9b6142bd565b5b602002602001018190525080610eb1906142ec565b9050610da0565b508091505092915050565b6000610ecd610979565b8210610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f05906143a7565b60405180910390fd5b60088281548110610f2257610f216142bd565b5b90600052602060002001549050919050565b606060008267ffffffffffffffff811115610f5257610f51613c3c565b5b604051908082528060200260200182016040528015610f805781602001602082028036833780820191505090505b50905060005b8381101561102b57600b60008287610f9e9190614267565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828281518110610fe057610fdf6142bd565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505080611024906142ec565b9050610f86565b508091505092915050565b60008061104283612006565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab90614413565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561112e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611125906144a5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61117d611f88565b6111876000612043565b565b606060008067ffffffffffffffff8111156111a7576111a6613c3c565b5b6040519080825280601f01601f1916602001820160405280156111d95781602001600182028036833780820191505090505b50905060018360ff161415611225576040518060400160405280600481526020017f2366303000000000000000000000000000000000000000000000000000000000815250905061141a565b60028360ff16141561126e576040518060400160405280600481526020017f23306630000000000000000000000000000000000000000000000000000000008152509050611419565b60038360ff1614156112b7576040518060400160405280600481526020017f23303066000000000000000000000000000000000000000000000000000000008152509050611418565b60048360ff161415611300576040518060400160405280600481526020017f23666630000000000000000000000000000000000000000000000000000000008152509050611417565b60058360ff161415611349576040518060400160405280600481526020017f23663066000000000000000000000000000000000000000000000000000000008152509050611416565b60068360ff161415611392576040518060400160405280600481526020017f23306666000000000000000000000000000000000000000000000000000000008152509050611415565b60078360ff1614156113db576040518060400160405280600481526020017f23666666000000000000000000000000000000000000000000000000000000008152509050611414565b6040518060400160405280600481526020017f233030300000000000000000000000000000000000000000000000000000000081525090505b5b5b5b5b5b5b80915050919050565b61142b611f88565b6000479050611438611478565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061147557600080fd5b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114b190613ee6565b80601f01602080910402602001604051908101604052809291908181526020018280546114dd90613ee6565b801561152a5780601f106114ff5761010080835404028352916020019161152a565b820191906000526020600020905b81548152906001019060200180831161150d57829003601f168201915b5050505050905090565b61154661153f611b38565b8383612109565b5050565b61155b611555611b38565b83611bf9565b61159a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611591906140ae565b60405180910390fd5b6115a684848484612276565b50505050565b60606115b7826122d2565b6115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed90614511565b60405180910390fd5b600061160d6001846116089190614267565b612313565b61161e611619856123eb565b6125aa565b61162e61162961270e565b6125aa565b61164360018761163e9190614267565b612313565b604051602001611656949392919061483f565b6040516020818303038152906040529050806040516020016116789190614952565b604051602081830303815290604052915050919050565b600b6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff16156117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d906149c0565b60405180910390fd5b600064e8d4a510008460ff168660ff16600a6117c291906149e0565b6117cc91906149e0565b611b586117d99190614267565b6117e391906149e0565b905080341015611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181f90614a86565b60405180910390fd5b600061183333612745565b905033600b600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061189681898989898989610ad0565b3373ffffffffffffffffffffffffffffffffffffffff167fcccf45135e1be7bf26a3320f96f1c8f1885b52b04535973d149251e87b73d20860405160405180910390a25050505050505050565b6118eb611f88565b60006118f633612745565b905033600b600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061195981888888888888610ad0565b50505050505050565b61196a611f88565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d190614b18565b60405180910390fd5b6119e381612043565b50565b6119ee611f88565b6000600d60006101000a81548160ff021916908315150217905550565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ad657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ae65750611ae582612771565b5b9050919050565b611af6816122d2565b611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c90614413565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611bb383611036565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c0583611036565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c475750611c4681856116c2565b5b80611c8557508373ffffffffffffffffffffffffffffffffffffffff16611c6d8461081b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cae82611036565b73ffffffffffffffffffffffffffffffffffffffff1614611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb90614baa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6b90614c3c565b60405180910390fd5b611d8183838360016127db565b8273ffffffffffffffffffffffffffffffffffffffff16611da182611036565b73ffffffffffffffffffffffffffffffffffffffff1614611df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dee90614baa565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f83838383600161293b565b505050565b611f90611b38565b73ffffffffffffffffffffffffffffffffffffffff16611fae611478565b73ffffffffffffffffffffffffffffffffffffffff1614612004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffb90614ca8565b60405180910390fd5b565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216f90614d14565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161226991906134ff565b60405180910390a3505050565b612281848484611c8e565b61228d84848484612941565b6122cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c390614da6565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166122f483612006565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000600161232284612ac9565b01905060008167ffffffffffffffff81111561234157612340613c3c565b5b6040519080825280601f01601f1916602001820160405280156123735781602001600182028036833780820191505090505b509050600082602001820190505b6001156123e0578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816123ca576123c9614dc6565b5b04945060008514156123db576123e0565b612381565b819350505050919050565b606060006124336002600c600086815260200190815260200160002060000160029054906101000a900460ff166124229190614df5565b603261242e9190614e26565b612c1c565b9050600061247b6002600c600087815260200190815260200160002060000160039054906101000a900460ff1661246a9190614df5565b60326124769190614e26565b612c1c565b905060006124ab600c600087815260200190815260200160002060000160029054906101000a900460ff16612c1c565b905060006124db600c600088815260200190815260200160002060000160039054906101000a900460ff16612c1c565b9050600061250b600c600089815260200190815260200160002060000160059054906101000a900460ff16612c1c565b90506000600c600089815260200190815260200160002060000160049054906101000a900460ff1690506000600a826125449190614e5a565b90506000600a836125559190614df5565b90508585898961256486611189565b8a8a8e8e6125718a611189565b8d60405160200161258c9b9a999897969594939291906151cf565b60405160208183030381529060405298505050505050505050919050565b60606000825114156125cd57604051806020016040528060008152509050612709565b6000604051806060016040528060408152602001615e9660409139905060006003600285516125fc9190614267565b61260691906152ec565b600461261291906149e0565b67ffffffffffffffff81111561262b5761262a613c3c565b5b6040519080825280601f01601f19166020018201604052801561265d5781602001600182028036833780820191505090505b509050600182016020820185865187015b808210156126c9576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f811685015184536001840193505061266e565b50506003865106600181146126e557600281146126f857612700565b603d6001830353603d6002830353612700565b603d60018303535b50505080925050505b919050565b6060612718612c31565b612720612ded565b6040516020016127319291906155d1565b604051602081830303815290604052905090565b600080612752600e612e12565b905061275e8382612e20565b612768600e612e3e565b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6127e784848484612e54565b600181111561282b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128229061567d565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156128735761286e81612e5a565b6128b2565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146128b1576128b08582612ea3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128f5576128f081613010565b612934565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146129335761293284826130e1565b5b5b5050505050565b50505050565b60006129628473ffffffffffffffffffffffffffffffffffffffff16613160565b15612abc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261298b611b38565b8786866040518563ffffffff1660e01b81526004016129ad949392919061569d565b6020604051808303816000875af19250505080156129e957506040513d601f19601f820116820180604052508101906129e691906156fe565b60015b612a6c573d8060008114612a19576040519150601f19603f3d011682016040523d82523d6000602084013e612a1e565b606091505b50600081511415612a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5b90614da6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ac1565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612b27577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612b1d57612b1c614dc6565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612b64576d04ee2d6d415b85acef81000000008381612b5a57612b59614dc6565b5b0492506020810190505b662386f26fc100008310612b9357662386f26fc100008381612b8957612b88614dc6565b5b0492506010810190505b6305f5e1008310612bbc576305f5e1008381612bb257612bb1614dc6565b5b0492506008810190505b6127108310612be1576127108381612bd757612bd6614dc6565b5b0492506004810190505b60648310612c045760648381612bfa57612bf9614dc6565b5b0492506002810190505b600a8310612c13576001810190505b80915050919050565b6060612c2a8260ff16612313565b9050919050565b606060006040518060400160405280600b81526020017f766172206a736f6e733d5b00000000000000000000000000000000000000000081525090506000612c77610979565b905060005b81811015612dc55782612cb1600c600084815260200190815260200160002060000160009054906101000a900460ff16612c1c565b612cdd600c600085815260200190815260200160002060000160019054906101000a900460ff16612c1c565b612d09600c600086815260200190815260200160002060000160029054906101000a900460ff16612c1c565b612d35600c600087815260200190815260200160002060000160039054906101000a900460ff16612c1c565b612d61600c600088815260200190815260200160002060000160049054906101000a900460ff16612c1c565b612d8d600c600089815260200190815260200160002060000160059054906101000a900460ff16612c1c565b604051602001612da3979695949392919061580f565b604051602081830303815290604052925080612dbe906142ec565b9050612c7c565b5081604051602001612dd7919061590d565b6040516020818303038152906040529250505090565b6060604051602001612dfe90615d45565b604051602081830303815290604052905090565b600081600001549050919050565b612e3a828260405180602001604052806000815250613183565b5050565b6001816000016000828254019250508190555050565b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612eb0846110bd565b612eba9190615d5a565b9050600060076000848152602001908152602001600020549050818114612f9f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130249190615d5a565b9050600060096000848152602001908152602001600020549050600060088381548110613054576130536142bd565b5b906000526020600020015490508060088381548110613076576130756142bd565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130c5576130c4615d8e565b5b6001900381819060005260206000200160009055905550505050565b60006130ec836110bd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b61318d83836131de565b61319a6000848484612941565b6131d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d090614da6565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561324e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324590615e09565b60405180910390fd5b613257816122d2565b15613297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328e90615e75565b60405180910390fd5b6132a56000838360016127db565b6132ae816122d2565b156132ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e590615e75565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133f860008383600161293b565b5050565b6040518060e00160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600081525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134948161345f565b811461349f57600080fd5b50565b6000813590506134b18161348b565b92915050565b6000602082840312156134cd576134cc613455565b5b60006134db848285016134a2565b91505092915050565b60008115159050919050565b6134f9816134e4565b82525050565b600060208201905061351460008301846134f0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613554578082015181840152602081019050613539565b83811115613563576000848401525b50505050565b6000601f19601f8301169050919050565b60006135858261351a565b61358f8185613525565b935061359f818560208601613536565b6135a881613569565b840191505092915050565b600060208201905081810360008301526135cd818461357a565b905092915050565b6000819050919050565b6135e8816135d5565b81146135f357600080fd5b50565b600081359050613605816135df565b92915050565b60006020828403121561362157613620613455565b5b600061362f848285016135f6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061366382613638565b9050919050565b61367381613658565b82525050565b600060208201905061368e600083018461366a565b92915050565b61369d81613658565b81146136a857600080fd5b50565b6000813590506136ba81613694565b92915050565b600080604083850312156136d7576136d6613455565b5b60006136e5858286016136ab565b92505060206136f6858286016135f6565b9150509250929050565b613709816135d5565b82525050565b60006020820190506137246000830184613700565b92915050565b60008060006060848603121561374357613742613455565b5b6000613751868287016136ab565b9350506020613762868287016136ab565b9250506040613773868287016135f6565b9150509250925092565b600060ff82169050919050565b6137938161377d565b811461379e57600080fd5b50565b6000813590506137b08161378a565b92915050565b600080600080600080600060e0888a0312156137d5576137d4613455565b5b60006137e38a828b016135f6565b97505060206137f48a828b016137a1565b96505060406138058a828b016137a1565b95505060606138168a828b016137a1565b94505060806138278a828b016137a1565b93505060a06138388a828b016137a1565b92505060c06138498a828b016137a1565b91505092959891949750929550565b6000806040838503121561386f5761386e613455565b5b600061387d858286016135f6565b925050602061388e858286016135f6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6138cd8161377d565b82525050565b6138dc816135d5565b82525050565b60e0820160008201516138f860008501826138c4565b50602082015161390b60208501826138c4565b50604082015161391e60408501826138c4565b50606082015161393160608501826138c4565b50608082015161394460808501826138c4565b5060a082015161395760a08501826138c4565b5060c082015161396a60c08501826138d3565b50505050565b600061397c83836138e2565b60e08301905092915050565b6000602082019050919050565b60006139a082613898565b6139aa81856138a3565b93506139b5836138b4565b8060005b838110156139e65781516139cd8882613970565b97506139d883613988565b9250506001810190506139b9565b5085935050505092915050565b60006020820190508181036000830152613a0d8184613995565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a4a81613658565b82525050565b6000613a5c8383613a41565b60208301905092915050565b6000602082019050919050565b6000613a8082613a15565b613a8a8185613a20565b9350613a9583613a31565b8060005b83811015613ac6578151613aad8882613a50565b9750613ab883613a68565b925050600181019050613a99565b5085935050505092915050565b60006020820190508181036000830152613aed8184613a75565b905092915050565b600060208284031215613b0b57613b0a613455565b5b6000613b19848285016136ab565b91505092915050565b600060208284031215613b3857613b37613455565b5b6000613b46848285016137a1565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000613b7682613b4f565b613b808185613b5a565b9350613b90818560208601613536565b613b9981613569565b840191505092915050565b60006020820190508181036000830152613bbe8184613b6b565b905092915050565b613bcf816134e4565b8114613bda57600080fd5b50565b600081359050613bec81613bc6565b92915050565b60008060408385031215613c0957613c08613455565b5b6000613c17858286016136ab565b9250506020613c2885828601613bdd565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c7482613569565b810181811067ffffffffffffffff82111715613c9357613c92613c3c565b5b80604052505050565b6000613ca661344b565b9050613cb28282613c6b565b919050565b600067ffffffffffffffff821115613cd257613cd1613c3c565b5b613cdb82613569565b9050602081019050919050565b82818337600083830152505050565b6000613d0a613d0584613cb7565b613c9c565b905082815260208101848484011115613d2657613d25613c37565b5b613d31848285613ce8565b509392505050565b600082601f830112613d4e57613d4d613c32565b5b8135613d5e848260208601613cf7565b91505092915050565b60008060008060808587031215613d8157613d80613455565b5b6000613d8f878288016136ab565b9450506020613da0878288016136ab565b9350506040613db1878288016135f6565b925050606085013567ffffffffffffffff811115613dd257613dd161345a565b5b613dde87828801613d39565b91505092959194509250565b60008060408385031215613e0157613e00613455565b5b6000613e0f858286016136ab565b9250506020613e20858286016136ab565b9150509250929050565b60008060008060008060c08789031215613e4757613e46613455565b5b6000613e5589828a016137a1565b9650506020613e6689828a016137a1565b9550506040613e7789828a016137a1565b9450506060613e8889828a016137a1565b9350506080613e9989828a016137a1565b92505060a0613eaa89828a016137a1565b9150509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613efe57607f821691505b60208210811415613f1257613f11613eb7565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f74602183613525565b9150613f7f82613f18565b604082019050919050565b60006020820190508181036000830152613fa381613f67565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614006603d83613525565b915061401182613faa565b604082019050919050565b6000602082019050818103600083015261403581613ff9565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614098602d83613525565b91506140a38261403c565b604082019050919050565b600060208201905081810360008301526140c78161408b565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061412a602b83613525565b9150614135826140ce565b604082019050919050565b600060208201905081810360008301526141598161411d565b9050919050565b7f6f6e6c7943726561746f72000000000000000000000000000000000000000000600082015250565b6000614196600b83613525565b91506141a182614160565b602082019050919050565b600060208201905081810360008301526141c581614189565b9050919050565b7f65727253697a6500000000000000000000000000000000000000000000000000600082015250565b6000614202600783613525565b915061420d826141cc565b602082019050919050565b60006020820190508181036000830152614231816141f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614272826135d5565b915061427d836135d5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142b2576142b1614238565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006142f7826135d5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561432a57614329614238565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614391602c83613525565b915061439c82614335565b604082019050919050565b600060208201905081810360008301526143c081614384565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006143fd601883613525565b9150614408826143c7565b602082019050919050565b6000602082019050818103600083015261442c816143f0565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061448f602983613525565b915061449a82614433565b604082019050919050565b600060208201905081810360008301526144be81614482565b9050919050565b7f6572724964000000000000000000000000000000000000000000000000000000600082015250565b60006144fb600583613525565b9150614506826144c5565b602082019050919050565b6000602082019050818103600083015261452a816144ee565b9050919050565b600081905092915050565b7f7b226e616d65223a2252656374616e676c652023000000000000000000000000600082015250565b6000614572601483614531565b915061457d8261453c565b601482019050919050565b60006145938261351a565b61459d8185614531565b93506145ad818560208601613536565b80840191505092915050565b7f222c226465736372697074696f6e223a22412067656e6572617469766520617260008201527f74206d616465206279206d756c7469706c65206d696e74657273222c00000000602082015250565b6000614615603c83614531565b9150614620826145b9565b603c82019050919050565b7f22696d616765223a22646174613a696d6167652f7376672b786d6c3b6261736560008201527f36342c0000000000000000000000000000000000000000000000000000000000602082015250565b6000614687602383614531565b91506146928261462b565b602382019050919050565b7f222c2265787465726e616c5f75726c223a202268747470733a2f2f6b6974617360008201527f656e6a7564657369676e2e636f6d2f67656e72656374732f30302f222c000000602082015250565b60006146f9603d83614531565b91506147048261469d565b603d82019050919050565b7f22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d6c3b60008201527f6261736536342c00000000000000000000000000000000000000000000000000602082015250565b600061476b602783614531565b91506147768261470f565b602782019050919050565b7f222c2261747472696275746573223a205b7b2274726169745f74797065223a2060008201527f226e6f222c2276616c7565223a20000000000000000000000000000000000000602082015250565b60006147dd602e83614531565b91506147e882614781565b602e82019050919050565b7f7d5d7d0000000000000000000000000000000000000000000000000000000000600082015250565b6000614829600383614531565b9150614834826147f3565b600382019050919050565b600061484a82614565565b91506148568287614588565b915061486182614608565b915061486c8261467a565b91506148788286614588565b9150614883826146ec565b915061488e8261475e565b915061489a8285614588565b91506148a5826147d0565b91506148b18284614588565b91506148bc8261481c565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e2c00000000000000000000600082015250565b6000614900601683614531565b915061490b826148ca565b601682019050919050565b600081905092915050565b600061492c82613b4f565b6149368185614916565b9350614946818560208601613536565b80840191505092915050565b600061495d826148f3565b91506149698284614921565b915081905092915050565b7f7061757365640000000000000000000000000000000000000000000000000000600082015250565b60006149aa600683613525565b91506149b582614974565b602082019050919050565b600060208201905081810360008301526149d98161499d565b9050919050565b60006149eb826135d5565b91506149f6836135d5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a2f57614a2e614238565b5b828202905092915050565b7f6572724574680000000000000000000000000000000000000000000000000000600082015250565b6000614a70600683613525565b9150614a7b82614a3a565b602082019050919050565b60006020820190508181036000830152614a9f81614a63565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b02602683613525565b9150614b0d82614aa6565b604082019050919050565b60006020820190508181036000830152614b3181614af5565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614b94602583613525565b9150614b9f82614b38565b604082019050919050565b60006020820190508181036000830152614bc381614b87565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614c26602483613525565b9150614c3182614bca565b604082019050919050565b60006020820190508181036000830152614c5581614c19565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614c92602083613525565b9150614c9d82614c5c565b602082019050919050565b60006020820190508181036000830152614cc181614c85565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614cfe601983613525565b9150614d0982614cc8565b602082019050919050565b60006020820190508181036000830152614d2d81614cf1565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614d90603283613525565b9150614d9b82614d34565b604082019050919050565b60006020820190508181036000830152614dbf81614d83565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e008261377d565b9150614e0b8361377d565b925082614e1b57614e1a614dc6565b5b828204905092915050565b6000614e318261377d565b9150614e3c8361377d565b925082821015614e4f57614e4e614238565b5b828203905092915050565b6000614e658261377d565b9150614e708361377d565b925082614e8057614e7f614dc6565b5b828206905092915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667222076696577426f783d2230203020313030203130302220737460208201527f796c653d226261636b67726f756e642d636f6c6f723a236363633b223e3c737460408201527f796c653e406b65796672616d657320616e69207b30257b206f7061636974793a60608201527f20303b7d20313030257b206f7061636974793a20313b7d7d3c2f7374796c653e60808201527f3c726563742077696474683d220000000000000000000000000000000000000060a082015250565b6000614f7f60ad83614531565b9150614f8a82614e8b565b60ad82019050919050565b7f22206865696768743d2200000000000000000000000000000000000000000000600082015250565b6000614fcb600a83614531565b9150614fd682614f95565b600a82019050919050565b7f2220783d22000000000000000000000000000000000000000000000000000000600082015250565b6000615017600583614531565b915061502282614fe1565b600582019050919050565b7f2220793d22000000000000000000000000000000000000000000000000000000600082015250565b6000615063600583614531565b915061506e8261502d565b600582019050919050565b7f22207374796c653d2266696c6c3a000000000000000000000000000000000000600082015250565b60006150af600e83614531565b91506150ba82615079565b600e82019050919050565b7f3b22202f3e3c726563742077696474683d220000000000000000000000000000600082015250565b60006150fb601283614531565b9150615106826150c5565b601282019050919050565b7f3b616e696d6174696f6e3a20616e692000000000000000000000000000000000600082015250565b6000615147601083614531565b915061515282615111565b601082019050919050565b7f306d7320696e66696e697465206c696e65617220616c7465726e6174653b222060008201527f2f3e3c2f7376673e000000000000000000000000000000000000000000000000602082015250565b60006151b9602883614531565b91506151c48261515d565b602882019050919050565b60006151da82614f72565b91506151e6828e614588565b91506151f182614fbe565b91506151fd828d614588565b91506152088261500a565b9150615214828c614588565b915061521f82615056565b915061522b828b614588565b9150615236826150a2565b9150615242828a614921565b915061524d826150ee565b91506152598289614588565b915061526482614fbe565b91506152708288614588565b915061527b8261500a565b91506152878287614588565b915061529282615056565b915061529e8286614588565b91506152a9826150a2565b91506152b58285614921565b91506152c08261513a565b91506152cc8284614588565b91506152d7826151ac565b91508190509c9b505050505050505050505050565b60006152f7826135d5565b9150615302836135d5565b92508261531257615311614dc6565b5b828204905092915050565b7f3c21444f43545950452068746d6c3e3c68746d6c3e3c686561643e3c7469746c60008201527f653e35302052656374616e676c65733c2f7469746c653e3c7374796c653e626f60208201527f6479207b206261636b67726f756e643a236363633b6f766572666c6f773a686960408201527f6464656e3b666f6e742d73697a653a323470783b666f6e742d66616d696c793a60608201527f73616e732d73657269663b207d2023636f6e7b706f736974696f6e3a6162736f60808201527f6c7574653b6c6566743a303b746f703a303b7472616e73666f726d2d6f72696760a08201527f696e3a203020303b7d202e726563747b20636f6c6f723a236666663b2064697360c08201527f706c61793a666c65783b20616c69676e2d6974656d733a63656e7465723b206a60e08201527f7573746966792d636f6e74656e743a63656e7465723b206f766572666c6f773a6101008201527f68696464656e3b20706f736974696f6e3a206162736f6c7574653b616e696d616101208201527f74696f6e3a20616e6920317320696e66696e69746520616c7465726e617465206101408201527f656173652d696e2d6f75743b7d20406b65796672616d657320616e697b66726f6101608201527f6d207b6f7061636974793a20303b7d20746f207b6f7061636974793a20313b7d6101808201527f7d203c2f7374796c653e3c7363726970743e00000000000000000000000000006101a082015250565b60006155486101b283614531565b91506155538261531d565b6101b282019050919050565b7f3c2f7363726970743e3c2f686561643e3c626f64793e3c6469762069643d276360008201527f6f6e273e3c2f6469763e3c2f626f64793e3c2f68746d6c3e0000000000000000602082015250565b60006155bb603883614531565b91506155c68261555f565b603882019050919050565b60006155dc8261553a565b91506155e88285614921565b91506155f48284614921565b91506155ff826155ae565b91508190509392505050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000615667603583613525565b91506156728261560b565b604082019050919050565b600060208201905081810360008301526156968161565a565b9050919050565b60006080820190506156b2600083018761366a565b6156bf602083018661366a565b6156cc6040830185613700565b81810360608301526156de8184613b6b565b905095945050505050565b6000815190506156f88161348b565b92915050565b60006020828403121561571457615713613455565b5b6000615722848285016156e9565b91505092915050565b7f5b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615761600183614531565b915061576c8261572b565b600182019050919050565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b60006157ad600183614531565b91506157b882615777565b600182019050919050565b7f5d2c000000000000000000000000000000000000000000000000000000000000600082015250565b60006157f9600283614531565b9150615804826157c3565b600282019050919050565b600061581b828a614921565b915061582682615754565b91506158328289614588565b915061583d826157a0565b91506158498288614588565b9150615854826157a0565b91506158608287614588565b915061586b826157a0565b91506158778286614588565b9150615882826157a0565b915061588e8285614588565b9150615899826157a0565b91506158a58284614588565b91506158b0826157ec565b915081905098975050505050505050565b7f5d3b000000000000000000000000000000000000000000000000000000000000600082015250565b60006158f7600283614531565b9150615902826158c1565b600282019050919050565b60006159198284614921565b9150615924826158ea565b915081905092915050565b7f76617220773d77696e646f772c64743d646f63756d656e743b772e6f6e6c6f6160008201527f643d28293d3e7b7661722064633d64742e637265617465456c656d656e742e6260208201527f696e64286474292c636f6c733d5b2223303030222c2223663030222c2223306660408201527f30222c2223303066222c2223666630222c2223663066222c2223306666222c2260608201527f23666666225d2c636f6e3d64742e676574456c656d656e74427949642822636f60808201527f6e22293b666f72286c657420693d303b693c6a736f6e732e6c656e6774683b6960a08201527f2b2b297b6c657420643d6a736f6e735b695d3b6c65742064313d64632827646960c08201527f7627292c64323d6463282764697627293b6c6574206431733d64312e7374796c60e08201527f652c6432733d64322e7374796c653b64312e636c6173734c6973742e616464286101008201527f227265637422293b64312e696e6e6572546578743d22222b28692b31293b64316101208201527f732e6c6566743d6432732e6c6566743d28645b305d2a3130292b227078223b646101408201527f31732e746f703d6432732e746f703d28645b315d2a3130292b227078223b64316101608201527f732e77696474683d6432732e77696474683d28645b325d2a3130292b227078226101808201527f3b6431732e6865696768743d6432732e6865696768743d28645b335d2a3130296101a08201527f2b227078223b6431732e616e696d6174696f6e4475726174696f6e3d28645b356101c08201527f5d292b22306d73223b6431732e6261636b67726f756e64436f6c6f723d636f6c6101e08201527f735b4d6174682e666c6f6f7228645b345d2f3130295d3b6431732e7a496e64656102008201527f783d22222b28692a32293b6432732e706f736974696f6e3d226162736f6c75746102208201527f65223b6432732e7a496e6465783d22222b28692a322d31293b6432732e6261636102408201527f6b67726f756e64436f6c6f723d636f6c735b645b345d2531305d3b636f6e2e616102608201527f7070656e644368696c64286431293b636f6e2e617070656e644368696c6428646102808201527f32293b7d727a28293b772e6164644576656e744c697374656e657228227265736102a08201527f697a65222c727a293b66756e6374696f6e20727a2865297b636f6e2e7374796c6102c08201527f652e7472616e73666f726d3d607363616c6528247b772e696e6e6572576964746102e08201527f682f313030307d2c247b772e696e6e65724865696768742f313030307d29603b6103008201527f7d7d00000000000000000000000000000000000000000000000000000000000061032082015250565b6000615d2e61032283614531565b9150615d398261592f565b61032282019050919050565b6000615d5082615d20565b9150819050919050565b6000615d65826135d5565b9150615d70836135d5565b925082821015615d8357615d82614238565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615df3602083613525565b9150615dfe82615dbd565b602082019050919050565b60006020820190508181036000830152615e2281615de6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615e5f601c83613525565b9150615e6a82615e29565b602082019050919050565b60006020820190508181036000830152615e8e81615e52565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220ddd7a0f065e8e5574754f1a243bb72ee402483f2e6c25d1ffba7f022ade0c95564736f6c634300080c0033
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806370a08231116100f7578063b88d4fde11610095578063ed72938811610064578063ed7293881461068a578063f027c3c8146106a6578063f2fde38b146106cf578063fc8234cb146106f8576101c2565b8063b88d4fde146105aa578063c87b56dd146105d3578063cd53d08e14610610578063e985e9c51461064d576101c2565b8063853828b6116100d1578063853828b6146105145780638da5cb5b1461052b57806395d89b4114610556578063a22cb46514610581576101c2565b806370a0823114610483578063715018a6146104c057806383c63e72146104d7576101c2565b8063320b2ad911610164578063494cfc6c1161013e578063494cfc6c1461038f5780634f6ccce7146103cc5780635ac8d444146104095780636352211e14610446576101c2565b8063320b2ad91461032657806342842e0e1461033d57806344c6bb1f14610366576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c05780632f745c59146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e991906134b7565b61070f565b6040516101fb91906134ff565b60405180910390f35b34801561021057600080fd5b50610219610789565b60405161022691906135b3565b60405180910390f35b34801561023b57600080fd5b506102566004803603810190610251919061360b565b61081b565b6040516102639190613679565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e91906136c0565b610861565b005b3480156102a157600080fd5b506102aa610979565b6040516102b7919061370f565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e2919061372a565b610986565b005b3480156102f557600080fd5b50610310600480360381019061030b91906136c0565b6109e6565b60405161031d919061370f565b60405180910390f35b34801561033257600080fd5b5061033b610a8b565b005b34801561034957600080fd5b50610364600480360381019061035f919061372a565b610ab0565b005b34801561037257600080fd5b5061038d600480360381019061038891906137b6565b610ad0565b005b34801561039b57600080fd5b506103b660048036038101906103b19190613858565b610d43565b6040516103c391906139f3565b60405180910390f35b3480156103d857600080fd5b506103f360048036038101906103ee919061360b565b610ec3565b604051610400919061370f565b60405180910390f35b34801561041557600080fd5b50610430600480360381019061042b9190613858565b610f34565b60405161043d9190613ad3565b60405180910390f35b34801561045257600080fd5b5061046d6004803603810190610468919061360b565b611036565b60405161047a9190613679565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a59190613af5565b6110bd565b6040516104b7919061370f565b60405180910390f35b3480156104cc57600080fd5b506104d5611175565b005b3480156104e357600080fd5b506104fe60048036038101906104f99190613b22565b611189565b60405161050b9190613ba4565b60405180910390f35b34801561052057600080fd5b50610529611423565b005b34801561053757600080fd5b50610540611478565b60405161054d9190613679565b60405180910390f35b34801561056257600080fd5b5061056b6114a2565b60405161057891906135b3565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a39190613bf2565b611534565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613d67565b61154a565b005b3480156105df57600080fd5b506105fa60048036038101906105f5919061360b565b6115ac565b60405161060791906135b3565b60405180910390f35b34801561061c57600080fd5b506106376004803603810190610632919061360b565b61168f565b6040516106449190613679565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f9190613dea565b6116c2565b60405161068191906134ff565b60405180910390f35b6106a4600480360381019061069f9190613e2a565b611756565b005b3480156106b257600080fd5b506106cd60048036038101906106c89190613e2a565b6118e3565b005b3480156106db57600080fd5b506106f660048036038101906106f19190613af5565b611962565b005b34801561070457600080fd5b5061070d6119e6565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610782575061078182611a0b565b5b9050919050565b60606000805461079890613ee6565b80601f01602080910402602001604051908101604052809291908181526020018280546107c490613ee6565b80156108115780601f106107e657610100808354040283529160200191610811565b820191906000526020600020905b8154815290600101906020018083116107f457829003601f168201915b5050505050905090565b600061082682611aed565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086c82611036565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d490613f8a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc611b38565b73ffffffffffffffffffffffffffffffffffffffff16148061092b575061092a81610925611b38565b6116c2565b5b61096a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109619061401c565b60405180910390fd5b6109748383611b40565b505050565b6000600880549050905090565b610997610991611b38565b82611bf9565b6109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd906140ae565b60405180910390fd5b6109e1838383611c8e565b505050565b60006109f1836110bd565b8210610a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2990614140565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a93611f88565b6001600d60006101000a81548160ff021916908315150217905550565b610acb8383836040518060200160405280600081525061154a565b505050565b863373ffffffffffffffffffffffffffffffffffffffff16600b600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610b7057503373ffffffffffffffffffffffffffffffffffffffff16610b58611478565b73ffffffffffffffffffffffffffffffffffffffff16145b610baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba6906141ac565b60405180910390fd5b60008560ff16118015610bc5575060008460ff16115b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90614218565b60405180910390fd5b86600c60008a815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555085600c60008a815260200190815260200160002060000160016101000a81548160ff021916908360ff16021790555084600c60008a815260200190815260200160002060000160026101000a81548160ff021916908360ff16021790555083600c60008a815260200190815260200160002060000160036101000a81548160ff021916908360ff16021790555082600c60008a815260200190815260200160002060000160046101000a81548160ff021916908360ff16021790555081600c60008a815260200190815260200160002060000160056101000a81548160ff021916908360ff16021790555042600c60008a8152602001908152602001600020600101819055505050505050505050565b606060008267ffffffffffffffff811115610d6157610d60613c3c565b5b604051908082528060200260200182016040528015610d9a57816020015b610d876133fc565b815260200190600190039081610d7f5790505b50905060005b83811015610eb857600c60008287610db89190614267565b81526020019081526020016000206040518060e00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900460ff1660ff1660ff1681526020016000820160049054906101000a900460ff1660ff1660ff1681526020016000820160059054906101000a900460ff1660ff1660ff168152602001600182015481525050828281518110610e9c57610e9b6142bd565b5b602002602001018190525080610eb1906142ec565b9050610da0565b508091505092915050565b6000610ecd610979565b8210610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f05906143a7565b60405180910390fd5b60088281548110610f2257610f216142bd565b5b90600052602060002001549050919050565b606060008267ffffffffffffffff811115610f5257610f51613c3c565b5b604051908082528060200260200182016040528015610f805781602001602082028036833780820191505090505b50905060005b8381101561102b57600b60008287610f9e9190614267565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828281518110610fe057610fdf6142bd565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505080611024906142ec565b9050610f86565b508091505092915050565b60008061104283612006565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab90614413565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561112e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611125906144a5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61117d611f88565b6111876000612043565b565b606060008067ffffffffffffffff8111156111a7576111a6613c3c565b5b6040519080825280601f01601f1916602001820160405280156111d95781602001600182028036833780820191505090505b50905060018360ff161415611225576040518060400160405280600481526020017f2366303000000000000000000000000000000000000000000000000000000000815250905061141a565b60028360ff16141561126e576040518060400160405280600481526020017f23306630000000000000000000000000000000000000000000000000000000008152509050611419565b60038360ff1614156112b7576040518060400160405280600481526020017f23303066000000000000000000000000000000000000000000000000000000008152509050611418565b60048360ff161415611300576040518060400160405280600481526020017f23666630000000000000000000000000000000000000000000000000000000008152509050611417565b60058360ff161415611349576040518060400160405280600481526020017f23663066000000000000000000000000000000000000000000000000000000008152509050611416565b60068360ff161415611392576040518060400160405280600481526020017f23306666000000000000000000000000000000000000000000000000000000008152509050611415565b60078360ff1614156113db576040518060400160405280600481526020017f23666666000000000000000000000000000000000000000000000000000000008152509050611414565b6040518060400160405280600481526020017f233030300000000000000000000000000000000000000000000000000000000081525090505b5b5b5b5b5b5b80915050919050565b61142b611f88565b6000479050611438611478565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061147557600080fd5b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114b190613ee6565b80601f01602080910402602001604051908101604052809291908181526020018280546114dd90613ee6565b801561152a5780601f106114ff5761010080835404028352916020019161152a565b820191906000526020600020905b81548152906001019060200180831161150d57829003601f168201915b5050505050905090565b61154661153f611b38565b8383612109565b5050565b61155b611555611b38565b83611bf9565b61159a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611591906140ae565b60405180910390fd5b6115a684848484612276565b50505050565b60606115b7826122d2565b6115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed90614511565b60405180910390fd5b600061160d6001846116089190614267565b612313565b61161e611619856123eb565b6125aa565b61162e61162961270e565b6125aa565b61164360018761163e9190614267565b612313565b604051602001611656949392919061483f565b6040516020818303038152906040529050806040516020016116789190614952565b604051602081830303815290604052915050919050565b600b6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff16156117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d906149c0565b60405180910390fd5b600064e8d4a510008460ff168660ff16600a6117c291906149e0565b6117cc91906149e0565b611b586117d99190614267565b6117e391906149e0565b905080341015611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181f90614a86565b60405180910390fd5b600061183333612745565b905033600b600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061189681898989898989610ad0565b3373ffffffffffffffffffffffffffffffffffffffff167fcccf45135e1be7bf26a3320f96f1c8f1885b52b04535973d149251e87b73d20860405160405180910390a25050505050505050565b6118eb611f88565b60006118f633612745565b905033600b600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061195981888888888888610ad0565b50505050505050565b61196a611f88565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d190614b18565b60405180910390fd5b6119e381612043565b50565b6119ee611f88565b6000600d60006101000a81548160ff021916908315150217905550565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ad657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ae65750611ae582612771565b5b9050919050565b611af6816122d2565b611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c90614413565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611bb383611036565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c0583611036565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c475750611c4681856116c2565b5b80611c8557508373ffffffffffffffffffffffffffffffffffffffff16611c6d8461081b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cae82611036565b73ffffffffffffffffffffffffffffffffffffffff1614611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb90614baa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6b90614c3c565b60405180910390fd5b611d8183838360016127db565b8273ffffffffffffffffffffffffffffffffffffffff16611da182611036565b73ffffffffffffffffffffffffffffffffffffffff1614611df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dee90614baa565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f83838383600161293b565b505050565b611f90611b38565b73ffffffffffffffffffffffffffffffffffffffff16611fae611478565b73ffffffffffffffffffffffffffffffffffffffff1614612004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffb90614ca8565b60405180910390fd5b565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216f90614d14565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161226991906134ff565b60405180910390a3505050565b612281848484611c8e565b61228d84848484612941565b6122cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c390614da6565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166122f483612006565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000600161232284612ac9565b01905060008167ffffffffffffffff81111561234157612340613c3c565b5b6040519080825280601f01601f1916602001820160405280156123735781602001600182028036833780820191505090505b509050600082602001820190505b6001156123e0578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816123ca576123c9614dc6565b5b04945060008514156123db576123e0565b612381565b819350505050919050565b606060006124336002600c600086815260200190815260200160002060000160029054906101000a900460ff166124229190614df5565b603261242e9190614e26565b612c1c565b9050600061247b6002600c600087815260200190815260200160002060000160039054906101000a900460ff1661246a9190614df5565b60326124769190614e26565b612c1c565b905060006124ab600c600087815260200190815260200160002060000160029054906101000a900460ff16612c1c565b905060006124db600c600088815260200190815260200160002060000160039054906101000a900460ff16612c1c565b9050600061250b600c600089815260200190815260200160002060000160059054906101000a900460ff16612c1c565b90506000600c600089815260200190815260200160002060000160049054906101000a900460ff1690506000600a826125449190614e5a565b90506000600a836125559190614df5565b90508585898961256486611189565b8a8a8e8e6125718a611189565b8d60405160200161258c9b9a999897969594939291906151cf565b60405160208183030381529060405298505050505050505050919050565b60606000825114156125cd57604051806020016040528060008152509050612709565b6000604051806060016040528060408152602001615e9660409139905060006003600285516125fc9190614267565b61260691906152ec565b600461261291906149e0565b67ffffffffffffffff81111561262b5761262a613c3c565b5b6040519080825280601f01601f19166020018201604052801561265d5781602001600182028036833780820191505090505b509050600182016020820185865187015b808210156126c9576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f811685015184536001840193505061266e565b50506003865106600181146126e557600281146126f857612700565b603d6001830353603d6002830353612700565b603d60018303535b50505080925050505b919050565b6060612718612c31565b612720612ded565b6040516020016127319291906155d1565b604051602081830303815290604052905090565b600080612752600e612e12565b905061275e8382612e20565b612768600e612e3e565b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6127e784848484612e54565b600181111561282b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128229061567d565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156128735761286e81612e5a565b6128b2565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146128b1576128b08582612ea3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128f5576128f081613010565b612934565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146129335761293284826130e1565b5b5b5050505050565b50505050565b60006129628473ffffffffffffffffffffffffffffffffffffffff16613160565b15612abc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261298b611b38565b8786866040518563ffffffff1660e01b81526004016129ad949392919061569d565b6020604051808303816000875af19250505080156129e957506040513d601f19601f820116820180604052508101906129e691906156fe565b60015b612a6c573d8060008114612a19576040519150601f19603f3d011682016040523d82523d6000602084013e612a1e565b606091505b50600081511415612a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5b90614da6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ac1565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612b27577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612b1d57612b1c614dc6565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612b64576d04ee2d6d415b85acef81000000008381612b5a57612b59614dc6565b5b0492506020810190505b662386f26fc100008310612b9357662386f26fc100008381612b8957612b88614dc6565b5b0492506010810190505b6305f5e1008310612bbc576305f5e1008381612bb257612bb1614dc6565b5b0492506008810190505b6127108310612be1576127108381612bd757612bd6614dc6565b5b0492506004810190505b60648310612c045760648381612bfa57612bf9614dc6565b5b0492506002810190505b600a8310612c13576001810190505b80915050919050565b6060612c2a8260ff16612313565b9050919050565b606060006040518060400160405280600b81526020017f766172206a736f6e733d5b00000000000000000000000000000000000000000081525090506000612c77610979565b905060005b81811015612dc55782612cb1600c600084815260200190815260200160002060000160009054906101000a900460ff16612c1c565b612cdd600c600085815260200190815260200160002060000160019054906101000a900460ff16612c1c565b612d09600c600086815260200190815260200160002060000160029054906101000a900460ff16612c1c565b612d35600c600087815260200190815260200160002060000160039054906101000a900460ff16612c1c565b612d61600c600088815260200190815260200160002060000160049054906101000a900460ff16612c1c565b612d8d600c600089815260200190815260200160002060000160059054906101000a900460ff16612c1c565b604051602001612da3979695949392919061580f565b604051602081830303815290604052925080612dbe906142ec565b9050612c7c565b5081604051602001612dd7919061590d565b6040516020818303038152906040529250505090565b6060604051602001612dfe90615d45565b604051602081830303815290604052905090565b600081600001549050919050565b612e3a828260405180602001604052806000815250613183565b5050565b6001816000016000828254019250508190555050565b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612eb0846110bd565b612eba9190615d5a565b9050600060076000848152602001908152602001600020549050818114612f9f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130249190615d5a565b9050600060096000848152602001908152602001600020549050600060088381548110613054576130536142bd565b5b906000526020600020015490508060088381548110613076576130756142bd565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130c5576130c4615d8e565b5b6001900381819060005260206000200160009055905550505050565b60006130ec836110bd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b61318d83836131de565b61319a6000848484612941565b6131d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d090614da6565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561324e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324590615e09565b60405180910390fd5b613257816122d2565b15613297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328e90615e75565b60405180910390fd5b6132a56000838360016127db565b6132ae816122d2565b156132ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e590615e75565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133f860008383600161293b565b5050565b6040518060e00160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600081525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134948161345f565b811461349f57600080fd5b50565b6000813590506134b18161348b565b92915050565b6000602082840312156134cd576134cc613455565b5b60006134db848285016134a2565b91505092915050565b60008115159050919050565b6134f9816134e4565b82525050565b600060208201905061351460008301846134f0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613554578082015181840152602081019050613539565b83811115613563576000848401525b50505050565b6000601f19601f8301169050919050565b60006135858261351a565b61358f8185613525565b935061359f818560208601613536565b6135a881613569565b840191505092915050565b600060208201905081810360008301526135cd818461357a565b905092915050565b6000819050919050565b6135e8816135d5565b81146135f357600080fd5b50565b600081359050613605816135df565b92915050565b60006020828403121561362157613620613455565b5b600061362f848285016135f6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061366382613638565b9050919050565b61367381613658565b82525050565b600060208201905061368e600083018461366a565b92915050565b61369d81613658565b81146136a857600080fd5b50565b6000813590506136ba81613694565b92915050565b600080604083850312156136d7576136d6613455565b5b60006136e5858286016136ab565b92505060206136f6858286016135f6565b9150509250929050565b613709816135d5565b82525050565b60006020820190506137246000830184613700565b92915050565b60008060006060848603121561374357613742613455565b5b6000613751868287016136ab565b9350506020613762868287016136ab565b9250506040613773868287016135f6565b9150509250925092565b600060ff82169050919050565b6137938161377d565b811461379e57600080fd5b50565b6000813590506137b08161378a565b92915050565b600080600080600080600060e0888a0312156137d5576137d4613455565b5b60006137e38a828b016135f6565b97505060206137f48a828b016137a1565b96505060406138058a828b016137a1565b95505060606138168a828b016137a1565b94505060806138278a828b016137a1565b93505060a06138388a828b016137a1565b92505060c06138498a828b016137a1565b91505092959891949750929550565b6000806040838503121561386f5761386e613455565b5b600061387d858286016135f6565b925050602061388e858286016135f6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6138cd8161377d565b82525050565b6138dc816135d5565b82525050565b60e0820160008201516138f860008501826138c4565b50602082015161390b60208501826138c4565b50604082015161391e60408501826138c4565b50606082015161393160608501826138c4565b50608082015161394460808501826138c4565b5060a082015161395760a08501826138c4565b5060c082015161396a60c08501826138d3565b50505050565b600061397c83836138e2565b60e08301905092915050565b6000602082019050919050565b60006139a082613898565b6139aa81856138a3565b93506139b5836138b4565b8060005b838110156139e65781516139cd8882613970565b97506139d883613988565b9250506001810190506139b9565b5085935050505092915050565b60006020820190508181036000830152613a0d8184613995565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a4a81613658565b82525050565b6000613a5c8383613a41565b60208301905092915050565b6000602082019050919050565b6000613a8082613a15565b613a8a8185613a20565b9350613a9583613a31565b8060005b83811015613ac6578151613aad8882613a50565b9750613ab883613a68565b925050600181019050613a99565b5085935050505092915050565b60006020820190508181036000830152613aed8184613a75565b905092915050565b600060208284031215613b0b57613b0a613455565b5b6000613b19848285016136ab565b91505092915050565b600060208284031215613b3857613b37613455565b5b6000613b46848285016137a1565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000613b7682613b4f565b613b808185613b5a565b9350613b90818560208601613536565b613b9981613569565b840191505092915050565b60006020820190508181036000830152613bbe8184613b6b565b905092915050565b613bcf816134e4565b8114613bda57600080fd5b50565b600081359050613bec81613bc6565b92915050565b60008060408385031215613c0957613c08613455565b5b6000613c17858286016136ab565b9250506020613c2885828601613bdd565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c7482613569565b810181811067ffffffffffffffff82111715613c9357613c92613c3c565b5b80604052505050565b6000613ca661344b565b9050613cb28282613c6b565b919050565b600067ffffffffffffffff821115613cd257613cd1613c3c565b5b613cdb82613569565b9050602081019050919050565b82818337600083830152505050565b6000613d0a613d0584613cb7565b613c9c565b905082815260208101848484011115613d2657613d25613c37565b5b613d31848285613ce8565b509392505050565b600082601f830112613d4e57613d4d613c32565b5b8135613d5e848260208601613cf7565b91505092915050565b60008060008060808587031215613d8157613d80613455565b5b6000613d8f878288016136ab565b9450506020613da0878288016136ab565b9350506040613db1878288016135f6565b925050606085013567ffffffffffffffff811115613dd257613dd161345a565b5b613dde87828801613d39565b91505092959194509250565b60008060408385031215613e0157613e00613455565b5b6000613e0f858286016136ab565b9250506020613e20858286016136ab565b9150509250929050565b60008060008060008060c08789031215613e4757613e46613455565b5b6000613e5589828a016137a1565b9650506020613e6689828a016137a1565b9550506040613e7789828a016137a1565b9450506060613e8889828a016137a1565b9350506080613e9989828a016137a1565b92505060a0613eaa89828a016137a1565b9150509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613efe57607f821691505b60208210811415613f1257613f11613eb7565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f74602183613525565b9150613f7f82613f18565b604082019050919050565b60006020820190508181036000830152613fa381613f67565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614006603d83613525565b915061401182613faa565b604082019050919050565b6000602082019050818103600083015261403581613ff9565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614098602d83613525565b91506140a38261403c565b604082019050919050565b600060208201905081810360008301526140c78161408b565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061412a602b83613525565b9150614135826140ce565b604082019050919050565b600060208201905081810360008301526141598161411d565b9050919050565b7f6f6e6c7943726561746f72000000000000000000000000000000000000000000600082015250565b6000614196600b83613525565b91506141a182614160565b602082019050919050565b600060208201905081810360008301526141c581614189565b9050919050565b7f65727253697a6500000000000000000000000000000000000000000000000000600082015250565b6000614202600783613525565b915061420d826141cc565b602082019050919050565b60006020820190508181036000830152614231816141f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614272826135d5565b915061427d836135d5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142b2576142b1614238565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006142f7826135d5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561432a57614329614238565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614391602c83613525565b915061439c82614335565b604082019050919050565b600060208201905081810360008301526143c081614384565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006143fd601883613525565b9150614408826143c7565b602082019050919050565b6000602082019050818103600083015261442c816143f0565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061448f602983613525565b915061449a82614433565b604082019050919050565b600060208201905081810360008301526144be81614482565b9050919050565b7f6572724964000000000000000000000000000000000000000000000000000000600082015250565b60006144fb600583613525565b9150614506826144c5565b602082019050919050565b6000602082019050818103600083015261452a816144ee565b9050919050565b600081905092915050565b7f7b226e616d65223a2252656374616e676c652023000000000000000000000000600082015250565b6000614572601483614531565b915061457d8261453c565b601482019050919050565b60006145938261351a565b61459d8185614531565b93506145ad818560208601613536565b80840191505092915050565b7f222c226465736372697074696f6e223a22412067656e6572617469766520617260008201527f74206d616465206279206d756c7469706c65206d696e74657273222c00000000602082015250565b6000614615603c83614531565b9150614620826145b9565b603c82019050919050565b7f22696d616765223a22646174613a696d6167652f7376672b786d6c3b6261736560008201527f36342c0000000000000000000000000000000000000000000000000000000000602082015250565b6000614687602383614531565b91506146928261462b565b602382019050919050565b7f222c2265787465726e616c5f75726c223a202268747470733a2f2f6b6974617360008201527f656e6a7564657369676e2e636f6d2f67656e72656374732f30302f222c000000602082015250565b60006146f9603d83614531565b91506147048261469d565b603d82019050919050565b7f22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d6c3b60008201527f6261736536342c00000000000000000000000000000000000000000000000000602082015250565b600061476b602783614531565b91506147768261470f565b602782019050919050565b7f222c2261747472696275746573223a205b7b2274726169745f74797065223a2060008201527f226e6f222c2276616c7565223a20000000000000000000000000000000000000602082015250565b60006147dd602e83614531565b91506147e882614781565b602e82019050919050565b7f7d5d7d0000000000000000000000000000000000000000000000000000000000600082015250565b6000614829600383614531565b9150614834826147f3565b600382019050919050565b600061484a82614565565b91506148568287614588565b915061486182614608565b915061486c8261467a565b91506148788286614588565b9150614883826146ec565b915061488e8261475e565b915061489a8285614588565b91506148a5826147d0565b91506148b18284614588565b91506148bc8261481c565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e2c00000000000000000000600082015250565b6000614900601683614531565b915061490b826148ca565b601682019050919050565b600081905092915050565b600061492c82613b4f565b6149368185614916565b9350614946818560208601613536565b80840191505092915050565b600061495d826148f3565b91506149698284614921565b915081905092915050565b7f7061757365640000000000000000000000000000000000000000000000000000600082015250565b60006149aa600683613525565b91506149b582614974565b602082019050919050565b600060208201905081810360008301526149d98161499d565b9050919050565b60006149eb826135d5565b91506149f6836135d5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a2f57614a2e614238565b5b828202905092915050565b7f6572724574680000000000000000000000000000000000000000000000000000600082015250565b6000614a70600683613525565b9150614a7b82614a3a565b602082019050919050565b60006020820190508181036000830152614a9f81614a63565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b02602683613525565b9150614b0d82614aa6565b604082019050919050565b60006020820190508181036000830152614b3181614af5565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614b94602583613525565b9150614b9f82614b38565b604082019050919050565b60006020820190508181036000830152614bc381614b87565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614c26602483613525565b9150614c3182614bca565b604082019050919050565b60006020820190508181036000830152614c5581614c19565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614c92602083613525565b9150614c9d82614c5c565b602082019050919050565b60006020820190508181036000830152614cc181614c85565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614cfe601983613525565b9150614d0982614cc8565b602082019050919050565b60006020820190508181036000830152614d2d81614cf1565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614d90603283613525565b9150614d9b82614d34565b604082019050919050565b60006020820190508181036000830152614dbf81614d83565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e008261377d565b9150614e0b8361377d565b925082614e1b57614e1a614dc6565b5b828204905092915050565b6000614e318261377d565b9150614e3c8361377d565b925082821015614e4f57614e4e614238565b5b828203905092915050565b6000614e658261377d565b9150614e708361377d565b925082614e8057614e7f614dc6565b5b828206905092915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667222076696577426f783d2230203020313030203130302220737460208201527f796c653d226261636b67726f756e642d636f6c6f723a236363633b223e3c737460408201527f796c653e406b65796672616d657320616e69207b30257b206f7061636974793a60608201527f20303b7d20313030257b206f7061636974793a20313b7d7d3c2f7374796c653e60808201527f3c726563742077696474683d220000000000000000000000000000000000000060a082015250565b6000614f7f60ad83614531565b9150614f8a82614e8b565b60ad82019050919050565b7f22206865696768743d2200000000000000000000000000000000000000000000600082015250565b6000614fcb600a83614531565b9150614fd682614f95565b600a82019050919050565b7f2220783d22000000000000000000000000000000000000000000000000000000600082015250565b6000615017600583614531565b915061502282614fe1565b600582019050919050565b7f2220793d22000000000000000000000000000000000000000000000000000000600082015250565b6000615063600583614531565b915061506e8261502d565b600582019050919050565b7f22207374796c653d2266696c6c3a000000000000000000000000000000000000600082015250565b60006150af600e83614531565b91506150ba82615079565b600e82019050919050565b7f3b22202f3e3c726563742077696474683d220000000000000000000000000000600082015250565b60006150fb601283614531565b9150615106826150c5565b601282019050919050565b7f3b616e696d6174696f6e3a20616e692000000000000000000000000000000000600082015250565b6000615147601083614531565b915061515282615111565b601082019050919050565b7f306d7320696e66696e697465206c696e65617220616c7465726e6174653b222060008201527f2f3e3c2f7376673e000000000000000000000000000000000000000000000000602082015250565b60006151b9602883614531565b91506151c48261515d565b602882019050919050565b60006151da82614f72565b91506151e6828e614588565b91506151f182614fbe565b91506151fd828d614588565b91506152088261500a565b9150615214828c614588565b915061521f82615056565b915061522b828b614588565b9150615236826150a2565b9150615242828a614921565b915061524d826150ee565b91506152598289614588565b915061526482614fbe565b91506152708288614588565b915061527b8261500a565b91506152878287614588565b915061529282615056565b915061529e8286614588565b91506152a9826150a2565b91506152b58285614921565b91506152c08261513a565b91506152cc8284614588565b91506152d7826151ac565b91508190509c9b505050505050505050505050565b60006152f7826135d5565b9150615302836135d5565b92508261531257615311614dc6565b5b828204905092915050565b7f3c21444f43545950452068746d6c3e3c68746d6c3e3c686561643e3c7469746c60008201527f653e35302052656374616e676c65733c2f7469746c653e3c7374796c653e626f60208201527f6479207b206261636b67726f756e643a236363633b6f766572666c6f773a686960408201527f6464656e3b666f6e742d73697a653a323470783b666f6e742d66616d696c793a60608201527f73616e732d73657269663b207d2023636f6e7b706f736974696f6e3a6162736f60808201527f6c7574653b6c6566743a303b746f703a303b7472616e73666f726d2d6f72696760a08201527f696e3a203020303b7d202e726563747b20636f6c6f723a236666663b2064697360c08201527f706c61793a666c65783b20616c69676e2d6974656d733a63656e7465723b206a60e08201527f7573746966792d636f6e74656e743a63656e7465723b206f766572666c6f773a6101008201527f68696464656e3b20706f736974696f6e3a206162736f6c7574653b616e696d616101208201527f74696f6e3a20616e6920317320696e66696e69746520616c7465726e617465206101408201527f656173652d696e2d6f75743b7d20406b65796672616d657320616e697b66726f6101608201527f6d207b6f7061636974793a20303b7d20746f207b6f7061636974793a20313b7d6101808201527f7d203c2f7374796c653e3c7363726970743e00000000000000000000000000006101a082015250565b60006155486101b283614531565b91506155538261531d565b6101b282019050919050565b7f3c2f7363726970743e3c2f686561643e3c626f64793e3c6469762069643d276360008201527f6f6e273e3c2f6469763e3c2f626f64793e3c2f68746d6c3e0000000000000000602082015250565b60006155bb603883614531565b91506155c68261555f565b603882019050919050565b60006155dc8261553a565b91506155e88285614921565b91506155f48284614921565b91506155ff826155ae565b91508190509392505050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000615667603583613525565b91506156728261560b565b604082019050919050565b600060208201905081810360008301526156968161565a565b9050919050565b60006080820190506156b2600083018761366a565b6156bf602083018661366a565b6156cc6040830185613700565b81810360608301526156de8184613b6b565b905095945050505050565b6000815190506156f88161348b565b92915050565b60006020828403121561571457615713613455565b5b6000615722848285016156e9565b91505092915050565b7f5b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615761600183614531565b915061576c8261572b565b600182019050919050565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b60006157ad600183614531565b91506157b882615777565b600182019050919050565b7f5d2c000000000000000000000000000000000000000000000000000000000000600082015250565b60006157f9600283614531565b9150615804826157c3565b600282019050919050565b600061581b828a614921565b915061582682615754565b91506158328289614588565b915061583d826157a0565b91506158498288614588565b9150615854826157a0565b91506158608287614588565b915061586b826157a0565b91506158778286614588565b9150615882826157a0565b915061588e8285614588565b9150615899826157a0565b91506158a58284614588565b91506158b0826157ec565b915081905098975050505050505050565b7f5d3b000000000000000000000000000000000000000000000000000000000000600082015250565b60006158f7600283614531565b9150615902826158c1565b600282019050919050565b60006159198284614921565b9150615924826158ea565b915081905092915050565b7f76617220773d77696e646f772c64743d646f63756d656e743b772e6f6e6c6f6160008201527f643d28293d3e7b7661722064633d64742e637265617465456c656d656e742e6260208201527f696e64286474292c636f6c733d5b2223303030222c2223663030222c2223306660408201527f30222c2223303066222c2223666630222c2223663066222c2223306666222c2260608201527f23666666225d2c636f6e3d64742e676574456c656d656e74427949642822636f60808201527f6e22293b666f72286c657420693d303b693c6a736f6e732e6c656e6774683b6960a08201527f2b2b297b6c657420643d6a736f6e735b695d3b6c65742064313d64632827646960c08201527f7627292c64323d6463282764697627293b6c6574206431733d64312e7374796c60e08201527f652c6432733d64322e7374796c653b64312e636c6173734c6973742e616464286101008201527f227265637422293b64312e696e6e6572546578743d22222b28692b31293b64316101208201527f732e6c6566743d6432732e6c6566743d28645b305d2a3130292b227078223b646101408201527f31732e746f703d6432732e746f703d28645b315d2a3130292b227078223b64316101608201527f732e77696474683d6432732e77696474683d28645b325d2a3130292b227078226101808201527f3b6431732e6865696768743d6432732e6865696768743d28645b335d2a3130296101a08201527f2b227078223b6431732e616e696d6174696f6e4475726174696f6e3d28645b356101c08201527f5d292b22306d73223b6431732e6261636b67726f756e64436f6c6f723d636f6c6101e08201527f735b4d6174682e666c6f6f7228645b345d2f3130295d3b6431732e7a496e64656102008201527f783d22222b28692a32293b6432732e706f736974696f6e3d226162736f6c75746102208201527f65223b6432732e7a496e6465783d22222b28692a322d31293b6432732e6261636102408201527f6b67726f756e64436f6c6f723d636f6c735b645b345d2531305d3b636f6e2e616102608201527f7070656e644368696c64286431293b636f6e2e617070656e644368696c6428646102808201527f32293b7d727a28293b772e6164644576656e744c697374656e657228227265736102a08201527f697a65222c727a293b66756e6374696f6e20727a2865297b636f6e2e7374796c6102c08201527f652e7472616e73666f726d3d607363616c6528247b772e696e6e6572576964746102e08201527f682f313030307d2c247b772e696e6e65724865696768742f313030307d29603b6103008201527f7d7d00000000000000000000000000000000000000000000000000000000000061032082015250565b6000615d2e61032283614531565b9150615d398261592f565b61032282019050919050565b6000615d5082615d20565b9150819050919050565b6000615d65826135d5565b9150615d70836135d5565b925082821015615d8357615d82614238565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615df3602083613525565b9150615dfe82615dbd565b602082019050919050565b60006020820190508181036000830152615e2281615de6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615e5f601c83613525565b9150615e6a82615e29565b602082019050919050565b60006020820190508181036000830152615e8e81615e52565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220ddd7a0f065e8e5574754f1a243bb72ee402483f2e6c25d1ffba7f022ade0c95564736f6c634300080c0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
MATIC | 100.00% | $0.532092 | 0.0151 | $0.008035 |
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.