Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 164 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer From | 17482612 | 453 days ago | IN | 0 ETH | 0.00133777 | ||||
Set Base URI | 17437895 | 460 days ago | IN | 0 ETH | 0.00083409 | ||||
Set Approval For... | 15967165 | 666 days ago | IN | 0 ETH | 0.00070252 | ||||
Set Approval For... | 15554071 | 724 days ago | IN | 0 ETH | 0.00066143 | ||||
Set Approval For... | 15212874 | 778 days ago | IN | 0 ETH | 0.00174259 | ||||
Set Approval For... | 14889984 | 831 days ago | IN | 0 ETH | 0.00279707 | ||||
Set Approval For... | 14223455 | 936 days ago | IN | 0 ETH | 0.00187798 | ||||
Flip Sale State | 14037492 | 965 days ago | IN | 0 ETH | 0.00652212 | ||||
Set Approval For... | 13984219 | 973 days ago | IN | 0 ETH | 0.00618447 | ||||
Set Approval For... | 13977194 | 974 days ago | IN | 0 ETH | 0.00652998 | ||||
Set Approval For... | 13977193 | 974 days ago | IN | 0 ETH | 0.01043652 | ||||
Transfer From | 13857157 | 993 days ago | IN | 0 ETH | 0.00582963 | ||||
Transfer From | 13656595 | 1024 days ago | IN | 0 ETH | 0.00928124 | ||||
Transfer From | 13653764 | 1025 days ago | IN | 0 ETH | 0.00380327 | ||||
Transfer From | 13574615 | 1037 days ago | IN | 0 ETH | 0.00932445 | ||||
Transfer From | 13574611 | 1037 days ago | IN | 0 ETH | 0.00735899 | ||||
Transfer From | 13574611 | 1037 days ago | IN | 0 ETH | 0.00735899 | ||||
Transfer From | 13574611 | 1037 days ago | IN | 0 ETH | 0.0073237 | ||||
Transfer From | 13574611 | 1037 days ago | IN | 0 ETH | 0.00837016 | ||||
Transfer From | 13574611 | 1037 days ago | IN | 0 ETH | 0.00735899 | ||||
Transfer From | 13574600 | 1037 days ago | IN | 0 ETH | 0.00969417 | ||||
Transfer From | 13486617 | 1051 days ago | IN | 0 ETH | 0.00474073 | ||||
Transfer From | 13467734 | 1054 days ago | IN | 0 ETH | 0.00555321 | ||||
Withdraw | 13428645 | 1060 days ago | IN | 0 ETH | 0.00190819 | ||||
Transfer From | 13428196 | 1060 days ago | IN | 0 ETH | 0.00740688 |
Loading...
Loading
Contract Name:
BurglarCats
Compiler Version
v0.8.6+commit.11564f7e
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.6; import "@openzeppelin/contracts/utils/Counters.sol"; import "./ERC721Tradable.sol"; contract BurglarCats is ERC721Tradable { using SafeMath for uint256; using Address for address; using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; Counters.Counter private _reservedTokenIdCounter; uint256 public constant NFT_PRICE_SALE = 60000000000000000; // 0.06 ETH uint public constant MAX_NFT_PURCHASE_SALE = 20; uint256 public MAX_SUPPLY = 10000; /** * Reserve some tokens for the team and community giveaways */ uint public constant RESERVED_TOTAL = 325; bool public isSaleActive = false; bool public isRevealed = false; string public provenanceHash; /** * 🆒 Evolutions */ address public evoContractAddress; string private _baseURIExtended; string private _placeholderURIExtended; constructor( address _proxyRegistryAddress ) ERC721Tradable('BurglarCats', 'BUCA', _proxyRegistryAddress) { /** * Start counting tokens from */ _tokenIdCounter._value = RESERVED_TOTAL; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIExtended; } function setBaseURI(string memory baseURI_) external onlyOwner { _baseURIExtended = baseURI_; } function setPlaceholderURI(string memory placeholderURI_) external onlyOwner { _placeholderURIExtended = placeholderURI_; } function setProvenanceHash(string memory provenanceHash_) external onlyOwner { provenanceHash = provenanceHash_; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if (!isRevealed) { return string(abi.encodePacked(_placeholderURIExtended, tokenId.toString())); } string memory base = _baseURI(); return string(abi.encodePacked(base, tokenId.toString())); } function flipSaleState() public onlyOwner { isSaleActive = !isSaleActive; } function flipReveal() public onlyOwner { isRevealed = !isRevealed; } function setEvolutionAddress(address contractAddress) public onlyOwner { evoContractAddress = contractAddress; } function _mintGeneric( uint256 CURRENT_NFT_PRICE, uint CURRENT_TOKENS_NUMBER_LIMIT, uint numberOfTokens ) internal { require(isSaleActive, "Sale is not active at the moment"); require(numberOfTokens > 0, "Number of tokens can not be less than or equal to 0"); require(_tokenIdCounter.current().add(numberOfTokens) <= MAX_SUPPLY, "Purchase would exceed max supply"); if (isSaleActive) { CURRENT_NFT_PRICE = NFT_PRICE_SALE; CURRENT_TOKENS_NUMBER_LIMIT = MAX_NFT_PURCHASE_SALE; } require(numberOfTokens <= CURRENT_TOKENS_NUMBER_LIMIT, "Tokens amount is out of limit"); require(CURRENT_NFT_PRICE.mul(numberOfTokens) == msg.value, "Sent ether value is incorrect"); for (uint i = 0; i < numberOfTokens; i++) { _safeMintGeneric(msg.sender, _tokenIdCounter); } } function mint(uint numberOfTokens) public payable { _mintGeneric(NFT_PRICE_SALE, MAX_NFT_PURCHASE_SALE, numberOfTokens); } /** * Lazily mint some reserved tokens */ function mintReserved(uint numberOfTokens) public onlyOwner { require( _reservedTokenIdCounter.current().add(numberOfTokens) <= RESERVED_TOTAL, "Minting would exceed max reserved supply" ); for (uint i = 0; i < numberOfTokens; i++) { _safeMintGeneric(msg.sender, _reservedTokenIdCounter); } } function burnTokenForAddress(uint256 tokenId, address burnerAddress) external { require(msg.sender == evoContractAddress, "Invalid sender address"); require(msg.sender != burnerAddress, "Invalid burner address"); _burn(tokenId); } function withdraw() public onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../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 "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT 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 "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// 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; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "./common/meta-transactions/ContentMixin.sol"; import "./common/meta-transactions/NativeMetaTransaction.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 ContextMixin, ERC721Enumerable, NativeMetaTransaction, ERC721URIStorage, ERC721Burnable, Ownable { using Counters for Counters.Counter; // Counters.Counter private _tokenIdCounter; // Counters.Counter private _reservedTokenIdCounter; address proxyRegistryAddress; event PermanentURI(string value, uint256 indexed id); constructor( string memory _name, string memory _symbol, address _proxyRegistryAddress ) ERC721(_name, _symbol) { proxyRegistryAddress = _proxyRegistryAddress; _initializeEIP712(_name); } function _safeMintGeneric(address to, Counters.Counter storage counter) internal { uint256 newTokenId = counter.current(); _safeMint(to, newTokenId); counter.increment(); } function _setPermanentURI(uint256 id, string memory uri) internal { _setTokenURI(id, uri); emit PermanentURI(uri, id); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public virtual view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } /** * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea. */ function _msgSender() internal view override returns (address sender) { return ContextMixin.msgSender(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = payable(msg.sender); } return sender; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Initializable} from "./Initializable.sol"; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string constant public ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)" ) ); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contracts that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712( string memory name ) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash) ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./EIP712Base.sol"; contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address payable relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce : nonces[userAddress], from : userAddress, functionSignature : functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted( userAddress, payable(msg.sender), functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "berlin", "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"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"PermanentURI","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":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NFT_PURCHASE_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PRICE_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_TOTAL","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"burnerAddress","type":"address"}],"name":"burnTokenForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"evoContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"flipReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","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":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setEvolutionAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"placeholderURI_","type":"string"}],"name":"setPlaceholderURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash_","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a60006101000a81548160ff0219169083151502179055506127106012556000601360006101000a81548160ff0219169083151502179055506000601360016101000a81548160ff0219169083151502179055503480156200006857600080fd5b50604051620060723803806200607283398181016040528101906200008e919062000553565b6040518060400160405280600b81526020017f427572676c6172436174730000000000000000000000000000000000000000008152506040518060400160405280600481526020017f42554341000000000000000000000000000000000000000000000000000000008152508282828160009080519060200190620001159291906200048c565b5080600190805190602001906200012e9291906200048c565b5050506200015162000145620001b960201b60201c565b620001d560201b60201c565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001a3836200029b60201b60201c565b5050506101456010600001819055505062000749565b6000620001d06200031d60201b6200202b1760201c565b905090565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600a60009054906101000a900460ff1615620002ee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002e5906200062b565b60405180910390fd5b620002ff81620003d060201b60201c565b6001600a60006101000a81548160ff02191690831515021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415620003c957600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620003cd565b3390505b90565b6040518060800160405280604f815260200162006023604f91398051906020012081805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012030620004476200047f60201b60201c565b60001b60405160200162000460959493929190620005ce565b60405160208183030381529060405280519060200120600b8190555050565b6000804690508091505090565b8280546200049a906200069c565b90600052602060002090601f016020900481019282620004be57600085556200050a565b82601f10620004d957805160ff19168380011785556200050a565b828001600101855582156200050a579182015b8281111562000509578251825591602001919060010190620004ec565b5b5090506200051991906200051d565b5090565b5b80821115620005385760008160009055506001016200051e565b5090565b6000815190506200054d816200072f565b92915050565b6000602082840312156200056c576200056b62000701565b5b60006200057c848285016200053c565b91505092915050565b62000590816200065e565b82525050565b620005a18162000672565b82525050565b6000620005b6600e836200064d565b9150620005c38262000706565b602082019050919050565b600060a082019050620005e5600083018862000596565b620005f4602083018762000596565b62000603604083018662000596565b62000612606083018562000585565b62000621608083018462000596565b9695505050505050565b600060208201905081810360008301526200064681620005a7565b9050919050565b600082825260208201905092915050565b60006200066b826200067c565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620006b557607f821691505b60208210811415620006cc57620006cb620006d2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b7f616c726561647920696e69746564000000000000000000000000000000000000600082015250565b6200073a816200065e565b81146200074657600080fd5b50565b6158ca80620007596000396000f3fe60806040526004361061025c5760003560e01c806354214f6911610144578063a22cb465116100b6578063cf71e5531161007a578063cf71e553146108b8578063dab86429146108e3578063e985e9c51461090e578063eaf7af941461094b578063f1e8228214610976578063f2fde38b1461099f5761025c565b8063a22cb465146107d5578063b88d4fde146107fe578063c62622ca14610827578063c6ab67a314610850578063c87b56dd1461087b5761025c565b806370a082311161010857806370a08231146106e6578063715018a6146107235780638da5cb5b1461073a57806395d89b41146107655780639a5d140b14610790578063a0712d68146107b95761025c565b806354214f69146105ff57806355f804b31461062a578063564566a8146106535780636352211e1461067e5780636e4d5d20146106bb5761025c565b80632d0335ab116101dd5780633574a2dd116101a15780633574a2dd146105195780633b84d9c6146105425780633ccfd60b1461055957806342842e0e1461057057806342966c68146105995780634f6ccce7146105c25761025c565b80632d0335ab146104325780632f745c591461046f57806332cb6b0c146104ac5780633408e470146104d757806334918dfd146105025761025c565b80630f7e5970116102245780630f7e59701461035f578063109695231461038a57806318160ddd146103b357806320379ee5146103de57806323b872dd146104095761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630c53c51c1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613d09565b6109c8565b60405161029591906145c1565b60405180910390f35b3480156102aa57600080fd5b506102b36109da565b6040516102c091906146a3565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613dd9565b610a6c565b6040516102fd919061451c565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613cc9565b610af1565b005b61034960048036038101906103449190613c32565b610c09565b6040516103569190614681565b60405180910390f35b34801561036b57600080fd5b50610374610e7b565b60405161038191906146a3565b60405180910390f35b34801561039657600080fd5b506103b160048036038101906103ac9190613d90565b610eb4565b005b3480156103bf57600080fd5b506103c8610f4a565b6040516103d59190614a85565b60405180910390f35b3480156103ea57600080fd5b506103f3610f57565b60405161040091906145dc565b60405180910390f35b34801561041557600080fd5b50610430600480360381019061042b9190613b1c565b610f61565b005b34801561043e57600080fd5b5061045960048036038101906104549190613aaf565b610fc1565b6040516104669190614a85565b60405180910390f35b34801561047b57600080fd5b5061049660048036038101906104919190613cc9565b61100a565b6040516104a39190614a85565b60405180910390f35b3480156104b857600080fd5b506104c16110af565b6040516104ce9190614a85565b60405180910390f35b3480156104e357600080fd5b506104ec6110b5565b6040516104f99190614a85565b60405180910390f35b34801561050e57600080fd5b506105176110c2565b005b34801561052557600080fd5b50610540600480360381019061053b9190613d90565b61116a565b005b34801561054e57600080fd5b50610557611200565b005b34801561056557600080fd5b5061056e6112a8565b005b34801561057c57600080fd5b5061059760048036038101906105929190613b1c565b611373565b005b3480156105a557600080fd5b506105c060048036038101906105bb9190613dd9565b611393565b005b3480156105ce57600080fd5b506105e960048036038101906105e49190613dd9565b6113ef565b6040516105f69190614a85565b60405180910390f35b34801561060b57600080fd5b50610614611460565b60405161062191906145c1565b60405180910390f35b34801561063657600080fd5b50610651600480360381019061064c9190613d90565b611473565b005b34801561065f57600080fd5b50610668611509565b60405161067591906145c1565b60405180910390f35b34801561068a57600080fd5b506106a560048036038101906106a09190613dd9565b61151c565b6040516106b2919061451c565b60405180910390f35b3480156106c757600080fd5b506106d06115ce565b6040516106dd9190614a85565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190613aaf565b6115d4565b60405161071a9190614a85565b60405180910390f35b34801561072f57600080fd5b5061073861168c565b005b34801561074657600080fd5b5061074f611714565b60405161075c919061451c565b60405180910390f35b34801561077157600080fd5b5061077a61173e565b60405161078791906146a3565b60405180910390f35b34801561079c57600080fd5b506107b760048036038101906107b29190613dd9565b6117d0565b005b6107d360048036038101906107ce9190613dd9565b6118d9565b005b3480156107e157600080fd5b506107fc60048036038101906107f79190613bf2565b6118ef565b005b34801561080a57600080fd5b5061082560048036038101906108209190613b6f565b611a70565b005b34801561083357600080fd5b5061084e60048036038101906108499190613e06565b611ad2565b005b34801561085c57600080fd5b50610865611bde565b60405161087291906146a3565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d9190613dd9565b611c6c565b6040516108af91906146a3565b60405180910390f35b3480156108c457600080fd5b506108cd611d3b565b6040516108da919061451c565b60405180910390f35b3480156108ef57600080fd5b506108f8611d61565b6040516109059190614a85565b60405180910390f35b34801561091a57600080fd5b5061093560048036038101906109309190613adc565b611d6c565b60405161094291906145c1565b60405180910390f35b34801561095757600080fd5b50610960611e6e565b60405161096d9190614a85565b60405180910390f35b34801561098257600080fd5b5061099d60048036038101906109989190613aaf565b611e73565b005b3480156109ab57600080fd5b506109c660048036038101906109c19190613aaf565b611f33565b005b60006109d3826120dc565b9050919050565b6060600080546109e990614d90565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1590614d90565b8015610a625780601f10610a3757610100808354040283529160200191610a62565b820191906000526020600020905b815481529060010190602001808311610a4557829003601f168201915b5050505050905090565b6000610a7782612156565b610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad906148e5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610afc8261151c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6490614985565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8c6121c2565b73ffffffffffffffffffffffffffffffffffffffff161480610bbb5750610bba81610bb56121c2565b611d6c565b5b610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf190614825565b60405180910390fd5b610c0483836121d1565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c8c878287878761228a565b610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290614945565b60405180910390fd5b610d1e6001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239390919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d9493929190614537565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610dc9929190614475565b604051602081830303815290604052604051610de5919061445e565b6000604051808303816000865af19150503d8060008114610e22576040519150601f19603f3d011682016040523d82523d6000602084013e610e27565b606091505b509150915081610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6390614745565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b610ebc6121c2565b73ffffffffffffffffffffffffffffffffffffffff16610eda611714565b73ffffffffffffffffffffffffffffffffffffffff1614610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2790614905565b60405180910390fd5b8060149080519060200190610f46929190613844565b5050565b6000600880549050905090565b6000600b54905090565b610f72610f6c6121c2565b826123a9565b610fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa8906149c5565b60405180910390fd5b610fbc838383612487565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000611015836115d4565b8210611056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104d906146e5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60125481565b6000804690508091505090565b6110ca6121c2565b73ffffffffffffffffffffffffffffffffffffffff166110e8611714565b73ffffffffffffffffffffffffffffffffffffffff161461113e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113590614905565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b6111726121c2565b73ffffffffffffffffffffffffffffffffffffffff16611190611714565b73ffffffffffffffffffffffffffffffffffffffff16146111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd90614905565b60405180910390fd5b80601790805190602001906111fc929190613844565b5050565b6112086121c2565b73ffffffffffffffffffffffffffffffffffffffff16611226611714565b73ffffffffffffffffffffffffffffffffffffffff161461127c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127390614905565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b6112b06121c2565b73ffffffffffffffffffffffffffffffffffffffff166112ce611714565b73ffffffffffffffffffffffffffffffffffffffff1614611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b90614905565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561136f573d6000803e3d6000fd5b5050565b61138e83838360405180602001604052806000815250611a70565b505050565b6113a461139e6121c2565b826123a9565b6113e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113da90614a25565b60405180910390fd5b6113ec816126e3565b50565b60006113f9610f4a565b821061143a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611431906149e5565b60405180910390fd5b6008828154811061144e5761144d614f57565b5b90600052602060002001549050919050565b601360019054906101000a900460ff1681565b61147b6121c2565b73ffffffffffffffffffffffffffffffffffffffff16611499611714565b73ffffffffffffffffffffffffffffffffffffffff16146114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e690614905565b60405180910390fd5b8060169080519060200190611505929190613844565b5050565b601360009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90614865565b60405180910390fd5b80915050919050565b61014581565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c90614845565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116946121c2565b73ffffffffffffffffffffffffffffffffffffffff166116b2611714565b73ffffffffffffffffffffffffffffffffffffffff1614611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90614905565b60405180910390fd5b61171260006126ef565b565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461174d90614d90565b80601f016020809104026020016040519081016040528092919081815260200182805461177990614d90565b80156117c65780601f1061179b576101008083540402835291602001916117c6565b820191906000526020600020905b8154815290600101906020018083116117a957829003601f168201915b5050505050905090565b6117d86121c2565b73ffffffffffffffffffffffffffffffffffffffff166117f6611714565b73ffffffffffffffffffffffffffffffffffffffff161461184c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184390614905565b60405180910390fd5b61014561186b8261185d60116127b5565b61239390919063ffffffff16565b11156118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a390614a45565b60405180910390fd5b60005b818110156118d5576118c23360116127c3565b80806118cd90614df3565b9150506118af565b5050565b6118ec66d529ae9e8600006014836127e8565b50565b6118f76121c2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195c906147c5565b60405180910390fd5b80600560006119726121c2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a1f6121c2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a6491906145c1565b60405180910390a35050565b611a81611a7b6121c2565b836123a9565b611ac0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab7906149c5565b60405180910390fd5b611acc848484846129c4565b50505050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b59906149a5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc890614a05565b60405180910390fd5b611bda826126e3565b5050565b60148054611beb90614d90565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1790614d90565b8015611c645780601f10611c3957610100808354040283529160200191611c64565b820191906000526020600020905b815481529060010190602001808311611c4757829003601f168201915b505050505081565b6060611c7782612156565b611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad90614965565b60405180910390fd5b601360019054906101000a900460ff16611cfc576017611cd583612a20565b604051602001611ce69291906144c1565b6040516020818303038152906040529050611d36565b6000611d06612b81565b905080611d1284612a20565b604051602001611d2392919061449d565b6040516020818303038152906040529150505b919050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b66d529ae9e86000081565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611de4919061451c565b60206040518083038186803b158015611dfc57600080fd5b505afa158015611e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e349190613d63565b73ffffffffffffffffffffffffffffffffffffffff161415611e5a576001915050611e68565b611e648484612c13565b9150505b92915050565b601481565b611e7b6121c2565b73ffffffffffffffffffffffffffffffffffffffff16611e99611714565b73ffffffffffffffffffffffffffffffffffffffff1614611eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee690614905565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611f3b6121c2565b73ffffffffffffffffffffffffffffffffffffffff16611f59611714565b73ffffffffffffffffffffffffffffffffffffffff1614611faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa690614905565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561201f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201690614725565b60405180910390fd5b612028816126ef565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156120d557600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506120d9565b3390505b90565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061214f575061214e82612ca7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006121cc61202b565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122448361151c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156122fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f290614805565b60405180910390fd5b600161230e61230987612d89565b612df1565b8386866040516000815260200160405260405161232e949392919061463c565b6020604051602081039080840390855afa158015612350573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836123a19190614b8a565b905092915050565b60006123b482612156565b6123f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ea906147e5565b60405180910390fd5b60006123fe8361151c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061246d57508373ffffffffffffffffffffffffffffffffffffffff1661245584610a6c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061247e575061247d8185611d6c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124a78261151c565b73ffffffffffffffffffffffffffffffffffffffff16146124fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f490614925565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561256d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612564906147a5565b60405180910390fd5b612578838383612e2a565b6125836000826121d1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125d39190614c6b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461262a9190614b8a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6126ec81612e3a565b50565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b60006127ce826127b5565b90506127da8382612e8d565b6127e382612eab565b505050565b601360009054906101000a900460ff16612837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282e90614a65565b60405180910390fd5b6000811161287a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612871906146c5565b60405180910390fd5b6012546128998261288b60106127b5565b61239390919063ffffffff16565b11156128da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d1906148a5565b60405180910390fd5b601360009054906101000a900460ff16156128fe5766d529ae9e8600009250601491505b81811115612941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293890614765565b60405180910390fd5b346129558285612ec190919063ffffffff16565b14612995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298c90614885565b60405180910390fd5b60005b818110156129be576129ab3360106127c3565b80806129b690614df3565b915050612998565b50505050565b6129cf848484612487565b6129db84848484612ed7565b612a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1190614705565b60405180910390fd5b50505050565b60606000821415612a68576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b7c565b600082905060005b60008214612a9a578080612a8390614df3565b915050600a82612a939190614be0565b9150612a70565b60008167ffffffffffffffff811115612ab657612ab5614f86565b5b6040519080825280601f01601f191660200182016040528015612ae85781602001600182028036833780820191505090505b5090505b60008514612b7557600182612b019190614c6b565b9150600a85612b109190614e6a565b6030612b1c9190614b8a565b60f81b818381518110612b3257612b31614f57565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b6e9190614be0565b9450612aec565b8093505050505b919050565b606060168054612b9090614d90565b80601f0160208091040260200160405190810160405280929190818152602001828054612bbc90614d90565b8015612c095780601f10612bde57610100808354040283529160200191612c09565b820191906000526020600020905b815481529060010190602001808311612bec57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d7257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d825750612d818261306e565b5b9050919050565b6000604051806080016040528060438152602001615852604391398051906020012082600001518360200151846040015180519060200120604051602001612dd494939291906145f7565b604051602081830303815290604052805190602001209050919050565b6000612dfb610f57565b82604051602001612e0d9291906144e5565b604051602081830303815290604052805190602001209050919050565b612e358383836130d8565b505050565b612e43816131ec565b6000600d60008381526020019081526020016000208054612e6390614d90565b905014612e8a57600d60008281526020019081526020016000206000612e8991906138ca565b5b50565b612ea78282604051806020016040528060008152506132fd565b5050565b6001816000016000828254019250508190555050565b60008183612ecf9190614c11565b905092915050565b6000612ef88473ffffffffffffffffffffffffffffffffffffffff16613358565b15613061578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f216121c2565b8786866040518563ffffffff1660e01b8152600401612f439493929190614575565b602060405180830381600087803b158015612f5d57600080fd5b505af1925050508015612f8e57506040513d601f19601f82011682018060405250810190612f8b9190613d36565b60015b613011573d8060008114612fbe576040519150601f19603f3d011682016040523d82523d6000602084013e612fc3565b606091505b50600081511415613009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300090614705565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613066565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6130e383838361336b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131265761312181613370565b613165565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131645761316383826133b9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131a8576131a381613526565b6131e7565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131e6576131e582826135f7565b5b5b505050565b60006131f78261151c565b905061320581600084612e2a565b6132106000836121d1565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132609190614c6b565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6133078383613676565b6133146000848484612ed7565b613353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334a90614705565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016133c6846115d4565b6133d09190614c6b565b90506000600760008481526020019081526020016000205490508181146134b5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061353a9190614c6b565b905060006009600084815260200190815260200160002054905060006008838154811061356a57613569614f57565b5b90600052602060002001549050806008838154811061358c5761358b614f57565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806135db576135da614f28565b5b6001900381819060005260206000200160009055905550505050565b6000613602836115d4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136dd906148c5565b60405180910390fd5b6136ef81612156565b1561372f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372690614785565b60405180910390fd5b61373b60008383612e2a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461378b9190614b8a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461385090614d90565b90600052602060002090601f01602090048101928261387257600085556138b9565b82601f1061388b57805160ff19168380011785556138b9565b828001600101855582156138b9579182015b828111156138b857825182559160200191906001019061389d565b5b5090506138c6919061390a565b5090565b5080546138d690614d90565b6000825580601f106138e85750613907565b601f016020900490600052602060002090810190613906919061390a565b5b50565b5b8082111561392357600081600090555060010161390b565b5090565b600061393a61393584614ac5565b614aa0565b90508281526020810184848401111561395657613955614fba565b5b613961848285614d4e565b509392505050565b600061397c61397784614af6565b614aa0565b90508281526020810184848401111561399857613997614fba565b5b6139a3848285614d4e565b509392505050565b6000813590506139ba816157b0565b92915050565b6000813590506139cf816157c7565b92915050565b6000813590506139e4816157de565b92915050565b6000813590506139f9816157f5565b92915050565b600081519050613a0e816157f5565b92915050565b600082601f830112613a2957613a28614fb5565b5b8135613a39848260208601613927565b91505092915050565b600081519050613a518161580c565b92915050565b600082601f830112613a6c57613a6b614fb5565b5b8135613a7c848260208601613969565b91505092915050565b600081359050613a9481615823565b92915050565b600081359050613aa98161583a565b92915050565b600060208284031215613ac557613ac4614fc4565b5b6000613ad3848285016139ab565b91505092915050565b60008060408385031215613af357613af2614fc4565b5b6000613b01858286016139ab565b9250506020613b12858286016139ab565b9150509250929050565b600080600060608486031215613b3557613b34614fc4565b5b6000613b43868287016139ab565b9350506020613b54868287016139ab565b9250506040613b6586828701613a85565b9150509250925092565b60008060008060808587031215613b8957613b88614fc4565b5b6000613b97878288016139ab565b9450506020613ba8878288016139ab565b9350506040613bb987828801613a85565b925050606085013567ffffffffffffffff811115613bda57613bd9614fbf565b5b613be687828801613a14565b91505092959194509250565b60008060408385031215613c0957613c08614fc4565b5b6000613c17858286016139ab565b9250506020613c28858286016139c0565b9150509250929050565b600080600080600060a08688031215613c4e57613c4d614fc4565b5b6000613c5c888289016139ab565b955050602086013567ffffffffffffffff811115613c7d57613c7c614fbf565b5b613c8988828901613a14565b9450506040613c9a888289016139d5565b9350506060613cab888289016139d5565b9250506080613cbc88828901613a9a565b9150509295509295909350565b60008060408385031215613ce057613cdf614fc4565b5b6000613cee858286016139ab565b9250506020613cff85828601613a85565b9150509250929050565b600060208284031215613d1f57613d1e614fc4565b5b6000613d2d848285016139ea565b91505092915050565b600060208284031215613d4c57613d4b614fc4565b5b6000613d5a848285016139ff565b91505092915050565b600060208284031215613d7957613d78614fc4565b5b6000613d8784828501613a42565b91505092915050565b600060208284031215613da657613da5614fc4565b5b600082013567ffffffffffffffff811115613dc457613dc3614fbf565b5b613dd084828501613a57565b91505092915050565b600060208284031215613def57613dee614fc4565b5b6000613dfd84828501613a85565b91505092915050565b60008060408385031215613e1d57613e1c614fc4565b5b6000613e2b85828601613a85565b9250506020613e3c858286016139ab565b9150509250929050565b613e4f81614cb1565b82525050565b613e5e81614c9f565b82525050565b613e75613e7082614c9f565b614e3c565b82525050565b613e8481614cc3565b82525050565b613e9381614ccf565b82525050565b613eaa613ea582614ccf565b614e4e565b82525050565b6000613ebb82614b3c565b613ec58185614b52565b9350613ed5818560208601614d5d565b613ede81614fc9565b840191505092915050565b6000613ef482614b3c565b613efe8185614b63565b9350613f0e818560208601614d5d565b80840191505092915050565b6000613f2582614b47565b613f2f8185614b6e565b9350613f3f818560208601614d5d565b613f4881614fc9565b840191505092915050565b6000613f5e82614b47565b613f688185614b7f565b9350613f78818560208601614d5d565b80840191505092915050565b60008154613f9181614d90565b613f9b8186614b7f565b94506001821660008114613fb65760018114613fc757613ffa565b60ff19831686528186019350613ffa565b613fd085614b27565b60005b83811015613ff257815481890152600182019150602081019050613fd3565b838801955050505b50505092915050565b6000614010603383614b6e565b915061401b82614fe7565b604082019050919050565b6000614033602b83614b6e565b915061403e82615036565b604082019050919050565b6000614056603283614b6e565b915061406182615085565b604082019050919050565b6000614079602683614b6e565b9150614084826150d4565b604082019050919050565b600061409c601c83614b6e565b91506140a782615123565b602082019050919050565b60006140bf601d83614b6e565b91506140ca8261514c565b602082019050919050565b60006140e2601c83614b6e565b91506140ed82615175565b602082019050919050565b6000614105600283614b7f565b91506141108261519e565b600282019050919050565b6000614128602483614b6e565b9150614133826151c7565b604082019050919050565b600061414b601983614b6e565b915061415682615216565b602082019050919050565b600061416e602c83614b6e565b91506141798261523f565b604082019050919050565b6000614191602583614b6e565b915061419c8261528e565b604082019050919050565b60006141b4603883614b6e565b91506141bf826152dd565b604082019050919050565b60006141d7602a83614b6e565b91506141e28261532c565b604082019050919050565b60006141fa602983614b6e565b91506142058261537b565b604082019050919050565b600061421d601d83614b6e565b9150614228826153ca565b602082019050919050565b6000614240602083614b6e565b915061424b826153f3565b602082019050919050565b6000614263602083614b6e565b915061426e8261541c565b602082019050919050565b6000614286602c83614b6e565b915061429182615445565b604082019050919050565b60006142a9602083614b6e565b91506142b482615494565b602082019050919050565b60006142cc602983614b6e565b91506142d7826154bd565b604082019050919050565b60006142ef602183614b6e565b91506142fa8261550c565b604082019050919050565b6000614312602f83614b6e565b915061431d8261555b565b604082019050919050565b6000614335602183614b6e565b9150614340826155aa565b604082019050919050565b6000614358601683614b6e565b9150614363826155f9565b602082019050919050565b600061437b603183614b6e565b915061438682615622565b604082019050919050565b600061439e602c83614b6e565b91506143a982615671565b604082019050919050565b60006143c1601683614b6e565b91506143cc826156c0565b602082019050919050565b60006143e4603083614b6e565b91506143ef826156e9565b604082019050919050565b6000614407602883614b6e565b915061441282615738565b604082019050919050565b600061442a602083614b6e565b915061443582615787565b602082019050919050565b61444981614d37565b82525050565b61445881614d41565b82525050565b600061446a8284613ee9565b915081905092915050565b60006144818285613ee9565b915061448d8284613e64565b6014820191508190509392505050565b60006144a98285613f53565b91506144b58284613f53565b91508190509392505050565b60006144cd8285613f84565b91506144d98284613f53565b91508190509392505050565b60006144f0826140f8565b91506144fc8285613e99565b60208201915061450c8284613e99565b6020820191508190509392505050565b60006020820190506145316000830184613e55565b92915050565b600060608201905061454c6000830186613e55565b6145596020830185613e46565b818103604083015261456b8184613eb0565b9050949350505050565b600060808201905061458a6000830187613e55565b6145976020830186613e55565b6145a46040830185614440565b81810360608301526145b68184613eb0565b905095945050505050565b60006020820190506145d66000830184613e7b565b92915050565b60006020820190506145f16000830184613e8a565b92915050565b600060808201905061460c6000830187613e8a565b6146196020830186614440565b6146266040830185613e55565b6146336060830184613e8a565b95945050505050565b60006080820190506146516000830187613e8a565b61465e602083018661444f565b61466b6040830185613e8a565b6146786060830184613e8a565b95945050505050565b6000602082019050818103600083015261469b8184613eb0565b905092915050565b600060208201905081810360008301526146bd8184613f1a565b905092915050565b600060208201905081810360008301526146de81614003565b9050919050565b600060208201905081810360008301526146fe81614026565b9050919050565b6000602082019050818103600083015261471e81614049565b9050919050565b6000602082019050818103600083015261473e8161406c565b9050919050565b6000602082019050818103600083015261475e8161408f565b9050919050565b6000602082019050818103600083015261477e816140b2565b9050919050565b6000602082019050818103600083015261479e816140d5565b9050919050565b600060208201905081810360008301526147be8161411b565b9050919050565b600060208201905081810360008301526147de8161413e565b9050919050565b600060208201905081810360008301526147fe81614161565b9050919050565b6000602082019050818103600083015261481e81614184565b9050919050565b6000602082019050818103600083015261483e816141a7565b9050919050565b6000602082019050818103600083015261485e816141ca565b9050919050565b6000602082019050818103600083015261487e816141ed565b9050919050565b6000602082019050818103600083015261489e81614210565b9050919050565b600060208201905081810360008301526148be81614233565b9050919050565b600060208201905081810360008301526148de81614256565b9050919050565b600060208201905081810360008301526148fe81614279565b9050919050565b6000602082019050818103600083015261491e8161429c565b9050919050565b6000602082019050818103600083015261493e816142bf565b9050919050565b6000602082019050818103600083015261495e816142e2565b9050919050565b6000602082019050818103600083015261497e81614305565b9050919050565b6000602082019050818103600083015261499e81614328565b9050919050565b600060208201905081810360008301526149be8161434b565b9050919050565b600060208201905081810360008301526149de8161436e565b9050919050565b600060208201905081810360008301526149fe81614391565b9050919050565b60006020820190508181036000830152614a1e816143b4565b9050919050565b60006020820190508181036000830152614a3e816143d7565b9050919050565b60006020820190508181036000830152614a5e816143fa565b9050919050565b60006020820190508181036000830152614a7e8161441d565b9050919050565b6000602082019050614a9a6000830184614440565b92915050565b6000614aaa614abb565b9050614ab68282614dc2565b919050565b6000604051905090565b600067ffffffffffffffff821115614ae057614adf614f86565b5b614ae982614fc9565b9050602081019050919050565b600067ffffffffffffffff821115614b1157614b10614f86565b5b614b1a82614fc9565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b9582614d37565b9150614ba083614d37565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bd557614bd4614e9b565b5b828201905092915050565b6000614beb82614d37565b9150614bf683614d37565b925082614c0657614c05614eca565b5b828204905092915050565b6000614c1c82614d37565b9150614c2783614d37565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c6057614c5f614e9b565b5b828202905092915050565b6000614c7682614d37565b9150614c8183614d37565b925082821015614c9457614c93614e9b565b5b828203905092915050565b6000614caa82614d17565b9050919050565b6000614cbc82614d17565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614d1082614c9f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614d7b578082015181840152602081019050614d60565b83811115614d8a576000848401525b50505050565b60006002820490506001821680614da857607f821691505b60208210811415614dbc57614dbb614ef9565b5b50919050565b614dcb82614fc9565b810181811067ffffffffffffffff82111715614dea57614de9614f86565b5b80604052505050565b6000614dfe82614d37565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e3157614e30614e9b565b5b600182019050919050565b6000614e4782614e58565b9050919050565b6000819050919050565b6000614e6382614fda565b9050919050565b6000614e7582614d37565b9150614e8083614d37565b925082614e9057614e8f614eca565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4e756d626572206f6620746f6b656e732063616e206e6f74206265206c65737360008201527f207468616e206f7220657175616c20746f203000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f546f6b656e7320616d6f756e74206973206f7574206f66206c696d6974000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53656e742065746865722076616c756520697320696e636f7272656374000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c69642073656e646572206164647265737300000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f496e76616c6964206275726e6572206164647265737300000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c6420657863656564206d6178207265736572766560008201527f6420737570706c79000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f742061637469766520617420746865206d6f6d656e74600082015250565b6157b981614c9f565b81146157c457600080fd5b50565b6157d081614cc3565b81146157db57600080fd5b50565b6157e781614ccf565b81146157f257600080fd5b50565b6157fe81614cd9565b811461580957600080fd5b50565b61581581614d05565b811461582057600080fd5b50565b61582c81614d37565b811461583757600080fd5b50565b61584381614d41565b811461584e57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220eaba9ffaf8127b048c6e09d34f8afbb2129a5ea401011fc0ecab430e17944cda64736f6c63430008060033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x60806040526004361061025c5760003560e01c806354214f6911610144578063a22cb465116100b6578063cf71e5531161007a578063cf71e553146108b8578063dab86429146108e3578063e985e9c51461090e578063eaf7af941461094b578063f1e8228214610976578063f2fde38b1461099f5761025c565b8063a22cb465146107d5578063b88d4fde146107fe578063c62622ca14610827578063c6ab67a314610850578063c87b56dd1461087b5761025c565b806370a082311161010857806370a08231146106e6578063715018a6146107235780638da5cb5b1461073a57806395d89b41146107655780639a5d140b14610790578063a0712d68146107b95761025c565b806354214f69146105ff57806355f804b31461062a578063564566a8146106535780636352211e1461067e5780636e4d5d20146106bb5761025c565b80632d0335ab116101dd5780633574a2dd116101a15780633574a2dd146105195780633b84d9c6146105425780633ccfd60b1461055957806342842e0e1461057057806342966c68146105995780634f6ccce7146105c25761025c565b80632d0335ab146104325780632f745c591461046f57806332cb6b0c146104ac5780633408e470146104d757806334918dfd146105025761025c565b80630f7e5970116102245780630f7e59701461035f578063109695231461038a57806318160ddd146103b357806320379ee5146103de57806323b872dd146104095761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630c53c51c1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613d09565b6109c8565b60405161029591906145c1565b60405180910390f35b3480156102aa57600080fd5b506102b36109da565b6040516102c091906146a3565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613dd9565b610a6c565b6040516102fd919061451c565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613cc9565b610af1565b005b61034960048036038101906103449190613c32565b610c09565b6040516103569190614681565b60405180910390f35b34801561036b57600080fd5b50610374610e7b565b60405161038191906146a3565b60405180910390f35b34801561039657600080fd5b506103b160048036038101906103ac9190613d90565b610eb4565b005b3480156103bf57600080fd5b506103c8610f4a565b6040516103d59190614a85565b60405180910390f35b3480156103ea57600080fd5b506103f3610f57565b60405161040091906145dc565b60405180910390f35b34801561041557600080fd5b50610430600480360381019061042b9190613b1c565b610f61565b005b34801561043e57600080fd5b5061045960048036038101906104549190613aaf565b610fc1565b6040516104669190614a85565b60405180910390f35b34801561047b57600080fd5b5061049660048036038101906104919190613cc9565b61100a565b6040516104a39190614a85565b60405180910390f35b3480156104b857600080fd5b506104c16110af565b6040516104ce9190614a85565b60405180910390f35b3480156104e357600080fd5b506104ec6110b5565b6040516104f99190614a85565b60405180910390f35b34801561050e57600080fd5b506105176110c2565b005b34801561052557600080fd5b50610540600480360381019061053b9190613d90565b61116a565b005b34801561054e57600080fd5b50610557611200565b005b34801561056557600080fd5b5061056e6112a8565b005b34801561057c57600080fd5b5061059760048036038101906105929190613b1c565b611373565b005b3480156105a557600080fd5b506105c060048036038101906105bb9190613dd9565b611393565b005b3480156105ce57600080fd5b506105e960048036038101906105e49190613dd9565b6113ef565b6040516105f69190614a85565b60405180910390f35b34801561060b57600080fd5b50610614611460565b60405161062191906145c1565b60405180910390f35b34801561063657600080fd5b50610651600480360381019061064c9190613d90565b611473565b005b34801561065f57600080fd5b50610668611509565b60405161067591906145c1565b60405180910390f35b34801561068a57600080fd5b506106a560048036038101906106a09190613dd9565b61151c565b6040516106b2919061451c565b60405180910390f35b3480156106c757600080fd5b506106d06115ce565b6040516106dd9190614a85565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190613aaf565b6115d4565b60405161071a9190614a85565b60405180910390f35b34801561072f57600080fd5b5061073861168c565b005b34801561074657600080fd5b5061074f611714565b60405161075c919061451c565b60405180910390f35b34801561077157600080fd5b5061077a61173e565b60405161078791906146a3565b60405180910390f35b34801561079c57600080fd5b506107b760048036038101906107b29190613dd9565b6117d0565b005b6107d360048036038101906107ce9190613dd9565b6118d9565b005b3480156107e157600080fd5b506107fc60048036038101906107f79190613bf2565b6118ef565b005b34801561080a57600080fd5b5061082560048036038101906108209190613b6f565b611a70565b005b34801561083357600080fd5b5061084e60048036038101906108499190613e06565b611ad2565b005b34801561085c57600080fd5b50610865611bde565b60405161087291906146a3565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d9190613dd9565b611c6c565b6040516108af91906146a3565b60405180910390f35b3480156108c457600080fd5b506108cd611d3b565b6040516108da919061451c565b60405180910390f35b3480156108ef57600080fd5b506108f8611d61565b6040516109059190614a85565b60405180910390f35b34801561091a57600080fd5b5061093560048036038101906109309190613adc565b611d6c565b60405161094291906145c1565b60405180910390f35b34801561095757600080fd5b50610960611e6e565b60405161096d9190614a85565b60405180910390f35b34801561098257600080fd5b5061099d60048036038101906109989190613aaf565b611e73565b005b3480156109ab57600080fd5b506109c660048036038101906109c19190613aaf565b611f33565b005b60006109d3826120dc565b9050919050565b6060600080546109e990614d90565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1590614d90565b8015610a625780601f10610a3757610100808354040283529160200191610a62565b820191906000526020600020905b815481529060010190602001808311610a4557829003601f168201915b5050505050905090565b6000610a7782612156565b610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad906148e5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610afc8261151c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6490614985565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8c6121c2565b73ffffffffffffffffffffffffffffffffffffffff161480610bbb5750610bba81610bb56121c2565b611d6c565b5b610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf190614825565b60405180910390fd5b610c0483836121d1565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c8c878287878761228a565b610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290614945565b60405180910390fd5b610d1e6001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239390919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d9493929190614537565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610dc9929190614475565b604051602081830303815290604052604051610de5919061445e565b6000604051808303816000865af19150503d8060008114610e22576040519150601f19603f3d011682016040523d82523d6000602084013e610e27565b606091505b509150915081610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6390614745565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b610ebc6121c2565b73ffffffffffffffffffffffffffffffffffffffff16610eda611714565b73ffffffffffffffffffffffffffffffffffffffff1614610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2790614905565b60405180910390fd5b8060149080519060200190610f46929190613844565b5050565b6000600880549050905090565b6000600b54905090565b610f72610f6c6121c2565b826123a9565b610fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa8906149c5565b60405180910390fd5b610fbc838383612487565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000611015836115d4565b8210611056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104d906146e5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60125481565b6000804690508091505090565b6110ca6121c2565b73ffffffffffffffffffffffffffffffffffffffff166110e8611714565b73ffffffffffffffffffffffffffffffffffffffff161461113e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113590614905565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b6111726121c2565b73ffffffffffffffffffffffffffffffffffffffff16611190611714565b73ffffffffffffffffffffffffffffffffffffffff16146111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd90614905565b60405180910390fd5b80601790805190602001906111fc929190613844565b5050565b6112086121c2565b73ffffffffffffffffffffffffffffffffffffffff16611226611714565b73ffffffffffffffffffffffffffffffffffffffff161461127c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127390614905565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b6112b06121c2565b73ffffffffffffffffffffffffffffffffffffffff166112ce611714565b73ffffffffffffffffffffffffffffffffffffffff1614611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b90614905565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561136f573d6000803e3d6000fd5b5050565b61138e83838360405180602001604052806000815250611a70565b505050565b6113a461139e6121c2565b826123a9565b6113e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113da90614a25565b60405180910390fd5b6113ec816126e3565b50565b60006113f9610f4a565b821061143a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611431906149e5565b60405180910390fd5b6008828154811061144e5761144d614f57565b5b90600052602060002001549050919050565b601360019054906101000a900460ff1681565b61147b6121c2565b73ffffffffffffffffffffffffffffffffffffffff16611499611714565b73ffffffffffffffffffffffffffffffffffffffff16146114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e690614905565b60405180910390fd5b8060169080519060200190611505929190613844565b5050565b601360009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90614865565b60405180910390fd5b80915050919050565b61014581565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c90614845565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116946121c2565b73ffffffffffffffffffffffffffffffffffffffff166116b2611714565b73ffffffffffffffffffffffffffffffffffffffff1614611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90614905565b60405180910390fd5b61171260006126ef565b565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461174d90614d90565b80601f016020809104026020016040519081016040528092919081815260200182805461177990614d90565b80156117c65780601f1061179b576101008083540402835291602001916117c6565b820191906000526020600020905b8154815290600101906020018083116117a957829003601f168201915b5050505050905090565b6117d86121c2565b73ffffffffffffffffffffffffffffffffffffffff166117f6611714565b73ffffffffffffffffffffffffffffffffffffffff161461184c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184390614905565b60405180910390fd5b61014561186b8261185d60116127b5565b61239390919063ffffffff16565b11156118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a390614a45565b60405180910390fd5b60005b818110156118d5576118c23360116127c3565b80806118cd90614df3565b9150506118af565b5050565b6118ec66d529ae9e8600006014836127e8565b50565b6118f76121c2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195c906147c5565b60405180910390fd5b80600560006119726121c2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a1f6121c2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a6491906145c1565b60405180910390a35050565b611a81611a7b6121c2565b836123a9565b611ac0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab7906149c5565b60405180910390fd5b611acc848484846129c4565b50505050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b59906149a5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc890614a05565b60405180910390fd5b611bda826126e3565b5050565b60148054611beb90614d90565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1790614d90565b8015611c645780601f10611c3957610100808354040283529160200191611c64565b820191906000526020600020905b815481529060010190602001808311611c4757829003601f168201915b505050505081565b6060611c7782612156565b611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad90614965565b60405180910390fd5b601360019054906101000a900460ff16611cfc576017611cd583612a20565b604051602001611ce69291906144c1565b6040516020818303038152906040529050611d36565b6000611d06612b81565b905080611d1284612a20565b604051602001611d2392919061449d565b6040516020818303038152906040529150505b919050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b66d529ae9e86000081565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611de4919061451c565b60206040518083038186803b158015611dfc57600080fd5b505afa158015611e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e349190613d63565b73ffffffffffffffffffffffffffffffffffffffff161415611e5a576001915050611e68565b611e648484612c13565b9150505b92915050565b601481565b611e7b6121c2565b73ffffffffffffffffffffffffffffffffffffffff16611e99611714565b73ffffffffffffffffffffffffffffffffffffffff1614611eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee690614905565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611f3b6121c2565b73ffffffffffffffffffffffffffffffffffffffff16611f59611714565b73ffffffffffffffffffffffffffffffffffffffff1614611faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa690614905565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561201f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201690614725565b60405180910390fd5b612028816126ef565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156120d557600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506120d9565b3390505b90565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061214f575061214e82612ca7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006121cc61202b565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122448361151c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156122fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f290614805565b60405180910390fd5b600161230e61230987612d89565b612df1565b8386866040516000815260200160405260405161232e949392919061463c565b6020604051602081039080840390855afa158015612350573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836123a19190614b8a565b905092915050565b60006123b482612156565b6123f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ea906147e5565b60405180910390fd5b60006123fe8361151c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061246d57508373ffffffffffffffffffffffffffffffffffffffff1661245584610a6c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061247e575061247d8185611d6c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124a78261151c565b73ffffffffffffffffffffffffffffffffffffffff16146124fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f490614925565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561256d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612564906147a5565b60405180910390fd5b612578838383612e2a565b6125836000826121d1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125d39190614c6b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461262a9190614b8a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6126ec81612e3a565b50565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b60006127ce826127b5565b90506127da8382612e8d565b6127e382612eab565b505050565b601360009054906101000a900460ff16612837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282e90614a65565b60405180910390fd5b6000811161287a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612871906146c5565b60405180910390fd5b6012546128998261288b60106127b5565b61239390919063ffffffff16565b11156128da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d1906148a5565b60405180910390fd5b601360009054906101000a900460ff16156128fe5766d529ae9e8600009250601491505b81811115612941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293890614765565b60405180910390fd5b346129558285612ec190919063ffffffff16565b14612995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298c90614885565b60405180910390fd5b60005b818110156129be576129ab3360106127c3565b80806129b690614df3565b915050612998565b50505050565b6129cf848484612487565b6129db84848484612ed7565b612a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1190614705565b60405180910390fd5b50505050565b60606000821415612a68576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b7c565b600082905060005b60008214612a9a578080612a8390614df3565b915050600a82612a939190614be0565b9150612a70565b60008167ffffffffffffffff811115612ab657612ab5614f86565b5b6040519080825280601f01601f191660200182016040528015612ae85781602001600182028036833780820191505090505b5090505b60008514612b7557600182612b019190614c6b565b9150600a85612b109190614e6a565b6030612b1c9190614b8a565b60f81b818381518110612b3257612b31614f57565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b6e9190614be0565b9450612aec565b8093505050505b919050565b606060168054612b9090614d90565b80601f0160208091040260200160405190810160405280929190818152602001828054612bbc90614d90565b8015612c095780601f10612bde57610100808354040283529160200191612c09565b820191906000526020600020905b815481529060010190602001808311612bec57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d7257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d825750612d818261306e565b5b9050919050565b6000604051806080016040528060438152602001615852604391398051906020012082600001518360200151846040015180519060200120604051602001612dd494939291906145f7565b604051602081830303815290604052805190602001209050919050565b6000612dfb610f57565b82604051602001612e0d9291906144e5565b604051602081830303815290604052805190602001209050919050565b612e358383836130d8565b505050565b612e43816131ec565b6000600d60008381526020019081526020016000208054612e6390614d90565b905014612e8a57600d60008281526020019081526020016000206000612e8991906138ca565b5b50565b612ea78282604051806020016040528060008152506132fd565b5050565b6001816000016000828254019250508190555050565b60008183612ecf9190614c11565b905092915050565b6000612ef88473ffffffffffffffffffffffffffffffffffffffff16613358565b15613061578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f216121c2565b8786866040518563ffffffff1660e01b8152600401612f439493929190614575565b602060405180830381600087803b158015612f5d57600080fd5b505af1925050508015612f8e57506040513d601f19601f82011682018060405250810190612f8b9190613d36565b60015b613011573d8060008114612fbe576040519150601f19603f3d011682016040523d82523d6000602084013e612fc3565b606091505b50600081511415613009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300090614705565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613066565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6130e383838361336b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131265761312181613370565b613165565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131645761316383826133b9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131a8576131a381613526565b6131e7565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131e6576131e582826135f7565b5b5b505050565b60006131f78261151c565b905061320581600084612e2a565b6132106000836121d1565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132609190614c6b565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6133078383613676565b6133146000848484612ed7565b613353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334a90614705565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016133c6846115d4565b6133d09190614c6b565b90506000600760008481526020019081526020016000205490508181146134b5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061353a9190614c6b565b905060006009600084815260200190815260200160002054905060006008838154811061356a57613569614f57565b5b90600052602060002001549050806008838154811061358c5761358b614f57565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806135db576135da614f28565b5b6001900381819060005260206000200160009055905550505050565b6000613602836115d4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136dd906148c5565b60405180910390fd5b6136ef81612156565b1561372f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372690614785565b60405180910390fd5b61373b60008383612e2a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461378b9190614b8a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461385090614d90565b90600052602060002090601f01602090048101928261387257600085556138b9565b82601f1061388b57805160ff19168380011785556138b9565b828001600101855582156138b9579182015b828111156138b857825182559160200191906001019061389d565b5b5090506138c6919061390a565b5090565b5080546138d690614d90565b6000825580601f106138e85750613907565b601f016020900490600052602060002090810190613906919061390a565b5b50565b5b8082111561392357600081600090555060010161390b565b5090565b600061393a61393584614ac5565b614aa0565b90508281526020810184848401111561395657613955614fba565b5b613961848285614d4e565b509392505050565b600061397c61397784614af6565b614aa0565b90508281526020810184848401111561399857613997614fba565b5b6139a3848285614d4e565b509392505050565b6000813590506139ba816157b0565b92915050565b6000813590506139cf816157c7565b92915050565b6000813590506139e4816157de565b92915050565b6000813590506139f9816157f5565b92915050565b600081519050613a0e816157f5565b92915050565b600082601f830112613a2957613a28614fb5565b5b8135613a39848260208601613927565b91505092915050565b600081519050613a518161580c565b92915050565b600082601f830112613a6c57613a6b614fb5565b5b8135613a7c848260208601613969565b91505092915050565b600081359050613a9481615823565b92915050565b600081359050613aa98161583a565b92915050565b600060208284031215613ac557613ac4614fc4565b5b6000613ad3848285016139ab565b91505092915050565b60008060408385031215613af357613af2614fc4565b5b6000613b01858286016139ab565b9250506020613b12858286016139ab565b9150509250929050565b600080600060608486031215613b3557613b34614fc4565b5b6000613b43868287016139ab565b9350506020613b54868287016139ab565b9250506040613b6586828701613a85565b9150509250925092565b60008060008060808587031215613b8957613b88614fc4565b5b6000613b97878288016139ab565b9450506020613ba8878288016139ab565b9350506040613bb987828801613a85565b925050606085013567ffffffffffffffff811115613bda57613bd9614fbf565b5b613be687828801613a14565b91505092959194509250565b60008060408385031215613c0957613c08614fc4565b5b6000613c17858286016139ab565b9250506020613c28858286016139c0565b9150509250929050565b600080600080600060a08688031215613c4e57613c4d614fc4565b5b6000613c5c888289016139ab565b955050602086013567ffffffffffffffff811115613c7d57613c7c614fbf565b5b613c8988828901613a14565b9450506040613c9a888289016139d5565b9350506060613cab888289016139d5565b9250506080613cbc88828901613a9a565b9150509295509295909350565b60008060408385031215613ce057613cdf614fc4565b5b6000613cee858286016139ab565b9250506020613cff85828601613a85565b9150509250929050565b600060208284031215613d1f57613d1e614fc4565b5b6000613d2d848285016139ea565b91505092915050565b600060208284031215613d4c57613d4b614fc4565b5b6000613d5a848285016139ff565b91505092915050565b600060208284031215613d7957613d78614fc4565b5b6000613d8784828501613a42565b91505092915050565b600060208284031215613da657613da5614fc4565b5b600082013567ffffffffffffffff811115613dc457613dc3614fbf565b5b613dd084828501613a57565b91505092915050565b600060208284031215613def57613dee614fc4565b5b6000613dfd84828501613a85565b91505092915050565b60008060408385031215613e1d57613e1c614fc4565b5b6000613e2b85828601613a85565b9250506020613e3c858286016139ab565b9150509250929050565b613e4f81614cb1565b82525050565b613e5e81614c9f565b82525050565b613e75613e7082614c9f565b614e3c565b82525050565b613e8481614cc3565b82525050565b613e9381614ccf565b82525050565b613eaa613ea582614ccf565b614e4e565b82525050565b6000613ebb82614b3c565b613ec58185614b52565b9350613ed5818560208601614d5d565b613ede81614fc9565b840191505092915050565b6000613ef482614b3c565b613efe8185614b63565b9350613f0e818560208601614d5d565b80840191505092915050565b6000613f2582614b47565b613f2f8185614b6e565b9350613f3f818560208601614d5d565b613f4881614fc9565b840191505092915050565b6000613f5e82614b47565b613f688185614b7f565b9350613f78818560208601614d5d565b80840191505092915050565b60008154613f9181614d90565b613f9b8186614b7f565b94506001821660008114613fb65760018114613fc757613ffa565b60ff19831686528186019350613ffa565b613fd085614b27565b60005b83811015613ff257815481890152600182019150602081019050613fd3565b838801955050505b50505092915050565b6000614010603383614b6e565b915061401b82614fe7565b604082019050919050565b6000614033602b83614b6e565b915061403e82615036565b604082019050919050565b6000614056603283614b6e565b915061406182615085565b604082019050919050565b6000614079602683614b6e565b9150614084826150d4565b604082019050919050565b600061409c601c83614b6e565b91506140a782615123565b602082019050919050565b60006140bf601d83614b6e565b91506140ca8261514c565b602082019050919050565b60006140e2601c83614b6e565b91506140ed82615175565b602082019050919050565b6000614105600283614b7f565b91506141108261519e565b600282019050919050565b6000614128602483614b6e565b9150614133826151c7565b604082019050919050565b600061414b601983614b6e565b915061415682615216565b602082019050919050565b600061416e602c83614b6e565b91506141798261523f565b604082019050919050565b6000614191602583614b6e565b915061419c8261528e565b604082019050919050565b60006141b4603883614b6e565b91506141bf826152dd565b604082019050919050565b60006141d7602a83614b6e565b91506141e28261532c565b604082019050919050565b60006141fa602983614b6e565b91506142058261537b565b604082019050919050565b600061421d601d83614b6e565b9150614228826153ca565b602082019050919050565b6000614240602083614b6e565b915061424b826153f3565b602082019050919050565b6000614263602083614b6e565b915061426e8261541c565b602082019050919050565b6000614286602c83614b6e565b915061429182615445565b604082019050919050565b60006142a9602083614b6e565b91506142b482615494565b602082019050919050565b60006142cc602983614b6e565b91506142d7826154bd565b604082019050919050565b60006142ef602183614b6e565b91506142fa8261550c565b604082019050919050565b6000614312602f83614b6e565b915061431d8261555b565b604082019050919050565b6000614335602183614b6e565b9150614340826155aa565b604082019050919050565b6000614358601683614b6e565b9150614363826155f9565b602082019050919050565b600061437b603183614b6e565b915061438682615622565b604082019050919050565b600061439e602c83614b6e565b91506143a982615671565b604082019050919050565b60006143c1601683614b6e565b91506143cc826156c0565b602082019050919050565b60006143e4603083614b6e565b91506143ef826156e9565b604082019050919050565b6000614407602883614b6e565b915061441282615738565b604082019050919050565b600061442a602083614b6e565b915061443582615787565b602082019050919050565b61444981614d37565b82525050565b61445881614d41565b82525050565b600061446a8284613ee9565b915081905092915050565b60006144818285613ee9565b915061448d8284613e64565b6014820191508190509392505050565b60006144a98285613f53565b91506144b58284613f53565b91508190509392505050565b60006144cd8285613f84565b91506144d98284613f53565b91508190509392505050565b60006144f0826140f8565b91506144fc8285613e99565b60208201915061450c8284613e99565b6020820191508190509392505050565b60006020820190506145316000830184613e55565b92915050565b600060608201905061454c6000830186613e55565b6145596020830185613e46565b818103604083015261456b8184613eb0565b9050949350505050565b600060808201905061458a6000830187613e55565b6145976020830186613e55565b6145a46040830185614440565b81810360608301526145b68184613eb0565b905095945050505050565b60006020820190506145d66000830184613e7b565b92915050565b60006020820190506145f16000830184613e8a565b92915050565b600060808201905061460c6000830187613e8a565b6146196020830186614440565b6146266040830185613e55565b6146336060830184613e8a565b95945050505050565b60006080820190506146516000830187613e8a565b61465e602083018661444f565b61466b6040830185613e8a565b6146786060830184613e8a565b95945050505050565b6000602082019050818103600083015261469b8184613eb0565b905092915050565b600060208201905081810360008301526146bd8184613f1a565b905092915050565b600060208201905081810360008301526146de81614003565b9050919050565b600060208201905081810360008301526146fe81614026565b9050919050565b6000602082019050818103600083015261471e81614049565b9050919050565b6000602082019050818103600083015261473e8161406c565b9050919050565b6000602082019050818103600083015261475e8161408f565b9050919050565b6000602082019050818103600083015261477e816140b2565b9050919050565b6000602082019050818103600083015261479e816140d5565b9050919050565b600060208201905081810360008301526147be8161411b565b9050919050565b600060208201905081810360008301526147de8161413e565b9050919050565b600060208201905081810360008301526147fe81614161565b9050919050565b6000602082019050818103600083015261481e81614184565b9050919050565b6000602082019050818103600083015261483e816141a7565b9050919050565b6000602082019050818103600083015261485e816141ca565b9050919050565b6000602082019050818103600083015261487e816141ed565b9050919050565b6000602082019050818103600083015261489e81614210565b9050919050565b600060208201905081810360008301526148be81614233565b9050919050565b600060208201905081810360008301526148de81614256565b9050919050565b600060208201905081810360008301526148fe81614279565b9050919050565b6000602082019050818103600083015261491e8161429c565b9050919050565b6000602082019050818103600083015261493e816142bf565b9050919050565b6000602082019050818103600083015261495e816142e2565b9050919050565b6000602082019050818103600083015261497e81614305565b9050919050565b6000602082019050818103600083015261499e81614328565b9050919050565b600060208201905081810360008301526149be8161434b565b9050919050565b600060208201905081810360008301526149de8161436e565b9050919050565b600060208201905081810360008301526149fe81614391565b9050919050565b60006020820190508181036000830152614a1e816143b4565b9050919050565b60006020820190508181036000830152614a3e816143d7565b9050919050565b60006020820190508181036000830152614a5e816143fa565b9050919050565b60006020820190508181036000830152614a7e8161441d565b9050919050565b6000602082019050614a9a6000830184614440565b92915050565b6000614aaa614abb565b9050614ab68282614dc2565b919050565b6000604051905090565b600067ffffffffffffffff821115614ae057614adf614f86565b5b614ae982614fc9565b9050602081019050919050565b600067ffffffffffffffff821115614b1157614b10614f86565b5b614b1a82614fc9565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b9582614d37565b9150614ba083614d37565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bd557614bd4614e9b565b5b828201905092915050565b6000614beb82614d37565b9150614bf683614d37565b925082614c0657614c05614eca565b5b828204905092915050565b6000614c1c82614d37565b9150614c2783614d37565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c6057614c5f614e9b565b5b828202905092915050565b6000614c7682614d37565b9150614c8183614d37565b925082821015614c9457614c93614e9b565b5b828203905092915050565b6000614caa82614d17565b9050919050565b6000614cbc82614d17565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614d1082614c9f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614d7b578082015181840152602081019050614d60565b83811115614d8a576000848401525b50505050565b60006002820490506001821680614da857607f821691505b60208210811415614dbc57614dbb614ef9565b5b50919050565b614dcb82614fc9565b810181811067ffffffffffffffff82111715614dea57614de9614f86565b5b80604052505050565b6000614dfe82614d37565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e3157614e30614e9b565b5b600182019050919050565b6000614e4782614e58565b9050919050565b6000819050919050565b6000614e6382614fda565b9050919050565b6000614e7582614d37565b9150614e8083614d37565b925082614e9057614e8f614eca565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4e756d626572206f6620746f6b656e732063616e206e6f74206265206c65737360008201527f207468616e206f7220657175616c20746f203000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f546f6b656e7320616d6f756e74206973206f7574206f66206c696d6974000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53656e742065746865722076616c756520697320696e636f7272656374000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c69642073656e646572206164647265737300000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f496e76616c6964206275726e6572206164647265737300000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c6420657863656564206d6178207265736572766560008201527f6420737570706c79000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f742061637469766520617420746865206d6f6d656e74600082015250565b6157b981614c9f565b81146157c457600080fd5b50565b6157d081614cc3565b81146157db57600080fd5b50565b6157e781614ccf565b81146157f257600080fd5b50565b6157fe81614cd9565b811461580957600080fd5b50565b61581581614d05565b811461582057600080fd5b50565b61582c81614d37565b811461583757600080fd5b50565b61584381614d41565b811461584e57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220eaba9ffaf8127b048c6e09d34f8afbb2129a5ea401011fc0ecab430e17944cda64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Loading...
Loading
Loading...
Loading
OVERVIEW
The burglar cats is a collection of 10,000 game-focused collectibles they are the most notorious burglars to ever exist.MINTING IS STILL AVAILABLE ON OUR WEBSITE: [MINT NOW](https://burglarcats.com/)Each NFT is a unique ERC-721 digital collectible living on the Ethereum bl...Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.