ERC-721
Overview
Max Total Supply
131 PORK1984-C2
Holders
57
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Pork1984ChapterII
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "./common/meta-transactions/ContentMixin.sol"; import "./common/meta-transactions/NativeMetaTransaction.sol"; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract Pork1984ChapterII is ERC721, ERC721Enumerable, Pausable, Ownable, ERC721Burnable, ContextMixin, NativeMetaTransaction { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string baseURI_; address proxyRegistryAddress; address genesisPork1984Address; mapping(uint256 => uint256) genesisTokensToChapter2MintedTokens; constructor(address _proxyRegistryAddress, address _genesisPork1984Address) ERC721("Pork1984 Chapter II", "PORK1984-C2") { proxyRegistryAddress = _proxyRegistryAddress; genesisPork1984Address = _genesisPork1984Address; setBaseURI("https://api.pork1984.io/api/chapter2/"); _tokenIdCounter.increment(); // start from 1 but not from 0 _pause(); } function _baseURI() internal view override returns (string memory) { return baseURI_; } function setBaseURI(string memory baseURI) public onlyOwner { baseURI_ = baseURI; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function getChapter2TokenIdForGenesisTokenId(uint256 genesisTokenId) public view returns(uint256) { return genesisTokensToChapter2MintedTokens[genesisTokenId]; } function canMintForGenesisToken(uint256 tokenId) public view returns(bool) { return genesisTokensToChapter2MintedTokens[tokenId] == 0; } function canMintForGenesisTokens(uint256[] memory genesisTokenIds) public view returns(bool) { for (uint256 i = 0; i < genesisTokenIds.length; i++) { if (!canMintForGenesisToken(genesisTokenIds[i])) { return false; } } return true; } function mintForGenesisToken(uint256 genesisTokenId) public whenNotPaused { require(canMintForGenesisToken(genesisTokenId), "Cannot mint a Chapter 2 token for given genesis token because it is already used"); IERC721 pork1984 = IERC721(genesisPork1984Address); require(pork1984.ownerOf(genesisTokenId) == msg.sender, "Cannot mint a Chapter 2 token for given genesis token because it is not yours"); uint256 tokenId = _tokenIdCounter.current(); genesisTokensToChapter2MintedTokens[genesisTokenId] = tokenId; _tokenIdCounter.increment(); _safeMint(msg.sender, tokenId); } function mintForGenesisTokens(uint256[] memory genesisTokenIds) public whenNotPaused { for (uint256 i = 0; i < genesisTokenIds.length; i++) { mintForGenesisToken(genesisTokenIds[i]); } } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal whenNotPaused override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } // The following functions are overrides required by Solidity. function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) override public view returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } /** * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea. */ function _msgSender() internal override view returns (address sender) { return ContextMixin.msgSender(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {SafeMath} from "openzeppelin-solidity/contracts/utils/math/SafeMath.sol"; import {EIP712Base} from "./EIP712Base.sol"; contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address payable relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted( userAddress, payable(msg.sender), functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = payable(msg.sender); } return sender; } }
// 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 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// 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 (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 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // 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 pragma solidity ^0.8.0; import {Initializable} from "./Initializable.sol"; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string constant public ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)" ) ); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contracts that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712( string memory name ) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash) ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // 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/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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/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/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 (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 (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 pragma solidity ^0.8.0; contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"address","name":"_genesisPork1984Address","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","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":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"canMintForGenesisToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"genesisTokenIds","type":"uint256[]"}],"name":"canMintForGenesisTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"genesisTokenId","type":"uint256"}],"name":"getChapter2TokenIdForGenesisTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"genesisTokenId","type":"uint256"}],"name":"mintForGenesisToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"genesisTokenIds","type":"uint256[]"}],"name":"mintForGenesisTokens","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":[],"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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a60156101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162005a1e38038062005a1e83398181016040528101906200005291906200061e565b6040518060400160405280601381526020017f506f726b313938342043686170746572204949000000000000000000000000008152506040518060400160405280600b81526020017f504f524b313938342d43320000000000000000000000000000000000000000008152508160009080519060200190620000d692919062000557565b508060019080519060200190620000ef92919062000557565b5050506000600a60006101000a81548160ff0219169083151502179055506200012d620001216200020860201b60201c565b6200022460201b60201c565b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001d9604051806060016040528060258152602001620059f960259139620002ea60201b60201c565b620001f0600d6200039560201b62001a221760201c565b62000200620003ab60201b60201c565b505062000840565b60006200021f6200046360201b62001a381760201c565b905090565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002fa6200020860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003206200051660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000379576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003709062000703565b60405180910390fd5b80600e90805190602001906200039192919062000557565b5050565b6001816000016000828254019250508190555050565b620003bb6200054060201b60201c565b15620003fe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003f590620006e1565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200044a6200020860201b60201c565b604051620004599190620006c4565b60405180910390a1565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156200050f57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505062000513565b3390505b90565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a60009054906101000a900460ff16905090565b82805462000565906200076a565b90600052602060002090601f016020900481019282620005895760008555620005d5565b82601f10620005a457805160ff1916838001178555620005d5565b82800160010185558215620005d5579182015b82811115620005d4578251825591602001919060010190620005b7565b5b509050620005e49190620005e8565b5090565b5b8082111562000603576000816000905550600101620005e9565b5090565b600081519050620006188162000826565b92915050565b60008060408385031215620006385762000637620007cf565b5b6000620006488582860162000607565b92505060206200065b8582860162000607565b9150509250929050565b620006708162000736565b82525050565b60006200068560108362000725565b91506200069282620007d4565b602082019050919050565b6000620006ac60208362000725565b9150620006b982620007fd565b602082019050919050565b6000602082019050620006db600083018462000665565b92915050565b60006020820190508181036000830152620006fc8162000676565b9050919050565b600060208201905081810360008301526200071e816200069d565b9050919050565b600082825260208201905092915050565b600062000743826200074a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200078357607f821691505b602082108114156200079a5762000799620007a0565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620008318162000736565b81146200083d57600080fd5b50565b6151a980620008506000396000f3fe6080604052600436106101f95760003560e01c8063588077781161010d5780638456cb59116100a0578063b88d4fde1161006f578063b88d4fde1461074c578063bfb060f514610775578063c87b56dd1461079e578063e985e9c5146107db578063f2fde38b14610818576101f9565b80638456cb59146106b65780638da5cb5b146106cd57806395d89b41146106f8578063a22cb46514610723576101f9565b8063684aa03e116100dc578063684aa03e146105fc57806370a0823114610639578063715018a61461067657806374d7d8811461068d576101f9565b8063588077781461051a5780635c975abb146105575780636352211e1461058257806364aee3d5146105bf576101f9565b806323b872dd116101905780633f4ba83a1161015f5780633f4ba83a1461044b57806342842e0e1461046257806342966c681461048b5780634f6ccce7146104b457806355f804b3146104f1576101f9565b806323b872dd1461037d5780632d0335ab146103a65780632f745c59146103e35780633408e47014610420576101f9565b80630c53c51c116101cc5780630c53c51c146102cc5780630f7e5970146102fc57806318160ddd1461032757806320379ee514610352576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b506102256004803603810190610220919061386d565b610841565b6040516102329190613fb6565b60405180910390f35b34801561024757600080fd5b50610250610853565b60405161025d9190614098565b60405180910390f35b34801561027257600080fd5b5061028d6004803603810190610288919061393d565b6108e5565b60405161029a9190613f11565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c591906137e4565b61096a565b005b6102e660048036038101906102e1919061374d565b610a82565b6040516102f39190614076565b60405180910390f35b34801561030857600080fd5b50610311610cf4565b60405161031e9190614098565b60405180910390f35b34801561033357600080fd5b5061033c610d2d565b60405161034991906143fa565b60405180910390f35b34801561035e57600080fd5b50610367610d3a565b6040516103749190613fd1565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f9190613637565b610d44565b005b3480156103b257600080fd5b506103cd60048036038101906103c8919061359d565b610da4565b6040516103da91906143fa565b60405180910390f35b3480156103ef57600080fd5b5061040a600480360381019061040591906137e4565b610ded565b60405161041791906143fa565b60405180910390f35b34801561042c57600080fd5b50610435610e92565b60405161044291906143fa565b60405180910390f35b34801561045757600080fd5b50610460610e9f565b005b34801561046e57600080fd5b5061048960048036038101906104849190613637565b610f25565b005b34801561049757600080fd5b506104b260048036038101906104ad919061393d565b610f45565b005b3480156104c057600080fd5b506104db60048036038101906104d6919061393d565b610fa1565b6040516104e891906143fa565b60405180910390f35b3480156104fd57600080fd5b50610518600480360381019061051391906138f4565b611012565b005b34801561052657600080fd5b50610541600480360381019061053c919061393d565b6110a8565b60405161054e9190613fb6565b60405180910390f35b34801561056357600080fd5b5061056c6110c7565b6040516105799190613fb6565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a4919061393d565b6110de565b6040516105b69190613f11565b60405180910390f35b3480156105cb57600080fd5b506105e660048036038101906105e19190613824565b611190565b6040516105f39190613fb6565b60405180910390f35b34801561060857600080fd5b50610623600480360381019061061e919061393d565b6111f0565b60405161063091906143fa565b60405180910390f35b34801561064557600080fd5b50610660600480360381019061065b919061359d565b61120d565b60405161066d91906143fa565b60405180910390f35b34801561068257600080fd5b5061068b6112c5565b005b34801561069957600080fd5b506106b460048036038101906106af919061393d565b61134d565b005b3480156106c257600080fd5b506106cb611539565b005b3480156106d957600080fd5b506106e26115bf565b6040516106ef9190613f11565b60405180910390f35b34801561070457600080fd5b5061070d6115e9565b60405161071a9190614098565b60405180910390f35b34801561072f57600080fd5b5061074a6004803603810190610745919061370d565b61167b565b005b34801561075857600080fd5b50610773600480360381019061076e919061368a565b611691565b005b34801561078157600080fd5b5061079c60048036038101906107979190613824565b6116f3565b005b3480156107aa57600080fd5b506107c560048036038101906107c0919061393d565b611781565b6040516107d29190614098565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd91906135f7565b611828565b60405161080f9190613fb6565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a919061359d565b61192a565b005b600061084c82611ae9565b9050919050565b606060008054610862906146c2565b80601f016020809104026020016040519081016040528092919081815260200182805461088e906146c2565b80156108db5780601f106108b0576101008083540402835291602001916108db565b820191906000526020600020905b8154815290600101906020018083116108be57829003601f168201915b5050505050905090565b60006108f082611b63565b61092f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610926906142da565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610975826110de565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dd9061437a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a05611bcf565b73ffffffffffffffffffffffffffffffffffffffff161480610a345750610a3381610a2e611bcf565b611828565b5b610a73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6a9061425a565b60405180910390fd5b610a7d8383611bde565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610b058782878787611c97565b610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b9061433a565b60405180910390fd5b610b976001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611da090919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610c0d93929190613f2c565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610c42929190613e8e565b604051602081830303815290604052604051610c5e9190613e77565b6000604051808303816000865af19150503d8060008114610c9b576040519150601f19603f3d011682016040523d82523d6000602084013e610ca0565b606091505b509150915081610ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdc9061415a565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600880549050905090565b6000600b54905090565b610d55610d4f611bcf565b82611db6565b610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b9061439a565b60405180910390fd5b610d9f838383611e94565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610df88361120d565b8210610e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e30906140fa565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000804690508091505090565b610ea7611bcf565b73ffffffffffffffffffffffffffffffffffffffff16610ec56115bf565b73ffffffffffffffffffffffffffffffffffffffff1614610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f12906142fa565b60405180910390fd5b610f236120f0565b565b610f4083838360405180602001604052806000815250611691565b505050565b610f56610f50611bcf565b82611db6565b610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c906143da565b60405180910390fd5b610f9e81612192565b50565b6000610fab610d2d565b8210610fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe3906143ba565b60405180910390fd5b6008828154811061100057610fff614889565b5b90600052602060002001549050919050565b61101a611bcf565b73ffffffffffffffffffffffffffffffffffffffff166110386115bf565b73ffffffffffffffffffffffffffffffffffffffff161461108e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611085906142fa565b60405180910390fd5b80600e90805190602001906110a49291906132bf565b5050565b6000806011600084815260200190815260200160002054149050919050565b6000600a60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117e9061429a565b60405180910390fd5b80915050919050565b600080600090505b82518110156111e5576111c48382815181106111b7576111b6614889565b5b60200260200101516110a8565b6111d25760009150506111eb565b80806111dd90614725565b915050611198565b50600190505b919050565b600060116000838152602001908152602001600020549050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561127e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112759061427a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112cd611bcf565b73ffffffffffffffffffffffffffffffffffffffff166112eb6115bf565b73ffffffffffffffffffffffffffffffffffffffff1614611341576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611338906142fa565b60405180910390fd5b61134b60006122a3565b565b6113556110c7565b15611395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138c9061423a565b60405180910390fd5b61139e816110a8565b6113dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d4906140ba565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161145491906143fa565b60206040518083038186803b15801561146c57600080fd5b505afa158015611480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a491906135ca565b73ffffffffffffffffffffffffffffffffffffffff16146114fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f19061417a565b60405180910390fd5b6000611506600d612369565b905080601160008581526020019081526020016000208190555061152a600d611a22565b6115343382612377565b505050565b611541611bcf565b73ffffffffffffffffffffffffffffffffffffffff1661155f6115bf565b73ffffffffffffffffffffffffffffffffffffffff16146115b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ac906142fa565b60405180910390fd5b6115bd612395565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115f8906146c2565b80601f0160208091040260200160405190810160405280929190818152602001828054611624906146c2565b80156116715780601f1061164657610100808354040283529160200191611671565b820191906000526020600020905b81548152906001019060200180831161165457829003601f168201915b5050505050905090565b61168d611686611bcf565b8383612438565b5050565b6116a261169c611bcf565b83611db6565b6116e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d89061439a565b60405180910390fd5b6116ed848484846125a5565b50505050565b6116fb6110c7565b1561173b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117329061423a565b60405180910390fd5b60005b815181101561177d5761176a82828151811061175d5761175c614889565b5b602002602001015161134d565b808061177590614725565b91505061173e565b5050565b606061178c82611b63565b6117cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c29061435a565b60405180910390fd5b60006117d5612601565b905060008151116117f55760405180602001604052806000815250611820565b806117ff84612693565b604051602001611810929190613eb6565b6040516020818303038152906040525b915050919050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016118a09190613f11565b60206040518083038186803b1580156118b857600080fd5b505afa1580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f091906138c7565b73ffffffffffffffffffffffffffffffffffffffff161415611916576001915050611924565b61192084846127f4565b9150505b92915050565b611932611bcf565b73ffffffffffffffffffffffffffffffffffffffff166119506115bf565b73ffffffffffffffffffffffffffffffffffffffff16146119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d906142fa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d9061413a565b60405180910390fd5b611a1f816122a3565b50565b6001816000016000828254019250508190555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611ae257600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050611ae6565b3390505b90565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b5c5750611b5b82612888565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000611bd9611a38565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c51836110de565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cff9061421a565b60405180910390fd5b6001611d1b611d168761296a565b6129d2565b83868660405160008152602001604052604051611d3b9493929190614031565b6020604051602081039080840390855afa158015611d5d573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60008183611dae9190614516565b905092915050565b6000611dc182611b63565b611e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df7906141fa565b60405180910390fd5b6000611e0b836110de565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e7a57508373ffffffffffffffffffffffffffffffffffffffff16611e62846108e5565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e8b5750611e8a8185611828565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611eb4826110de565b73ffffffffffffffffffffffffffffffffffffffff1614611f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f019061431a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f71906141ba565b60405180910390fd5b611f85838383612a0b565b611f90600082611bde565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fe0919061459d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120379190614516565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6120f86110c7565b612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e906140da565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61217b611bcf565b6040516121889190613f11565b60405180910390a1565b600061219d826110de565b90506121ab81600084612a0b565b6121b6600083611bde565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612206919061459d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b612391828260405180602001604052806000815250612a63565b5050565b61239d6110c7565b156123dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d49061423a565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612421611bcf565b60405161242e9190613f11565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249e906141da565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125989190613fb6565b60405180910390a3505050565b6125b0848484611e94565b6125bc84848484612abe565b6125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f29061411a565b60405180910390fd5b50505050565b6060600e8054612610906146c2565b80601f016020809104026020016040519081016040528092919081815260200182805461263c906146c2565b80156126895780601f1061265e57610100808354040283529160200191612689565b820191906000526020600020905b81548152906001019060200180831161266c57829003601f168201915b5050505050905090565b606060008214156126db576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127ef565b600082905060005b6000821461270d5780806126f690614725565b915050600a82612706919061456c565b91506126e3565b60008167ffffffffffffffff811115612729576127286148b8565b5b6040519080825280601f01601f19166020018201604052801561275b5781602001600182028036833780820191505090505b5090505b600085146127e857600182612774919061459d565b9150600a85612783919061479c565b603061278f9190614516565b60f81b8183815181106127a5576127a4614889565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127e1919061456c565b945061275f565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061295357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612963575061296282612c55565b5b9050919050565b60006040518060800160405280604381526020016151316043913980519060200120826000015183602001518460400151805190602001206040516020016129b59493929190613fec565b604051602081830303815290604052805190602001209050919050565b60006129dc610d3a565b826040516020016129ee929190613eda565b604051602081830303815290604052805190602001209050919050565b612a136110c7565b15612a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4a9061423a565b60405180910390fd5b612a5e838383612cbf565b505050565b612a6d8383612dd3565b612a7a6000848484612abe565b612ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab09061411a565b60405180910390fd5b505050565b6000612adf8473ffffffffffffffffffffffffffffffffffffffff16612fa1565b15612c48578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b08611bcf565b8786866040518563ffffffff1660e01b8152600401612b2a9493929190613f6a565b602060405180830381600087803b158015612b4457600080fd5b505af1925050508015612b7557506040513d601f19601f82011682018060405250810190612b72919061389a565b60015b612bf8573d8060008114612ba5576040519150601f19603f3d011682016040523d82523d6000602084013e612baa565b606091505b50600081511415612bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be79061411a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c4d565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cca838383612fb4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0d57612d0881612fb9565b612d4c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d4b57612d4a8382613002565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8f57612d8a8161316f565b612dce565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dcd57612dcc8282613240565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3a906142ba565b60405180910390fd5b612e4c81611b63565b15612e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e839061419a565b60405180910390fd5b612e9860008383612a0b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ee89190614516565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161300f8461120d565b613019919061459d565b90506000600760008481526020019081526020016000205490508181146130fe576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613183919061459d565b90506000600960008481526020019081526020016000205490506000600883815481106131b3576131b2614889565b5b9060005260206000200154905080600883815481106131d5576131d4614889565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806132245761322361485a565b5b6001900381819060005260206000200160009055905550505050565b600061324b8361120d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546132cb906146c2565b90600052602060002090601f0160209004810192826132ed5760008555613334565b82601f1061330657805160ff1916838001178555613334565b82800160010185558215613334579182015b82811115613333578251825591602001919060010190613318565b5b5090506133419190613345565b5090565b5b8082111561335e576000816000905550600101613346565b5090565b60006133756133708461443a565b614415565b90508083825260208201905082856020860282011115613398576133976148ec565b5b60005b858110156133c857816133ae8882613573565b84526020840193506020830192505060018101905061339b565b5050509392505050565b60006133e56133e084614466565b614415565b905082815260208101848484011115613401576134006148f1565b5b61340c848285614680565b509392505050565b600061342761342284614497565b614415565b905082815260208101848484011115613443576134426148f1565b5b61344e848285614680565b509392505050565b6000813590506134658161508f565b92915050565b60008151905061347a8161508f565b92915050565b600082601f830112613495576134946148e7565b5b81356134a5848260208601613362565b91505092915050565b6000813590506134bd816150a6565b92915050565b6000813590506134d2816150bd565b92915050565b6000813590506134e7816150d4565b92915050565b6000815190506134fc816150d4565b92915050565b600082601f830112613517576135166148e7565b5b81356135278482602086016133d2565b91505092915050565b60008151905061353f816150eb565b92915050565b600082601f83011261355a576135596148e7565b5b813561356a848260208601613414565b91505092915050565b60008135905061358281615102565b92915050565b60008135905061359781615119565b92915050565b6000602082840312156135b3576135b26148fb565b5b60006135c184828501613456565b91505092915050565b6000602082840312156135e0576135df6148fb565b5b60006135ee8482850161346b565b91505092915050565b6000806040838503121561360e5761360d6148fb565b5b600061361c85828601613456565b925050602061362d85828601613456565b9150509250929050565b6000806000606084860312156136505761364f6148fb565b5b600061365e86828701613456565b935050602061366f86828701613456565b925050604061368086828701613573565b9150509250925092565b600080600080608085870312156136a4576136a36148fb565b5b60006136b287828801613456565b94505060206136c387828801613456565b93505060406136d487828801613573565b925050606085013567ffffffffffffffff8111156136f5576136f46148f6565b5b61370187828801613502565b91505092959194509250565b60008060408385031215613724576137236148fb565b5b600061373285828601613456565b9250506020613743858286016134ae565b9150509250929050565b600080600080600060a08688031215613769576137686148fb565b5b600061377788828901613456565b955050602086013567ffffffffffffffff811115613798576137976148f6565b5b6137a488828901613502565b94505060406137b5888289016134c3565b93505060606137c6888289016134c3565b92505060806137d788828901613588565b9150509295509295909350565b600080604083850312156137fb576137fa6148fb565b5b600061380985828601613456565b925050602061381a85828601613573565b9150509250929050565b60006020828403121561383a576138396148fb565b5b600082013567ffffffffffffffff811115613858576138576148f6565b5b61386484828501613480565b91505092915050565b600060208284031215613883576138826148fb565b5b6000613891848285016134d8565b91505092915050565b6000602082840312156138b0576138af6148fb565b5b60006138be848285016134ed565b91505092915050565b6000602082840312156138dd576138dc6148fb565b5b60006138eb84828501613530565b91505092915050565b60006020828403121561390a576139096148fb565b5b600082013567ffffffffffffffff811115613928576139276148f6565b5b61393484828501613545565b91505092915050565b600060208284031215613953576139526148fb565b5b600061396184828501613573565b91505092915050565b613973816145e3565b82525050565b613982816145d1565b82525050565b613999613994826145d1565b61476e565b82525050565b6139a8816145f5565b82525050565b6139b781614601565b82525050565b6139ce6139c982614601565b614780565b82525050565b60006139df826144c8565b6139e981856144de565b93506139f981856020860161468f565b613a0281614900565b840191505092915050565b6000613a18826144c8565b613a2281856144ef565b9350613a3281856020860161468f565b80840191505092915050565b6000613a49826144d3565b613a5381856144fa565b9350613a6381856020860161468f565b613a6c81614900565b840191505092915050565b6000613a82826144d3565b613a8c818561450b565b9350613a9c81856020860161468f565b80840191505092915050565b6000613ab56050836144fa565b9150613ac08261491e565b606082019050919050565b6000613ad86014836144fa565b9150613ae382614993565b602082019050919050565b6000613afb602b836144fa565b9150613b06826149bc565b604082019050919050565b6000613b1e6032836144fa565b9150613b2982614a0b565b604082019050919050565b6000613b416026836144fa565b9150613b4c82614a5a565b604082019050919050565b6000613b64601c836144fa565b9150613b6f82614aa9565b602082019050919050565b6000613b87604d836144fa565b9150613b9282614ad2565b606082019050919050565b6000613baa601c836144fa565b9150613bb582614b47565b602082019050919050565b6000613bcd60028361450b565b9150613bd882614b70565b600282019050919050565b6000613bf06024836144fa565b9150613bfb82614b99565b604082019050919050565b6000613c136019836144fa565b9150613c1e82614be8565b602082019050919050565b6000613c36602c836144fa565b9150613c4182614c11565b604082019050919050565b6000613c596025836144fa565b9150613c6482614c60565b604082019050919050565b6000613c7c6010836144fa565b9150613c8782614caf565b602082019050919050565b6000613c9f6038836144fa565b9150613caa82614cd8565b604082019050919050565b6000613cc2602a836144fa565b9150613ccd82614d27565b604082019050919050565b6000613ce56029836144fa565b9150613cf082614d76565b604082019050919050565b6000613d086020836144fa565b9150613d1382614dc5565b602082019050919050565b6000613d2b602c836144fa565b9150613d3682614dee565b604082019050919050565b6000613d4e6020836144fa565b9150613d5982614e3d565b602082019050919050565b6000613d716029836144fa565b9150613d7c82614e66565b604082019050919050565b6000613d946021836144fa565b9150613d9f82614eb5565b604082019050919050565b6000613db7602f836144fa565b9150613dc282614f04565b604082019050919050565b6000613dda6021836144fa565b9150613de582614f53565b604082019050919050565b6000613dfd6031836144fa565b9150613e0882614fa2565b604082019050919050565b6000613e20602c836144fa565b9150613e2b82614ff1565b604082019050919050565b6000613e436030836144fa565b9150613e4e82615040565b604082019050919050565b613e6281614669565b82525050565b613e7181614673565b82525050565b6000613e838284613a0d565b915081905092915050565b6000613e9a8285613a0d565b9150613ea68284613988565b6014820191508190509392505050565b6000613ec28285613a77565b9150613ece8284613a77565b91508190509392505050565b6000613ee582613bc0565b9150613ef182856139bd565b602082019150613f0182846139bd565b6020820191508190509392505050565b6000602082019050613f266000830184613979565b92915050565b6000606082019050613f416000830186613979565b613f4e602083018561396a565b8181036040830152613f6081846139d4565b9050949350505050565b6000608082019050613f7f6000830187613979565b613f8c6020830186613979565b613f996040830185613e59565b8181036060830152613fab81846139d4565b905095945050505050565b6000602082019050613fcb600083018461399f565b92915050565b6000602082019050613fe660008301846139ae565b92915050565b600060808201905061400160008301876139ae565b61400e6020830186613e59565b61401b6040830185613979565b61402860608301846139ae565b95945050505050565b600060808201905061404660008301876139ae565b6140536020830186613e68565b61406060408301856139ae565b61406d60608301846139ae565b95945050505050565b6000602082019050818103600083015261409081846139d4565b905092915050565b600060208201905081810360008301526140b28184613a3e565b905092915050565b600060208201905081810360008301526140d381613aa8565b9050919050565b600060208201905081810360008301526140f381613acb565b9050919050565b6000602082019050818103600083015261411381613aee565b9050919050565b6000602082019050818103600083015261413381613b11565b9050919050565b6000602082019050818103600083015261415381613b34565b9050919050565b6000602082019050818103600083015261417381613b57565b9050919050565b6000602082019050818103600083015261419381613b7a565b9050919050565b600060208201905081810360008301526141b381613b9d565b9050919050565b600060208201905081810360008301526141d381613be3565b9050919050565b600060208201905081810360008301526141f381613c06565b9050919050565b6000602082019050818103600083015261421381613c29565b9050919050565b6000602082019050818103600083015261423381613c4c565b9050919050565b6000602082019050818103600083015261425381613c6f565b9050919050565b6000602082019050818103600083015261427381613c92565b9050919050565b6000602082019050818103600083015261429381613cb5565b9050919050565b600060208201905081810360008301526142b381613cd8565b9050919050565b600060208201905081810360008301526142d381613cfb565b9050919050565b600060208201905081810360008301526142f381613d1e565b9050919050565b6000602082019050818103600083015261431381613d41565b9050919050565b6000602082019050818103600083015261433381613d64565b9050919050565b6000602082019050818103600083015261435381613d87565b9050919050565b6000602082019050818103600083015261437381613daa565b9050919050565b6000602082019050818103600083015261439381613dcd565b9050919050565b600060208201905081810360008301526143b381613df0565b9050919050565b600060208201905081810360008301526143d381613e13565b9050919050565b600060208201905081810360008301526143f381613e36565b9050919050565b600060208201905061440f6000830184613e59565b92915050565b600061441f614430565b905061442b82826146f4565b919050565b6000604051905090565b600067ffffffffffffffff821115614455576144546148b8565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614481576144806148b8565b5b61448a82614900565b9050602081019050919050565b600067ffffffffffffffff8211156144b2576144b16148b8565b5b6144bb82614900565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061452182614669565b915061452c83614669565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614561576145606147cd565b5b828201905092915050565b600061457782614669565b915061458283614669565b925082614592576145916147fc565b5b828204905092915050565b60006145a882614669565b91506145b383614669565b9250828210156145c6576145c56147cd565b5b828203905092915050565b60006145dc82614649565b9050919050565b60006145ee82614649565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614642826145d1565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156146ad578082015181840152602081019050614692565b838111156146bc576000848401525b50505050565b600060028204905060018216806146da57607f821691505b602082108114156146ee576146ed61482b565b5b50919050565b6146fd82614900565b810181811067ffffffffffffffff8211171561471c5761471b6148b8565b5b80604052505050565b600061473082614669565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614763576147626147cd565b5b600182019050919050565b60006147798261478a565b9050919050565b6000819050919050565b600061479582614911565b9050919050565b60006147a782614669565b91506147b283614669565b9250826147c2576147c16147fc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f43616e6e6f74206d696e7420612043686170746572203220746f6b656e20666f60008201527f7220676976656e2067656e6573697320746f6b656e206265636175736520697460208201527f20697320616c7265616479207573656400000000000000000000000000000000604082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f43616e6e6f74206d696e7420612043686170746572203220746f6b656e20666f60008201527f7220676976656e2067656e6573697320746f6b656e206265636175736520697460208201527f206973206e6f7420796f75727300000000000000000000000000000000000000604082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615098816145d1565b81146150a357600080fd5b50565b6150af816145f5565b81146150ba57600080fd5b50565b6150c681614601565b81146150d157600080fd5b50565b6150dd8161460b565b81146150e857600080fd5b50565b6150f481614637565b81146150ff57600080fd5b50565b61510b81614669565b811461511657600080fd5b50565b61512281614673565b811461512d57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212202a3add699f2b4c2848919ca302ba38fc7cb2f6fc1801b4e784f7f991632bc40964736f6c6343000807003368747470733a2f2f6170692e706f726b313938342e696f2f6170692f63686170746572322f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000014a2dff3b2fb4dffa35b2006e84bf1cbb0ac4bba
Deployed Bytecode
0x6080604052600436106101f95760003560e01c8063588077781161010d5780638456cb59116100a0578063b88d4fde1161006f578063b88d4fde1461074c578063bfb060f514610775578063c87b56dd1461079e578063e985e9c5146107db578063f2fde38b14610818576101f9565b80638456cb59146106b65780638da5cb5b146106cd57806395d89b41146106f8578063a22cb46514610723576101f9565b8063684aa03e116100dc578063684aa03e146105fc57806370a0823114610639578063715018a61461067657806374d7d8811461068d576101f9565b8063588077781461051a5780635c975abb146105575780636352211e1461058257806364aee3d5146105bf576101f9565b806323b872dd116101905780633f4ba83a1161015f5780633f4ba83a1461044b57806342842e0e1461046257806342966c681461048b5780634f6ccce7146104b457806355f804b3146104f1576101f9565b806323b872dd1461037d5780632d0335ab146103a65780632f745c59146103e35780633408e47014610420576101f9565b80630c53c51c116101cc5780630c53c51c146102cc5780630f7e5970146102fc57806318160ddd1461032757806320379ee514610352576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b506102256004803603810190610220919061386d565b610841565b6040516102329190613fb6565b60405180910390f35b34801561024757600080fd5b50610250610853565b60405161025d9190614098565b60405180910390f35b34801561027257600080fd5b5061028d6004803603810190610288919061393d565b6108e5565b60405161029a9190613f11565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c591906137e4565b61096a565b005b6102e660048036038101906102e1919061374d565b610a82565b6040516102f39190614076565b60405180910390f35b34801561030857600080fd5b50610311610cf4565b60405161031e9190614098565b60405180910390f35b34801561033357600080fd5b5061033c610d2d565b60405161034991906143fa565b60405180910390f35b34801561035e57600080fd5b50610367610d3a565b6040516103749190613fd1565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f9190613637565b610d44565b005b3480156103b257600080fd5b506103cd60048036038101906103c8919061359d565b610da4565b6040516103da91906143fa565b60405180910390f35b3480156103ef57600080fd5b5061040a600480360381019061040591906137e4565b610ded565b60405161041791906143fa565b60405180910390f35b34801561042c57600080fd5b50610435610e92565b60405161044291906143fa565b60405180910390f35b34801561045757600080fd5b50610460610e9f565b005b34801561046e57600080fd5b5061048960048036038101906104849190613637565b610f25565b005b34801561049757600080fd5b506104b260048036038101906104ad919061393d565b610f45565b005b3480156104c057600080fd5b506104db60048036038101906104d6919061393d565b610fa1565b6040516104e891906143fa565b60405180910390f35b3480156104fd57600080fd5b50610518600480360381019061051391906138f4565b611012565b005b34801561052657600080fd5b50610541600480360381019061053c919061393d565b6110a8565b60405161054e9190613fb6565b60405180910390f35b34801561056357600080fd5b5061056c6110c7565b6040516105799190613fb6565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a4919061393d565b6110de565b6040516105b69190613f11565b60405180910390f35b3480156105cb57600080fd5b506105e660048036038101906105e19190613824565b611190565b6040516105f39190613fb6565b60405180910390f35b34801561060857600080fd5b50610623600480360381019061061e919061393d565b6111f0565b60405161063091906143fa565b60405180910390f35b34801561064557600080fd5b50610660600480360381019061065b919061359d565b61120d565b60405161066d91906143fa565b60405180910390f35b34801561068257600080fd5b5061068b6112c5565b005b34801561069957600080fd5b506106b460048036038101906106af919061393d565b61134d565b005b3480156106c257600080fd5b506106cb611539565b005b3480156106d957600080fd5b506106e26115bf565b6040516106ef9190613f11565b60405180910390f35b34801561070457600080fd5b5061070d6115e9565b60405161071a9190614098565b60405180910390f35b34801561072f57600080fd5b5061074a6004803603810190610745919061370d565b61167b565b005b34801561075857600080fd5b50610773600480360381019061076e919061368a565b611691565b005b34801561078157600080fd5b5061079c60048036038101906107979190613824565b6116f3565b005b3480156107aa57600080fd5b506107c560048036038101906107c0919061393d565b611781565b6040516107d29190614098565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd91906135f7565b611828565b60405161080f9190613fb6565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a919061359d565b61192a565b005b600061084c82611ae9565b9050919050565b606060008054610862906146c2565b80601f016020809104026020016040519081016040528092919081815260200182805461088e906146c2565b80156108db5780601f106108b0576101008083540402835291602001916108db565b820191906000526020600020905b8154815290600101906020018083116108be57829003601f168201915b5050505050905090565b60006108f082611b63565b61092f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610926906142da565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610975826110de565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dd9061437a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a05611bcf565b73ffffffffffffffffffffffffffffffffffffffff161480610a345750610a3381610a2e611bcf565b611828565b5b610a73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6a9061425a565b60405180910390fd5b610a7d8383611bde565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610b058782878787611c97565b610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b9061433a565b60405180910390fd5b610b976001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611da090919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610c0d93929190613f2c565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610c42929190613e8e565b604051602081830303815290604052604051610c5e9190613e77565b6000604051808303816000865af19150503d8060008114610c9b576040519150601f19603f3d011682016040523d82523d6000602084013e610ca0565b606091505b509150915081610ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdc9061415a565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600880549050905090565b6000600b54905090565b610d55610d4f611bcf565b82611db6565b610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b9061439a565b60405180910390fd5b610d9f838383611e94565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610df88361120d565b8210610e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e30906140fa565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000804690508091505090565b610ea7611bcf565b73ffffffffffffffffffffffffffffffffffffffff16610ec56115bf565b73ffffffffffffffffffffffffffffffffffffffff1614610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f12906142fa565b60405180910390fd5b610f236120f0565b565b610f4083838360405180602001604052806000815250611691565b505050565b610f56610f50611bcf565b82611db6565b610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c906143da565b60405180910390fd5b610f9e81612192565b50565b6000610fab610d2d565b8210610fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe3906143ba565b60405180910390fd5b6008828154811061100057610fff614889565b5b90600052602060002001549050919050565b61101a611bcf565b73ffffffffffffffffffffffffffffffffffffffff166110386115bf565b73ffffffffffffffffffffffffffffffffffffffff161461108e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611085906142fa565b60405180910390fd5b80600e90805190602001906110a49291906132bf565b5050565b6000806011600084815260200190815260200160002054149050919050565b6000600a60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117e9061429a565b60405180910390fd5b80915050919050565b600080600090505b82518110156111e5576111c48382815181106111b7576111b6614889565b5b60200260200101516110a8565b6111d25760009150506111eb565b80806111dd90614725565b915050611198565b50600190505b919050565b600060116000838152602001908152602001600020549050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561127e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112759061427a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112cd611bcf565b73ffffffffffffffffffffffffffffffffffffffff166112eb6115bf565b73ffffffffffffffffffffffffffffffffffffffff1614611341576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611338906142fa565b60405180910390fd5b61134b60006122a3565b565b6113556110c7565b15611395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138c9061423a565b60405180910390fd5b61139e816110a8565b6113dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d4906140ba565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161145491906143fa565b60206040518083038186803b15801561146c57600080fd5b505afa158015611480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a491906135ca565b73ffffffffffffffffffffffffffffffffffffffff16146114fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f19061417a565b60405180910390fd5b6000611506600d612369565b905080601160008581526020019081526020016000208190555061152a600d611a22565b6115343382612377565b505050565b611541611bcf565b73ffffffffffffffffffffffffffffffffffffffff1661155f6115bf565b73ffffffffffffffffffffffffffffffffffffffff16146115b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ac906142fa565b60405180910390fd5b6115bd612395565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115f8906146c2565b80601f0160208091040260200160405190810160405280929190818152602001828054611624906146c2565b80156116715780601f1061164657610100808354040283529160200191611671565b820191906000526020600020905b81548152906001019060200180831161165457829003601f168201915b5050505050905090565b61168d611686611bcf565b8383612438565b5050565b6116a261169c611bcf565b83611db6565b6116e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d89061439a565b60405180910390fd5b6116ed848484846125a5565b50505050565b6116fb6110c7565b1561173b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117329061423a565b60405180910390fd5b60005b815181101561177d5761176a82828151811061175d5761175c614889565b5b602002602001015161134d565b808061177590614725565b91505061173e565b5050565b606061178c82611b63565b6117cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c29061435a565b60405180910390fd5b60006117d5612601565b905060008151116117f55760405180602001604052806000815250611820565b806117ff84612693565b604051602001611810929190613eb6565b6040516020818303038152906040525b915050919050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016118a09190613f11565b60206040518083038186803b1580156118b857600080fd5b505afa1580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f091906138c7565b73ffffffffffffffffffffffffffffffffffffffff161415611916576001915050611924565b61192084846127f4565b9150505b92915050565b611932611bcf565b73ffffffffffffffffffffffffffffffffffffffff166119506115bf565b73ffffffffffffffffffffffffffffffffffffffff16146119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d906142fa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d9061413a565b60405180910390fd5b611a1f816122a3565b50565b6001816000016000828254019250508190555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611ae257600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050611ae6565b3390505b90565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b5c5750611b5b82612888565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000611bd9611a38565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c51836110de565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cff9061421a565b60405180910390fd5b6001611d1b611d168761296a565b6129d2565b83868660405160008152602001604052604051611d3b9493929190614031565b6020604051602081039080840390855afa158015611d5d573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60008183611dae9190614516565b905092915050565b6000611dc182611b63565b611e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df7906141fa565b60405180910390fd5b6000611e0b836110de565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e7a57508373ffffffffffffffffffffffffffffffffffffffff16611e62846108e5565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e8b5750611e8a8185611828565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611eb4826110de565b73ffffffffffffffffffffffffffffffffffffffff1614611f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f019061431a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f71906141ba565b60405180910390fd5b611f85838383612a0b565b611f90600082611bde565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fe0919061459d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120379190614516565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6120f86110c7565b612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e906140da565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61217b611bcf565b6040516121889190613f11565b60405180910390a1565b600061219d826110de565b90506121ab81600084612a0b565b6121b6600083611bde565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612206919061459d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b612391828260405180602001604052806000815250612a63565b5050565b61239d6110c7565b156123dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d49061423a565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612421611bcf565b60405161242e9190613f11565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249e906141da565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125989190613fb6565b60405180910390a3505050565b6125b0848484611e94565b6125bc84848484612abe565b6125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f29061411a565b60405180910390fd5b50505050565b6060600e8054612610906146c2565b80601f016020809104026020016040519081016040528092919081815260200182805461263c906146c2565b80156126895780601f1061265e57610100808354040283529160200191612689565b820191906000526020600020905b81548152906001019060200180831161266c57829003601f168201915b5050505050905090565b606060008214156126db576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127ef565b600082905060005b6000821461270d5780806126f690614725565b915050600a82612706919061456c565b91506126e3565b60008167ffffffffffffffff811115612729576127286148b8565b5b6040519080825280601f01601f19166020018201604052801561275b5781602001600182028036833780820191505090505b5090505b600085146127e857600182612774919061459d565b9150600a85612783919061479c565b603061278f9190614516565b60f81b8183815181106127a5576127a4614889565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127e1919061456c565b945061275f565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061295357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612963575061296282612c55565b5b9050919050565b60006040518060800160405280604381526020016151316043913980519060200120826000015183602001518460400151805190602001206040516020016129b59493929190613fec565b604051602081830303815290604052805190602001209050919050565b60006129dc610d3a565b826040516020016129ee929190613eda565b604051602081830303815290604052805190602001209050919050565b612a136110c7565b15612a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4a9061423a565b60405180910390fd5b612a5e838383612cbf565b505050565b612a6d8383612dd3565b612a7a6000848484612abe565b612ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab09061411a565b60405180910390fd5b505050565b6000612adf8473ffffffffffffffffffffffffffffffffffffffff16612fa1565b15612c48578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b08611bcf565b8786866040518563ffffffff1660e01b8152600401612b2a9493929190613f6a565b602060405180830381600087803b158015612b4457600080fd5b505af1925050508015612b7557506040513d601f19601f82011682018060405250810190612b72919061389a565b60015b612bf8573d8060008114612ba5576040519150601f19603f3d011682016040523d82523d6000602084013e612baa565b606091505b50600081511415612bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be79061411a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c4d565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cca838383612fb4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0d57612d0881612fb9565b612d4c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d4b57612d4a8382613002565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8f57612d8a8161316f565b612dce565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dcd57612dcc8282613240565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3a906142ba565b60405180910390fd5b612e4c81611b63565b15612e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e839061419a565b60405180910390fd5b612e9860008383612a0b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ee89190614516565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161300f8461120d565b613019919061459d565b90506000600760008481526020019081526020016000205490508181146130fe576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613183919061459d565b90506000600960008481526020019081526020016000205490506000600883815481106131b3576131b2614889565b5b9060005260206000200154905080600883815481106131d5576131d4614889565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806132245761322361485a565b5b6001900381819060005260206000200160009055905550505050565b600061324b8361120d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546132cb906146c2565b90600052602060002090601f0160209004810192826132ed5760008555613334565b82601f1061330657805160ff1916838001178555613334565b82800160010185558215613334579182015b82811115613333578251825591602001919060010190613318565b5b5090506133419190613345565b5090565b5b8082111561335e576000816000905550600101613346565b5090565b60006133756133708461443a565b614415565b90508083825260208201905082856020860282011115613398576133976148ec565b5b60005b858110156133c857816133ae8882613573565b84526020840193506020830192505060018101905061339b565b5050509392505050565b60006133e56133e084614466565b614415565b905082815260208101848484011115613401576134006148f1565b5b61340c848285614680565b509392505050565b600061342761342284614497565b614415565b905082815260208101848484011115613443576134426148f1565b5b61344e848285614680565b509392505050565b6000813590506134658161508f565b92915050565b60008151905061347a8161508f565b92915050565b600082601f830112613495576134946148e7565b5b81356134a5848260208601613362565b91505092915050565b6000813590506134bd816150a6565b92915050565b6000813590506134d2816150bd565b92915050565b6000813590506134e7816150d4565b92915050565b6000815190506134fc816150d4565b92915050565b600082601f830112613517576135166148e7565b5b81356135278482602086016133d2565b91505092915050565b60008151905061353f816150eb565b92915050565b600082601f83011261355a576135596148e7565b5b813561356a848260208601613414565b91505092915050565b60008135905061358281615102565b92915050565b60008135905061359781615119565b92915050565b6000602082840312156135b3576135b26148fb565b5b60006135c184828501613456565b91505092915050565b6000602082840312156135e0576135df6148fb565b5b60006135ee8482850161346b565b91505092915050565b6000806040838503121561360e5761360d6148fb565b5b600061361c85828601613456565b925050602061362d85828601613456565b9150509250929050565b6000806000606084860312156136505761364f6148fb565b5b600061365e86828701613456565b935050602061366f86828701613456565b925050604061368086828701613573565b9150509250925092565b600080600080608085870312156136a4576136a36148fb565b5b60006136b287828801613456565b94505060206136c387828801613456565b93505060406136d487828801613573565b925050606085013567ffffffffffffffff8111156136f5576136f46148f6565b5b61370187828801613502565b91505092959194509250565b60008060408385031215613724576137236148fb565b5b600061373285828601613456565b9250506020613743858286016134ae565b9150509250929050565b600080600080600060a08688031215613769576137686148fb565b5b600061377788828901613456565b955050602086013567ffffffffffffffff811115613798576137976148f6565b5b6137a488828901613502565b94505060406137b5888289016134c3565b93505060606137c6888289016134c3565b92505060806137d788828901613588565b9150509295509295909350565b600080604083850312156137fb576137fa6148fb565b5b600061380985828601613456565b925050602061381a85828601613573565b9150509250929050565b60006020828403121561383a576138396148fb565b5b600082013567ffffffffffffffff811115613858576138576148f6565b5b61386484828501613480565b91505092915050565b600060208284031215613883576138826148fb565b5b6000613891848285016134d8565b91505092915050565b6000602082840312156138b0576138af6148fb565b5b60006138be848285016134ed565b91505092915050565b6000602082840312156138dd576138dc6148fb565b5b60006138eb84828501613530565b91505092915050565b60006020828403121561390a576139096148fb565b5b600082013567ffffffffffffffff811115613928576139276148f6565b5b61393484828501613545565b91505092915050565b600060208284031215613953576139526148fb565b5b600061396184828501613573565b91505092915050565b613973816145e3565b82525050565b613982816145d1565b82525050565b613999613994826145d1565b61476e565b82525050565b6139a8816145f5565b82525050565b6139b781614601565b82525050565b6139ce6139c982614601565b614780565b82525050565b60006139df826144c8565b6139e981856144de565b93506139f981856020860161468f565b613a0281614900565b840191505092915050565b6000613a18826144c8565b613a2281856144ef565b9350613a3281856020860161468f565b80840191505092915050565b6000613a49826144d3565b613a5381856144fa565b9350613a6381856020860161468f565b613a6c81614900565b840191505092915050565b6000613a82826144d3565b613a8c818561450b565b9350613a9c81856020860161468f565b80840191505092915050565b6000613ab56050836144fa565b9150613ac08261491e565b606082019050919050565b6000613ad86014836144fa565b9150613ae382614993565b602082019050919050565b6000613afb602b836144fa565b9150613b06826149bc565b604082019050919050565b6000613b1e6032836144fa565b9150613b2982614a0b565b604082019050919050565b6000613b416026836144fa565b9150613b4c82614a5a565b604082019050919050565b6000613b64601c836144fa565b9150613b6f82614aa9565b602082019050919050565b6000613b87604d836144fa565b9150613b9282614ad2565b606082019050919050565b6000613baa601c836144fa565b9150613bb582614b47565b602082019050919050565b6000613bcd60028361450b565b9150613bd882614b70565b600282019050919050565b6000613bf06024836144fa565b9150613bfb82614b99565b604082019050919050565b6000613c136019836144fa565b9150613c1e82614be8565b602082019050919050565b6000613c36602c836144fa565b9150613c4182614c11565b604082019050919050565b6000613c596025836144fa565b9150613c6482614c60565b604082019050919050565b6000613c7c6010836144fa565b9150613c8782614caf565b602082019050919050565b6000613c9f6038836144fa565b9150613caa82614cd8565b604082019050919050565b6000613cc2602a836144fa565b9150613ccd82614d27565b604082019050919050565b6000613ce56029836144fa565b9150613cf082614d76565b604082019050919050565b6000613d086020836144fa565b9150613d1382614dc5565b602082019050919050565b6000613d2b602c836144fa565b9150613d3682614dee565b604082019050919050565b6000613d4e6020836144fa565b9150613d5982614e3d565b602082019050919050565b6000613d716029836144fa565b9150613d7c82614e66565b604082019050919050565b6000613d946021836144fa565b9150613d9f82614eb5565b604082019050919050565b6000613db7602f836144fa565b9150613dc282614f04565b604082019050919050565b6000613dda6021836144fa565b9150613de582614f53565b604082019050919050565b6000613dfd6031836144fa565b9150613e0882614fa2565b604082019050919050565b6000613e20602c836144fa565b9150613e2b82614ff1565b604082019050919050565b6000613e436030836144fa565b9150613e4e82615040565b604082019050919050565b613e6281614669565b82525050565b613e7181614673565b82525050565b6000613e838284613a0d565b915081905092915050565b6000613e9a8285613a0d565b9150613ea68284613988565b6014820191508190509392505050565b6000613ec28285613a77565b9150613ece8284613a77565b91508190509392505050565b6000613ee582613bc0565b9150613ef182856139bd565b602082019150613f0182846139bd565b6020820191508190509392505050565b6000602082019050613f266000830184613979565b92915050565b6000606082019050613f416000830186613979565b613f4e602083018561396a565b8181036040830152613f6081846139d4565b9050949350505050565b6000608082019050613f7f6000830187613979565b613f8c6020830186613979565b613f996040830185613e59565b8181036060830152613fab81846139d4565b905095945050505050565b6000602082019050613fcb600083018461399f565b92915050565b6000602082019050613fe660008301846139ae565b92915050565b600060808201905061400160008301876139ae565b61400e6020830186613e59565b61401b6040830185613979565b61402860608301846139ae565b95945050505050565b600060808201905061404660008301876139ae565b6140536020830186613e68565b61406060408301856139ae565b61406d60608301846139ae565b95945050505050565b6000602082019050818103600083015261409081846139d4565b905092915050565b600060208201905081810360008301526140b28184613a3e565b905092915050565b600060208201905081810360008301526140d381613aa8565b9050919050565b600060208201905081810360008301526140f381613acb565b9050919050565b6000602082019050818103600083015261411381613aee565b9050919050565b6000602082019050818103600083015261413381613b11565b9050919050565b6000602082019050818103600083015261415381613b34565b9050919050565b6000602082019050818103600083015261417381613b57565b9050919050565b6000602082019050818103600083015261419381613b7a565b9050919050565b600060208201905081810360008301526141b381613b9d565b9050919050565b600060208201905081810360008301526141d381613be3565b9050919050565b600060208201905081810360008301526141f381613c06565b9050919050565b6000602082019050818103600083015261421381613c29565b9050919050565b6000602082019050818103600083015261423381613c4c565b9050919050565b6000602082019050818103600083015261425381613c6f565b9050919050565b6000602082019050818103600083015261427381613c92565b9050919050565b6000602082019050818103600083015261429381613cb5565b9050919050565b600060208201905081810360008301526142b381613cd8565b9050919050565b600060208201905081810360008301526142d381613cfb565b9050919050565b600060208201905081810360008301526142f381613d1e565b9050919050565b6000602082019050818103600083015261431381613d41565b9050919050565b6000602082019050818103600083015261433381613d64565b9050919050565b6000602082019050818103600083015261435381613d87565b9050919050565b6000602082019050818103600083015261437381613daa565b9050919050565b6000602082019050818103600083015261439381613dcd565b9050919050565b600060208201905081810360008301526143b381613df0565b9050919050565b600060208201905081810360008301526143d381613e13565b9050919050565b600060208201905081810360008301526143f381613e36565b9050919050565b600060208201905061440f6000830184613e59565b92915050565b600061441f614430565b905061442b82826146f4565b919050565b6000604051905090565b600067ffffffffffffffff821115614455576144546148b8565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614481576144806148b8565b5b61448a82614900565b9050602081019050919050565b600067ffffffffffffffff8211156144b2576144b16148b8565b5b6144bb82614900565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061452182614669565b915061452c83614669565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614561576145606147cd565b5b828201905092915050565b600061457782614669565b915061458283614669565b925082614592576145916147fc565b5b828204905092915050565b60006145a882614669565b91506145b383614669565b9250828210156145c6576145c56147cd565b5b828203905092915050565b60006145dc82614649565b9050919050565b60006145ee82614649565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614642826145d1565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156146ad578082015181840152602081019050614692565b838111156146bc576000848401525b50505050565b600060028204905060018216806146da57607f821691505b602082108114156146ee576146ed61482b565b5b50919050565b6146fd82614900565b810181811067ffffffffffffffff8211171561471c5761471b6148b8565b5b80604052505050565b600061473082614669565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614763576147626147cd565b5b600182019050919050565b60006147798261478a565b9050919050565b6000819050919050565b600061479582614911565b9050919050565b60006147a782614669565b91506147b283614669565b9250826147c2576147c16147fc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f43616e6e6f74206d696e7420612043686170746572203220746f6b656e20666f60008201527f7220676976656e2067656e6573697320746f6b656e206265636175736520697460208201527f20697320616c7265616479207573656400000000000000000000000000000000604082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f43616e6e6f74206d696e7420612043686170746572203220746f6b656e20666f60008201527f7220676976656e2067656e6573697320746f6b656e206265636175736520697460208201527f206973206e6f7420796f75727300000000000000000000000000000000000000604082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615098816145d1565b81146150a357600080fd5b50565b6150af816145f5565b81146150ba57600080fd5b50565b6150c681614601565b81146150d157600080fd5b50565b6150dd8161460b565b81146150e857600080fd5b50565b6150f481614637565b81146150ff57600080fd5b50565b61510b81614669565b811461511657600080fd5b50565b61512281614673565b811461512d57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212202a3add699f2b4c2848919ca302ba38fc7cb2f6fc1801b4e784f7f991632bc40964736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000014a2dff3b2fb4dffa35b2006e84bf1cbb0ac4bba
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : _genesisPork1984Address (address): 0x14A2dFF3b2FB4dFfa35b2006e84BF1CBB0Ac4bBA
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : 00000000000000000000000014a2dff3b2fb4dffa35b2006e84bf1cbb0ac4bba
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.