Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
25 BLOK
Holders
23
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BLOKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Blockedchain
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* @@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@ @@@@@@ @@@@@@ @@@@@ @@@@@ @@@@@ @@@@& @@@@ @@@@@ @@@@@ @@@@# @@@@@ @@@@ @@@@@@@, @@@@@@ @@@@@@ *@@@@@@@ @@@@@* #@@@@@# @@@@@@. %@@@@@ @@@@@ @@@@@@@@@@@ @@@@@ @@@@ @@@@@@# @@@@ @@@@ @@@@@@@@@@@ @@@@ @@@@@ @@@@@@. #@@@@@# @@@@@ @@@@@ @@@@@@ @@@@@@ @@@@@ @@@@@@@ @@@@, #@@@@ @@@@@@@ @@@@ @@@@@ @@@@@ @@@@# @@@@@ @@@@@ @@@@@@ @@@@@@ @@@@@@@@@@@@@@@ @@@@@@@@@@@@@@% @@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@% ██████╗ ██╗ ██████╗ ██████╗██╗ ██╗███████╗██████╗ ██████╗██╗ ██╗ █████╗ ██╗███╗ ██╗ ██╔══██╗██║ ██╔═══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗██╔════╝██║ ██║██╔══██╗██║████╗ ██║ ██████╔╝██║ ██║ ██║██║ █████╔╝ █████╗ ██║ ██║██║ ███████║███████║██║██╔██╗ ██║ ██╔══██╗██║ ██║ ██║██║ ██╔═██╗ ██╔══╝ ██║ ██║██║ ██╔══██║██╔══██║██║██║╚██╗██║ ██████╔╝███████╗╚██████╔╝╚██████╗██║ ██╗███████╗██████╔╝╚██████╗██║ ██║██║ ██║██║██║ ╚████║ ╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═════╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ Silence is true wisdom’s best reply. — Euripides */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import 'base64-sol/base64.sol'; import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol'; contract Blockedchain is ERC721, Pausable, Ownable { using ECDSA for bytes32; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; address private signerAddress; struct Blocker { string handle; string asset; string image; string name; bool exists; uint id; uint numBlocks; mapping (uint => Block) blocks; } struct Block { bool exists; uint tokenId; uint blockNum; string timeString; } struct Token { uint blockerId; uint blockeeId; } struct NewBlocker { string handle; string asset; string image; string name; uint id; } mapping (uint => Blocker) blockers; mapping (uint => Token) tokens; constructor() ERC721("Blockedchain", "BLOK") { } function setSigner(address newSigner) public onlyOwner{ signerAddress = newSigner; } function addBlockers(NewBlocker[] memory newBlockers) public onlyOwner{ for(uint i=0; i<newBlockers.length; i++){ Blocker storage blocker = blockers[newBlockers[i].id]; blocker.handle = newBlockers[i].handle; blocker.asset = newBlockers[i].asset; blocker.image = newBlockers[i].image; blocker.name = newBlockers[i].name; if(!blocker.exists){ blocker.exists = true; blocker.numBlocks = 0; } } } function pauseBlocker(uint256 id) public onlyOwner { blockers[id].exists = false; } function unpauseBlocker(uint256 id) public onlyOwner { blockers[id].exists = true; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function mint( uint blockeeId, uint blockerId, uint deadline, string memory timeString, bytes memory signature ) public whenNotPaused { // Check signature is valid require(verifyMessage(blockeeId, blockerId, deadline, timeString, signature), 'INVALID_SIG'); // Check deadline hasn't passed require(deadline >= block.timestamp, 'DEADLINE_PASSED'); // Check that this is an approved blocker require(blockers[blockerId].exists, 'NO_BLOCKER'); // Check this blockeeId hasn't already registered this blockerId require(!blockers[blockerId].blocks[blockeeId].exists, 'BLOCK_EXISTS'); blockers[blockerId].numBlocks += 1; // Add this instance to the blockers struct // Save the blockeesId so there can't be duplicate mints of the same block blockers[blockerId].blocks[blockeeId] = Block({ tokenId : _tokenIdCounter.current(), exists: true, timeString: timeString, blockNum: blockers[blockerId].numBlocks }); // Mint token tokens[_tokenIdCounter.current()] = Token({ blockerId: blockerId, blockeeId: blockeeId }); _safeMint(msg.sender, _tokenIdCounter.current()); _tokenIdCounter.increment(); } function verifyMessage( uint p1, uint p2, uint p3, string memory p4, bytes memory signature ) public view returns( bool) { // Hash those params! bytes32 messagehash = keccak256(abi.encodePacked(p1, p2, p3, p4)); // See who's the signer address thisSigner = messagehash.toEthSignedMessageHash().recover(signature); if (signerAddress==thisSigner) { // Checks out! return (true); } else { // Looks bogus. return (false); } } function totalSupply() public view returns(uint256){ return _tokenIdCounter.current(); } // Look up how many tokens have been minted for a blocker function blocksForBlocker(uint256 id) public view returns (uint) { return blockers[id].numBlocks; } function tokenURI(uint256 tokenId) override public view returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); Token memory t = tokens[tokenId]; Blocker storage blocker = blockers[t.blockerId]; string memory timeString = blockers[t.blockerId].blocks[t.blockeeId].timeString; uint blockNum = blockers[t.blockerId].blocks[t.blockeeId].blockNum; string memory json = Base64.encode(bytes(string(abi.encodePacked( '{"name": "Blockedchain - @', blocker.handle , ' (#', uint2str(blockNum) ,')", "description": "The minter of this token was confirmed to be blocked by ', blocker.name , ' (@', blocker.handle ,') on Twitter. \\n \\n[Block provenance] \\nTime: ', timeString ,' \\nBlocked Twitter ID: ', uint2str(t.blockeeId) ,'", "image": "', blocker.image ,'", "animation_url": "', blocker.asset ,'", "attributes": [{"trait_type": "Blocker","value": "@', blocker.handle , '"}]}')))); return string(abi.encodePacked('data:application/json;base64,', json)); } function uint2str(uint _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len; while (_i != 0) { k = k-1; uint8 temp = (48 + uint8(_i - _i / 10 * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: 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 { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev 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 // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and( input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for {} lt(dataPtr, endPtr) {} { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)), shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))), add( shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)), and(mload(add(tablePtr, and( input , 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"components":[{"internalType":"string","name":"handle","type":"string"},{"internalType":"string","name":"asset","type":"string"},{"internalType":"string","name":"image","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"id","type":"uint256"}],"internalType":"struct Blockedchain.NewBlocker[]","name":"newBlockers","type":"tuple[]"}],"name":"addBlockers","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":"id","type":"uint256"}],"name":"blocksForBlocker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockeeId","type":"uint256"},{"internalType":"uint256","name":"blockerId","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"string","name":"timeString","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"pauseBlocker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"unpauseBlocker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"p1","type":"uint256"},{"internalType":"uint256","name":"p2","type":"uint256"},{"internalType":"uint256","name":"p3","type":"uint256"},{"internalType":"string","name":"p4","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"verifyMessage","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600c81526020017f426c6f636b6564636861696e00000000000000000000000000000000000000008152506040518060400160405280600481526020017f424c4f4b00000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620001c1565b508060019080519060200190620000af929190620001c1565b5050506000600660006101000a81548160ff021916908315150217905550620000ed620000e1620000f360201b60201c565b620000fb60201b60201c565b620002d6565b600033905090565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001cf9062000271565b90600052602060002090601f016020900481019282620001f357600085556200023f565b82601f106200020e57805160ff19168380011785556200023f565b828001600101855582156200023f579182015b828111156200023e57825182559160200191906001019062000221565b5b5090506200024e919062000252565b5090565b5b808211156200026d57600081600090555060010162000253565b5090565b600060028204905060018216806200028a57607f821691505b60208210811415620002a157620002a0620002a7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614e5580620002e66000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80636c19e783116100f9578063a22cb46511610097578063de9f2f7711610071578063de9f2f771461047e578063e051eaa6146104ae578063e985e9c5146104ca578063f2fde38b146104fa576101a9565b8063a22cb46514610416578063b88d4fde14610432578063c87b56dd1461044e576101a9565b806374fdc7de116100d357806374fdc7de146103b45780638456cb59146103d05780638da5cb5b146103da57806395d89b41146103f8576101a9565b80636c19e7831461035e57806370a082311461037a578063715018a6146103aa576101a9565b8063276b94831161016657806342842e0e1161014057806342842e0e146102d857806356ee185a146102f45780635c975abb146103105780636352211e1461032e576101a9565b8063276b94831461028257806331b573d0146102b25780633f4ba83a146102ce576101a9565b806301ffc9a7146101ae57806306fdde03146101de578063081812fc146101fc578063095ea7b31461022c57806318160ddd1461024857806323b872dd14610266575b600080fd5b6101c860048036038101906101c3919061344d565b610516565b6040516101d5919061451c565b60405180910390f35b6101e66105f8565b6040516101f3919061457c565b60405180910390f35b6102166004803603810190610211919061349f565b61068a565b60405161022391906144b5565b60405180910390f35b610246600480360381019061024191906133d0565b61070f565b005b610250610827565b60405161025d91906148de565b60405180910390f35b610280600480360381019061027b91906132ca565b610838565b005b61029c600480360381019061029791906134c8565b610898565b6040516102a9919061451c565b60405180910390f35b6102cc60048036038101906102c7919061340c565b61095a565b005b6102d6610c07565b005b6102f260048036038101906102ed91906132ca565b610c8d565b005b61030e6004803603810190610309919061349f565b610cad565b005b610318610d5b565b604051610325919061451c565b60405180910390f35b6103486004803603810190610343919061349f565b610d72565b60405161035591906144b5565b60405180910390f35b61037860048036038101906103739190613265565b610e24565b005b610394600480360381019061038f9190613265565b610ee4565b6040516103a191906148de565b60405180910390f35b6103b2610f9c565b005b6103ce60048036038101906103c9919061349f565b611024565b005b6103d86110d2565b005b6103e2611158565b6040516103ef91906144b5565b60405180910390f35b610400611182565b60405161040d919061457c565b60405180910390f35b610430600480360381019061042b9190613394565b611214565b005b61044c60048036038101906104479190613319565b61122a565b005b6104686004803603810190610463919061349f565b61128c565b604051610475919061457c565b60405180910390f35b6104986004803603810190610493919061349f565b6114ab565b6040516104a591906148de565b60405180910390f35b6104c860048036038101906104c391906134c8565b6114cb565b005b6104e460048036038101906104df919061328e565b6117d5565b6040516104f1919061451c565b60405180910390f35b610514600480360381019061050f9190613265565b611869565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105f157506105f082611961565b5b9050919050565b60606000805461060790614c27565b80601f016020809104026020016040519081016040528092919081815260200182805461063390614c27565b80156106805780601f1061065557610100808354040283529160200191610680565b820191906000526020600020905b81548152906001019060200180831161066357829003601f168201915b5050505050905090565b6000610695826119cb565b6106d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cb906147fe565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061071a82610d72565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561078b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107829061487e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107aa611a37565b73ffffffffffffffffffffffffffffffffffffffff1614806107d957506107d8816107d3611a37565b6117d5565b5b610818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080f9061471e565b60405180910390fd5b6108228383611a3f565b505050565b60006108336007611af8565b905090565b610849610843611a37565b82611b06565b610888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087f906148be565b60405180910390fd5b610893838383611be4565b505050565b600080868686866040516020016108b2949392919061446b565b60405160208183030381529060405280519060200120905060006108e7846108d984611e40565b611e7090919063ffffffff16565b90508073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561094a57600192505050610951565b6000925050505b95945050505050565b610962611a37565b73ffffffffffffffffffffffffffffffffffffffff16610980611158565b73ffffffffffffffffffffffffffffffffffffffff16146109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd9061481e565b60405180910390fd5b60005b8151811015610c0357600060096000848481518110610a21577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516080015181526020019081526020016000209050828281518110610a76577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160000151816000019080519060200190610a99929190612f1a565b50828281518110610ad3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160200151816001019080519060200190610af6929190612f1a565b50828281518110610b30577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160400151816002019080519060200190610b53929190612f1a565b50828281518110610b8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160600151816003019080519060200190610bb0929190612f1a565b508060040160009054906101000a900460ff16610bef5760018160040160006101000a81548160ff021916908315150217905550600081600601819055505b508080610bfb90614c59565b9150506109d9565b5050565b610c0f611a37565b73ffffffffffffffffffffffffffffffffffffffff16610c2d611158565b73ffffffffffffffffffffffffffffffffffffffff1614610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a9061481e565b60405180910390fd5b610c8b611e97565b565b610ca88383836040518060200160405280600081525061122a565b505050565b610cb5611a37565b73ffffffffffffffffffffffffffffffffffffffff16610cd3611158565b73ffffffffffffffffffffffffffffffffffffffff1614610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d209061481e565b60405180910390fd5b60016009600083815260200190815260200160002060040160006101000a81548160ff02191690831515021790555050565b6000600660009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e129061475e565b60405180910390fd5b80915050919050565b610e2c611a37565b73ffffffffffffffffffffffffffffffffffffffff16610e4a611158565b73ffffffffffffffffffffffffffffffffffffffff1614610ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e979061481e565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4c9061473e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fa4611a37565b73ffffffffffffffffffffffffffffffffffffffff16610fc2611158565b73ffffffffffffffffffffffffffffffffffffffff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f9061481e565b60405180910390fd5b6110226000611f39565b565b61102c611a37565b73ffffffffffffffffffffffffffffffffffffffff1661104a611158565b73ffffffffffffffffffffffffffffffffffffffff16146110a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110979061481e565b60405180910390fd5b60006009600083815260200190815260200160002060040160006101000a81548160ff02191690831515021790555050565b6110da611a37565b73ffffffffffffffffffffffffffffffffffffffff166110f8611158565b73ffffffffffffffffffffffffffffffffffffffff161461114e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111459061481e565b60405180910390fd5b611156611fff565b565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461119190614c27565b80601f01602080910402602001604051908101604052809291908181526020018280546111bd90614c27565b801561120a5780601f106111df5761010080835404028352916020019161120a565b820191906000526020600020905b8154815290600101906020018083116111ed57829003601f168201915b5050505050905090565b61122661121f611a37565b83836120a2565b5050565b61123b611235611a37565b83611b06565b61127a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611271906148be565b60405180910390fd5b6112868484848461220f565b50505050565b6060611297826119cb565b6112d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cd9061485e565b60405180910390fd5b6000600a600084815260200190815260200160002060405180604001604052908160008201548152602001600182015481525050905060006009600083600001518152602001908152602001600020905060006009600084600001518152602001908152602001600020600701600084602001518152602001908152602001600020600301805461136690614c27565b80601f016020809104026020016040519081016040528092919081815260200182805461139290614c27565b80156113df5780601f106113b4576101008083540402835291602001916113df565b820191906000526020600020905b8154815290600101906020018083116113c257829003601f168201915b5050505050905060006009600085600001518152602001908152602001600020600701600085602001518152602001908152602001600020600201549050600061147d8460000161142f8461226b565b8660030187600001876114458b6020015161226b565b8a6002018b6001018c60000160405160200161146999989796959493929190614336565b604051602081830303815290604052612440565b9050806040516020016114909190614449565b60405160208183030381529060405295505050505050919050565b600060096000838152602001908152602001600020600601549050919050565b6114d3610d5b565b15611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a906146fe565b60405180910390fd5b6115208585858585610898565b61155f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115569061477e565b60405180910390fd5b428310156115a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611599906145de565b60405180910390fd5b6009600085815260200190815260200160002060040160009054906101000a900460ff16611605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fc906147be565b60405180910390fd5b60096000858152602001908152602001600020600701600086815260200190815260200160002060000160009054906101000a900460ff161561167d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116749061489e565b60405180910390fd5b60016009600086815260200190815260200160002060060160008282546116a49190614a0e565b9250508190555060405180608001604052806001151581526020016116c96007611af8565b8152602001600960008781526020019081526020016000206006015481526020018381525060096000868152602001908152602001600020600701600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160010155604082015181600201556060820151816003019080519060200190611765929190612f1a565b50905050604051806040016040528085815260200186815250600a600061178c6007611af8565b815260200190815260200160002060008201518160000155602082015181600101559050506117c4336117bf6007611af8565b6125df565b6117ce60076125fd565b5050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611871611a37565b73ffffffffffffffffffffffffffffffffffffffff1661188f611158565b73ffffffffffffffffffffffffffffffffffffffff16146118e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dc9061481e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c9061463e565b60405180910390fd5b61195e81611f39565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ab283610d72565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611b11826119cb565b611b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b47906146de565b60405180910390fd5b6000611b5b83610d72565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611bca57508373ffffffffffffffffffffffffffffffffffffffff16611bb28461068a565b73ffffffffffffffffffffffffffffffffffffffff16145b80611bdb5750611bda81856117d5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c0482610d72565b73ffffffffffffffffffffffffffffffffffffffff1614611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c519061483e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc19061467e565b60405180910390fd5b611cd5838383612613565b611ce0600082611a3f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d309190614b26565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d879190614a0e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081604051602001611e539190614423565b604051602081830303815290604052805190602001209050919050565b6000806000611e7f8585612618565b91509150611e8c8161269b565b819250505092915050565b611e9f610d5b565b611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed5906145be565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611f22611a37565b604051611f2f91906144b5565b60405180910390a1565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612007610d5b565b15612047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203e906146fe565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861208b611a37565b60405161209891906144b5565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612111576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121089061469e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612202919061451c565b60405180910390a3505050565b61221a848484611be4565b612226848484846129ec565b612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c9061461e565b60405180910390fd5b50505050565b606060008214156122b3576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061243b565b600082905060005b600082146122e55780806122ce90614c59565b915050600a826122de9190614a9b565b91506122bb565b60008167ffffffffffffffff811115612327577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123595781602001600182028036833780820191505090505b50905060008290505b60008614612433576001816123779190614b26565b90506000600a80886123899190614a9b565b6123939190614acc565b8761239e9190614b26565b60306123aa9190614a64565b905060008160f81b9050808484815181106123ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8861242a9190614a9b565b97505050612362565b819450505050505b919050565b6060600082511415612463576040518060200160405280600081525090506125da565b6000604051806060016040528060408152602001614de060409139905060006003600285516124929190614a0e565b61249c9190614a9b565b60046124a89190614acc565b905060006020826124b99190614a0e565b67ffffffffffffffff8111156124f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561252a5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612599576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f811685015182536001820191505061253e565b6003895106600181146125b357600281146125c3576125ce565b613d3d60f01b60028303526125ce565b603d60f81b60018303525b50505050508093505050505b919050565b6125f9828260405180602001604052806000815250612b83565b5050565b6001816000016000828254019250508190555050565b505050565b60008060418351141561265a5760008060006020860151925060408601519150606086015160001a905061264e87828585612bde565b94509450505050612694565b60408351141561268b576000806020850151915060408501519050612680868383612ceb565b935093505050612694565b60006002915091505b9250929050565b600060048111156126d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561270e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612719576129e9565b60016004811115612753577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561278c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156127cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c49061459e565b60405180910390fd5b60026004811115612807577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612840577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612878906145fe565b60405180910390fd5b600360048111156128bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156128f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292c906146be565b60405180910390fd5b60048081111561296e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156129a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156129e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129df9061479e565b60405180910390fd5b5b50565b6000612a0d8473ffffffffffffffffffffffffffffffffffffffff16612d39565b15612b76578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a36611a37565b8786866040518563ffffffff1660e01b8152600401612a5894939291906144d0565b602060405180830381600087803b158015612a7257600080fd5b505af1925050508015612aa357506040513d601f19601f82011682018060405250810190612aa09190613476565b60015b612b26573d8060008114612ad3576040519150601f19603f3d011682016040523d82523d6000602084013e612ad8565b606091505b50600081511415612b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b159061461e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b7b565b600190505b949350505050565b612b8d8383612d4c565b612b9a60008484846129ec565b612bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd09061461e565b60405180910390fd5b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612c19576000600391509150612ce2565b601b8560ff1614158015612c315750601c8560ff1614155b15612c43576000600491509150612ce2565b600060018787878760405160008152602001604052604051612c689493929190614537565b6020604051602081039080840390855afa158015612c8a573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612cd957600060019250925050612ce2565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612d2b87828885612bde565b935093505050935093915050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db3906147de565b60405180910390fd5b612dc5816119cb565b15612e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfc9061465e565b60405180910390fd5b612e1160008383612613565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e619190614a0e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612f2690614c27565b90600052602060002090601f016020900481019282612f485760008555612f8f565b82601f10612f6157805160ff1916838001178555612f8f565b82800160010185558215612f8f579182015b82811115612f8e578251825591602001919060010190612f73565b5b509050612f9c9190612fa0565b5090565b5b80821115612fb9576000816000905550600101612fa1565b5090565b6000612fd0612fcb8461492a565b6148f9565b9050808382526020820190508260005b858110156130105781358501612ff68882613168565b845260208401935060208301925050600181019050612fe0565b5050509392505050565b600061302d61302884614956565b6148f9565b90508281526020810184848401111561304557600080fd5b613050848285614be5565b509392505050565b600061306b61306684614986565b6148f9565b90508281526020810184848401111561308357600080fd5b61308e848285614be5565b509392505050565b6000813590506130a581614d83565b92915050565b600082601f8301126130bc57600080fd5b81356130cc848260208601612fbd565b91505092915050565b6000813590506130e481614d9a565b92915050565b6000813590506130f981614db1565b92915050565b60008151905061310e81614db1565b92915050565b600082601f83011261312557600080fd5b813561313584826020860161301a565b91505092915050565b600082601f83011261314f57600080fd5b813561315f848260208601613058565b91505092915050565b600060a0828403121561317a57600080fd5b61318460a06148f9565b9050600082013567ffffffffffffffff8111156131a057600080fd5b6131ac8482850161313e565b600083015250602082013567ffffffffffffffff8111156131cc57600080fd5b6131d88482850161313e565b602083015250604082013567ffffffffffffffff8111156131f857600080fd5b6132048482850161313e565b604083015250606082013567ffffffffffffffff81111561322457600080fd5b6132308482850161313e565b606083015250608061324484828501613250565b60808301525092915050565b60008135905061325f81614dc8565b92915050565b60006020828403121561327757600080fd5b600061328584828501613096565b91505092915050565b600080604083850312156132a157600080fd5b60006132af85828601613096565b92505060206132c085828601613096565b9150509250929050565b6000806000606084860312156132df57600080fd5b60006132ed86828701613096565b93505060206132fe86828701613096565b925050604061330f86828701613250565b9150509250925092565b6000806000806080858703121561332f57600080fd5b600061333d87828801613096565b945050602061334e87828801613096565b935050604061335f87828801613250565b925050606085013567ffffffffffffffff81111561337c57600080fd5b61338887828801613114565b91505092959194509250565b600080604083850312156133a757600080fd5b60006133b585828601613096565b92505060206133c6858286016130d5565b9150509250929050565b600080604083850312156133e357600080fd5b60006133f185828601613096565b925050602061340285828601613250565b9150509250929050565b60006020828403121561341e57600080fd5b600082013567ffffffffffffffff81111561343857600080fd5b613444848285016130ab565b91505092915050565b60006020828403121561345f57600080fd5b600061346d848285016130ea565b91505092915050565b60006020828403121561348857600080fd5b6000613496848285016130ff565b91505092915050565b6000602082840312156134b157600080fd5b60006134bf84828501613250565b91505092915050565b600080600080600060a086880312156134e057600080fd5b60006134ee88828901613250565b95505060206134ff88828901613250565b945050604061351088828901613250565b935050606086013567ffffffffffffffff81111561352d57600080fd5b6135398882890161313e565b925050608086013567ffffffffffffffff81111561355657600080fd5b61356288828901613114565b9150509295509295909350565b61357881614b5a565b82525050565b61358781614b6c565b82525050565b61359681614b78565b82525050565b6135ad6135a882614b78565b614ca2565b82525050565b60006135be826149cb565b6135c881856149e1565b93506135d8818560208601614bf4565b6135e181614d72565b840191505092915050565b60006135f7826149d6565b61360181856149f2565b9350613611818560208601614bf4565b61361a81614d72565b840191505092915050565b6000613630826149d6565b61363a8185614a03565b935061364a818560208601614bf4565b80840191505092915050565b6000815461366381614c27565b61366d8186614a03565b945060018216600081146136885760018114613699576136cc565b60ff198316865281860193506136cc565b6136a2856149b6565b60005b838110156136c4578154818901526001820191506020810190506136a5565b838801955050505b50505092915050565b60006136e26018836149f2565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000613722601a83614a03565b91507f7b226e616d65223a2022426c6f636b6564636861696e202d20400000000000006000830152601a82019050919050565b60006137626014836149f2565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b60006137a2600f836149f2565b91507f444541444c494e455f50415353454400000000000000000000000000000000006000830152602082019050919050565b60006137e2601f836149f2565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b6000613822601c83614a03565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006138626032836149f2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006138c86026836149f2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061392e601c836149f2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061396e602f83614a03565b91507f29206f6e20547769747465722e205c6e205c6e5b426c6f636b2070726f76656e60008301527f616e63655d20205c6e54696d653a2000000000000000000000000000000000006020830152602f82019050919050565b60006139d4600383614a03565b91507f20282300000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b6000613a146024836149f2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a7a6019836149f2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613aba603683614a03565b91507f222c202261747472696275746573223a205b7b2274726169745f74797065223a60008301527f2022426c6f636b6572222c2276616c7565223a202240000000000000000000006020830152603682019050919050565b6000613b206022836149f2565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b86602c836149f2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613bec6010836149f2565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000613c2c6038836149f2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613c92602a836149f2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cf86029836149f2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d5e600b836149f2565b91507f494e56414c49445f5349470000000000000000000000000000000000000000006000830152602082019050919050565b6000613d9e6022836149f2565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e04600a836149f2565b91507f4e4f5f424c4f434b4552000000000000000000000000000000000000000000006000830152602082019050919050565b6000613e446020836149f2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613e84600d83614a03565b91507f222c2022696d616765223a2022000000000000000000000000000000000000006000830152600d82019050919050565b6000613ec4602c836149f2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613f2a6020836149f2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613f6a6029836149f2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fd0602f836149f2565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006140366021836149f2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061409c601d83614a03565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b60006140dc600c836149f2565b91507f424c4f434b5f45584953545300000000000000000000000000000000000000006000830152602082019050919050565b600061411c6031836149f2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614182600383614a03565b91507f20284000000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b60006141c2601883614a03565b91507f20205c6e426c6f636b656420547769747465722049443a2000000000000000006000830152601882019050919050565b6000614202604c83614a03565b91507f29222c20226465736372697074696f6e223a2022546865206d696e746572206f60008301527f66207468697320746f6b656e2077617320636f6e6669726d656420746f20626560208301527f20626c6f636b65642062792000000000000000000000000000000000000000006040830152604c82019050919050565b600061428e600483614a03565b91507f227d5d7d000000000000000000000000000000000000000000000000000000006000830152600482019050919050565b60006142ce601583614a03565b91507f222c2022616e696d6174696f6e5f75726c223a202200000000000000000000006000830152601582019050919050565b61430a81614bce565b82525050565b61432161431c82614bce565b614cac565b82525050565b61433081614bd8565b82525050565b600061434182613715565b915061434d828c613656565b9150614358826139c7565b9150614364828b613625565b915061436f826141f5565b915061437b828a613656565b915061438682614175565b91506143928289613656565b915061439d82613961565b91506143a98288613625565b91506143b4826141b5565b91506143c08287613625565b91506143cb82613e77565b91506143d78286613656565b91506143e2826142c1565b91506143ee8285613656565b91506143f982613aad565b91506144058284613656565b915061441082614281565b91508190509a9950505050505050505050565b600061442e82613815565b915061443a828461359c565b60208201915081905092915050565b60006144548261408f565b91506144608284613625565b915081905092915050565b60006144778287614310565b6020820191506144878286614310565b6020820191506144978285614310565b6020820191506144a78284613625565b915081905095945050505050565b60006020820190506144ca600083018461356f565b92915050565b60006080820190506144e5600083018761356f565b6144f2602083018661356f565b6144ff6040830185614301565b818103606083015261451181846135b3565b905095945050505050565b6000602082019050614531600083018461357e565b92915050565b600060808201905061454c600083018761358d565b6145596020830186614327565b614566604083018561358d565b614573606083018461358d565b95945050505050565b6000602082019050818103600083015261459681846135ec565b905092915050565b600060208201905081810360008301526145b7816136d5565b9050919050565b600060208201905081810360008301526145d781613755565b9050919050565b600060208201905081810360008301526145f781613795565b9050919050565b60006020820190508181036000830152614617816137d5565b9050919050565b6000602082019050818103600083015261463781613855565b9050919050565b60006020820190508181036000830152614657816138bb565b9050919050565b6000602082019050818103600083015261467781613921565b9050919050565b6000602082019050818103600083015261469781613a07565b9050919050565b600060208201905081810360008301526146b781613a6d565b9050919050565b600060208201905081810360008301526146d781613b13565b9050919050565b600060208201905081810360008301526146f781613b79565b9050919050565b6000602082019050818103600083015261471781613bdf565b9050919050565b6000602082019050818103600083015261473781613c1f565b9050919050565b6000602082019050818103600083015261475781613c85565b9050919050565b6000602082019050818103600083015261477781613ceb565b9050919050565b6000602082019050818103600083015261479781613d51565b9050919050565b600060208201905081810360008301526147b781613d91565b9050919050565b600060208201905081810360008301526147d781613df7565b9050919050565b600060208201905081810360008301526147f781613e37565b9050919050565b6000602082019050818103600083015261481781613eb7565b9050919050565b6000602082019050818103600083015261483781613f1d565b9050919050565b6000602082019050818103600083015261485781613f5d565b9050919050565b6000602082019050818103600083015261487781613fc3565b9050919050565b6000602082019050818103600083015261489781614029565b9050919050565b600060208201905081810360008301526148b7816140cf565b9050919050565b600060208201905081810360008301526148d78161410f565b9050919050565b60006020820190506148f36000830184614301565b92915050565b6000604051905081810181811067ffffffffffffffff821117156149205761491f614d43565b5b8060405250919050565b600067ffffffffffffffff82111561494557614944614d43565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561497157614970614d43565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156149a1576149a0614d43565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a1982614bce565b9150614a2483614bce565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a5957614a58614cb6565b5b828201905092915050565b6000614a6f82614bd8565b9150614a7a83614bd8565b92508260ff03821115614a9057614a8f614cb6565b5b828201905092915050565b6000614aa682614bce565b9150614ab183614bce565b925082614ac157614ac0614ce5565b5b828204905092915050565b6000614ad782614bce565b9150614ae283614bce565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b1b57614b1a614cb6565b5b828202905092915050565b6000614b3182614bce565b9150614b3c83614bce565b925082821015614b4f57614b4e614cb6565b5b828203905092915050565b6000614b6582614bae565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614c12578082015181840152602081019050614bf7565b83811115614c21576000848401525b50505050565b60006002820490506001821680614c3f57607f821691505b60208210811415614c5357614c52614d14565b5b50919050565b6000614c6482614bce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c9757614c96614cb6565b5b600182019050919050565b6000819050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614d8c81614b5a565b8114614d9757600080fd5b50565b614da381614b6c565b8114614dae57600080fd5b50565b614dba81614b82565b8114614dc557600080fd5b50565b614dd181614bce565b8114614ddc57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220053285ba75f7038f586b1a717570036be63a37ffce3606ebd3ef6326d4d0d6b164736f6c63430008000033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80636c19e783116100f9578063a22cb46511610097578063de9f2f7711610071578063de9f2f771461047e578063e051eaa6146104ae578063e985e9c5146104ca578063f2fde38b146104fa576101a9565b8063a22cb46514610416578063b88d4fde14610432578063c87b56dd1461044e576101a9565b806374fdc7de116100d357806374fdc7de146103b45780638456cb59146103d05780638da5cb5b146103da57806395d89b41146103f8576101a9565b80636c19e7831461035e57806370a082311461037a578063715018a6146103aa576101a9565b8063276b94831161016657806342842e0e1161014057806342842e0e146102d857806356ee185a146102f45780635c975abb146103105780636352211e1461032e576101a9565b8063276b94831461028257806331b573d0146102b25780633f4ba83a146102ce576101a9565b806301ffc9a7146101ae57806306fdde03146101de578063081812fc146101fc578063095ea7b31461022c57806318160ddd1461024857806323b872dd14610266575b600080fd5b6101c860048036038101906101c3919061344d565b610516565b6040516101d5919061451c565b60405180910390f35b6101e66105f8565b6040516101f3919061457c565b60405180910390f35b6102166004803603810190610211919061349f565b61068a565b60405161022391906144b5565b60405180910390f35b610246600480360381019061024191906133d0565b61070f565b005b610250610827565b60405161025d91906148de565b60405180910390f35b610280600480360381019061027b91906132ca565b610838565b005b61029c600480360381019061029791906134c8565b610898565b6040516102a9919061451c565b60405180910390f35b6102cc60048036038101906102c7919061340c565b61095a565b005b6102d6610c07565b005b6102f260048036038101906102ed91906132ca565b610c8d565b005b61030e6004803603810190610309919061349f565b610cad565b005b610318610d5b565b604051610325919061451c565b60405180910390f35b6103486004803603810190610343919061349f565b610d72565b60405161035591906144b5565b60405180910390f35b61037860048036038101906103739190613265565b610e24565b005b610394600480360381019061038f9190613265565b610ee4565b6040516103a191906148de565b60405180910390f35b6103b2610f9c565b005b6103ce60048036038101906103c9919061349f565b611024565b005b6103d86110d2565b005b6103e2611158565b6040516103ef91906144b5565b60405180910390f35b610400611182565b60405161040d919061457c565b60405180910390f35b610430600480360381019061042b9190613394565b611214565b005b61044c60048036038101906104479190613319565b61122a565b005b6104686004803603810190610463919061349f565b61128c565b604051610475919061457c565b60405180910390f35b6104986004803603810190610493919061349f565b6114ab565b6040516104a591906148de565b60405180910390f35b6104c860048036038101906104c391906134c8565b6114cb565b005b6104e460048036038101906104df919061328e565b6117d5565b6040516104f1919061451c565b60405180910390f35b610514600480360381019061050f9190613265565b611869565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105f157506105f082611961565b5b9050919050565b60606000805461060790614c27565b80601f016020809104026020016040519081016040528092919081815260200182805461063390614c27565b80156106805780601f1061065557610100808354040283529160200191610680565b820191906000526020600020905b81548152906001019060200180831161066357829003601f168201915b5050505050905090565b6000610695826119cb565b6106d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cb906147fe565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061071a82610d72565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561078b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107829061487e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107aa611a37565b73ffffffffffffffffffffffffffffffffffffffff1614806107d957506107d8816107d3611a37565b6117d5565b5b610818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080f9061471e565b60405180910390fd5b6108228383611a3f565b505050565b60006108336007611af8565b905090565b610849610843611a37565b82611b06565b610888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087f906148be565b60405180910390fd5b610893838383611be4565b505050565b600080868686866040516020016108b2949392919061446b565b60405160208183030381529060405280519060200120905060006108e7846108d984611e40565b611e7090919063ffffffff16565b90508073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561094a57600192505050610951565b6000925050505b95945050505050565b610962611a37565b73ffffffffffffffffffffffffffffffffffffffff16610980611158565b73ffffffffffffffffffffffffffffffffffffffff16146109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd9061481e565b60405180910390fd5b60005b8151811015610c0357600060096000848481518110610a21577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516080015181526020019081526020016000209050828281518110610a76577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160000151816000019080519060200190610a99929190612f1a565b50828281518110610ad3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160200151816001019080519060200190610af6929190612f1a565b50828281518110610b30577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160400151816002019080519060200190610b53929190612f1a565b50828281518110610b8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160600151816003019080519060200190610bb0929190612f1a565b508060040160009054906101000a900460ff16610bef5760018160040160006101000a81548160ff021916908315150217905550600081600601819055505b508080610bfb90614c59565b9150506109d9565b5050565b610c0f611a37565b73ffffffffffffffffffffffffffffffffffffffff16610c2d611158565b73ffffffffffffffffffffffffffffffffffffffff1614610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a9061481e565b60405180910390fd5b610c8b611e97565b565b610ca88383836040518060200160405280600081525061122a565b505050565b610cb5611a37565b73ffffffffffffffffffffffffffffffffffffffff16610cd3611158565b73ffffffffffffffffffffffffffffffffffffffff1614610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d209061481e565b60405180910390fd5b60016009600083815260200190815260200160002060040160006101000a81548160ff02191690831515021790555050565b6000600660009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e129061475e565b60405180910390fd5b80915050919050565b610e2c611a37565b73ffffffffffffffffffffffffffffffffffffffff16610e4a611158565b73ffffffffffffffffffffffffffffffffffffffff1614610ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e979061481e565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4c9061473e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fa4611a37565b73ffffffffffffffffffffffffffffffffffffffff16610fc2611158565b73ffffffffffffffffffffffffffffffffffffffff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f9061481e565b60405180910390fd5b6110226000611f39565b565b61102c611a37565b73ffffffffffffffffffffffffffffffffffffffff1661104a611158565b73ffffffffffffffffffffffffffffffffffffffff16146110a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110979061481e565b60405180910390fd5b60006009600083815260200190815260200160002060040160006101000a81548160ff02191690831515021790555050565b6110da611a37565b73ffffffffffffffffffffffffffffffffffffffff166110f8611158565b73ffffffffffffffffffffffffffffffffffffffff161461114e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111459061481e565b60405180910390fd5b611156611fff565b565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461119190614c27565b80601f01602080910402602001604051908101604052809291908181526020018280546111bd90614c27565b801561120a5780601f106111df5761010080835404028352916020019161120a565b820191906000526020600020905b8154815290600101906020018083116111ed57829003601f168201915b5050505050905090565b61122661121f611a37565b83836120a2565b5050565b61123b611235611a37565b83611b06565b61127a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611271906148be565b60405180910390fd5b6112868484848461220f565b50505050565b6060611297826119cb565b6112d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cd9061485e565b60405180910390fd5b6000600a600084815260200190815260200160002060405180604001604052908160008201548152602001600182015481525050905060006009600083600001518152602001908152602001600020905060006009600084600001518152602001908152602001600020600701600084602001518152602001908152602001600020600301805461136690614c27565b80601f016020809104026020016040519081016040528092919081815260200182805461139290614c27565b80156113df5780601f106113b4576101008083540402835291602001916113df565b820191906000526020600020905b8154815290600101906020018083116113c257829003601f168201915b5050505050905060006009600085600001518152602001908152602001600020600701600085602001518152602001908152602001600020600201549050600061147d8460000161142f8461226b565b8660030187600001876114458b6020015161226b565b8a6002018b6001018c60000160405160200161146999989796959493929190614336565b604051602081830303815290604052612440565b9050806040516020016114909190614449565b60405160208183030381529060405295505050505050919050565b600060096000838152602001908152602001600020600601549050919050565b6114d3610d5b565b15611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a906146fe565b60405180910390fd5b6115208585858585610898565b61155f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115569061477e565b60405180910390fd5b428310156115a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611599906145de565b60405180910390fd5b6009600085815260200190815260200160002060040160009054906101000a900460ff16611605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fc906147be565b60405180910390fd5b60096000858152602001908152602001600020600701600086815260200190815260200160002060000160009054906101000a900460ff161561167d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116749061489e565b60405180910390fd5b60016009600086815260200190815260200160002060060160008282546116a49190614a0e565b9250508190555060405180608001604052806001151581526020016116c96007611af8565b8152602001600960008781526020019081526020016000206006015481526020018381525060096000868152602001908152602001600020600701600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160010155604082015181600201556060820151816003019080519060200190611765929190612f1a565b50905050604051806040016040528085815260200186815250600a600061178c6007611af8565b815260200190815260200160002060008201518160000155602082015181600101559050506117c4336117bf6007611af8565b6125df565b6117ce60076125fd565b5050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611871611a37565b73ffffffffffffffffffffffffffffffffffffffff1661188f611158565b73ffffffffffffffffffffffffffffffffffffffff16146118e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dc9061481e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c9061463e565b60405180910390fd5b61195e81611f39565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ab283610d72565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611b11826119cb565b611b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b47906146de565b60405180910390fd5b6000611b5b83610d72565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611bca57508373ffffffffffffffffffffffffffffffffffffffff16611bb28461068a565b73ffffffffffffffffffffffffffffffffffffffff16145b80611bdb5750611bda81856117d5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c0482610d72565b73ffffffffffffffffffffffffffffffffffffffff1614611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c519061483e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc19061467e565b60405180910390fd5b611cd5838383612613565b611ce0600082611a3f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d309190614b26565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d879190614a0e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081604051602001611e539190614423565b604051602081830303815290604052805190602001209050919050565b6000806000611e7f8585612618565b91509150611e8c8161269b565b819250505092915050565b611e9f610d5b565b611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed5906145be565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611f22611a37565b604051611f2f91906144b5565b60405180910390a1565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612007610d5b565b15612047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203e906146fe565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861208b611a37565b60405161209891906144b5565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612111576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121089061469e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612202919061451c565b60405180910390a3505050565b61221a848484611be4565b612226848484846129ec565b612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c9061461e565b60405180910390fd5b50505050565b606060008214156122b3576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061243b565b600082905060005b600082146122e55780806122ce90614c59565b915050600a826122de9190614a9b565b91506122bb565b60008167ffffffffffffffff811115612327577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123595781602001600182028036833780820191505090505b50905060008290505b60008614612433576001816123779190614b26565b90506000600a80886123899190614a9b565b6123939190614acc565b8761239e9190614b26565b60306123aa9190614a64565b905060008160f81b9050808484815181106123ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8861242a9190614a9b565b97505050612362565b819450505050505b919050565b6060600082511415612463576040518060200160405280600081525090506125da565b6000604051806060016040528060408152602001614de060409139905060006003600285516124929190614a0e565b61249c9190614a9b565b60046124a89190614acc565b905060006020826124b99190614a0e565b67ffffffffffffffff8111156124f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561252a5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612599576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f811685015182536001820191505061253e565b6003895106600181146125b357600281146125c3576125ce565b613d3d60f01b60028303526125ce565b603d60f81b60018303525b50505050508093505050505b919050565b6125f9828260405180602001604052806000815250612b83565b5050565b6001816000016000828254019250508190555050565b505050565b60008060418351141561265a5760008060006020860151925060408601519150606086015160001a905061264e87828585612bde565b94509450505050612694565b60408351141561268b576000806020850151915060408501519050612680868383612ceb565b935093505050612694565b60006002915091505b9250929050565b600060048111156126d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561270e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612719576129e9565b60016004811115612753577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561278c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156127cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c49061459e565b60405180910390fd5b60026004811115612807577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612840577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612878906145fe565b60405180910390fd5b600360048111156128bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156128f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292c906146be565b60405180910390fd5b60048081111561296e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156129a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156129e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129df9061479e565b60405180910390fd5b5b50565b6000612a0d8473ffffffffffffffffffffffffffffffffffffffff16612d39565b15612b76578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a36611a37565b8786866040518563ffffffff1660e01b8152600401612a5894939291906144d0565b602060405180830381600087803b158015612a7257600080fd5b505af1925050508015612aa357506040513d601f19601f82011682018060405250810190612aa09190613476565b60015b612b26573d8060008114612ad3576040519150601f19603f3d011682016040523d82523d6000602084013e612ad8565b606091505b50600081511415612b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b159061461e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b7b565b600190505b949350505050565b612b8d8383612d4c565b612b9a60008484846129ec565b612bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd09061461e565b60405180910390fd5b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612c19576000600391509150612ce2565b601b8560ff1614158015612c315750601c8560ff1614155b15612c43576000600491509150612ce2565b600060018787878760405160008152602001604052604051612c689493929190614537565b6020604051602081039080840390855afa158015612c8a573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612cd957600060019250925050612ce2565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612d2b87828885612bde565b935093505050935093915050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db3906147de565b60405180910390fd5b612dc5816119cb565b15612e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfc9061465e565b60405180910390fd5b612e1160008383612613565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e619190614a0e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612f2690614c27565b90600052602060002090601f016020900481019282612f485760008555612f8f565b82601f10612f6157805160ff1916838001178555612f8f565b82800160010185558215612f8f579182015b82811115612f8e578251825591602001919060010190612f73565b5b509050612f9c9190612fa0565b5090565b5b80821115612fb9576000816000905550600101612fa1565b5090565b6000612fd0612fcb8461492a565b6148f9565b9050808382526020820190508260005b858110156130105781358501612ff68882613168565b845260208401935060208301925050600181019050612fe0565b5050509392505050565b600061302d61302884614956565b6148f9565b90508281526020810184848401111561304557600080fd5b613050848285614be5565b509392505050565b600061306b61306684614986565b6148f9565b90508281526020810184848401111561308357600080fd5b61308e848285614be5565b509392505050565b6000813590506130a581614d83565b92915050565b600082601f8301126130bc57600080fd5b81356130cc848260208601612fbd565b91505092915050565b6000813590506130e481614d9a565b92915050565b6000813590506130f981614db1565b92915050565b60008151905061310e81614db1565b92915050565b600082601f83011261312557600080fd5b813561313584826020860161301a565b91505092915050565b600082601f83011261314f57600080fd5b813561315f848260208601613058565b91505092915050565b600060a0828403121561317a57600080fd5b61318460a06148f9565b9050600082013567ffffffffffffffff8111156131a057600080fd5b6131ac8482850161313e565b600083015250602082013567ffffffffffffffff8111156131cc57600080fd5b6131d88482850161313e565b602083015250604082013567ffffffffffffffff8111156131f857600080fd5b6132048482850161313e565b604083015250606082013567ffffffffffffffff81111561322457600080fd5b6132308482850161313e565b606083015250608061324484828501613250565b60808301525092915050565b60008135905061325f81614dc8565b92915050565b60006020828403121561327757600080fd5b600061328584828501613096565b91505092915050565b600080604083850312156132a157600080fd5b60006132af85828601613096565b92505060206132c085828601613096565b9150509250929050565b6000806000606084860312156132df57600080fd5b60006132ed86828701613096565b93505060206132fe86828701613096565b925050604061330f86828701613250565b9150509250925092565b6000806000806080858703121561332f57600080fd5b600061333d87828801613096565b945050602061334e87828801613096565b935050604061335f87828801613250565b925050606085013567ffffffffffffffff81111561337c57600080fd5b61338887828801613114565b91505092959194509250565b600080604083850312156133a757600080fd5b60006133b585828601613096565b92505060206133c6858286016130d5565b9150509250929050565b600080604083850312156133e357600080fd5b60006133f185828601613096565b925050602061340285828601613250565b9150509250929050565b60006020828403121561341e57600080fd5b600082013567ffffffffffffffff81111561343857600080fd5b613444848285016130ab565b91505092915050565b60006020828403121561345f57600080fd5b600061346d848285016130ea565b91505092915050565b60006020828403121561348857600080fd5b6000613496848285016130ff565b91505092915050565b6000602082840312156134b157600080fd5b60006134bf84828501613250565b91505092915050565b600080600080600060a086880312156134e057600080fd5b60006134ee88828901613250565b95505060206134ff88828901613250565b945050604061351088828901613250565b935050606086013567ffffffffffffffff81111561352d57600080fd5b6135398882890161313e565b925050608086013567ffffffffffffffff81111561355657600080fd5b61356288828901613114565b9150509295509295909350565b61357881614b5a565b82525050565b61358781614b6c565b82525050565b61359681614b78565b82525050565b6135ad6135a882614b78565b614ca2565b82525050565b60006135be826149cb565b6135c881856149e1565b93506135d8818560208601614bf4565b6135e181614d72565b840191505092915050565b60006135f7826149d6565b61360181856149f2565b9350613611818560208601614bf4565b61361a81614d72565b840191505092915050565b6000613630826149d6565b61363a8185614a03565b935061364a818560208601614bf4565b80840191505092915050565b6000815461366381614c27565b61366d8186614a03565b945060018216600081146136885760018114613699576136cc565b60ff198316865281860193506136cc565b6136a2856149b6565b60005b838110156136c4578154818901526001820191506020810190506136a5565b838801955050505b50505092915050565b60006136e26018836149f2565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000613722601a83614a03565b91507f7b226e616d65223a2022426c6f636b6564636861696e202d20400000000000006000830152601a82019050919050565b60006137626014836149f2565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b60006137a2600f836149f2565b91507f444541444c494e455f50415353454400000000000000000000000000000000006000830152602082019050919050565b60006137e2601f836149f2565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b6000613822601c83614a03565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006138626032836149f2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006138c86026836149f2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061392e601c836149f2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061396e602f83614a03565b91507f29206f6e20547769747465722e205c6e205c6e5b426c6f636b2070726f76656e60008301527f616e63655d20205c6e54696d653a2000000000000000000000000000000000006020830152602f82019050919050565b60006139d4600383614a03565b91507f20282300000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b6000613a146024836149f2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a7a6019836149f2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613aba603683614a03565b91507f222c202261747472696275746573223a205b7b2274726169745f74797065223a60008301527f2022426c6f636b6572222c2276616c7565223a202240000000000000000000006020830152603682019050919050565b6000613b206022836149f2565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b86602c836149f2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613bec6010836149f2565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000613c2c6038836149f2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613c92602a836149f2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cf86029836149f2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d5e600b836149f2565b91507f494e56414c49445f5349470000000000000000000000000000000000000000006000830152602082019050919050565b6000613d9e6022836149f2565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e04600a836149f2565b91507f4e4f5f424c4f434b4552000000000000000000000000000000000000000000006000830152602082019050919050565b6000613e446020836149f2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613e84600d83614a03565b91507f222c2022696d616765223a2022000000000000000000000000000000000000006000830152600d82019050919050565b6000613ec4602c836149f2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613f2a6020836149f2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613f6a6029836149f2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fd0602f836149f2565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006140366021836149f2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061409c601d83614a03565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b60006140dc600c836149f2565b91507f424c4f434b5f45584953545300000000000000000000000000000000000000006000830152602082019050919050565b600061411c6031836149f2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614182600383614a03565b91507f20284000000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b60006141c2601883614a03565b91507f20205c6e426c6f636b656420547769747465722049443a2000000000000000006000830152601882019050919050565b6000614202604c83614a03565b91507f29222c20226465736372697074696f6e223a2022546865206d696e746572206f60008301527f66207468697320746f6b656e2077617320636f6e6669726d656420746f20626560208301527f20626c6f636b65642062792000000000000000000000000000000000000000006040830152604c82019050919050565b600061428e600483614a03565b91507f227d5d7d000000000000000000000000000000000000000000000000000000006000830152600482019050919050565b60006142ce601583614a03565b91507f222c2022616e696d6174696f6e5f75726c223a202200000000000000000000006000830152601582019050919050565b61430a81614bce565b82525050565b61432161431c82614bce565b614cac565b82525050565b61433081614bd8565b82525050565b600061434182613715565b915061434d828c613656565b9150614358826139c7565b9150614364828b613625565b915061436f826141f5565b915061437b828a613656565b915061438682614175565b91506143928289613656565b915061439d82613961565b91506143a98288613625565b91506143b4826141b5565b91506143c08287613625565b91506143cb82613e77565b91506143d78286613656565b91506143e2826142c1565b91506143ee8285613656565b91506143f982613aad565b91506144058284613656565b915061441082614281565b91508190509a9950505050505050505050565b600061442e82613815565b915061443a828461359c565b60208201915081905092915050565b60006144548261408f565b91506144608284613625565b915081905092915050565b60006144778287614310565b6020820191506144878286614310565b6020820191506144978285614310565b6020820191506144a78284613625565b915081905095945050505050565b60006020820190506144ca600083018461356f565b92915050565b60006080820190506144e5600083018761356f565b6144f2602083018661356f565b6144ff6040830185614301565b818103606083015261451181846135b3565b905095945050505050565b6000602082019050614531600083018461357e565b92915050565b600060808201905061454c600083018761358d565b6145596020830186614327565b614566604083018561358d565b614573606083018461358d565b95945050505050565b6000602082019050818103600083015261459681846135ec565b905092915050565b600060208201905081810360008301526145b7816136d5565b9050919050565b600060208201905081810360008301526145d781613755565b9050919050565b600060208201905081810360008301526145f781613795565b9050919050565b60006020820190508181036000830152614617816137d5565b9050919050565b6000602082019050818103600083015261463781613855565b9050919050565b60006020820190508181036000830152614657816138bb565b9050919050565b6000602082019050818103600083015261467781613921565b9050919050565b6000602082019050818103600083015261469781613a07565b9050919050565b600060208201905081810360008301526146b781613a6d565b9050919050565b600060208201905081810360008301526146d781613b13565b9050919050565b600060208201905081810360008301526146f781613b79565b9050919050565b6000602082019050818103600083015261471781613bdf565b9050919050565b6000602082019050818103600083015261473781613c1f565b9050919050565b6000602082019050818103600083015261475781613c85565b9050919050565b6000602082019050818103600083015261477781613ceb565b9050919050565b6000602082019050818103600083015261479781613d51565b9050919050565b600060208201905081810360008301526147b781613d91565b9050919050565b600060208201905081810360008301526147d781613df7565b9050919050565b600060208201905081810360008301526147f781613e37565b9050919050565b6000602082019050818103600083015261481781613eb7565b9050919050565b6000602082019050818103600083015261483781613f1d565b9050919050565b6000602082019050818103600083015261485781613f5d565b9050919050565b6000602082019050818103600083015261487781613fc3565b9050919050565b6000602082019050818103600083015261489781614029565b9050919050565b600060208201905081810360008301526148b7816140cf565b9050919050565b600060208201905081810360008301526148d78161410f565b9050919050565b60006020820190506148f36000830184614301565b92915050565b6000604051905081810181811067ffffffffffffffff821117156149205761491f614d43565b5b8060405250919050565b600067ffffffffffffffff82111561494557614944614d43565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561497157614970614d43565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156149a1576149a0614d43565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a1982614bce565b9150614a2483614bce565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a5957614a58614cb6565b5b828201905092915050565b6000614a6f82614bd8565b9150614a7a83614bd8565b92508260ff03821115614a9057614a8f614cb6565b5b828201905092915050565b6000614aa682614bce565b9150614ab183614bce565b925082614ac157614ac0614ce5565b5b828204905092915050565b6000614ad782614bce565b9150614ae283614bce565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b1b57614b1a614cb6565b5b828202905092915050565b6000614b3182614bce565b9150614b3c83614bce565b925082821015614b4f57614b4e614cb6565b5b828203905092915050565b6000614b6582614bae565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614c12578082015181840152602081019050614bf7565b83811115614c21576000848401525b50505050565b60006002820490506001821680614c3f57607f821691505b60208210811415614c5357614c52614d14565b5b50919050565b6000614c6482614bce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c9757614c96614cb6565b5b600182019050919050565b6000819050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614d8c81614b5a565b8114614d9757600080fd5b50565b614da381614b6c565b8114614dae57600080fd5b50565b614dba81614b82565b8114614dc557600080fd5b50565b614dd181614bce565b8114614ddc57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220053285ba75f7038f586b1a717570036be63a37ffce3606ebd3ef6326d4d0d6b164736f6c63430008000033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.