ERC-721
Overview
Max Total Supply
2,911 PAR
Holders
508
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:
Cards
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721Tradable.sol"; import "./IERC20.sol"; import "./openzeppelin-solidity/contracts/utils/math/SafeMath.sol"; import "./ICards.sol"; /** * @title Cards */ contract Cards is ERC721Tradable, ICards { using SafeMath for uint256; // Name change token address address private _nctAddress; constructor(address _proxyRegistryAddress, address nctAddress) ERC721Tradable("Parable", "PAR", _proxyRegistryAddress) { _nctAddress = nctAddress; } string public constant CARDS_PROVENANCE = "8a76b6238f7b5f14fefe90d2f176f9c9c3d410347d769e7183a25e95b78e4e69"; // Sha256 hash of the concatenated hashes of the image files uint256 public constant SALE_START_TIMESTAMP = 1630346400; // Start date of the sale. timestamps in solidity are in seconds https://docs.soliditylang.org/en/latest/units-and-global-variables.html?highlight=block#block-and-transaction-properties // Time after which cards are randomized and allotted uint256 public constant REVEAL_TIMESTAMP = SALE_START_TIMESTAMP + (86400 * 14); // 14 days after release uint256 public constant NAME_CHANGE_PRICE = 1830 * (10 ** 18); // Cost for changing the name of a Parable uint256 public startingIndexBlock; uint256 public startingIndex; uint256 public constant MAX_NFT_SUPPLY = 42000; // Mapping if certain name string has already been reserved mapping (string => bool) private _nameReserved; // Mapping from token ID to when the token was minted mapping (uint256 => uint256) private _mintTime; // Mapping from token ID to name mapping (uint256 => string) private _tokenName; // Events event NameChange (uint256 indexed cardIndex, string newName); /** * @dev Returns if the name has been reserved. */ function isNameReserved(string memory nameString) public view returns (bool) { return _nameReserved[toLower(nameString)]; } /** * @dev Returns if the NFT has been minted before reveal phase */ function isMintedBeforeReveal(uint256 index) override public view returns (bool) { return _mintTime[index] < REVEAL_TIMESTAMP; } /** * @dev Returns when the NFT has been minted */ function mintedTimestamp(uint256 index) override public view returns (uint256) { return _mintTime[index]; } function baseTokenURI() override public pure returns (string memory) { return "https://parablenft.com/api/parables/"; } function contractURI() public pure returns (string memory) { return "https://parablenft.com/api/contractmeta/"; } /** * @dev Returns name of the NFT at index. */ function tokenNameByIndex(uint256 index) public view returns (string memory) { return _tokenName[index]; } function mintNftTo(address _to) public onlyOwner { require(block.timestamp >= SALE_START_TIMESTAMP, "Sale has not started"); uint mintIndex = totalSupply().add(1); _mintTime[mintIndex] = block.timestamp; mintTo(_to); if (startingIndexBlock == 0 && (totalSupply() == MAX_NFT_SUPPLY || block.timestamp >= REVEAL_TIMESTAMP)) { startingIndexBlock = block.number; } } function finalizeStartingIndex() public { require(startingIndex == 0, "Starting index is already set"); require(startingIndexBlock != 0, "Starting index block must be set"); startingIndex = uint(blockhash(startingIndexBlock)) % MAX_NFT_SUPPLY; // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes) if (block.number.sub(startingIndexBlock) > 255) { startingIndex = uint(blockhash(block.number-1)) % MAX_NFT_SUPPLY; } // Prevent default sequence if (startingIndex == 0) { startingIndex = startingIndex.add(1); } } function changeName(uint256 tokenId, string memory newName) public { address owner = ownerOf(tokenId); require(_msgSender() == owner, "ERC721: caller is not the owner"); require(validateName(newName) == true, "Not a valid new name"); require(sha256(bytes(newName)) != sha256(bytes(_tokenName[tokenId])), "New name is same as the current one"); require(isNameReserved(newName) == false, "Name already reserved"); IERC20(_nctAddress).transferFrom(msg.sender, address(this), NAME_CHANGE_PRICE); // If already named, dereserve old name if (bytes(_tokenName[tokenId]).length > 0) { toggleReserveName(_tokenName[tokenId], false); } toggleReserveName(newName, true); _tokenName[tokenId] = newName; IERC20(_nctAddress).burn(NAME_CHANGE_PRICE); emit NameChange(tokenId, newName); } /** * @dev Reserves the name if isReserve is set to true, de-reserves if set to false */ function toggleReserveName(string memory str, bool isReserve) internal { _nameReserved[toLower(str)] = isReserve; } /** * @dev Check if the name string is valid (Alphanumeric and spaces without leading or trailing space) */ function validateName(string memory str) public pure returns (bool){ bytes memory b = bytes(str); if(b.length < 1) return false; if(b.length > 25) return false; // Cannot be longer than 25 characters if(b[0] == 0x20) return false; // Leading space if (b[b.length - 1] == 0x20) return false; // Trailing space bytes1 lastChar = b[0]; for(uint i; i<b.length; i++){ bytes1 char = b[i]; if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces if( !(char >= 0x30 && char <= 0x39) && //9-0 !(char >= 0x41 && char <= 0x5A) && //A-Z !(char >= 0x61 && char <= 0x7A) && //a-z !(char == 0x20) //space ) return false; lastChar = char; } return true; } function toLower(string memory str) public pure returns (string memory){ bytes memory bStr = bytes(str); bytes memory bLower = new bytes(bStr.length); for (uint i = 0; i < bStr.length; i++) { // Uppercase character if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) { bLower[i] = bytes1(uint8(bStr[i]) + 32); } else { bLower[i] = bStr[i]; } } return string(bLower); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./openzeppelin-solidity/contracts/token/ERC721/ERC721.sol"; import "./openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./openzeppelin-solidity/contracts/access/Ownable.sol"; import "./openzeppelin-solidity/contracts/utils/math/SafeMath.sol"; import "./openzeppelin-solidity/contracts/utils/Strings.sol"; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } /** * @title ERC721Tradable * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality. */ abstract contract ERC721Tradable is ERC721Enumerable, Ownable { using SafeMath for uint256; address proxyRegistryAddress; uint256 private _currentTokenId = 0; constructor( string memory _name, string memory _symbol, address _proxyRegistryAddress ) ERC721(_name, _symbol) { proxyRegistryAddress = _proxyRegistryAddress; } /** * @dev Mints a token to an address with a tokenURI. * @param _to address of the future owner of the token */ function mintTo(address _to) public onlyOwner { uint256 newTokenId = _getNextTokenId(); _mint(_to, newTokenId); _incrementTokenId(); } /** * @dev calculates the next token ID based on value of _currentTokenId * @return uint256 for the next token ID */ function _getNextTokenId() private view returns (uint256) { return _currentTokenId.add(1); } /** * @dev increments the value of _currentTokenId */ function _incrementTokenId() private { _currentTokenId++; } function baseTokenURI() virtual public pure returns (string memory); function tokenURI(uint256 _tokenId) override public pure returns (string memory) { return string(abi.encodePacked(baseTokenURI(), Strings.toString(_tokenId))); } /** * 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); } }
import "./openzeppelin-solidity/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; // interface ICreature is IERC721Enumerable { interface ICards is IERC721Enumerable{ function isMintedBeforeReveal(uint256 index) external view returns (bool); function mintedTimestamp(uint256 index) external view returns (uint256); }
pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * TODO: Add comment */ function burn(uint256 burnQuantity) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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 "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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 pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"address","name":"nctAddress","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":true,"internalType":"uint256","name":"cardIndex","type":"uint256"},{"indexed":false,"internalType":"string","name":"newName","type":"string"}],"name":"NameChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CARDS_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NFT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME_CHANGE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_START_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"finalizeStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isMintedBeforeReveal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"nameString","type":"string"}],"name":"isNameReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mintNftTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"mintedTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"string","name":"str","type":"string"}],"name":"toLower","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenNameByIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"pure","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":[{"internalType":"string","name":"str","type":"string"}],"name":"validateName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"}]
Contract Creation Code
60806040526000600c553480156200001657600080fd5b50604051620051d8380380620051d883398181016040528101906200003c9190620002ec565b6040518060400160405280600781526020017f50617261626c65000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f50415200000000000000000000000000000000000000000000000000000000008152508382828160009080519060200190620000c392919062000225565b508060019080519060200190620000dc92919062000225565b5050506000620000f16200021d60201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505080600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620003e0565b600033905090565b828054620002339062000361565b90600052602060002090601f016020900481019282620002575760008555620002a3565b82601f106200027257805160ff1916838001178555620002a3565b82800160010185558215620002a3579182015b82811115620002a257825182559160200191906001019062000285565b5b509050620002b29190620002b6565b5090565b5b80821115620002d1576000816000905550600101620002b7565b5090565b600081519050620002e681620003c6565b92915050565b600080604083850312156200030057600080fd5b60006200031085828601620002d5565b92505060206200032385828601620002d5565b9150509250929050565b60006200033a8262000341565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200037a57607f821691505b6020821081141562000391576200039062000397565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620003d1816200032d565b8114620003dd57600080fd5b50565b614de880620003f06000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c8063759d161211610130578063b88d4fde116100b8578063d547cfb71161007c578063d547cfb7146106c7578063e36d6498146106e5578063e8a3d48514610703578063e985e9c514610721578063f2fde38b1461075157610232565b8063b88d4fde14610611578063bc28d7021461062d578063c39cbef11461065d578063c87b56dd14610679578063cb774d47146106a957610232565b806395d89b41116100ff57806395d89b411461056b57806398ded0ad146105895780639ffdb65a146105a7578063a22cb465146105d7578063b5077f44146105f357610232565b8063759d1612146104e35780638da5cb5b146104ff5780639416b4231461051d578063946807fd1461054d57610232565b80632f745c59116101be5780636d522418116101825780636d5224181461045357806370a0823114610483578063715018a6146104b357806374df39c9146104bd578063755edd17146104c757610232565b80632f745c591461038957806342842e0e146103b95780634f6ccce7146103d557806354b6f161146104055780636352211e1461042357610232565b806312d9f50a1161020557806312d9f50a146102d157806315b56d101461030157806318160ddd1461033157806318e20a381461034f57806323b872dd1461036d57610232565b806301ffc9a71461023757806306fdde0314610267578063081812fc14610285578063095ea7b3146102b5575b600080fd5b610251600480360381019061024c9190613932565b61076d565b60405161025e9190614506565b60405180910390f35b61026f6107e7565b60405161027c9190614521565b60405180910390f35b61029f600480360381019061029a91906139ee565b610879565b6040516102ac9190614468565b60405180910390f35b6102cf60048036038101906102ca91906138a4565b6108fe565b005b6102eb60048036038101906102e691906139ee565b610a16565b6040516102f89190614843565b60405180910390f35b61031b600480360381019061031691906139ad565b610a33565b6040516103289190614506565b60405180910390f35b610339610a70565b6040516103469190614843565b60405180910390f35b610357610a7d565b6040516103649190614843565b60405180910390f35b6103876004803603810190610382919061379e565b610a93565b005b6103a3600480360381019061039e91906138a4565b610af3565b6040516103b09190614843565b60405180910390f35b6103d360048036038101906103ce919061379e565b610b98565b005b6103ef60048036038101906103ea91906139ee565b610bb8565b6040516103fc9190614843565b60405180910390f35b61040d610c4f565b60405161041a9190614843565b60405180910390f35b61043d600480360381019061043891906139ee565b610c5c565b60405161044a9190614468565b60405180910390f35b61046d600480360381019061046891906139ee565b610d0e565b60405161047a9190614521565b60405180910390f35b61049d60048036038101906104989190613739565b610db3565b6040516104aa9190614843565b60405180910390f35b6104bb610e6b565b005b6104c5610fa8565b005b6104e160048036038101906104dc9190613739565b6110b9565b005b6104fd60048036038101906104f89190613739565b611157565b005b6105076112a2565b6040516105149190614468565b60405180910390f35b610537600480360381019061053291906139ad565b6112cc565b6040516105449190614521565b60405180910390f35b61055561158e565b6040516105629190614843565b60405180910390f35b610573611596565b6040516105809190614521565b60405180910390f35b610591611628565b60405161059e9190614521565b60405180910390f35b6105c160048036038101906105bc91906139ad565b611644565b6040516105ce9190614506565b60405180910390f35b6105f160048036038101906105ec9190613868565b611a0e565b005b6105fb611b8f565b6040516106089190614843565b60405180910390f35b61062b600480360381019061062691906137ed565b611b95565b005b610647600480360381019061064291906139ee565b611bf7565b6040516106549190614506565b60405180910390f35b61067760048036038101906106729190613a17565b611c28565b005b610693600480360381019061068e91906139ee565b6120ec565b6040516106a09190614521565b60405180910390f35b6106b1612126565b6040516106be9190614843565b60405180910390f35b6106cf61212c565b6040516106dc9190614521565b60405180910390f35b6106ed61214c565b6040516106fa9190614843565b60405180910390f35b61070b612152565b6040516107189190614521565b60405180910390f35b61073b60048036038101906107369190613762565b612172565b6040516107489190614506565b60405180910390f35b61076b60048036038101906107669190613739565b612274565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107e057506107df82612420565b5b9050919050565b6060600080546107f690614b23565b80601f016020809104026020016040519081016040528092919081815260200182805461082290614b23565b801561086f5780601f106108445761010080835404028352916020019161086f565b820191906000526020600020905b81548152906001019060200180831161085257829003601f168201915b5050505050905090565b600061088482612502565b6108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba90614703565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090982610c5c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097190614783565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661099961256e565b73ffffffffffffffffffffffffffffffffffffffff1614806109c857506109c7816109c261256e565b612172565b5b610a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fe90614663565b60405180910390fd5b610a118383612576565b505050565b600060116000838152602001908152602001600020549050919050565b60006010610a40836112cc565b604051610a4d919061442d565b908152602001604051809103902060009054906101000a900460ff169050919050565b6000600880549050905090565b6212750063612d1ca0610a909190614952565b81565b610aa4610a9e61256e565b8261262f565b610ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ada906147c3565b60405180910390fd5b610aee83838361270d565b505050565b6000610afe83610db3565b8210610b3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3690614563565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610bb383838360405180602001604052806000815250611b95565b505050565b6000610bc2610a70565b8210610c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfa906147e3565b60405180910390fd5b60088281548110610c3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6863345a083e94d8000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc906146a3565b60405180910390fd5b80915050919050565b6060601260008381526020019081526020016000208054610d2e90614b23565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5a90614b23565b8015610da75780601f10610d7c57610100808354040283529160200191610da7565b820191906000526020600020905b815481529060010190602001808311610d8a57829003601f168201915b50505050509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1b90614683565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e7361256e565b73ffffffffffffffffffffffffffffffffffffffff16610e916112a2565b73ffffffffffffffffffffffffffffffffffffffff1614610ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ede90614723565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600f5414610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe490614643565b60405180910390fd5b6000600e541415611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a906147a3565b60405180910390fd5b61a410600e544060001c6110479190614b9e565b600f8190555060ff611064600e544361296990919063ffffffff16565b111561108f5761a41060014361107a9190614a10565b4060001c6110889190614b9e565b600f819055505b6000600f5414156110b7576110b06001600f5461297f90919063ffffffff16565b600f819055505b565b6110c161256e565b73ffffffffffffffffffffffffffffffffffffffff166110df6112a2565b73ffffffffffffffffffffffffffffffffffffffff1614611135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112c90614723565b60405180910390fd5b600061113f612995565b905061114b82826129b2565b611153612b80565b5050565b61115f61256e565b73ffffffffffffffffffffffffffffffffffffffff1661117d6112a2565b73ffffffffffffffffffffffffffffffffffffffff16146111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90614723565b60405180910390fd5b63612d1ca042101561121a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121190614803565b60405180910390fd5b60006112376001611229610a70565b61297f90919063ffffffff16565b905042601160008381526020019081526020016000208190555061125a826110b9565b6000600e54148015611291575061a410611272610a70565b148061129057506212750063612d1ca061128c9190614952565b4210155b5b1561129e5743600e819055505b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060008290506000815167ffffffffffffffff811115611316577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156113485781602001600182028036833780820191505090505b50905060005b8251811015611583576041838281518110611392577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16101580156113fb5750605a8382815181106113e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b156114c357602083828151811061143b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c61145391906149a8565b60f81b82828151811061148f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611570565b8281815181106114fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828281518110611540577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b808061157b90614b55565b91505061134e565b508092505050919050565b63612d1ca081565b6060600180546115a590614b23565b80601f01602080910402602001604051908101604052809291908181526020018280546115d190614b23565b801561161e5780601f106115f35761010080835404028352916020019161161e565b820191906000526020600020905b81548152906001019060200180831161160157829003601f168201915b5050505050905090565b604051806060016040528060408152602001614d736040913981565b60008082905060018151101561165e576000915050611a09565b601981511115611672576000915050611a09565b602060f81b816000815181106116b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156116ee576000915050611a09565b602060f81b81600183516117029190614a10565b81518110611739577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611776576000915050611a09565b6000816000815181106117b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060005b8251811015611a01576000838281518110611806577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614801561186d5750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b1561187f576000945050505050611a09565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156118db5750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b1580156119415750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561193f5750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b80156119a65750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156119a45750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b80156119d85750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b156119ea576000945050505050611a09565b8092505080806119f990614b55565b9150506117c2565b506001925050505b919050565b611a1661256e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7b90614603565b60405180910390fd5b8060056000611a9161256e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b3e61256e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b839190614506565b60405180910390a35050565b61a41081565b611ba6611ba061256e565b8361262f565b611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc906147c3565b60405180910390fd5b611bf184848484612b9a565b50505050565b60006212750063612d1ca0611c0c9190614952565b6011600084815260200190815260200160002054109050919050565b6000611c3383610c5c565b90508073ffffffffffffffffffffffffffffffffffffffff16611c5461256e565b73ffffffffffffffffffffffffffffffffffffffff1614611caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca190614543565b60405180910390fd5b60011515611cb783611644565b151514611cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf090614823565b60405180910390fd5b600260126000858152602001908152602001600020604051611d1b9190614416565b602060405180830381855afa158015611d38573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611d5b9190613909565b600283604051611d6b91906143ff565b602060405180830381855afa158015611d88573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611dab9190613909565b1415611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de390614763565b60405180910390fd5b60001515611df983610a33565b151514611e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e32906146e3565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306863345a083e94d800006040518463ffffffff1660e01b8152600401611ea393929190614483565b602060405180830381600087803b158015611ebd57600080fd5b505af1158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef591906138e0565b506000601260008581526020019081526020016000208054611f1690614b23565b90501115611fc557611fc4601260008581526020019081526020016000208054611f3f90614b23565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6b90614b23565b8015611fb85780601f10611f8d57610100808354040283529160200191611fb8565b820191906000526020600020905b815481529060010190602001808311611f9b57829003601f168201915b50505050506000612bf6565b5b611fd0826001612bf6565b81601260008581526020019081526020016000209080519060200190611ff792919061351e565b50600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c686863345a083e94d800006040518263ffffffff1660e01b815260040161205c9190614843565b602060405180830381600087803b15801561207657600080fd5b505af115801561208a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ae91906138e0565b50827f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b836040516120df9190614521565b60405180910390a2505050565b60606120f661212c565b6120ff83612c38565b604051602001612110929190614444565b6040516020818303038152906040529050919050565b600f5481565b6060604051806060016040528060248152602001614d2760249139905090565b600e5481565b6060604051806060016040528060288152602001614d4b60289139905090565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016121ea9190614468565b60206040518083038186803b15801561220257600080fd5b505afa158015612216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061223a9190613984565b73ffffffffffffffffffffffffffffffffffffffff16141561226057600191505061226e565b61226a8484612de5565b9150505b92915050565b61227c61256e565b73ffffffffffffffffffffffffffffffffffffffff1661229a6112a2565b73ffffffffffffffffffffffffffffffffffffffff16146122f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e790614723565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612360576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612357906145a3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124eb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124fb57506124fa82612e79565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125e983610c5c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061263a82612502565b612679576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267090614623565b60405180910390fd5b600061268483610c5c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126f357508373ffffffffffffffffffffffffffffffffffffffff166126db84610879565b73ffffffffffffffffffffffffffffffffffffffff16145b8061270457506127038185612172565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661272d82610c5c565b73ffffffffffffffffffffffffffffffffffffffff1614612783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277a90614743565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ea906145e3565b60405180910390fd5b6127fe838383612ee3565b612809600082612576565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128599190614a10565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128b09190614952565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836129779190614a10565b905092915050565b6000818361298d9190614952565b905092915050565b60006129ad6001600c5461297f90919063ffffffff16565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a19906146c3565b60405180910390fd5b612a2b81612502565b15612a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a62906145c3565b60405180910390fd5b612a7760008383612ee3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ac79190614952565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600c6000815480929190612b9390614b55565b9190505550565b612ba584848461270d565b612bb184848484612ff7565b612bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be790614583565b60405180910390fd5b50505050565b806010612c02846112cc565b604051612c0f919061442d565b908152602001604051809103902060006101000a81548160ff0219169083151502179055505050565b60606000821415612c80576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612de0565b600082905060005b60008214612cb2578080612c9b90614b55565b915050600a82612cab91906149df565b9150612c88565b60008167ffffffffffffffff811115612cf4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d265781602001600182028036833780820191505090505b5090505b60008514612dd957600182612d3f9190614a10565b9150600a85612d4e9190614b9e565b6030612d5a9190614952565b60f81b818381518110612d96577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612dd291906149df565b9450612d2a565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612eee83838361318e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f3157612f2c81613193565b612f70565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f6f57612f6e83826131dc565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fb357612fae81613349565b612ff2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612ff157612ff0828261348c565b5b5b505050565b60006130188473ffffffffffffffffffffffffffffffffffffffff1661350b565b15613181578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261304161256e565b8786866040518563ffffffff1660e01b815260040161306394939291906144ba565b602060405180830381600087803b15801561307d57600080fd5b505af19250505080156130ae57506040513d601f19601f820116820180604052508101906130ab919061395b565b60015b613131573d80600081146130de576040519150601f19603f3d011682016040523d82523d6000602084013e6130e3565b606091505b50600081511415613129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312090614583565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613186565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131e984610db3565b6131f39190614a10565b90506000600760008481526020019081526020016000205490508181146132d8576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061335d9190614a10565b90506000600960008481526020019081526020016000205490506000600883815481106133b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106133fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613470577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061349783610db3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b82805461352a90614b23565b90600052602060002090601f01602090048101928261354c5760008555613593565b82601f1061356557805160ff1916838001178555613593565b82800160010185558215613593579182015b82811115613592578251825591602001919060010190613577565b5b5090506135a091906135a4565b5090565b5b808211156135bd5760008160009055506001016135a5565b5090565b60006135d46135cf8461488f565b61485e565b9050828152602081018484840111156135ec57600080fd5b6135f7848285614ae1565b509392505050565b600061361261360d846148bf565b61485e565b90508281526020810184848401111561362a57600080fd5b613635848285614ae1565b509392505050565b60008135905061364c81614c9c565b92915050565b60008135905061366181614cb3565b92915050565b60008151905061367681614cb3565b92915050565b60008151905061368b81614cca565b92915050565b6000813590506136a081614ce1565b92915050565b6000815190506136b581614ce1565b92915050565b600082601f8301126136cc57600080fd5b81356136dc8482602086016135c1565b91505092915050565b6000815190506136f481614cf8565b92915050565b600082601f83011261370b57600080fd5b813561371b8482602086016135ff565b91505092915050565b60008135905061373381614d0f565b92915050565b60006020828403121561374b57600080fd5b60006137598482850161363d565b91505092915050565b6000806040838503121561377557600080fd5b60006137838582860161363d565b92505060206137948582860161363d565b9150509250929050565b6000806000606084860312156137b357600080fd5b60006137c18682870161363d565b93505060206137d28682870161363d565b92505060406137e386828701613724565b9150509250925092565b6000806000806080858703121561380357600080fd5b60006138118782880161363d565b94505060206138228782880161363d565b935050604061383387828801613724565b925050606085013567ffffffffffffffff81111561385057600080fd5b61385c878288016136bb565b91505092959194509250565b6000806040838503121561387b57600080fd5b60006138898582860161363d565b925050602061389a85828601613652565b9150509250929050565b600080604083850312156138b757600080fd5b60006138c58582860161363d565b92505060206138d685828601613724565b9150509250929050565b6000602082840312156138f257600080fd5b600061390084828501613667565b91505092915050565b60006020828403121561391b57600080fd5b60006139298482850161367c565b91505092915050565b60006020828403121561394457600080fd5b600061395284828501613691565b91505092915050565b60006020828403121561396d57600080fd5b600061397b848285016136a6565b91505092915050565b60006020828403121561399657600080fd5b60006139a4848285016136e5565b91505092915050565b6000602082840312156139bf57600080fd5b600082013567ffffffffffffffff8111156139d957600080fd5b6139e5848285016136fa565b91505092915050565b600060208284031215613a0057600080fd5b6000613a0e84828501613724565b91505092915050565b60008060408385031215613a2a57600080fd5b6000613a3885828601613724565b925050602083013567ffffffffffffffff811115613a5557600080fd5b613a61858286016136fa565b9150509250929050565b613a7481614a44565b82525050565b613a8381614a56565b82525050565b6000613a9482614904565b613a9e818561491a565b9350613aae818560208601614af0565b613ab781614c8b565b840191505092915050565b6000613acd82614904565b613ad7818561492b565b9350613ae7818560208601614af0565b80840191505092915050565b60008154613b0081614b23565b613b0a818661492b565b94506001821660008114613b255760018114613b3657613b69565b60ff19831686528186019350613b69565b613b3f856148ef565b60005b83811015613b6157815481890152600182019150602081019050613b42565b838801955050505b50505092915050565b6000613b7d8261490f565b613b878185614936565b9350613b97818560208601614af0565b613ba081614c8b565b840191505092915050565b6000613bb68261490f565b613bc08185614947565b9350613bd0818560208601614af0565b80840191505092915050565b6000613be9601f83614936565b91507f4552433732313a2063616c6c6572206973206e6f7420746865206f776e6572006000830152602082019050919050565b6000613c29602b83614936565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613c8f603283614936565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613cf5602683614936565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d5b601c83614936565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613d9b602483614936565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e01601983614936565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613e41602c83614936565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613ea7601d83614936565b91507f5374617274696e6720696e64657820697320616c7265616479207365740000006000830152602082019050919050565b6000613ee7603883614936565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613f4d602a83614936565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fb3602983614936565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614019602083614936565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614059601583614936565b91507f4e616d6520616c726561647920726573657276656400000000000000000000006000830152602082019050919050565b6000614099602c83614936565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006140ff602083614936565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061413f602983614936565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006141a5602383614936565b91507f4e6577206e616d652069732073616d65206173207468652063757272656e742060008301527f6f6e6500000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061420b602183614936565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614271602083614936565b91507f5374617274696e6720696e64657820626c6f636b206d757374206265207365746000830152602082019050919050565b60006142b1603183614936565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614317602c83614936565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061437d601483614936565b91507f53616c6520686173206e6f7420737461727465640000000000000000000000006000830152602082019050919050565b60006143bd601483614936565b91507f4e6f7420612076616c6964206e6577206e616d650000000000000000000000006000830152602082019050919050565b6143f981614aca565b82525050565b600061440b8284613ac2565b915081905092915050565b60006144228284613af3565b915081905092915050565b60006144398284613bab565b915081905092915050565b60006144508285613bab565b915061445c8284613bab565b91508190509392505050565b600060208201905061447d6000830184613a6b565b92915050565b60006060820190506144986000830186613a6b565b6144a56020830185613a6b565b6144b260408301846143f0565b949350505050565b60006080820190506144cf6000830187613a6b565b6144dc6020830186613a6b565b6144e960408301856143f0565b81810360608301526144fb8184613a89565b905095945050505050565b600060208201905061451b6000830184613a7a565b92915050565b6000602082019050818103600083015261453b8184613b72565b905092915050565b6000602082019050818103600083015261455c81613bdc565b9050919050565b6000602082019050818103600083015261457c81613c1c565b9050919050565b6000602082019050818103600083015261459c81613c82565b9050919050565b600060208201905081810360008301526145bc81613ce8565b9050919050565b600060208201905081810360008301526145dc81613d4e565b9050919050565b600060208201905081810360008301526145fc81613d8e565b9050919050565b6000602082019050818103600083015261461c81613df4565b9050919050565b6000602082019050818103600083015261463c81613e34565b9050919050565b6000602082019050818103600083015261465c81613e9a565b9050919050565b6000602082019050818103600083015261467c81613eda565b9050919050565b6000602082019050818103600083015261469c81613f40565b9050919050565b600060208201905081810360008301526146bc81613fa6565b9050919050565b600060208201905081810360008301526146dc8161400c565b9050919050565b600060208201905081810360008301526146fc8161404c565b9050919050565b6000602082019050818103600083015261471c8161408c565b9050919050565b6000602082019050818103600083015261473c816140f2565b9050919050565b6000602082019050818103600083015261475c81614132565b9050919050565b6000602082019050818103600083015261477c81614198565b9050919050565b6000602082019050818103600083015261479c816141fe565b9050919050565b600060208201905081810360008301526147bc81614264565b9050919050565b600060208201905081810360008301526147dc816142a4565b9050919050565b600060208201905081810360008301526147fc8161430a565b9050919050565b6000602082019050818103600083015261481c81614370565b9050919050565b6000602082019050818103600083015261483c816143b0565b9050919050565b600060208201905061485860008301846143f0565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561488557614884614c5c565b5b8060405250919050565b600067ffffffffffffffff8211156148aa576148a9614c5c565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156148da576148d9614c5c565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061495d82614aca565b915061496883614aca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561499d5761499c614bcf565b5b828201905092915050565b60006149b382614ad4565b91506149be83614ad4565b92508260ff038211156149d4576149d3614bcf565b5b828201905092915050565b60006149ea82614aca565b91506149f583614aca565b925082614a0557614a04614bfe565b5b828204905092915050565b6000614a1b82614aca565b9150614a2683614aca565b925082821015614a3957614a38614bcf565b5b828203905092915050565b6000614a4f82614aaa565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614aa382614a44565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614b0e578082015181840152602081019050614af3565b83811115614b1d576000848401525b50505050565b60006002820490506001821680614b3b57607f821691505b60208210811415614b4f57614b4e614c2d565b5b50919050565b6000614b6082614aca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b9357614b92614bcf565b5b600182019050919050565b6000614ba982614aca565b9150614bb483614aca565b925082614bc457614bc3614bfe565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614ca581614a44565b8114614cb057600080fd5b50565b614cbc81614a56565b8114614cc757600080fd5b50565b614cd381614a62565b8114614cde57600080fd5b50565b614cea81614a6c565b8114614cf557600080fd5b50565b614d0181614a98565b8114614d0c57600080fd5b50565b614d1881614aca565b8114614d2357600080fd5b5056fe68747470733a2f2f70617261626c656e66742e636f6d2f6170692f70617261626c65732f68747470733a2f2f70617261626c656e66742e636f6d2f6170692f636f6e74726163746d6574612f38613736623632333866376235663134666566653930643266313736663963396333643431303334376437363965373138336132356539356237386534653639a2646970667358221220d3493be37fe49b486b7f4a317b280f4547d2dc70212a798496b1917efc01b75e64736f6c63430008000033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000b46232c1e26fce750ec2824c804c9f86aa8a710
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c8063759d161211610130578063b88d4fde116100b8578063d547cfb71161007c578063d547cfb7146106c7578063e36d6498146106e5578063e8a3d48514610703578063e985e9c514610721578063f2fde38b1461075157610232565b8063b88d4fde14610611578063bc28d7021461062d578063c39cbef11461065d578063c87b56dd14610679578063cb774d47146106a957610232565b806395d89b41116100ff57806395d89b411461056b57806398ded0ad146105895780639ffdb65a146105a7578063a22cb465146105d7578063b5077f44146105f357610232565b8063759d1612146104e35780638da5cb5b146104ff5780639416b4231461051d578063946807fd1461054d57610232565b80632f745c59116101be5780636d522418116101825780636d5224181461045357806370a0823114610483578063715018a6146104b357806374df39c9146104bd578063755edd17146104c757610232565b80632f745c591461038957806342842e0e146103b95780634f6ccce7146103d557806354b6f161146104055780636352211e1461042357610232565b806312d9f50a1161020557806312d9f50a146102d157806315b56d101461030157806318160ddd1461033157806318e20a381461034f57806323b872dd1461036d57610232565b806301ffc9a71461023757806306fdde0314610267578063081812fc14610285578063095ea7b3146102b5575b600080fd5b610251600480360381019061024c9190613932565b61076d565b60405161025e9190614506565b60405180910390f35b61026f6107e7565b60405161027c9190614521565b60405180910390f35b61029f600480360381019061029a91906139ee565b610879565b6040516102ac9190614468565b60405180910390f35b6102cf60048036038101906102ca91906138a4565b6108fe565b005b6102eb60048036038101906102e691906139ee565b610a16565b6040516102f89190614843565b60405180910390f35b61031b600480360381019061031691906139ad565b610a33565b6040516103289190614506565b60405180910390f35b610339610a70565b6040516103469190614843565b60405180910390f35b610357610a7d565b6040516103649190614843565b60405180910390f35b6103876004803603810190610382919061379e565b610a93565b005b6103a3600480360381019061039e91906138a4565b610af3565b6040516103b09190614843565b60405180910390f35b6103d360048036038101906103ce919061379e565b610b98565b005b6103ef60048036038101906103ea91906139ee565b610bb8565b6040516103fc9190614843565b60405180910390f35b61040d610c4f565b60405161041a9190614843565b60405180910390f35b61043d600480360381019061043891906139ee565b610c5c565b60405161044a9190614468565b60405180910390f35b61046d600480360381019061046891906139ee565b610d0e565b60405161047a9190614521565b60405180910390f35b61049d60048036038101906104989190613739565b610db3565b6040516104aa9190614843565b60405180910390f35b6104bb610e6b565b005b6104c5610fa8565b005b6104e160048036038101906104dc9190613739565b6110b9565b005b6104fd60048036038101906104f89190613739565b611157565b005b6105076112a2565b6040516105149190614468565b60405180910390f35b610537600480360381019061053291906139ad565b6112cc565b6040516105449190614521565b60405180910390f35b61055561158e565b6040516105629190614843565b60405180910390f35b610573611596565b6040516105809190614521565b60405180910390f35b610591611628565b60405161059e9190614521565b60405180910390f35b6105c160048036038101906105bc91906139ad565b611644565b6040516105ce9190614506565b60405180910390f35b6105f160048036038101906105ec9190613868565b611a0e565b005b6105fb611b8f565b6040516106089190614843565b60405180910390f35b61062b600480360381019061062691906137ed565b611b95565b005b610647600480360381019061064291906139ee565b611bf7565b6040516106549190614506565b60405180910390f35b61067760048036038101906106729190613a17565b611c28565b005b610693600480360381019061068e91906139ee565b6120ec565b6040516106a09190614521565b60405180910390f35b6106b1612126565b6040516106be9190614843565b60405180910390f35b6106cf61212c565b6040516106dc9190614521565b60405180910390f35b6106ed61214c565b6040516106fa9190614843565b60405180910390f35b61070b612152565b6040516107189190614521565b60405180910390f35b61073b60048036038101906107369190613762565b612172565b6040516107489190614506565b60405180910390f35b61076b60048036038101906107669190613739565b612274565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107e057506107df82612420565b5b9050919050565b6060600080546107f690614b23565b80601f016020809104026020016040519081016040528092919081815260200182805461082290614b23565b801561086f5780601f106108445761010080835404028352916020019161086f565b820191906000526020600020905b81548152906001019060200180831161085257829003601f168201915b5050505050905090565b600061088482612502565b6108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba90614703565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090982610c5c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097190614783565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661099961256e565b73ffffffffffffffffffffffffffffffffffffffff1614806109c857506109c7816109c261256e565b612172565b5b610a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fe90614663565b60405180910390fd5b610a118383612576565b505050565b600060116000838152602001908152602001600020549050919050565b60006010610a40836112cc565b604051610a4d919061442d565b908152602001604051809103902060009054906101000a900460ff169050919050565b6000600880549050905090565b6212750063612d1ca0610a909190614952565b81565b610aa4610a9e61256e565b8261262f565b610ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ada906147c3565b60405180910390fd5b610aee83838361270d565b505050565b6000610afe83610db3565b8210610b3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3690614563565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610bb383838360405180602001604052806000815250611b95565b505050565b6000610bc2610a70565b8210610c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfa906147e3565b60405180910390fd5b60088281548110610c3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6863345a083e94d8000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc906146a3565b60405180910390fd5b80915050919050565b6060601260008381526020019081526020016000208054610d2e90614b23565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5a90614b23565b8015610da75780601f10610d7c57610100808354040283529160200191610da7565b820191906000526020600020905b815481529060010190602001808311610d8a57829003601f168201915b50505050509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1b90614683565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e7361256e565b73ffffffffffffffffffffffffffffffffffffffff16610e916112a2565b73ffffffffffffffffffffffffffffffffffffffff1614610ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ede90614723565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600f5414610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe490614643565b60405180910390fd5b6000600e541415611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a906147a3565b60405180910390fd5b61a410600e544060001c6110479190614b9e565b600f8190555060ff611064600e544361296990919063ffffffff16565b111561108f5761a41060014361107a9190614a10565b4060001c6110889190614b9e565b600f819055505b6000600f5414156110b7576110b06001600f5461297f90919063ffffffff16565b600f819055505b565b6110c161256e565b73ffffffffffffffffffffffffffffffffffffffff166110df6112a2565b73ffffffffffffffffffffffffffffffffffffffff1614611135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112c90614723565b60405180910390fd5b600061113f612995565b905061114b82826129b2565b611153612b80565b5050565b61115f61256e565b73ffffffffffffffffffffffffffffffffffffffff1661117d6112a2565b73ffffffffffffffffffffffffffffffffffffffff16146111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90614723565b60405180910390fd5b63612d1ca042101561121a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121190614803565b60405180910390fd5b60006112376001611229610a70565b61297f90919063ffffffff16565b905042601160008381526020019081526020016000208190555061125a826110b9565b6000600e54148015611291575061a410611272610a70565b148061129057506212750063612d1ca061128c9190614952565b4210155b5b1561129e5743600e819055505b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060008290506000815167ffffffffffffffff811115611316577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156113485781602001600182028036833780820191505090505b50905060005b8251811015611583576041838281518110611392577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16101580156113fb5750605a8382815181106113e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b156114c357602083828151811061143b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c61145391906149a8565b60f81b82828151811061148f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611570565b8281815181106114fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828281518110611540577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b808061157b90614b55565b91505061134e565b508092505050919050565b63612d1ca081565b6060600180546115a590614b23565b80601f01602080910402602001604051908101604052809291908181526020018280546115d190614b23565b801561161e5780601f106115f35761010080835404028352916020019161161e565b820191906000526020600020905b81548152906001019060200180831161160157829003601f168201915b5050505050905090565b604051806060016040528060408152602001614d736040913981565b60008082905060018151101561165e576000915050611a09565b601981511115611672576000915050611a09565b602060f81b816000815181106116b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156116ee576000915050611a09565b602060f81b81600183516117029190614a10565b81518110611739577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611776576000915050611a09565b6000816000815181106117b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060005b8251811015611a01576000838281518110611806577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614801561186d5750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b1561187f576000945050505050611a09565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156118db5750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b1580156119415750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561193f5750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b80156119a65750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156119a45750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b80156119d85750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b156119ea576000945050505050611a09565b8092505080806119f990614b55565b9150506117c2565b506001925050505b919050565b611a1661256e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7b90614603565b60405180910390fd5b8060056000611a9161256e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b3e61256e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b839190614506565b60405180910390a35050565b61a41081565b611ba6611ba061256e565b8361262f565b611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc906147c3565b60405180910390fd5b611bf184848484612b9a565b50505050565b60006212750063612d1ca0611c0c9190614952565b6011600084815260200190815260200160002054109050919050565b6000611c3383610c5c565b90508073ffffffffffffffffffffffffffffffffffffffff16611c5461256e565b73ffffffffffffffffffffffffffffffffffffffff1614611caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca190614543565b60405180910390fd5b60011515611cb783611644565b151514611cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf090614823565b60405180910390fd5b600260126000858152602001908152602001600020604051611d1b9190614416565b602060405180830381855afa158015611d38573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611d5b9190613909565b600283604051611d6b91906143ff565b602060405180830381855afa158015611d88573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611dab9190613909565b1415611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de390614763565b60405180910390fd5b60001515611df983610a33565b151514611e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e32906146e3565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306863345a083e94d800006040518463ffffffff1660e01b8152600401611ea393929190614483565b602060405180830381600087803b158015611ebd57600080fd5b505af1158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef591906138e0565b506000601260008581526020019081526020016000208054611f1690614b23565b90501115611fc557611fc4601260008581526020019081526020016000208054611f3f90614b23565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6b90614b23565b8015611fb85780601f10611f8d57610100808354040283529160200191611fb8565b820191906000526020600020905b815481529060010190602001808311611f9b57829003601f168201915b50505050506000612bf6565b5b611fd0826001612bf6565b81601260008581526020019081526020016000209080519060200190611ff792919061351e565b50600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c686863345a083e94d800006040518263ffffffff1660e01b815260040161205c9190614843565b602060405180830381600087803b15801561207657600080fd5b505af115801561208a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ae91906138e0565b50827f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b836040516120df9190614521565b60405180910390a2505050565b60606120f661212c565b6120ff83612c38565b604051602001612110929190614444565b6040516020818303038152906040529050919050565b600f5481565b6060604051806060016040528060248152602001614d2760249139905090565b600e5481565b6060604051806060016040528060288152602001614d4b60289139905090565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016121ea9190614468565b60206040518083038186803b15801561220257600080fd5b505afa158015612216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061223a9190613984565b73ffffffffffffffffffffffffffffffffffffffff16141561226057600191505061226e565b61226a8484612de5565b9150505b92915050565b61227c61256e565b73ffffffffffffffffffffffffffffffffffffffff1661229a6112a2565b73ffffffffffffffffffffffffffffffffffffffff16146122f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e790614723565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612360576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612357906145a3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124eb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124fb57506124fa82612e79565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125e983610c5c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061263a82612502565b612679576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267090614623565b60405180910390fd5b600061268483610c5c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126f357508373ffffffffffffffffffffffffffffffffffffffff166126db84610879565b73ffffffffffffffffffffffffffffffffffffffff16145b8061270457506127038185612172565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661272d82610c5c565b73ffffffffffffffffffffffffffffffffffffffff1614612783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277a90614743565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ea906145e3565b60405180910390fd5b6127fe838383612ee3565b612809600082612576565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128599190614a10565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128b09190614952565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836129779190614a10565b905092915050565b6000818361298d9190614952565b905092915050565b60006129ad6001600c5461297f90919063ffffffff16565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a19906146c3565b60405180910390fd5b612a2b81612502565b15612a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a62906145c3565b60405180910390fd5b612a7760008383612ee3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ac79190614952565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600c6000815480929190612b9390614b55565b9190505550565b612ba584848461270d565b612bb184848484612ff7565b612bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be790614583565b60405180910390fd5b50505050565b806010612c02846112cc565b604051612c0f919061442d565b908152602001604051809103902060006101000a81548160ff0219169083151502179055505050565b60606000821415612c80576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612de0565b600082905060005b60008214612cb2578080612c9b90614b55565b915050600a82612cab91906149df565b9150612c88565b60008167ffffffffffffffff811115612cf4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d265781602001600182028036833780820191505090505b5090505b60008514612dd957600182612d3f9190614a10565b9150600a85612d4e9190614b9e565b6030612d5a9190614952565b60f81b818381518110612d96577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612dd291906149df565b9450612d2a565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612eee83838361318e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f3157612f2c81613193565b612f70565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f6f57612f6e83826131dc565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fb357612fae81613349565b612ff2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612ff157612ff0828261348c565b5b5b505050565b60006130188473ffffffffffffffffffffffffffffffffffffffff1661350b565b15613181578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261304161256e565b8786866040518563ffffffff1660e01b815260040161306394939291906144ba565b602060405180830381600087803b15801561307d57600080fd5b505af19250505080156130ae57506040513d601f19601f820116820180604052508101906130ab919061395b565b60015b613131573d80600081146130de576040519150601f19603f3d011682016040523d82523d6000602084013e6130e3565b606091505b50600081511415613129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312090614583565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613186565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131e984610db3565b6131f39190614a10565b90506000600760008481526020019081526020016000205490508181146132d8576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061335d9190614a10565b90506000600960008481526020019081526020016000205490506000600883815481106133b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106133fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613470577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061349783610db3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b82805461352a90614b23565b90600052602060002090601f01602090048101928261354c5760008555613593565b82601f1061356557805160ff1916838001178555613593565b82800160010185558215613593579182015b82811115613592578251825591602001919060010190613577565b5b5090506135a091906135a4565b5090565b5b808211156135bd5760008160009055506001016135a5565b5090565b60006135d46135cf8461488f565b61485e565b9050828152602081018484840111156135ec57600080fd5b6135f7848285614ae1565b509392505050565b600061361261360d846148bf565b61485e565b90508281526020810184848401111561362a57600080fd5b613635848285614ae1565b509392505050565b60008135905061364c81614c9c565b92915050565b60008135905061366181614cb3565b92915050565b60008151905061367681614cb3565b92915050565b60008151905061368b81614cca565b92915050565b6000813590506136a081614ce1565b92915050565b6000815190506136b581614ce1565b92915050565b600082601f8301126136cc57600080fd5b81356136dc8482602086016135c1565b91505092915050565b6000815190506136f481614cf8565b92915050565b600082601f83011261370b57600080fd5b813561371b8482602086016135ff565b91505092915050565b60008135905061373381614d0f565b92915050565b60006020828403121561374b57600080fd5b60006137598482850161363d565b91505092915050565b6000806040838503121561377557600080fd5b60006137838582860161363d565b92505060206137948582860161363d565b9150509250929050565b6000806000606084860312156137b357600080fd5b60006137c18682870161363d565b93505060206137d28682870161363d565b92505060406137e386828701613724565b9150509250925092565b6000806000806080858703121561380357600080fd5b60006138118782880161363d565b94505060206138228782880161363d565b935050604061383387828801613724565b925050606085013567ffffffffffffffff81111561385057600080fd5b61385c878288016136bb565b91505092959194509250565b6000806040838503121561387b57600080fd5b60006138898582860161363d565b925050602061389a85828601613652565b9150509250929050565b600080604083850312156138b757600080fd5b60006138c58582860161363d565b92505060206138d685828601613724565b9150509250929050565b6000602082840312156138f257600080fd5b600061390084828501613667565b91505092915050565b60006020828403121561391b57600080fd5b60006139298482850161367c565b91505092915050565b60006020828403121561394457600080fd5b600061395284828501613691565b91505092915050565b60006020828403121561396d57600080fd5b600061397b848285016136a6565b91505092915050565b60006020828403121561399657600080fd5b60006139a4848285016136e5565b91505092915050565b6000602082840312156139bf57600080fd5b600082013567ffffffffffffffff8111156139d957600080fd5b6139e5848285016136fa565b91505092915050565b600060208284031215613a0057600080fd5b6000613a0e84828501613724565b91505092915050565b60008060408385031215613a2a57600080fd5b6000613a3885828601613724565b925050602083013567ffffffffffffffff811115613a5557600080fd5b613a61858286016136fa565b9150509250929050565b613a7481614a44565b82525050565b613a8381614a56565b82525050565b6000613a9482614904565b613a9e818561491a565b9350613aae818560208601614af0565b613ab781614c8b565b840191505092915050565b6000613acd82614904565b613ad7818561492b565b9350613ae7818560208601614af0565b80840191505092915050565b60008154613b0081614b23565b613b0a818661492b565b94506001821660008114613b255760018114613b3657613b69565b60ff19831686528186019350613b69565b613b3f856148ef565b60005b83811015613b6157815481890152600182019150602081019050613b42565b838801955050505b50505092915050565b6000613b7d8261490f565b613b878185614936565b9350613b97818560208601614af0565b613ba081614c8b565b840191505092915050565b6000613bb68261490f565b613bc08185614947565b9350613bd0818560208601614af0565b80840191505092915050565b6000613be9601f83614936565b91507f4552433732313a2063616c6c6572206973206e6f7420746865206f776e6572006000830152602082019050919050565b6000613c29602b83614936565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613c8f603283614936565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613cf5602683614936565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d5b601c83614936565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613d9b602483614936565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e01601983614936565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613e41602c83614936565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613ea7601d83614936565b91507f5374617274696e6720696e64657820697320616c7265616479207365740000006000830152602082019050919050565b6000613ee7603883614936565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613f4d602a83614936565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fb3602983614936565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614019602083614936565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614059601583614936565b91507f4e616d6520616c726561647920726573657276656400000000000000000000006000830152602082019050919050565b6000614099602c83614936565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006140ff602083614936565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061413f602983614936565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006141a5602383614936565b91507f4e6577206e616d652069732073616d65206173207468652063757272656e742060008301527f6f6e6500000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061420b602183614936565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614271602083614936565b91507f5374617274696e6720696e64657820626c6f636b206d757374206265207365746000830152602082019050919050565b60006142b1603183614936565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614317602c83614936565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061437d601483614936565b91507f53616c6520686173206e6f7420737461727465640000000000000000000000006000830152602082019050919050565b60006143bd601483614936565b91507f4e6f7420612076616c6964206e6577206e616d650000000000000000000000006000830152602082019050919050565b6143f981614aca565b82525050565b600061440b8284613ac2565b915081905092915050565b60006144228284613af3565b915081905092915050565b60006144398284613bab565b915081905092915050565b60006144508285613bab565b915061445c8284613bab565b91508190509392505050565b600060208201905061447d6000830184613a6b565b92915050565b60006060820190506144986000830186613a6b565b6144a56020830185613a6b565b6144b260408301846143f0565b949350505050565b60006080820190506144cf6000830187613a6b565b6144dc6020830186613a6b565b6144e960408301856143f0565b81810360608301526144fb8184613a89565b905095945050505050565b600060208201905061451b6000830184613a7a565b92915050565b6000602082019050818103600083015261453b8184613b72565b905092915050565b6000602082019050818103600083015261455c81613bdc565b9050919050565b6000602082019050818103600083015261457c81613c1c565b9050919050565b6000602082019050818103600083015261459c81613c82565b9050919050565b600060208201905081810360008301526145bc81613ce8565b9050919050565b600060208201905081810360008301526145dc81613d4e565b9050919050565b600060208201905081810360008301526145fc81613d8e565b9050919050565b6000602082019050818103600083015261461c81613df4565b9050919050565b6000602082019050818103600083015261463c81613e34565b9050919050565b6000602082019050818103600083015261465c81613e9a565b9050919050565b6000602082019050818103600083015261467c81613eda565b9050919050565b6000602082019050818103600083015261469c81613f40565b9050919050565b600060208201905081810360008301526146bc81613fa6565b9050919050565b600060208201905081810360008301526146dc8161400c565b9050919050565b600060208201905081810360008301526146fc8161404c565b9050919050565b6000602082019050818103600083015261471c8161408c565b9050919050565b6000602082019050818103600083015261473c816140f2565b9050919050565b6000602082019050818103600083015261475c81614132565b9050919050565b6000602082019050818103600083015261477c81614198565b9050919050565b6000602082019050818103600083015261479c816141fe565b9050919050565b600060208201905081810360008301526147bc81614264565b9050919050565b600060208201905081810360008301526147dc816142a4565b9050919050565b600060208201905081810360008301526147fc8161430a565b9050919050565b6000602082019050818103600083015261481c81614370565b9050919050565b6000602082019050818103600083015261483c816143b0565b9050919050565b600060208201905061485860008301846143f0565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561488557614884614c5c565b5b8060405250919050565b600067ffffffffffffffff8211156148aa576148a9614c5c565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156148da576148d9614c5c565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061495d82614aca565b915061496883614aca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561499d5761499c614bcf565b5b828201905092915050565b60006149b382614ad4565b91506149be83614ad4565b92508260ff038211156149d4576149d3614bcf565b5b828201905092915050565b60006149ea82614aca565b91506149f583614aca565b925082614a0557614a04614bfe565b5b828204905092915050565b6000614a1b82614aca565b9150614a2683614aca565b925082821015614a3957614a38614bcf565b5b828203905092915050565b6000614a4f82614aaa565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614aa382614a44565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614b0e578082015181840152602081019050614af3565b83811115614b1d576000848401525b50505050565b60006002820490506001821680614b3b57607f821691505b60208210811415614b4f57614b4e614c2d565b5b50919050565b6000614b6082614aca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b9357614b92614bcf565b5b600182019050919050565b6000614ba982614aca565b9150614bb483614aca565b925082614bc457614bc3614bfe565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614ca581614a44565b8114614cb057600080fd5b50565b614cbc81614a56565b8114614cc757600080fd5b50565b614cd381614a62565b8114614cde57600080fd5b50565b614cea81614a6c565b8114614cf557600080fd5b50565b614d0181614a98565b8114614d0c57600080fd5b50565b614d1881614aca565b8114614d2357600080fd5b5056fe68747470733a2f2f70617261626c656e66742e636f6d2f6170692f70617261626c65732f68747470733a2f2f70617261626c656e66742e636f6d2f6170692f636f6e74726163746d6574612f38613736623632333866376235663134666566653930643266313736663963396333643431303334376437363965373138336132356539356237386534653639a2646970667358221220d3493be37fe49b486b7f4a317b280f4547d2dc70212a798496b1917efc01b75e64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000b46232c1e26fce750ec2824c804c9f86aa8a710
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : nctAddress (address): 0x0B46232C1E26FcE750Ec2824c804c9F86aA8A710
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : 0000000000000000000000000b46232c1e26fce750ec2824c804c9f86aa8a710
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.