Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,733 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21305563 | 27 days ago | IN | 0 ETH | 0.00018172 | ||||
Set Approval For... | 21294200 | 28 days ago | IN | 0 ETH | 0.00056259 | ||||
Set Approval For... | 20982292 | 72 days ago | IN | 0 ETH | 0.00024298 | ||||
Set Approval For... | 20703051 | 111 days ago | IN | 0 ETH | 0.00006319 | ||||
Set Approval For... | 20600949 | 125 days ago | IN | 0 ETH | 0.0000251 | ||||
Set Approval For... | 20598334 | 125 days ago | IN | 0 ETH | 0.00002624 | ||||
Set Approval For... | 20574385 | 129 days ago | IN | 0 ETH | 0.00002471 | ||||
Set Approval For... | 20573891 | 129 days ago | IN | 0 ETH | 0.00002228 | ||||
Set Approval For... | 20567699 | 130 days ago | IN | 0 ETH | 0.0000426 | ||||
Set Approval For... | 20555395 | 131 days ago | IN | 0 ETH | 0.00004535 | ||||
Set Approval For... | 20551890 | 132 days ago | IN | 0 ETH | 0.00002646 | ||||
Set Approval For... | 20551369 | 132 days ago | IN | 0 ETH | 0.00002438 | ||||
Set Approval For... | 20548080 | 132 days ago | IN | 0 ETH | 0.00003353 | ||||
Set Approval For... | 20538673 | 134 days ago | IN | 0 ETH | 0.00002663 | ||||
Set Approval For... | 20524977 | 135 days ago | IN | 0 ETH | 0.0000688 | ||||
Set Approval For... | 20524169 | 136 days ago | IN | 0 ETH | 0.00005312 | ||||
Set Approval For... | 20359037 | 159 days ago | IN | 0 ETH | 0.00014015 | ||||
Safe Transfer Fr... | 20359022 | 159 days ago | IN | 0 ETH | 0.00030198 | ||||
Set Approval For... | 20324377 | 163 days ago | IN | 0 ETH | 0.000281 | ||||
Set Approval For... | 20319491 | 164 days ago | IN | 0 ETH | 0.00024674 | ||||
Set Approval For... | 20319488 | 164 days ago | IN | 0 ETH | 0.00024123 | ||||
Set Approval For... | 20319384 | 164 days ago | IN | 0 ETH | 0.00022265 | ||||
Set Approval For... | 20296924 | 167 days ago | IN | 0 ETH | 0.00006117 | ||||
Set Approval For... | 20296921 | 167 days ago | IN | 0 ETH | 0.0000596 | ||||
Set Approval For... | 20101602 | 195 days ago | IN | 0 ETH | 0.00009245 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Kudasai
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./Util.sol"; contract Kudasai is ERC721, ERC721Enumerable, Ownable { using Counters for Counters.Counter; using SafeMath for uint256; Counters.Counter private _tokenIdCounter; uint256 private constant maxTokensPerTransaction = 1; uint256 private constant maxWalletPerToken = 2; uint256 private constant tokenMaxSupply = 500; mapping(uint256 => uint256) private _seeds; mapping(address => bool) private _isKudasaiList; bool private _publicEnable = false; constructor(string memory name_, string memory symbol_) ERC721(name_, symbol_) {} modifier onlyKudasaiList() { require(_publicEnable || _isKudasaiList[msg.sender], "You are not on the Kudasai list"); _; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function getSeed(uint256 tokenId) public view returns (uint256) { require( tokenId < _tokenIdCounter.current(), "call to a non-exisitent token" ); return _seeds[tokenId]; } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function isKudasaiList(address _account) public view returns (bool) { return _isKudasaiList[_account]; } function addKudasaiList(address[] calldata _account) external onlyOwner() { for (uint256 i = 0; i < _account.length; i++) { _isKudasaiList[_account[i]] = true; } } function startPublic() external onlyOwner() { _publicEnable = true; } function _getColor(uint256 coloer) private pure returns (string memory) { string memory code; if (coloer == 0) { // purple code = string(abi.encodePacked("rgb(186,85,211)")); } else if (coloer == 1) { // red code = string(abi.encodePacked("rgb(220,20,60)")); } else if (coloer == 2) { // pink code = string(abi.encodePacked("rgb(250,128,114)")); } else if (coloer == 3) { // gold code = string(abi.encodePacked("rgb(255,215,0)")); } else if (coloer == 4) { // black code = string(abi.encodePacked("rgb(10,10,10)")); } else if (coloer == 5) { // green code = string(abi.encodePacked("rgb(50,205,5)")); } else if (coloer == 6) { // aqua code = string(abi.encodePacked("rgb(64,224,208)")); } else { // original code = string(abi.encodePacked("rgb(217,101,38)")); } return code; } function _getColorName(uint256 coloer) private pure returns (string memory) { string memory name; if (coloer == 0) { // purple name = string("purple"); } else if (coloer == 1) { // red name = string("red"); } else if (coloer == 2) { // pink name = string("pink"); } else if (coloer == 3) { // gold name = string("gold"); } else if (coloer == 4) { // black name = string("black"); } else if (coloer == 5) { // green name = string("green"); } else if (coloer == 6) { // aqua name = string("aqua"); } else { // original name = string("original"); } return name; } function _getText(bool agemasu) private pure returns (string memory) { string memory text = "KUDASAI"; if (agemasu) { text = "AGEMASU"; } return text; } function _getKudasai( uint256 color, bool agemasu ) private pure returns (string memory) { string memory colorCode = _getColor(color); return string( abi.encodePacked( '<svg fill-rule="evenodd" height="620" width="620" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-miterlimit:10;"><g transform="matrix(1,0,0,1,-320,-65)"><g id="Layer-2" serif:id="Layer 2"><g transform="matrix(1,0,0,1,472.72,638.949)"><path d="M0,-416.989L-115.312,-11.671C-119.165,1.872 -109.063,15.36 -95.068,15.36L387.91,15.36C402.359,15.36 412.515,1.048 407.829,-12.71L269.768,-418.028C266.85,-426.595 258.847,-432.349 249.849,-432.349L20.244,-432.349C10.847,-432.349 2.587,-426.082 0,-416.989Z" style="fill:', colorCode, ';fill-rule:nonzero;"/></g><g transform="matrix(1,0,0,1,484.759,626.452)"><path d="M0,-391.107L113.392,5.766C116.957,18.241 128.359,26.842 141.333,26.842L375.871,26.842C390.32,26.842 400.476,12.623 395.79,-1.045L257.729,-403.721C254.811,-412.232 246.808,-417.949 237.81,-417.949L20.247,-417.949C6.257,-417.949 -3.843,-404.559 0,-391.107Z" style="fill:white;fill-rule:nonzero;stroke:', colorCode, ';stroke-width:4px;"/></g><g transform="matrix(1,0,0,1,626.528,308.553)"><path d="M0,88.958C-5.264,88.958 -9.531,84.69 -9.531,79.427L-9.531,9.531C-9.531,4.267 -5.264,0 0,0C5.264,0 9.531,4.267 9.531,9.531L9.531,79.427C9.531,84.69 5.264,88.958 0,88.958" style="fill:', colorCode, ';fill-rule:nonzero;"/></g><g transform="matrix(1,0,0,1,699.659,308.553)"><path d="M0,88.958C-5.265,88.958 -9.531,84.69 -9.531,79.427L-9.531,9.531C-9.531,4.267 -5.265,0 0,0C5.264,0 9.531,4.267 9.531,9.531L9.531,79.427C9.531,84.69 5.264,88.958 0,88.958" style="fill:', colorCode, ';fill-rule:nonzero;"/></g><g transform="matrix(1,0,0,1,554.286,494.729)"><path d="M0,0L281.432,0" style="fill:none;fill-rule:nonzero;stroke:', colorCode, ';stroke-width:4px;"/></g><g transform="matrix(0,-1,-1,0,719.761,588.077)"><path d="M-8.087,-8.088C-12.554,-8.088 -16.175,-4.467 -16.175,-0C-16.175,4.466 -12.554,8.087 -8.087,8.087C-3.621,8.087 0,4.466 0,-0C0,-4.467 -3.621,-8.088 -8.087,-8.088" style="fill:', colorCode, ';fill-rule:nonzero;"/></g><g transform="matrix(0,-1,-1,0,749.336,588.078)"><path d="M-8.087,-8.088C-12.554,-8.088 -16.175,-4.468 -16.175,-0.001C-16.175,4.466 -12.554,8.087 -8.087,8.087C-3.621,8.087 0,4.466 0,-0.001C0,-4.468 -3.621,-8.088 -8.087,-8.088" style="fill:', colorCode, ';fill-rule:nonzero;"/></g><g transform="matrix(0.436403,-0.899751,-0.899751,-0.436403,657.211,203.65)"><path d="M-41.093,75.547L107.619,75.547C115.783,75.547 118.259,64.463 110.872,60.989L-7.117,5.498L-41.093,75.547Z" style="fill:', colorCode, ';fill-rule:nonzero;"/></g><g transform="matrix(0.278631,-1.03987,1.03987,0.278631,-0.147034,739.635)"><text x="185.551px" y="359.393px" style="font-family:\'Menlo-Regular\', \'Menlo\', monospace;font-size:72px;fill:white;">', _getText(agemasu), '</text></g></g></g></svg>' ) ); } function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) { require( tokenId < _tokenIdCounter.current(), "call to a non-exisitent token" ); uint256 seed = _seeds[tokenId]; uint256 color = seed % 8; bool agemasu = false; if ((seed /= 1000) % 100 == 0) { agemasu = true; } string memory output = _getKudasai( color, agemasu ); string memory attributes = string( abi.encodePacked( '[{ "trait_type": "Color", "value": "', _getColorName(color), '"},{ "trait_type": "Type", "value": "', _getText(agemasu), '"}]' ) ); string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"name": "OnChain Kudasai #', Util.toStr(tokenId), '", "description": "\\"Kudasai!\\" you said. After watching the rest of community getting their airdrops. Yes. You didn\'t listen. again.","attributes":', attributes, ', "image": "data:image/svg+xml;base64,', Base64.encode(bytes(output)), '"}' ) ) ) ); output = string( abi.encodePacked("data:application/json;base64,", json) ); return output; } function kudasai(uint256 tokensNumber) public onlyKudasaiList { require(maxWalletPerToken > balanceOf(msg.sender), "No more Kudasai"); require(tokensNumber > 0, "the number is too small"); require( tokensNumber <= maxTokensPerTransaction, "number of tokens exceeds the range" ); require( _tokenIdCounter.current().add(tokensNumber) <= tokenMaxSupply, "number of tokens exceeds the range" ); for (uint256 i = 0; i < tokensNumber; i++) { uint256 seed = uint256( keccak256( abi.encodePacked( uint256(uint160(msg.sender)), uint256(blockhash(block.number - 1)), _tokenIdCounter.current(), "kudasai" ) ) ); _seeds[_tokenIdCounter.current()] = seed; _safeMint(msg.sender, _tokenIdCounter.current()); _tokenIdCounter.increment(); } } } library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; uint256 encodedLen = 4 * ((len + 2) / 3); bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF) ) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; library Util { function toStr(uint256 _i) internal pure returns (string memory) { if (_i == 0) return "0"; uint256 j = _i; uint256 len; while (j != 0) { len++; j /= 10; } bytes memory buffer = new bytes(len); while (_i != 0) { len -= 1; buffer[len] = bytes1(uint8(48 + uint256(_i % 10))); _i /= 10; } return string(buffer); } function toFloatStr(uint256 x) internal pure returns (string memory) { if (x >= 100) return "1"; if (x <= 0) return "0"; return string(abi.encodePacked(".", toStr(x))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"_account","type":"address[]"}],"name":"addKudasaiList","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":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isKudasaiList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensNumber","type":"uint256"}],"name":"kudasai","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600e60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162005ee838038062005ee88339818101604052810190620000529190620002a0565b818181600090805190602001906200006c9291906200017e565b508060019080519060200190620000859291906200017e565b505050620000a86200009c620000b060201b60201c565b620000b860201b60201c565b505062000483565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200018c90620003a8565b90600052602060002090601f016020900481019282620001b05760008555620001fc565b82601f10620001cb57805160ff1916838001178555620001fc565b82800160010185558215620001fc579182015b82811115620001fb578251825591602001919060010190620001de565b5b5090506200020b91906200020f565b5090565b5b808211156200022a57600081600090555060010162000210565b5090565b6000620002456200023f846200033c565b62000313565b9050828152602081018484840111156200025e57600080fd5b6200026b84828562000372565b509392505050565b600082601f8301126200028557600080fd5b8151620002978482602086016200022e565b91505092915050565b60008060408385031215620002b457600080fd5b600083015167ffffffffffffffff811115620002cf57600080fd5b620002dd8582860162000273565b925050602083015167ffffffffffffffff811115620002fb57600080fd5b620003098582860162000273565b9150509250929050565b60006200031f62000332565b90506200032d8282620003de565b919050565b6000604051905090565b600067ffffffffffffffff8211156200035a576200035962000443565b5b620003658262000472565b9050602081019050919050565b60005b838110156200039257808201518184015260208101905062000375565b83811115620003a2576000848401525b50505050565b60006002820490506001821680620003c157607f821691505b60208210811415620003d857620003d762000414565b5b50919050565b620003e98262000472565b810181811067ffffffffffffffff821117156200040b576200040a62000443565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b615a5580620004936000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063b88d4fde1161007c578063b88d4fde146103d7578063c11442f8146103f3578063c87b56dd146103fd578063e0d4ea371461042d578063e985e9c51461045d578063f2fde38b1461048d57610158565b806370a0823114610329578063715018a6146103595780638da5cb5b1461036357806392185ec81461038157806395d89b411461039d578063a22cb465146103bb57610158565b80632f745c59116101155780632f745c591461023157806342842e0e146102615780634f6ccce71461027d5780636352211e146102ad57806368cb1693146102dd5780636c7754b31461030d57610158565b806301ffc9a71461015d57806306fdde031461018d578063081812fc146101ab578063095ea7b3146101db57806318160ddd146101f757806323b872dd14610215575b600080fd5b61017760048036038101906101729190613065565b6104a9565b6040516101849190613b8e565b60405180910390f35b6101956104bb565b6040516101a29190613ba9565b60405180910390f35b6101c560048036038101906101c091906130b7565b61054d565b6040516101d29190613b27565b60405180910390f35b6101f560048036038101906101f09190612fe4565b6105d2565b005b6101ff6106ea565b60405161020c9190613e8b565b60405180910390f35b61022f600480360381019061022a9190612ede565b6106f7565b005b61024b60048036038101906102469190612fe4565b610757565b6040516102589190613e8b565b60405180910390f35b61027b60048036038101906102769190612ede565b6107fc565b005b610297600480360381019061029291906130b7565b61081c565b6040516102a49190613e8b565b60405180910390f35b6102c760048036038101906102c291906130b7565b6108b3565b6040516102d49190613b27565b60405180910390f35b6102f760048036038101906102f29190612e79565b610965565b6040516103049190613b8e565b60405180910390f35b610327600480360381019061032291906130b7565b6109bb565b005b610343600480360381019061033e9190612e79565b610c52565b6040516103509190613e8b565b60405180910390f35b610361610d0a565b005b61036b610d92565b6040516103789190613b27565b60405180910390f35b61039b60048036038101906103969190613020565b610dbc565b005b6103a5610f03565b6040516103b29190613ba9565b60405180910390f35b6103d560048036038101906103d09190612fa8565b610f95565b005b6103f160048036038101906103ec9190612f2d565b611116565b005b6103fb611178565b005b610417600480360381019061041291906130b7565b611211565b6040516104249190613ba9565b60405180910390f35b610447600480360381019061044291906130b7565b611366565b6040516104549190613e8b565b60405180910390f35b61047760048036038101906104729190612ea2565b6113ce565b6040516104849190613b8e565b60405180910390f35b6104a760048036038101906104a29190612e79565b611462565b005b60006104b48261155a565b9050919050565b6060600080546104ca9061410a565b80601f01602080910402602001604051908101604052809291908181526020018280546104f69061410a565b80156105435780601f1061051857610100808354040283529160200191610543565b820191906000526020600020905b81548152906001019060200180831161052657829003601f168201915b5050505050905090565b6000610558826115d4565b610597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058e90613d6b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105dd826108b3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561064e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064590613dcb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661066d611640565b73ffffffffffffffffffffffffffffffffffffffff16148061069c575061069b81610696611640565b6113ce565b5b6106db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d290613ccb565b60405180910390fd5b6106e58383611648565b505050565b6000600880549050905090565b610708610702611640565b82611701565b610747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073e90613deb565b60405180910390fd5b6107528383836117df565b505050565b600061076283610c52565b82106107a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079a90613bcb565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61081783838360405180602001604052806000815250611116565b505050565b60006108266106ea565b8210610867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085e90613e2b565b60405180910390fd5b600882815481106108a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095390613d0b565b60405180910390fd5b80915050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600e60009054906101000a900460ff1680610a1f5750600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5590613e6b565b60405180910390fd5b610a6733610c52565b600211610aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa090613c4b565b60405180910390fd5b60008111610aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae390613e0b565b60405180910390fd5b6001811115610b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2790613e4b565b60405180910390fd5b6101f4610b4f82610b41600b611a3b565b611a4990919063ffffffff16565b1115610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790613e4b565b60405180910390fd5b60005b81811015610c4e5760003373ffffffffffffffffffffffffffffffffffffffff16600143610bc19190614020565b4060001c610bcf600b611a3b565b604051602001610be193929190613adf565b6040516020818303038152906040528051906020012060001c905080600c6000610c0b600b611a3b565b815260200190815260200160002081905550610c3033610c2b600b611a3b565b611a5f565b610c3a600b611a7d565b508080610c469061416d565b915050610b93565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba90613ceb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d12611640565b73ffffffffffffffffffffffffffffffffffffffff16610d30610d92565b73ffffffffffffffffffffffffffffffffffffffff1614610d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7d90613d8b565b60405180910390fd5b610d906000611a93565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610dc4611640565b73ffffffffffffffffffffffffffffffffffffffff16610de2610d92565b73ffffffffffffffffffffffffffffffffffffffff1614610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f90613d8b565b60405180910390fd5b60005b82829050811015610efe576001600d6000858585818110610e85577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610e9a9190612e79565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610ef69061416d565b915050610e3b565b505050565b606060018054610f129061410a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3e9061410a565b8015610f8b5780601f10610f6057610100808354040283529160200191610f8b565b820191906000526020600020905b815481529060010190602001808311610f6e57829003601f168201915b5050505050905090565b610f9d611640565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561100b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100290613c8b565b60405180910390fd5b8060056000611018611640565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110c5611640565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161110a9190613b8e565b60405180910390a35050565b611127611121611640565b83611701565b611166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115d90613deb565b60405180910390fd5b61117284848484611b59565b50505050565b611180611640565b73ffffffffffffffffffffffffffffffffffffffff1661119e610d92565b73ffffffffffffffffffffffffffffffffffffffff16146111f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111eb90613d8b565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b606061121d600b611a3b565b821061125e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125590613d2b565b60405180910390fd5b6000600c6000848152602001908152602001600020549050600060088261128591906141c0565b905060008060646103e88561129a9190613f95565b9450846112a791906141c0565b14156112b257600190505b60006112be8383611bb5565b905060006112cb84611c05565b6112d484611e3a565b6040516020016112e5929190613a85565b6040516020818303038152906040529050600061133461130489611ebe565b8361130e8661206b565b60405160200161132093929190613a28565b60405160208183030381529060405261206b565b9050806040516020016113479190613a06565b6040516020818303038152906040529250829650505050505050919050565b6000611372600b611a3b565b82106113b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113aa90613d2b565b60405180910390fd5b600c6000838152602001908152602001600020549050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61146a611640565b73ffffffffffffffffffffffffffffffffffffffff16611488610d92565b73ffffffffffffffffffffffffffffffffffffffff16146114de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d590613d8b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561154e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154590613c0b565b60405180910390fd5b61155781611a93565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806115cd57506115cc82612229565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116bb836108b3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061170c826115d4565b61174b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174290613cab565b60405180910390fd5b6000611756836108b3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117c557508373ffffffffffffffffffffffffffffffffffffffff166117ad8461054d565b73ffffffffffffffffffffffffffffffffffffffff16145b806117d657506117d581856113ce565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166117ff826108b3565b73ffffffffffffffffffffffffffffffffffffffff1614611855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184c90613dab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bc90613c6b565b60405180910390fd5b6118d083838361230b565b6118db600082611648565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461192b9190614020565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119829190613f3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b60008183611a579190613f3f565b905092915050565b611a7982826040518060200160405280600081525061231b565b5050565b6001816000016000828254019250508190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b648484846117df565b611b7084848484612376565b611baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba690613beb565b60405180910390fd5b50505050565b60606000611bc28461250d565b90508081828384858687611bd58b611e3a565b604051602001611bed999897969594939291906138b0565b60405160208183030381529060405291505092915050565b6060806000831415611c4e576040518060400160405280600681526020017f707572706c6500000000000000000000000000000000000000000000000000008152509050611e31565b6001831415611c94576040518060400160405280600381526020017f72656400000000000000000000000000000000000000000000000000000000008152509050611e30565b6002831415611cda576040518060400160405280600481526020017f70696e6b000000000000000000000000000000000000000000000000000000008152509050611e2f565b6003831415611d20576040518060400160405280600481526020017f676f6c64000000000000000000000000000000000000000000000000000000008152509050611e2e565b6004831415611d66576040518060400160405280600581526020017f626c61636b0000000000000000000000000000000000000000000000000000008152509050611e2d565b6005831415611dac576040518060400160405280600581526020017f677265656e0000000000000000000000000000000000000000000000000000008152509050611e2c565b6006831415611df2576040518060400160405280600481526020017f61717561000000000000000000000000000000000000000000000000000000008152509050611e2b565b6040518060400160405280600881526020017f6f726967696e616c00000000000000000000000000000000000000000000000081525090505b5b5b5b5b5b5b80915050919050565b606060006040518060400160405280600781526020017f4b5544415341490000000000000000000000000000000000000000000000000081525090508215611eb5576040518060400160405280600781526020017f4147454d4153550000000000000000000000000000000000000000000000000081525090505b80915050919050565b60606000821415611f06576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612066565b600082905060005b60008214611f38578080611f219061416d565b915050600a82611f319190613f95565b9150611f0e565b60008167ffffffffffffffff811115611f7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611fac5781602001600182028036833780820191505090505b5090505b6000851461205f57600182611fc59190614020565b9150600a85611fd491906141c0565b6030611fe09190613f3f565b60f81b81838151811061201c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120589190613f95565b9450611fb0565b8093505050505b919050565b606060008251905060008114156120945760405180602001604052806000815250915050612224565b600060036002836120a59190613f3f565b6120af9190613f95565b60046120bb9190613fc6565b905060006020826120cc9190613f3f565b67ffffffffffffffff81111561210b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561213d5781602001600182028036833780820191505090505b50905060006040518060600160405280604081526020016159e0604091399050600181016020830160005b868110156121e15760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050612168565b5060038606600181146121fb576002811461220b57612216565b613d3d60f01b6002830352612216565b603d60f81b60018303525b508484525050819450505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122f457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612304575061230382612682565b5b9050919050565b6123168383836126ec565b505050565b6123258383612800565b6123326000848484612376565b612371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236890613beb565b60405180910390fd5b505050565b60006123978473ffffffffffffffffffffffffffffffffffffffff166129ce565b15612500578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123c0611640565b8786866040518563ffffffff1660e01b81526004016123e29493929190613b42565b602060405180830381600087803b1580156123fc57600080fd5b505af192505050801561242d57506040513d601f19601f8201168201806040525081019061242a919061308e565b60015b6124b0573d806000811461245d576040519150601f19603f3d011682016040523d82523d6000602084013e612462565b606091505b506000815114156124a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249f90613beb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612505565b600190505b949350505050565b606080600083141561253e5760405160200161252890613886565b6040516020818303038152906040529050612679565b600183141561256c57604051602001612556906139b2565b6040516020818303038152906040529050612678565b600283141561259a5760405160200161258490613aca565b6040516020818303038152906040529050612677565b60038314156125c8576040516020016125b2906139f1565b6040516020818303038152906040529050612676565b60048314156125f6576040516020016125e0906139c7565b6040516020818303038152906040529050612675565b60058314156126245760405160200161260e9061399d565b6040516020818303038152906040529050612674565b60068314156126525760405160200161263c9061389b565b6040516020818303038152906040529050612673565b604051602001612661906139dc565b60405160208183030381529060405290505b5b5b5b5b5b5b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126f78383836129e1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561273a57612735816129e6565b612779565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612778576127778382612a2f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127bc576127b781612b9c565b6127fb565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146127fa576127f98282612cdf565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286790613d4b565b60405180910390fd5b612879816115d4565b156128b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b090613c2b565b60405180910390fd5b6128c56000838361230b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129159190613f3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612a3c84610c52565b612a469190614020565b9050600060076000848152602001908152602001600020549050818114612b2b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612bb09190614020565b9050600060096000848152602001908152602001600020549050600060088381548110612c06577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612c4e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612cc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612cea83610c52565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000612d71612d6c84613ecb565b613ea6565b905082815260208101848484011115612d8957600080fd5b612d948482856140c8565b509392505050565b600081359050612dab81615983565b92915050565b60008083601f840112612dc357600080fd5b8235905067ffffffffffffffff811115612ddc57600080fd5b602083019150836020820283011115612df457600080fd5b9250929050565b600081359050612e0a8161599a565b92915050565b600081359050612e1f816159b1565b92915050565b600081519050612e34816159b1565b92915050565b600082601f830112612e4b57600080fd5b8135612e5b848260208601612d5e565b91505092915050565b600081359050612e73816159c8565b92915050565b600060208284031215612e8b57600080fd5b6000612e9984828501612d9c565b91505092915050565b60008060408385031215612eb557600080fd5b6000612ec385828601612d9c565b9250506020612ed485828601612d9c565b9150509250929050565b600080600060608486031215612ef357600080fd5b6000612f0186828701612d9c565b9350506020612f1286828701612d9c565b9250506040612f2386828701612e64565b9150509250925092565b60008060008060808587031215612f4357600080fd5b6000612f5187828801612d9c565b9450506020612f6287828801612d9c565b9350506040612f7387828801612e64565b925050606085013567ffffffffffffffff811115612f9057600080fd5b612f9c87828801612e3a565b91505092959194509250565b60008060408385031215612fbb57600080fd5b6000612fc985828601612d9c565b9250506020612fda85828601612dfb565b9150509250929050565b60008060408385031215612ff757600080fd5b600061300585828601612d9c565b925050602061301685828601612e64565b9150509250929050565b6000806020838503121561303357600080fd5b600083013567ffffffffffffffff81111561304d57600080fd5b61305985828601612db1565b92509250509250929050565b60006020828403121561307757600080fd5b600061308584828501612e10565b91505092915050565b6000602082840312156130a057600080fd5b60006130ae84828501612e25565b91505092915050565b6000602082840312156130c957600080fd5b60006130d784828501612e64565b91505092915050565b6130e981614054565b82525050565b6130f881614066565b82525050565b600061310982613efc565b6131138185613f12565b93506131238185602086016140d7565b61312c816142ad565b840191505092915050565b600061314282613f07565b61314c8185613f23565b935061315c8185602086016140d7565b613165816142ad565b840191505092915050565b600061317b82613f07565b6131858185613f34565b93506131958185602086016140d7565b80840191505092915050565b60006131ae600f83613f34565b91506131b9826142be565b600f82019050919050565b60006131d1600f83613f34565b91506131dc826142e7565b600f82019050919050565b60006131f4602583613f34565b91506131ff82614310565b602582019050919050565b600061321861028983613f34565b91506132238261435f565b61028982019050919050565b600061323c602b83613f23565b91506132478261468d565b604082019050919050565b600061325f603283613f23565b915061326a826146dc565b604082019050919050565b600061328361010883613f34565b915061328e8261472b565b61010882019050919050565b60006132a7602683613f23565b91506132b282614885565b604082019050919050565b60006132ca601c83613f23565b91506132d5826148d4565b602082019050919050565b60006132ed60e683613f34565b91506132f8826148fd565b60e682019050919050565b600061331161017d83613f34565b915061331c82614a30565b61017d82019050919050565b6000613335600f83613f23565b915061334082614bff565b602082019050919050565b6000613358602483613f23565b915061336382614c28565b604082019050919050565b600061337b600d83613f34565b915061338682614c77565b600d82019050919050565b600061339e601983613f23565b91506133a982614ca0565b602082019050919050565b60006133c1600383613f34565b91506133cc82614cc9565b600382019050919050565b60006133e4602c83613f23565b91506133ef82614cf2565b604082019050919050565b6000613407609483613f34565b915061341282614d41565b609482019050919050565b600061342a600783613f34565b915061343582614e02565b600782019050919050565b600061344d603883613f23565b915061345882614e2b565b604082019050919050565b6000613470600e83613f34565b915061347b82614e7a565b600e82019050919050565b6000613493602a83613f23565b915061349e82614ea3565b604082019050919050565b60006134b6602983613f23565b91506134c182614ef2565b604082019050919050565b60006134d9600d83613f34565b91506134e482614f41565b600d82019050919050565b60006134fc601d83613f23565b915061350782614f6a565b602082019050919050565b600061351f600283613f34565b915061352a82614f93565b600282019050919050565b600061354361010783613f34565b915061354e82614fbc565b61010782019050919050565b6000613567601983613f34565b915061357282615116565b601982019050919050565b600061358a602083613f23565b91506135958261513f565b602082019050919050565b60006135ad602c83613f23565b91506135b882615168565b604082019050919050565b60006135d0602083613f23565b91506135db826151b7565b602082019050919050565b60006135f3602983613f23565b91506135fe826151e0565b604082019050919050565b6000613616600f83613f34565b91506136218261522f565b600f82019050919050565b6000613639602183613f23565b915061364482615258565b604082019050919050565b600061365c600e83613f34565b9150613667826152a7565b600e82019050919050565b600061367f601d83613f34565b915061368a826152d0565b601d82019050919050565b60006136a2608c83613f34565b91506136ad826152f9565b608c82019050919050565b60006136c5603183613f23565b91506136d0826153ba565b604082019050919050565b60006136e8601783613f23565b91506136f382615409565b602082019050919050565b600061370b602c83613f23565b915061371682615432565b604082019050919050565b600061372e601b83613f34565b915061373982615481565b601b82019050919050565b6000613751602483613f34565b915061375c826154aa565b602482019050919050565b6000613774602283613f23565b915061377f826154f9565b604082019050919050565b600061379760db83613f34565b91506137a282615548565b60db82019050919050565b60006137bb61010983613f34565b91506137c682615655565b61010982019050919050565b60006137e061010083613f34565b91506137eb826157af565b61010082019050919050565b6000613804602683613f34565b915061380f826158e2565b602682019050919050565b6000613827601f83613f23565b915061383282615931565b602082019050919050565b600061384a601083613f34565b91506138558261595a565b601082019050919050565b613869816140be565b82525050565b61388061387b826140be565b6141b6565b82525050565b6000613891826131a1565b9150819050919050565b60006138a6826131c4565b9150819050919050565b60006138bb8261320a565b91506138c7828c613170565b91506138d282613303565b91506138de828b613170565b91506138e982613535565b91506138f5828a613170565b915061390082613275565b915061390c8289613170565b915061391782613695565b91506139238288613170565b915061392e826137d2565b915061393a8287613170565b9150613945826137ad565b91506139518286613170565b915061395c826132e0565b91506139688285613170565b91506139738261378a565b915061397f8284613170565b915061398a8261355a565b91508190509a9950505050505050505050565b60006139a88261336e565b9150819050919050565b60006139bd82613463565b9150819050919050565b60006139d2826134cc565b9150819050919050565b60006139e782613609565b9150819050919050565b60006139fc8261364f565b9150819050919050565b6000613a1182613672565b9150613a1d8284613170565b915081905092915050565b6000613a3382613721565b9150613a3f8286613170565b9150613a4a826133fa565b9150613a568285613170565b9150613a61826137f7565b9150613a6d8284613170565b9150613a7882613512565b9150819050949350505050565b6000613a9082613744565b9150613a9c8285613170565b9150613aa7826131e7565b9150613ab38284613170565b9150613abe826133b4565b91508190509392505050565b6000613ad58261383d565b9150819050919050565b6000613aeb828661386f565b602082019150613afb828561386f565b602082019150613b0b828461386f565b602082019150613b1a8261341d565b9150819050949350505050565b6000602082019050613b3c60008301846130e0565b92915050565b6000608082019050613b5760008301876130e0565b613b6460208301866130e0565b613b716040830185613860565b8181036060830152613b8381846130fe565b905095945050505050565b6000602082019050613ba360008301846130ef565b92915050565b60006020820190508181036000830152613bc38184613137565b905092915050565b60006020820190508181036000830152613be48161322f565b9050919050565b60006020820190508181036000830152613c0481613252565b9050919050565b60006020820190508181036000830152613c248161329a565b9050919050565b60006020820190508181036000830152613c44816132bd565b9050919050565b60006020820190508181036000830152613c6481613328565b9050919050565b60006020820190508181036000830152613c848161334b565b9050919050565b60006020820190508181036000830152613ca481613391565b9050919050565b60006020820190508181036000830152613cc4816133d7565b9050919050565b60006020820190508181036000830152613ce481613440565b9050919050565b60006020820190508181036000830152613d0481613486565b9050919050565b60006020820190508181036000830152613d24816134a9565b9050919050565b60006020820190508181036000830152613d44816134ef565b9050919050565b60006020820190508181036000830152613d648161357d565b9050919050565b60006020820190508181036000830152613d84816135a0565b9050919050565b60006020820190508181036000830152613da4816135c3565b9050919050565b60006020820190508181036000830152613dc4816135e6565b9050919050565b60006020820190508181036000830152613de48161362c565b9050919050565b60006020820190508181036000830152613e04816136b8565b9050919050565b60006020820190508181036000830152613e24816136db565b9050919050565b60006020820190508181036000830152613e44816136fe565b9050919050565b60006020820190508181036000830152613e6481613767565b9050919050565b60006020820190508181036000830152613e848161381a565b9050919050565b6000602082019050613ea06000830184613860565b92915050565b6000613eb0613ec1565b9050613ebc828261413c565b919050565b6000604051905090565b600067ffffffffffffffff821115613ee657613ee561427e565b5b613eef826142ad565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613f4a826140be565b9150613f55836140be565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f8a57613f896141f1565b5b828201905092915050565b6000613fa0826140be565b9150613fab836140be565b925082613fbb57613fba614220565b5b828204905092915050565b6000613fd1826140be565b9150613fdc836140be565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614015576140146141f1565b5b828202905092915050565b600061402b826140be565b9150614036836140be565b925082821015614049576140486141f1565b5b828203905092915050565b600061405f8261409e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156140f55780820151818401526020810190506140da565b83811115614104576000848401525b50505050565b6000600282049050600182168061412257607f821691505b602082108114156141365761413561424f565b5b50919050565b614145826142ad565b810181811067ffffffffffffffff821117156141645761416361427e565b5b80604052505050565b6000614178826140be565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141ab576141aa6141f1565b5b600182019050919050565b6000819050919050565b60006141cb826140be565b91506141d6836140be565b9250826141e6576141e5614220565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f726762283138362c38352c323131290000000000000000000000000000000000600082015250565b7f7267622836342c3232342c323038290000000000000000000000000000000000600082015250565b7f227d2c7b202274726169745f74797065223a202254797065222c202276616c7560008201527f65223a2022000000000000000000000000000000000000000000000000000000602082015250565b7f3c7376672066696c6c2d72756c653d226576656e6f646422206865696768743d60008201527f22363230222077696474683d223632302220786d6c6e733d22687474703a2f2f60208201527f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b60408201527f3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b222060608201527f786d6c3a73706163653d2270726573657276652220786d6c6e733a736572696660808201527f3d22687474703a2f2f7777772e73657269662e636f6d2f22207374796c653d2260a08201527f66696c6c2d72756c653a6576656e6f64643b636c69702d72756c653a6576656e60c08201527f6f64643b7374726f6b652d6d697465726c696d69743a31303b223e3c6720747260e08201527f616e73666f726d3d226d617472697828312c302c302c312c2d3332302c2d36356101008201527f29223e3c672069643d224c617965722d32222073657269663a69643d224c61796101208201527f65722032223e3c67207472616e73666f726d3d226d617472697828312c302c306101408201527f2c312c3437322e37322c3633382e39343929223e3c7061746820643d224d302c6101608201527f2d3431362e3938394c2d3131352e3331322c2d31312e363731432d3131392e316101808201527f36352c312e383732202d3130392e3036332c31352e3336202d39352e3036382c6101a08201527f31352e33364c3338372e39312c31352e3336433430322e3335392c31352e33366101c08201527f203431322e3531352c312e303438203430372e3832392c2d31322e37314c32366101e08201527f392e3736382c2d3431382e303238433236362e38352c2d3432362e35393520326102008201527f35382e3834372c2d3433322e333439203234392e3834392c2d3433322e3334396102208201527f4c32302e3234342c2d3433322e3334394331302e3834372c2d3433322e3334396102408201527f20322e3538372c2d3432362e30383220302c2d3431362e3938395a22207374796102608201527f6c653d2266696c6c3a000000000000000000000000000000000000000000000061028082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828312c302c302c312c3639392e3635392c3360208201527f30382e35353329223e3c7061746820643d224d302c38382e393538432d352e3260408201527f36352c38382e393538202d392e3533312c38342e3639202d392e3533312c373960608201527f2e3432374c2d392e3533312c392e353331432d392e3533312c342e323637202d60808201527f352e3236352c3020302c3043352e3236342c3020392e3533312c342e3236372060a08201527f392e3533312c392e3533314c392e3533312c37392e34323743392e3533312c3860c08201527f342e363920352e3236342c38382e39353820302c38382e39353822207374796c60e08201527f653d2266696c6c3a00000000000000000000000000000000000000000000000061010082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828302e3433363430332c2d302e383939373560208201527f312c2d302e3839393735312c2d302e3433363430332c3635372e3231312c323060408201527f332e363529223e3c7061746820643d224d2d34312e3039332c37352e3534374c60608201527f3130372e3631392c37352e353437433131352e3738332c37352e35343720313160808201527f382e3235392c36342e343633203131302e3837322c36302e3938394c2d372e3160a08201527f31372c352e3439384c2d34312e3039332c37352e3534375a22207374796c653d60c08201527f2266696c6c3a000000000000000000000000000000000000000000000000000060e082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828312c302c302c312c3438342e3735392c3660208201527f32362e34353229223e3c7061746820643d224d302c2d3339312e3130374c313160408201527f332e3339322c352e373636433131362e3935372c31382e323431203132382e3360608201527f35392c32362e383432203134312e3333332c32362e3834324c3337352e38373160808201527f2c32362e383432433339302e33322c32362e383432203430302e3437362c313260a08201527f2e363233203339352e37392c2d312e3034354c3235372e3732392c2d3430332e60c08201527f373231433235342e3831312c2d3431322e323332203234362e3830382c2d343160e08201527f372e393439203233372e38312c2d3431372e3934394c32302e3234372c2d34316101008201527f372e39343943362e3235372c2d3431372e393439202d332e3834332c2d3430346101208201527f2e35353920302c2d3339312e3130375a22207374796c653d2266696c6c3a77686101408201527f6974653b66696c6c2d72756c653a6e6f6e7a65726f3b7374726f6b653a00000061016082015250565b7f4e6f206d6f7265204b7564617361690000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f7267622835302c3230352c352900000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f227d5d0000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f222c20226465736372697074696f6e223a20225c224b756461736169215c222060008201527f796f7520736169642e204166746572207761746368696e67207468652072657360208201527f74206f6620636f6d6d756e6974792067657474696e672074686569722061697260408201527f64726f70732e205965732e20596f75206469646e2774206c697374656e2e206160608201527f6761696e2e222c2261747472696275746573223a000000000000000000000000608082015250565b7f6b75646173616900000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f726762283232302c32302c363029000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f7267622831302c31302c31302900000000000000000000000000000000000000600082015250565b7f63616c6c20746f2061206e6f6e2d657869736974656e7420746f6b656e000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f3b7374726f6b652d77696474683a3470783b222f3e3c2f673e3c67207472616e60008201527f73666f726d3d226d617472697828312c302c302c312c3632362e3532382c333060208201527f382e35353329223e3c7061746820643d224d302c38382e393538432d352e323660408201527f342c38382e393538202d392e3533312c38342e3639202d392e3533312c37392e60608201527f3432374c2d392e3533312c392e353331432d392e3533312c342e323637202d3560808201527f2e3236342c3020302c3043352e3236342c3020392e3533312c342e323637203960a08201527f2e3533312c392e3533314c392e3533312c37392e34323743392e3533312c383460c08201527f2e363920352e3236342c38382e39353820302c38382e39353822207374796c6560e08201527f3d2266696c6c3a0000000000000000000000000000000000000000000000000061010082015250565b7f3c2f746578743e3c2f673e3c2f673e3c2f673e3c2f7376673e00000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f726762283231372c3130312c3338290000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f726762283235352c3231352c3029000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828312c302c302c312c3535342e3238362c3460208201527f39342e37323929223e3c7061746820643d224d302c304c3238312e3433322c3060408201527f22207374796c653d2266696c6c3a6e6f6e653b66696c6c2d72756c653a6e6f6e60608201527f7a65726f3b7374726f6b653a0000000000000000000000000000000000000000608082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f746865206e756d62657220697320746f6f20736d616c6c000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f7b226e616d65223a20224f6e436861696e204b75646173616920230000000000600082015250565b7f5b7b202274726169745f74797065223a2022436f6c6f72222c202276616c756560008201527f223a202200000000000000000000000000000000000000000000000000000000602082015250565b7f6e756d626572206f6620746f6b656e732065786365656473207468652072616e60008201527f6765000000000000000000000000000000000000000000000000000000000000602082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828302e3237383633312c2d312e303339383760208201527f2c312e30333938372c302e3237383633312c2d302e3134373033342c3733392e60408201527f36333529223e3c7465787420783d223138352e35353170782220793d2233353960608201527f2e333933707822207374796c653d22666f6e742d66616d696c793a274d656e6c60808201527f6f2d526567756c6172272c20274d656e6c6f272c206d6f6e6f73706163653b6660a08201527f6f6e742d73697a653a373270783b66696c6c3a77686974653b223e000000000060c082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828302c2d312c2d312c302c3734392e33333660208201527f2c3538382e30373829223e3c7061746820643d224d2d382e3038372c2d382e3060408201527f3838432d31322e3535342c2d382e303838202d31362e3137352c2d342e34363860608201527f202d31362e3137352c2d302e303031432d31362e3137352c342e343636202d3160808201527f322e3535342c382e303837202d382e3038372c382e303837432d332e3632312c60a08201527f382e30383720302c342e34363620302c2d302e30303143302c2d342e3436382060c08201527f2d332e3632312c2d382e303838202d382e3038372c2d382e303838222073747960e08201527f6c653d2266696c6c3a000000000000000000000000000000000000000000000061010082015250565b7f3b7374726f6b652d77696474683a3470783b222f3e3c2f673e3c67207472616e60008201527f73666f726d3d226d617472697828302c2d312c2d312c302c3731392e3736312c60208201527f3538382e30373729223e3c7061746820643d224d2d382e3038372c2d382e303860408201527f38432d31322e3535342c2d382e303838202d31362e3137352c2d342e3436372060608201527f2d31362e3137352c2d30432d31362e3137352c342e343636202d31322e35353460808201527f2c382e303837202d382e3038372c382e303837432d332e3632312c382e30383760a08201527f20302c342e34363620302c2d3043302c2d342e343637202d332e3632312c2d3860c08201527f2e303838202d382e3038372c2d382e30383822207374796c653d2266696c6c3a60e082015250565b7f2c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6260008201527f61736536342c0000000000000000000000000000000000000000000000000000602082015250565b7f596f7520617265206e6f74206f6e20746865204b756461736169206c69737400600082015250565b7f726762283235302c3132382c3131342900000000000000000000000000000000600082015250565b61598c81614054565b811461599757600080fd5b50565b6159a381614066565b81146159ae57600080fd5b50565b6159ba81614072565b81146159c557600080fd5b50565b6159d1816140be565b81146159dc57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220012ca1136f918a52d32db4f2c340dfc76827b8e3c9619748b04da7e1063acddb64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000f4f6e436861696e204b756461736169000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074b55444153414900000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063b88d4fde1161007c578063b88d4fde146103d7578063c11442f8146103f3578063c87b56dd146103fd578063e0d4ea371461042d578063e985e9c51461045d578063f2fde38b1461048d57610158565b806370a0823114610329578063715018a6146103595780638da5cb5b1461036357806392185ec81461038157806395d89b411461039d578063a22cb465146103bb57610158565b80632f745c59116101155780632f745c591461023157806342842e0e146102615780634f6ccce71461027d5780636352211e146102ad57806368cb1693146102dd5780636c7754b31461030d57610158565b806301ffc9a71461015d57806306fdde031461018d578063081812fc146101ab578063095ea7b3146101db57806318160ddd146101f757806323b872dd14610215575b600080fd5b61017760048036038101906101729190613065565b6104a9565b6040516101849190613b8e565b60405180910390f35b6101956104bb565b6040516101a29190613ba9565b60405180910390f35b6101c560048036038101906101c091906130b7565b61054d565b6040516101d29190613b27565b60405180910390f35b6101f560048036038101906101f09190612fe4565b6105d2565b005b6101ff6106ea565b60405161020c9190613e8b565b60405180910390f35b61022f600480360381019061022a9190612ede565b6106f7565b005b61024b60048036038101906102469190612fe4565b610757565b6040516102589190613e8b565b60405180910390f35b61027b60048036038101906102769190612ede565b6107fc565b005b610297600480360381019061029291906130b7565b61081c565b6040516102a49190613e8b565b60405180910390f35b6102c760048036038101906102c291906130b7565b6108b3565b6040516102d49190613b27565b60405180910390f35b6102f760048036038101906102f29190612e79565b610965565b6040516103049190613b8e565b60405180910390f35b610327600480360381019061032291906130b7565b6109bb565b005b610343600480360381019061033e9190612e79565b610c52565b6040516103509190613e8b565b60405180910390f35b610361610d0a565b005b61036b610d92565b6040516103789190613b27565b60405180910390f35b61039b60048036038101906103969190613020565b610dbc565b005b6103a5610f03565b6040516103b29190613ba9565b60405180910390f35b6103d560048036038101906103d09190612fa8565b610f95565b005b6103f160048036038101906103ec9190612f2d565b611116565b005b6103fb611178565b005b610417600480360381019061041291906130b7565b611211565b6040516104249190613ba9565b60405180910390f35b610447600480360381019061044291906130b7565b611366565b6040516104549190613e8b565b60405180910390f35b61047760048036038101906104729190612ea2565b6113ce565b6040516104849190613b8e565b60405180910390f35b6104a760048036038101906104a29190612e79565b611462565b005b60006104b48261155a565b9050919050565b6060600080546104ca9061410a565b80601f01602080910402602001604051908101604052809291908181526020018280546104f69061410a565b80156105435780601f1061051857610100808354040283529160200191610543565b820191906000526020600020905b81548152906001019060200180831161052657829003601f168201915b5050505050905090565b6000610558826115d4565b610597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058e90613d6b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105dd826108b3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561064e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064590613dcb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661066d611640565b73ffffffffffffffffffffffffffffffffffffffff16148061069c575061069b81610696611640565b6113ce565b5b6106db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d290613ccb565b60405180910390fd5b6106e58383611648565b505050565b6000600880549050905090565b610708610702611640565b82611701565b610747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073e90613deb565b60405180910390fd5b6107528383836117df565b505050565b600061076283610c52565b82106107a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079a90613bcb565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61081783838360405180602001604052806000815250611116565b505050565b60006108266106ea565b8210610867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085e90613e2b565b60405180910390fd5b600882815481106108a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095390613d0b565b60405180910390fd5b80915050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600e60009054906101000a900460ff1680610a1f5750600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5590613e6b565b60405180910390fd5b610a6733610c52565b600211610aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa090613c4b565b60405180910390fd5b60008111610aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae390613e0b565b60405180910390fd5b6001811115610b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2790613e4b565b60405180910390fd5b6101f4610b4f82610b41600b611a3b565b611a4990919063ffffffff16565b1115610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790613e4b565b60405180910390fd5b60005b81811015610c4e5760003373ffffffffffffffffffffffffffffffffffffffff16600143610bc19190614020565b4060001c610bcf600b611a3b565b604051602001610be193929190613adf565b6040516020818303038152906040528051906020012060001c905080600c6000610c0b600b611a3b565b815260200190815260200160002081905550610c3033610c2b600b611a3b565b611a5f565b610c3a600b611a7d565b508080610c469061416d565b915050610b93565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba90613ceb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d12611640565b73ffffffffffffffffffffffffffffffffffffffff16610d30610d92565b73ffffffffffffffffffffffffffffffffffffffff1614610d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7d90613d8b565b60405180910390fd5b610d906000611a93565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610dc4611640565b73ffffffffffffffffffffffffffffffffffffffff16610de2610d92565b73ffffffffffffffffffffffffffffffffffffffff1614610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f90613d8b565b60405180910390fd5b60005b82829050811015610efe576001600d6000858585818110610e85577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610e9a9190612e79565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610ef69061416d565b915050610e3b565b505050565b606060018054610f129061410a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3e9061410a565b8015610f8b5780601f10610f6057610100808354040283529160200191610f8b565b820191906000526020600020905b815481529060010190602001808311610f6e57829003601f168201915b5050505050905090565b610f9d611640565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561100b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100290613c8b565b60405180910390fd5b8060056000611018611640565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110c5611640565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161110a9190613b8e565b60405180910390a35050565b611127611121611640565b83611701565b611166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115d90613deb565b60405180910390fd5b61117284848484611b59565b50505050565b611180611640565b73ffffffffffffffffffffffffffffffffffffffff1661119e610d92565b73ffffffffffffffffffffffffffffffffffffffff16146111f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111eb90613d8b565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b606061121d600b611a3b565b821061125e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125590613d2b565b60405180910390fd5b6000600c6000848152602001908152602001600020549050600060088261128591906141c0565b905060008060646103e88561129a9190613f95565b9450846112a791906141c0565b14156112b257600190505b60006112be8383611bb5565b905060006112cb84611c05565b6112d484611e3a565b6040516020016112e5929190613a85565b6040516020818303038152906040529050600061133461130489611ebe565b8361130e8661206b565b60405160200161132093929190613a28565b60405160208183030381529060405261206b565b9050806040516020016113479190613a06565b6040516020818303038152906040529250829650505050505050919050565b6000611372600b611a3b565b82106113b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113aa90613d2b565b60405180910390fd5b600c6000838152602001908152602001600020549050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61146a611640565b73ffffffffffffffffffffffffffffffffffffffff16611488610d92565b73ffffffffffffffffffffffffffffffffffffffff16146114de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d590613d8b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561154e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154590613c0b565b60405180910390fd5b61155781611a93565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806115cd57506115cc82612229565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116bb836108b3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061170c826115d4565b61174b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174290613cab565b60405180910390fd5b6000611756836108b3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117c557508373ffffffffffffffffffffffffffffffffffffffff166117ad8461054d565b73ffffffffffffffffffffffffffffffffffffffff16145b806117d657506117d581856113ce565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166117ff826108b3565b73ffffffffffffffffffffffffffffffffffffffff1614611855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184c90613dab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bc90613c6b565b60405180910390fd5b6118d083838361230b565b6118db600082611648565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461192b9190614020565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119829190613f3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b60008183611a579190613f3f565b905092915050565b611a7982826040518060200160405280600081525061231b565b5050565b6001816000016000828254019250508190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b648484846117df565b611b7084848484612376565b611baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba690613beb565b60405180910390fd5b50505050565b60606000611bc28461250d565b90508081828384858687611bd58b611e3a565b604051602001611bed999897969594939291906138b0565b60405160208183030381529060405291505092915050565b6060806000831415611c4e576040518060400160405280600681526020017f707572706c6500000000000000000000000000000000000000000000000000008152509050611e31565b6001831415611c94576040518060400160405280600381526020017f72656400000000000000000000000000000000000000000000000000000000008152509050611e30565b6002831415611cda576040518060400160405280600481526020017f70696e6b000000000000000000000000000000000000000000000000000000008152509050611e2f565b6003831415611d20576040518060400160405280600481526020017f676f6c64000000000000000000000000000000000000000000000000000000008152509050611e2e565b6004831415611d66576040518060400160405280600581526020017f626c61636b0000000000000000000000000000000000000000000000000000008152509050611e2d565b6005831415611dac576040518060400160405280600581526020017f677265656e0000000000000000000000000000000000000000000000000000008152509050611e2c565b6006831415611df2576040518060400160405280600481526020017f61717561000000000000000000000000000000000000000000000000000000008152509050611e2b565b6040518060400160405280600881526020017f6f726967696e616c00000000000000000000000000000000000000000000000081525090505b5b5b5b5b5b5b80915050919050565b606060006040518060400160405280600781526020017f4b5544415341490000000000000000000000000000000000000000000000000081525090508215611eb5576040518060400160405280600781526020017f4147454d4153550000000000000000000000000000000000000000000000000081525090505b80915050919050565b60606000821415611f06576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612066565b600082905060005b60008214611f38578080611f219061416d565b915050600a82611f319190613f95565b9150611f0e565b60008167ffffffffffffffff811115611f7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611fac5781602001600182028036833780820191505090505b5090505b6000851461205f57600182611fc59190614020565b9150600a85611fd491906141c0565b6030611fe09190613f3f565b60f81b81838151811061201c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120589190613f95565b9450611fb0565b8093505050505b919050565b606060008251905060008114156120945760405180602001604052806000815250915050612224565b600060036002836120a59190613f3f565b6120af9190613f95565b60046120bb9190613fc6565b905060006020826120cc9190613f3f565b67ffffffffffffffff81111561210b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561213d5781602001600182028036833780820191505090505b50905060006040518060600160405280604081526020016159e0604091399050600181016020830160005b868110156121e15760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050612168565b5060038606600181146121fb576002811461220b57612216565b613d3d60f01b6002830352612216565b603d60f81b60018303525b508484525050819450505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122f457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612304575061230382612682565b5b9050919050565b6123168383836126ec565b505050565b6123258383612800565b6123326000848484612376565b612371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236890613beb565b60405180910390fd5b505050565b60006123978473ffffffffffffffffffffffffffffffffffffffff166129ce565b15612500578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123c0611640565b8786866040518563ffffffff1660e01b81526004016123e29493929190613b42565b602060405180830381600087803b1580156123fc57600080fd5b505af192505050801561242d57506040513d601f19601f8201168201806040525081019061242a919061308e565b60015b6124b0573d806000811461245d576040519150601f19603f3d011682016040523d82523d6000602084013e612462565b606091505b506000815114156124a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249f90613beb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612505565b600190505b949350505050565b606080600083141561253e5760405160200161252890613886565b6040516020818303038152906040529050612679565b600183141561256c57604051602001612556906139b2565b6040516020818303038152906040529050612678565b600283141561259a5760405160200161258490613aca565b6040516020818303038152906040529050612677565b60038314156125c8576040516020016125b2906139f1565b6040516020818303038152906040529050612676565b60048314156125f6576040516020016125e0906139c7565b6040516020818303038152906040529050612675565b60058314156126245760405160200161260e9061399d565b6040516020818303038152906040529050612674565b60068314156126525760405160200161263c9061389b565b6040516020818303038152906040529050612673565b604051602001612661906139dc565b60405160208183030381529060405290505b5b5b5b5b5b5b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126f78383836129e1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561273a57612735816129e6565b612779565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612778576127778382612a2f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127bc576127b781612b9c565b6127fb565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146127fa576127f98282612cdf565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286790613d4b565b60405180910390fd5b612879816115d4565b156128b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b090613c2b565b60405180910390fd5b6128c56000838361230b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129159190613f3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612a3c84610c52565b612a469190614020565b9050600060076000848152602001908152602001600020549050818114612b2b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612bb09190614020565b9050600060096000848152602001908152602001600020549050600060088381548110612c06577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612c4e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612cc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612cea83610c52565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000612d71612d6c84613ecb565b613ea6565b905082815260208101848484011115612d8957600080fd5b612d948482856140c8565b509392505050565b600081359050612dab81615983565b92915050565b60008083601f840112612dc357600080fd5b8235905067ffffffffffffffff811115612ddc57600080fd5b602083019150836020820283011115612df457600080fd5b9250929050565b600081359050612e0a8161599a565b92915050565b600081359050612e1f816159b1565b92915050565b600081519050612e34816159b1565b92915050565b600082601f830112612e4b57600080fd5b8135612e5b848260208601612d5e565b91505092915050565b600081359050612e73816159c8565b92915050565b600060208284031215612e8b57600080fd5b6000612e9984828501612d9c565b91505092915050565b60008060408385031215612eb557600080fd5b6000612ec385828601612d9c565b9250506020612ed485828601612d9c565b9150509250929050565b600080600060608486031215612ef357600080fd5b6000612f0186828701612d9c565b9350506020612f1286828701612d9c565b9250506040612f2386828701612e64565b9150509250925092565b60008060008060808587031215612f4357600080fd5b6000612f5187828801612d9c565b9450506020612f6287828801612d9c565b9350506040612f7387828801612e64565b925050606085013567ffffffffffffffff811115612f9057600080fd5b612f9c87828801612e3a565b91505092959194509250565b60008060408385031215612fbb57600080fd5b6000612fc985828601612d9c565b9250506020612fda85828601612dfb565b9150509250929050565b60008060408385031215612ff757600080fd5b600061300585828601612d9c565b925050602061301685828601612e64565b9150509250929050565b6000806020838503121561303357600080fd5b600083013567ffffffffffffffff81111561304d57600080fd5b61305985828601612db1565b92509250509250929050565b60006020828403121561307757600080fd5b600061308584828501612e10565b91505092915050565b6000602082840312156130a057600080fd5b60006130ae84828501612e25565b91505092915050565b6000602082840312156130c957600080fd5b60006130d784828501612e64565b91505092915050565b6130e981614054565b82525050565b6130f881614066565b82525050565b600061310982613efc565b6131138185613f12565b93506131238185602086016140d7565b61312c816142ad565b840191505092915050565b600061314282613f07565b61314c8185613f23565b935061315c8185602086016140d7565b613165816142ad565b840191505092915050565b600061317b82613f07565b6131858185613f34565b93506131958185602086016140d7565b80840191505092915050565b60006131ae600f83613f34565b91506131b9826142be565b600f82019050919050565b60006131d1600f83613f34565b91506131dc826142e7565b600f82019050919050565b60006131f4602583613f34565b91506131ff82614310565b602582019050919050565b600061321861028983613f34565b91506132238261435f565b61028982019050919050565b600061323c602b83613f23565b91506132478261468d565b604082019050919050565b600061325f603283613f23565b915061326a826146dc565b604082019050919050565b600061328361010883613f34565b915061328e8261472b565b61010882019050919050565b60006132a7602683613f23565b91506132b282614885565b604082019050919050565b60006132ca601c83613f23565b91506132d5826148d4565b602082019050919050565b60006132ed60e683613f34565b91506132f8826148fd565b60e682019050919050565b600061331161017d83613f34565b915061331c82614a30565b61017d82019050919050565b6000613335600f83613f23565b915061334082614bff565b602082019050919050565b6000613358602483613f23565b915061336382614c28565b604082019050919050565b600061337b600d83613f34565b915061338682614c77565b600d82019050919050565b600061339e601983613f23565b91506133a982614ca0565b602082019050919050565b60006133c1600383613f34565b91506133cc82614cc9565b600382019050919050565b60006133e4602c83613f23565b91506133ef82614cf2565b604082019050919050565b6000613407609483613f34565b915061341282614d41565b609482019050919050565b600061342a600783613f34565b915061343582614e02565b600782019050919050565b600061344d603883613f23565b915061345882614e2b565b604082019050919050565b6000613470600e83613f34565b915061347b82614e7a565b600e82019050919050565b6000613493602a83613f23565b915061349e82614ea3565b604082019050919050565b60006134b6602983613f23565b91506134c182614ef2565b604082019050919050565b60006134d9600d83613f34565b91506134e482614f41565b600d82019050919050565b60006134fc601d83613f23565b915061350782614f6a565b602082019050919050565b600061351f600283613f34565b915061352a82614f93565b600282019050919050565b600061354361010783613f34565b915061354e82614fbc565b61010782019050919050565b6000613567601983613f34565b915061357282615116565b601982019050919050565b600061358a602083613f23565b91506135958261513f565b602082019050919050565b60006135ad602c83613f23565b91506135b882615168565b604082019050919050565b60006135d0602083613f23565b91506135db826151b7565b602082019050919050565b60006135f3602983613f23565b91506135fe826151e0565b604082019050919050565b6000613616600f83613f34565b91506136218261522f565b600f82019050919050565b6000613639602183613f23565b915061364482615258565b604082019050919050565b600061365c600e83613f34565b9150613667826152a7565b600e82019050919050565b600061367f601d83613f34565b915061368a826152d0565b601d82019050919050565b60006136a2608c83613f34565b91506136ad826152f9565b608c82019050919050565b60006136c5603183613f23565b91506136d0826153ba565b604082019050919050565b60006136e8601783613f23565b91506136f382615409565b602082019050919050565b600061370b602c83613f23565b915061371682615432565b604082019050919050565b600061372e601b83613f34565b915061373982615481565b601b82019050919050565b6000613751602483613f34565b915061375c826154aa565b602482019050919050565b6000613774602283613f23565b915061377f826154f9565b604082019050919050565b600061379760db83613f34565b91506137a282615548565b60db82019050919050565b60006137bb61010983613f34565b91506137c682615655565b61010982019050919050565b60006137e061010083613f34565b91506137eb826157af565b61010082019050919050565b6000613804602683613f34565b915061380f826158e2565b602682019050919050565b6000613827601f83613f23565b915061383282615931565b602082019050919050565b600061384a601083613f34565b91506138558261595a565b601082019050919050565b613869816140be565b82525050565b61388061387b826140be565b6141b6565b82525050565b6000613891826131a1565b9150819050919050565b60006138a6826131c4565b9150819050919050565b60006138bb8261320a565b91506138c7828c613170565b91506138d282613303565b91506138de828b613170565b91506138e982613535565b91506138f5828a613170565b915061390082613275565b915061390c8289613170565b915061391782613695565b91506139238288613170565b915061392e826137d2565b915061393a8287613170565b9150613945826137ad565b91506139518286613170565b915061395c826132e0565b91506139688285613170565b91506139738261378a565b915061397f8284613170565b915061398a8261355a565b91508190509a9950505050505050505050565b60006139a88261336e565b9150819050919050565b60006139bd82613463565b9150819050919050565b60006139d2826134cc565b9150819050919050565b60006139e782613609565b9150819050919050565b60006139fc8261364f565b9150819050919050565b6000613a1182613672565b9150613a1d8284613170565b915081905092915050565b6000613a3382613721565b9150613a3f8286613170565b9150613a4a826133fa565b9150613a568285613170565b9150613a61826137f7565b9150613a6d8284613170565b9150613a7882613512565b9150819050949350505050565b6000613a9082613744565b9150613a9c8285613170565b9150613aa7826131e7565b9150613ab38284613170565b9150613abe826133b4565b91508190509392505050565b6000613ad58261383d565b9150819050919050565b6000613aeb828661386f565b602082019150613afb828561386f565b602082019150613b0b828461386f565b602082019150613b1a8261341d565b9150819050949350505050565b6000602082019050613b3c60008301846130e0565b92915050565b6000608082019050613b5760008301876130e0565b613b6460208301866130e0565b613b716040830185613860565b8181036060830152613b8381846130fe565b905095945050505050565b6000602082019050613ba360008301846130ef565b92915050565b60006020820190508181036000830152613bc38184613137565b905092915050565b60006020820190508181036000830152613be48161322f565b9050919050565b60006020820190508181036000830152613c0481613252565b9050919050565b60006020820190508181036000830152613c248161329a565b9050919050565b60006020820190508181036000830152613c44816132bd565b9050919050565b60006020820190508181036000830152613c6481613328565b9050919050565b60006020820190508181036000830152613c848161334b565b9050919050565b60006020820190508181036000830152613ca481613391565b9050919050565b60006020820190508181036000830152613cc4816133d7565b9050919050565b60006020820190508181036000830152613ce481613440565b9050919050565b60006020820190508181036000830152613d0481613486565b9050919050565b60006020820190508181036000830152613d24816134a9565b9050919050565b60006020820190508181036000830152613d44816134ef565b9050919050565b60006020820190508181036000830152613d648161357d565b9050919050565b60006020820190508181036000830152613d84816135a0565b9050919050565b60006020820190508181036000830152613da4816135c3565b9050919050565b60006020820190508181036000830152613dc4816135e6565b9050919050565b60006020820190508181036000830152613de48161362c565b9050919050565b60006020820190508181036000830152613e04816136b8565b9050919050565b60006020820190508181036000830152613e24816136db565b9050919050565b60006020820190508181036000830152613e44816136fe565b9050919050565b60006020820190508181036000830152613e6481613767565b9050919050565b60006020820190508181036000830152613e848161381a565b9050919050565b6000602082019050613ea06000830184613860565b92915050565b6000613eb0613ec1565b9050613ebc828261413c565b919050565b6000604051905090565b600067ffffffffffffffff821115613ee657613ee561427e565b5b613eef826142ad565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613f4a826140be565b9150613f55836140be565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f8a57613f896141f1565b5b828201905092915050565b6000613fa0826140be565b9150613fab836140be565b925082613fbb57613fba614220565b5b828204905092915050565b6000613fd1826140be565b9150613fdc836140be565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614015576140146141f1565b5b828202905092915050565b600061402b826140be565b9150614036836140be565b925082821015614049576140486141f1565b5b828203905092915050565b600061405f8261409e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156140f55780820151818401526020810190506140da565b83811115614104576000848401525b50505050565b6000600282049050600182168061412257607f821691505b602082108114156141365761413561424f565b5b50919050565b614145826142ad565b810181811067ffffffffffffffff821117156141645761416361427e565b5b80604052505050565b6000614178826140be565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141ab576141aa6141f1565b5b600182019050919050565b6000819050919050565b60006141cb826140be565b91506141d6836140be565b9250826141e6576141e5614220565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f726762283138362c38352c323131290000000000000000000000000000000000600082015250565b7f7267622836342c3232342c323038290000000000000000000000000000000000600082015250565b7f227d2c7b202274726169745f74797065223a202254797065222c202276616c7560008201527f65223a2022000000000000000000000000000000000000000000000000000000602082015250565b7f3c7376672066696c6c2d72756c653d226576656e6f646422206865696768743d60008201527f22363230222077696474683d223632302220786d6c6e733d22687474703a2f2f60208201527f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b60408201527f3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b222060608201527f786d6c3a73706163653d2270726573657276652220786d6c6e733a736572696660808201527f3d22687474703a2f2f7777772e73657269662e636f6d2f22207374796c653d2260a08201527f66696c6c2d72756c653a6576656e6f64643b636c69702d72756c653a6576656e60c08201527f6f64643b7374726f6b652d6d697465726c696d69743a31303b223e3c6720747260e08201527f616e73666f726d3d226d617472697828312c302c302c312c2d3332302c2d36356101008201527f29223e3c672069643d224c617965722d32222073657269663a69643d224c61796101208201527f65722032223e3c67207472616e73666f726d3d226d617472697828312c302c306101408201527f2c312c3437322e37322c3633382e39343929223e3c7061746820643d224d302c6101608201527f2d3431362e3938394c2d3131352e3331322c2d31312e363731432d3131392e316101808201527f36352c312e383732202d3130392e3036332c31352e3336202d39352e3036382c6101a08201527f31352e33364c3338372e39312c31352e3336433430322e3335392c31352e33366101c08201527f203431322e3531352c312e303438203430372e3832392c2d31322e37314c32366101e08201527f392e3736382c2d3431382e303238433236362e38352c2d3432362e35393520326102008201527f35382e3834372c2d3433322e333439203234392e3834392c2d3433322e3334396102208201527f4c32302e3234342c2d3433322e3334394331302e3834372c2d3433322e3334396102408201527f20322e3538372c2d3432362e30383220302c2d3431362e3938395a22207374796102608201527f6c653d2266696c6c3a000000000000000000000000000000000000000000000061028082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828312c302c302c312c3639392e3635392c3360208201527f30382e35353329223e3c7061746820643d224d302c38382e393538432d352e3260408201527f36352c38382e393538202d392e3533312c38342e3639202d392e3533312c373960608201527f2e3432374c2d392e3533312c392e353331432d392e3533312c342e323637202d60808201527f352e3236352c3020302c3043352e3236342c3020392e3533312c342e3236372060a08201527f392e3533312c392e3533314c392e3533312c37392e34323743392e3533312c3860c08201527f342e363920352e3236342c38382e39353820302c38382e39353822207374796c60e08201527f653d2266696c6c3a00000000000000000000000000000000000000000000000061010082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828302e3433363430332c2d302e383939373560208201527f312c2d302e3839393735312c2d302e3433363430332c3635372e3231312c323060408201527f332e363529223e3c7061746820643d224d2d34312e3039332c37352e3534374c60608201527f3130372e3631392c37352e353437433131352e3738332c37352e35343720313160808201527f382e3235392c36342e343633203131302e3837322c36302e3938394c2d372e3160a08201527f31372c352e3439384c2d34312e3039332c37352e3534375a22207374796c653d60c08201527f2266696c6c3a000000000000000000000000000000000000000000000000000060e082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828312c302c302c312c3438342e3735392c3660208201527f32362e34353229223e3c7061746820643d224d302c2d3339312e3130374c313160408201527f332e3339322c352e373636433131362e3935372c31382e323431203132382e3360608201527f35392c32362e383432203134312e3333332c32362e3834324c3337352e38373160808201527f2c32362e383432433339302e33322c32362e383432203430302e3437362c313260a08201527f2e363233203339352e37392c2d312e3034354c3235372e3732392c2d3430332e60c08201527f373231433235342e3831312c2d3431322e323332203234362e3830382c2d343160e08201527f372e393439203233372e38312c2d3431372e3934394c32302e3234372c2d34316101008201527f372e39343943362e3235372c2d3431372e393439202d332e3834332c2d3430346101208201527f2e35353920302c2d3339312e3130375a22207374796c653d2266696c6c3a77686101408201527f6974653b66696c6c2d72756c653a6e6f6e7a65726f3b7374726f6b653a00000061016082015250565b7f4e6f206d6f7265204b7564617361690000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f7267622835302c3230352c352900000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f227d5d0000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f222c20226465736372697074696f6e223a20225c224b756461736169215c222060008201527f796f7520736169642e204166746572207761746368696e67207468652072657360208201527f74206f6620636f6d6d756e6974792067657474696e672074686569722061697260408201527f64726f70732e205965732e20596f75206469646e2774206c697374656e2e206160608201527f6761696e2e222c2261747472696275746573223a000000000000000000000000608082015250565b7f6b75646173616900000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f726762283232302c32302c363029000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f7267622831302c31302c31302900000000000000000000000000000000000000600082015250565b7f63616c6c20746f2061206e6f6e2d657869736974656e7420746f6b656e000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f3b7374726f6b652d77696474683a3470783b222f3e3c2f673e3c67207472616e60008201527f73666f726d3d226d617472697828312c302c302c312c3632362e3532382c333060208201527f382e35353329223e3c7061746820643d224d302c38382e393538432d352e323660408201527f342c38382e393538202d392e3533312c38342e3639202d392e3533312c37392e60608201527f3432374c2d392e3533312c392e353331432d392e3533312c342e323637202d3560808201527f2e3236342c3020302c3043352e3236342c3020392e3533312c342e323637203960a08201527f2e3533312c392e3533314c392e3533312c37392e34323743392e3533312c383460c08201527f2e363920352e3236342c38382e39353820302c38382e39353822207374796c6560e08201527f3d2266696c6c3a0000000000000000000000000000000000000000000000000061010082015250565b7f3c2f746578743e3c2f673e3c2f673e3c2f673e3c2f7376673e00000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f726762283231372c3130312c3338290000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f726762283235352c3231352c3029000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828312c302c302c312c3535342e3238362c3460208201527f39342e37323929223e3c7061746820643d224d302c304c3238312e3433322c3060408201527f22207374796c653d2266696c6c3a6e6f6e653b66696c6c2d72756c653a6e6f6e60608201527f7a65726f3b7374726f6b653a0000000000000000000000000000000000000000608082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f746865206e756d62657220697320746f6f20736d616c6c000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f7b226e616d65223a20224f6e436861696e204b75646173616920230000000000600082015250565b7f5b7b202274726169745f74797065223a2022436f6c6f72222c202276616c756560008201527f223a202200000000000000000000000000000000000000000000000000000000602082015250565b7f6e756d626572206f6620746f6b656e732065786365656473207468652072616e60008201527f6765000000000000000000000000000000000000000000000000000000000000602082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828302e3237383633312c2d312e303339383760208201527f2c312e30333938372c302e3237383633312c2d302e3134373033342c3733392e60408201527f36333529223e3c7465787420783d223138352e35353170782220793d2233353960608201527f2e333933707822207374796c653d22666f6e742d66616d696c793a274d656e6c60808201527f6f2d526567756c6172272c20274d656e6c6f272c206d6f6e6f73706163653b6660a08201527f6f6e742d73697a653a373270783b66696c6c3a77686974653b223e000000000060c082015250565b7f3b66696c6c2d72756c653a6e6f6e7a65726f3b222f3e3c2f673e3c672074726160008201527f6e73666f726d3d226d617472697828302c2d312c2d312c302c3734392e33333660208201527f2c3538382e30373829223e3c7061746820643d224d2d382e3038372c2d382e3060408201527f3838432d31322e3535342c2d382e303838202d31362e3137352c2d342e34363860608201527f202d31362e3137352c2d302e303031432d31362e3137352c342e343636202d3160808201527f322e3535342c382e303837202d382e3038372c382e303837432d332e3632312c60a08201527f382e30383720302c342e34363620302c2d302e30303143302c2d342e3436382060c08201527f2d332e3632312c2d382e303838202d382e3038372c2d382e303838222073747960e08201527f6c653d2266696c6c3a000000000000000000000000000000000000000000000061010082015250565b7f3b7374726f6b652d77696474683a3470783b222f3e3c2f673e3c67207472616e60008201527f73666f726d3d226d617472697828302c2d312c2d312c302c3731392e3736312c60208201527f3538382e30373729223e3c7061746820643d224d2d382e3038372c2d382e303860408201527f38432d31322e3535342c2d382e303838202d31362e3137352c2d342e3436372060608201527f2d31362e3137352c2d30432d31362e3137352c342e343636202d31322e35353460808201527f2c382e303837202d382e3038372c382e303837432d332e3632312c382e30383760a08201527f20302c342e34363620302c2d3043302c2d342e343637202d332e3632312c2d3860c08201527f2e303838202d382e3038372c2d382e30383822207374796c653d2266696c6c3a60e082015250565b7f2c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6260008201527f61736536342c0000000000000000000000000000000000000000000000000000602082015250565b7f596f7520617265206e6f74206f6e20746865204b756461736169206c69737400600082015250565b7f726762283235302c3132382c3131342900000000000000000000000000000000600082015250565b61598c81614054565b811461599757600080fd5b50565b6159a381614066565b81146159ae57600080fd5b50565b6159ba81614072565b81146159c557600080fd5b50565b6159d1816140be565b81146159dc57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220012ca1136f918a52d32db4f2c340dfc76827b8e3c9619748b04da7e1063acddb64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000f4f6e436861696e204b756461736169000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074b55444153414900000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): OnChain Kudasai
Arg [1] : symbol_ (string): KUDASAI
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [3] : 4f6e436861696e204b7564617361690000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 4b55444153414900000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
BSC | 100.00% | $697.62 | 0.0015 | $1.05 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.