Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
4,724 DRK
Holders
1,139
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DRKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Dorkis
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0 <0.9.0; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.2.0/contracts/token/ERC721/ERC721.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.2.0/contracts/access/Ownable.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.2.0/contracts/utils/math/SafeMath.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.2.0/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./Royalties.sol"; /** * @title Dorkis contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation * */ // Twitter @FrankPoncelet // contract Dorkis is Ownable, ERC721Enumerable, Royalties { using SafeMath for uint256; string public DORKIS_PROVENANCE = ""; uint256 public dorksPrice = 70000000000000000; //0.07 ETH uint public constant MAX_PURCHASE = 10; uint public constant MAX_RESERVE = 30; uint public constant MAX_SUPPLY_PER_ADDRESS = 100; uint256 public MAX_DORKS; bool public saleIsActive; bool public paybackIsActive; address payable[] private addr = new address payable[](1); uint256[] private royalties = new uint256[](1); // Base URI for Meta data string private _baseTokenURI = "ipfs://Qmb5xMEc738Ra25j4jTiAGNfqtQ17E9kUWGpJWN3utAdGm/"; event PaymentReleased(address to, uint256 amount); address private constant TORI = 0x51Be0a47282afbE3a330F7738A0Ab5b277810Fe4; address private constant FRANK = 0xF40Fd88ac59A206D009A07F8c09828a01e2ACC0d; address private constant FCCVIEW = 0xf450a5d6C4205ca8151fb1c6FAF49A02c8A527FC; address private constant DEAD = 0x000000000000000000000000000000000000dEaD; constructor() ERC721("Dorkis", "DRK") { MAX_DORKS = 10000; addr[0]=payable(owner()); royalties[0]=650; //6.5 % on Rarible _safeMint( TORI, 0); _safeMint( FRANK, 1); _safeMint( FCCVIEW, 2); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view override (ERC721Enumerable,Royalties) returns (bool){ return ERC721.supportsInterface(interfaceId) || Royalties.supportsInterface(interfaceId) || super.supportsInterface(interfaceId); } function withdraw() public onlyOwner { uint256 artists = address(this).balance / 5; require(payable(TORI).send(artists)); require(payable(FRANK).send(artists)); require(payable(FCCVIEW).send(artists)); require(payable(owner()).send(artists*2)); emit PaymentReleased(owner(), artists*2); } /** * Set some Dorkis aside for giveaways. */ function reserveDorkis() public onlyOwner { require(totalSupply().add(MAX_RESERVE) <= MAX_DORKS, "Reserve would exceed max supply of Dorkis"); uint supply = totalSupply(); for (uint i = 0; i < MAX_RESERVE; i++) { _safeMint(msg.sender, supply + i); } } /* * Set provenance once it's calculated */ function setProvenanceHash(string memory provenanceHash) public onlyOwner { DORKIS_PROVENANCE = provenanceHash; } /** * @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 override returns (string memory) { return _baseTokenURI; } /** * @dev Set the base token URI */ function setBaseTokenURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } /* * Pause sale if active, make active if paused */ function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } /* * Pause payback on burn if active, make active if paused */ function flipBurnPaybakState() public onlyOwner { paybackIsActive = !paybackIsActive; } /** * Mints Dorkis */ function mintDorkis(uint numberOfTokens) public payable { require(numberOfTokens > 0, "numberOfNfts cannot be 0"); require(saleIsActive, "Sale must be active to mint Dorkis"); require(numberOfTokens <= MAX_PURCHASE, "Can only mint 10 tokens at a time"); require(totalSupply().add(numberOfTokens) <= MAX_DORKS, "Purchase would exceed max supply of Dorkis"); require(dorksPrice.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct"); require(balanceOf(msg.sender) + numberOfTokens <= MAX_SUPPLY_PER_ADDRESS, "Exceeds max minted tokens for this address (100)"); for(uint i = 0; i < numberOfTokens; i++) { uint mintIndex = totalSupply(); if (totalSupply() < MAX_DORKS) { _safeMint(msg.sender, mintIndex); } } } function preSale(address _to, uint256 numberOfTokens) external onlyOwner() { require(totalSupply().add(numberOfTokens) <= MAX_DORKS, "Reserve would exceed max supply of Dorkis"); require(numberOfTokens <= MAX_PURCHASE, "Can only mint 10 tokens at a time"); uint256 supply = totalSupply(); for(uint256 i; i < numberOfTokens; i++){ _safeMint( _to, supply + i ); } } /** * @dev See {IERC721-transferFrom}. * override transfer, to do the payback 80%, when a payback option is active * and adapt rare properties to the burn. * */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); if (paybackIsActive && to == DEAD){ Address.sendValue(payable(from), (dorksPrice/100)*80); emit PaymentReleased(from, (dorksPrice/100)*80); } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = super.ownerOf(tokenId); require(owner != DEAD, "ERC721: owner query for nonexistent token"); require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-tokenURI}. * adapt rare properties to the burn. * */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(super.ownerOf(tokenId) != DEAD, "ERC721Metadata: URI query for nonexistent token"); return super.tokenURI(tokenId); } /** * Burn multiple tokens but only pay gas once. * Will check that you own each of the tokens before it starts burning. * */ function multiBurn(uint256[] memory tokenId) public { for (uint i = 0; i < tokenId.length; i++) { if (_isApprovedOrOwner(_msgSender(), tokenId[i])){ transferFrom(_msgSender(),DEAD,tokenId[i]); } } } /** * Get all tokens for a specific wallet * */ function getTokensForAddress(address fromAddress) external view returns (uint256 [] memory){ uint256 tokenCount = balanceOf(fromAddress); uint256 [] memory result = new uint256[](tokenCount); uint256 total = totalSupply(); uint256 resultIndex = 0; for (uint id = 0; id < total; id++) { if (super.ownerOf(id)==fromAddress){ result[resultIndex] = id; resultIndex++; } } return result; } // contract can recieve Ether fallback() external payable { } receive() external payable { } // Royalties implemetations function getFeeRecipients(uint256 tokenId) external view override returns (address payable[] memory){ require(_exists(tokenId), "DORKIS: FeeRecipients query for nonexistent token"); return addr; } // fees.value is the royalties percentage, by default this value is 1000 on Rarible which is a 10% royalties fee. function getFeeBps(uint256 tokenId) external view override returns (uint[] memory){ require(_exists(tokenId), "DORKIS: FeesBPS query for nonexistent token"); return royalties; } function getFees(uint256 tokenId) external view override returns (address payable[] memory, uint256[] memory){ require(_exists(tokenId), "DORKIS: Fees query for nonexistent token"); return (addr, royalties); } function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address, uint256){ require(_exists(tokenId), "DORKIS: royaltyInfo query for nonexistent token"); return (address(this),(salePrice*royalties[0]/10000)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: @frankPoncelet import "./IRoyalties.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.2.0/contracts/utils/introspection/ERC165.sol"; abstract contract Royalties is IRoyalties, ERC165 { /** * @dev Rarible: RoyaltiesV1 * * bytes4(keccak256('getFeeRecipients(uint256)')) == 0xb9c4d9fb * bytes4(keccak256('getFeeBps(uint256)')) == 0x0ebd4c7f * * => 0xb9c4d9fb ^ 0x0ebd4c7f = 0xb7799584 */ bytes4 private constant _INTERFACE_ID_ROYALTIES_RARIBLE = 0xb7799584; /** * @dev Foundation * * bytes4(keccak256('getFees(uint256)')) == 0xd5a06d4c * * => 0xd5a06d4c = 0xd5a06d4c */ bytes4 private constant _INTERFACE_ID_ROYALTIES_FOUNDATION = 0xd5a06d4c; /** * @dev EIP-2981 * * bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a * * => 0x2a55205a = 0x2a55205a */ bytes4 private constant _INTERFACE_ID_ROYALTIES_EIP2981 = 0x2a55205a; // Royalty mappings /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IRoyalties).interfaceId || super.supportsInterface(interfaceId) || interfaceId == _INTERFACE_ID_ROYALTIES_RARIBLE || interfaceId == _INTERFACE_ID_ROYALTIES_FOUNDATION || interfaceId == _INTERFACE_ID_ROYALTIES_EIP2981; } }
// 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; // 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; 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(to).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 "../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 "./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 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; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev 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); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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; /** * @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 "../../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; /// @author: @frankPoncelet import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.2.0/contracts/utils/introspection/IERC165.sol"; interface IRoyalties is IERC165 { // Royalty support for RaribleV1 // fees.recipient refers to either the item owner (By default) or an address where the Royalties will be received. function getFeeRecipients(uint256 tokenId) external view returns (address payable[] memory); // fees.value is the royalties percentage, by default this value is 1000 on Rarible which is a 10% royalties fee. function getFeeBps(uint256 tokenId) external view returns (uint[] memory); // function getFees(uint256 tokenId) external view returns (address payable[] memory, uint256[] memory); /** Called with the sale price to determine how much royalty * is owed and to whom EIP2981 * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by _tokenId * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for _salePrice */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address, uint256); }
// 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DORKIS_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_DORKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dorksPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipBurnPaybakState","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFeeBps","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFeeRecipients","outputs":[{"internalType":"address payable[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFees","outputs":[{"internalType":"address payable[]","name":"","type":"address[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"fromAddress","type":"address"}],"name":"getTokensForAddress","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintDorkis","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenId","type":"uint256[]"}],"name":"multiBurn","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":"paybackIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"preSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveDorkis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"setBaseTokenURI","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260405180602001604052806000815250600b90805190602001906200002b92919062000ef9565b5066f8b0a10e470000600c55600167ffffffffffffffff81111562000079577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015620000a85781602001602082028036833780820191505090505b50600f9080519060200190620000c092919062000f8a565b50600167ffffffffffffffff81111562000103577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015620001325781602001602082028036833780820191505090505b50601090805190602001906200014a92919062001019565b5060405180606001604052806036815260200162006fe760369139601190805190602001906200017c92919062000ef9565b503480156200018a57600080fd5b506040518060400160405280600681526020017f446f726b697300000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f44524b0000000000000000000000000000000000000000000000000000000000815250620002176200020b620003b060201b60201c565b620003b860201b60201c565b81600190805190602001906200022f92919062000ef9565b5080600290805190602001906200024892919062000ef9565b505050612710600d81905550620002646200047c60201b60201c565b600f600081548110620002a0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061028a601060008154811062000327577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055506200035c7351be0a47282afbe3a330f7738a0ab5b277810fe46000620004a560201b60201c565b6200038373f40fd88ac59a206d009a07f8c09828a01e2acc0d6001620004a560201b60201c565b620003aa73f450a5d6c4205ca8151fb1c6faf49a02c8a527fc6002620004a560201b60201c565b620015bc565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620004c7828260405180602001604052806000815250620004cb60201b60201c565b5050565b620004dd83836200053960201b60201c565b620004f260008484846200071f60201b60201c565b62000534576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200052b9062001220565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620005ac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005a39062001286565b60405180910390fd5b620005bd81620008d960201b60201c565b1562000600576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005f79062001242565b60405180910390fd5b62000614600083836200094560201b60201c565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620006669190620012d5565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006200074d8473ffffffffffffffffffffffffffffffffffffffff1662000a8c60201b6200250f1760201c565b15620008cc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200077f620003b060201b60201c565b8786866040518563ffffffff1660e01b8152600401620007a39493929190620011cc565b602060405180830381600087803b158015620007be57600080fd5b505af1925050508015620007f257506040513d601f19601f82011682018060405250810190620007ef9190620010a1565b60015b6200087b573d806000811462000825576040519150601f19603f3d011682016040523d82523d6000602084013e6200082a565b606091505b5060008151141562000873576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200086a9062001220565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050620008d1565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6200095d83838362000a9f60201b620025221760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620009aa57620009a48162000aa460201b60201c565b620009f2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614620009f157620009f0838262000aed60201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000a3f5762000a398162000c6a60201b60201c565b62000a87565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000a865762000a85828262000db260201b60201c565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000b078462000e3e60201b62001b791760201c565b62000b13919062001332565b905060006008600084815260200190815260200160002054905081811462000bf9576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905062000c80919062001332565b90506000600a600084815260200190815260200160002054905060006009838154811062000cd7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806009838154811062000d20577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548062000d96577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600062000dca8362000e3e60201b62001b791760201c565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000eb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000ea99062001264565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000f07906200140d565b90600052602060002090601f01602090048101928262000f2b576000855562000f77565b82601f1062000f4657805160ff191683800117855562000f77565b8280016001018555821562000f77579182015b8281111562000f7657825182559160200191906001019062000f59565b5b50905062000f8691906200106b565b5090565b82805482825590600052602060002090810192821562001006579160200282015b82811115620010055782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000fab565b5b5090506200101591906200106b565b5090565b82805482825590600052602060002090810192821562001058579160200282015b82811115620010575782518255916020019190600101906200103a565b5b5090506200106791906200106b565b5090565b5b80821115620010865760008160009055506001016200106c565b5090565b6000815190506200109b81620015a2565b92915050565b600060208284031215620010b457600080fd5b6000620010c4848285016200108a565b91505092915050565b620010d8816200136d565b82525050565b6000620010eb82620012a8565b620010f78185620012b3565b935062001109818560208601620013d7565b6200111481620014a1565b840191505092915050565b60006200112e603283620012c4565b91506200113b82620014b2565b604082019050919050565b600062001155601c83620012c4565b9150620011628262001501565b602082019050919050565b60006200117c602a83620012c4565b915062001189826200152a565b604082019050919050565b6000620011a3602083620012c4565b9150620011b08262001579565b602082019050919050565b620011c681620013cd565b82525050565b6000608082019050620011e36000830187620010cd565b620011f26020830186620010cd565b620012016040830185620011bb565b8181036060830152620012158184620010de565b905095945050505050565b600060208201905081810360008301526200123b816200111f565b9050919050565b600060208201905081810360008301526200125d8162001146565b9050919050565b600060208201905081810360008301526200127f816200116d565b9050919050565b60006020820190508181036000830152620012a18162001194565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000620012e282620013cd565b9150620012ef83620013cd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562001327576200132662001443565b5b828201905092915050565b60006200133f82620013cd565b91506200134c83620013cd565b92508282101562001362576200136162001443565b5b828203905092915050565b60006200137a82620013ad565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620013f7578082015181840152602081019050620013da565b8381111562001407576000848401525b50505050565b600060028204905060018216806200142657607f821691505b602082108114156200143d576200143c62001472565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b620015ad8162001381565b8114620015b957600080fd5b50565b615a1b80620015cc6000396000f3fe60806040526004361061024a5760003560e01c80636cf61f5f11610139578063ad08fff8116100b6578063d5a06d4c1161007a578063d5a06d4c14610878578063e985e9c5146108b6578063eb8d2444146108f3578063eff31e9e1461091e578063f2fde38b14610949578063fb6a53d21461097257610251565b8063ad08fff81461077f578063af5aa562146107aa578063b88d4fde146107d5578063b9c4d9fb146107fe578063c87b56dd1461083b57610251565b80638da5cb5b116100fd5780638da5cb5b146106aa57806391c1195e146106d557806395d89b4114610700578063a22cb4651461072b578063a9e140db1461075457610251565b80636cf61f5f146105f85780636db16da81461060f57806370a082311461062b5780637146bd0814610668578063715018a61461069357610251565b80632a55205a116101c75780633ccfd60b1161018b5780633ccfd60b1461051557806342842e0e1461052c5780634f6ccce7146105555780636352211e146105925780636baa2ff7146105cf57610251565b80632a55205a146104435780632b5bd08c146104815780632f745c591461049857806330176e13146104d557806334918dfd146104fe57610251565b80630ebd4c7f1161020e5780630ebd4c7f1461034c5780630f60e3ce1461038957806310969523146103c657806318160ddd146103ef57806323b872dd1461041a57610251565b8063015717c21461025357806301ffc9a71461027e57806306fdde03146102bb578063081812fc146102e6578063095ea7b31461032357610251565b3661025157005b005b34801561025f57600080fd5b5061026861099b565b6040516102759190614bea565b60405180910390f35b34801561028a57600080fd5b506102a560048036038101906102a09190613f57565b6109a1565b6040516102b291906147cd565b60405180910390f35b3480156102c757600080fd5b506102d06109d3565b6040516102dd91906147e8565b60405180910390f35b3480156102f257600080fd5b5061030d60048036038101906103089190613fea565b610a65565b60405161031a91906146c2565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613eda565b610aea565b005b34801561035857600080fd5b50610373600480360381019061036e9190613fea565b610c02565b60405161038091906147ab565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab9190613d6f565b610ca4565b6040516103bd91906147ab565b60405180910390f35b3480156103d257600080fd5b506103ed60048036038101906103e89190613fa9565b610def565b005b3480156103fb57600080fd5b50610404610e85565b6040516104119190614bea565b60405180910390f35b34801561042657600080fd5b50610441600480360381019061043c9190613dd4565b610e92565b005b34801561044f57600080fd5b5061046a60048036038101906104659190614013565b610fb8565b604051610478929190614729565b60405180910390f35b34801561048d57600080fd5b5061049661106d565b005b3480156104a457600080fd5b506104bf60048036038101906104ba9190613eda565b611115565b6040516104cc9190614bea565b60405180910390f35b3480156104e157600080fd5b506104fc60048036038101906104f79190613fa9565b6111ba565b005b34801561050a57600080fd5b50610513611250565b005b34801561052157600080fd5b5061052a6112f8565b005b34801561053857600080fd5b50610553600480360381019061054e9190613dd4565b61151b565b005b34801561056157600080fd5b5061057c60048036038101906105779190613fea565b61153b565b6040516105899190614bea565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b49190613fea565b6115d2565b6040516105c691906146c2565b60405180910390f35b3480156105db57600080fd5b506105f660048036038101906105f19190613eda565b6116ca565b005b34801561060457600080fd5b5061060d61182d565b005b61062960048036038101906106249190613fea565b61194c565b005b34801561063757600080fd5b50610652600480360381019061064d9190613d6f565b611b79565b60405161065f9190614bea565b60405180910390f35b34801561067457600080fd5b5061067d611c31565b60405161068a9190614bea565b60405180910390f35b34801561069f57600080fd5b506106a8611c36565b005b3480156106b657600080fd5b506106bf611cbe565b6040516106cc91906146c2565b60405180910390f35b3480156106e157600080fd5b506106ea611ce7565b6040516106f79190614bea565b60405180910390f35b34801561070c57600080fd5b50610715611cec565b60405161072291906147e8565b60405180910390f35b34801561073757600080fd5b50610752600480360381019061074d9190613e9e565b611d7e565b005b34801561076057600080fd5b50610769611eff565b60405161077691906147cd565b60405180910390f35b34801561078b57600080fd5b50610794611f12565b6040516107a19190614bea565b60405180910390f35b3480156107b657600080fd5b506107bf611f18565b6040516107cc91906147e8565b60405180910390f35b3480156107e157600080fd5b506107fc60048036038101906107f79190613e23565b611fa6565b005b34801561080a57600080fd5b5061082560048036038101906108209190613fea565b612008565b6040516108329190614752565b60405180910390f35b34801561084757600080fd5b50610862600480360381019061085d9190613fea565b6120e0565b60405161086f91906147e8565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a9190613fea565b61216b565b6040516108ad929190614774565b60405180910390f35b3480156108c257600080fd5b506108dd60048036038101906108d89190613d98565b61229d565b6040516108ea91906147cd565b60405180910390f35b3480156108ff57600080fd5b50610908612331565b60405161091591906147cd565b60405180910390f35b34801561092a57600080fd5b50610933612344565b6040516109409190614bea565b60405180910390f35b34801561095557600080fd5b50610970600480360381019061096b9190613d6f565b612349565b005b34801561097e57600080fd5b5061099960048036038101906109949190613f16565b612441565b005b600d5481565b60006109ac82612527565b806109bc57506109bb82612609565b5b806109cc57506109cb82612609565b5b9050919050565b6060600180546109e290614f55565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0e90614f55565b8015610a5b5780601f10610a3057610100808354040283529160200191610a5b565b820191906000526020600020905b815481529060010190602001808311610a3e57829003601f168201915b5050505050905090565b6000610a7082612770565b610aaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa690614a6a565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610af5826127dc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5d90614aea565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8561288e565b73ffffffffffffffffffffffffffffffffffffffff161480610bb45750610bb381610bae61288e565b61229d565b5b610bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bea906149ca565b60405180910390fd5b610bfd8383612896565b505050565b6060610c0d82612770565b610c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c43906149ea565b60405180910390fd5b6010805480602002602001604051908101604052809291908181526020018280548015610c9857602002820191906000526020600020905b815481526020019060010190808311610c84575b50505050509050919050565b60606000610cb183611b79565b905060008167ffffffffffffffff811115610cf5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d235781602001602082028036833780820191505090505b5090506000610d30610e85565b90506000805b82811015610de2578673ffffffffffffffffffffffffffffffffffffffff16610d5e826127dc565b73ffffffffffffffffffffffffffffffffffffffff161415610dcf5780848381518110610db4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180610dcb90614fb8565b9250505b8080610dda90614fb8565b915050610d36565b5082945050505050919050565b610df761288e565b73ffffffffffffffffffffffffffffffffffffffff16610e15611cbe565b73ffffffffffffffffffffffffffffffffffffffff1614610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6290614a8a565b60405180910390fd5b80600b9080519060200190610e81929190613afd565b5050565b6000600980549050905090565b610ea3610e9d61288e565b8261294f565b610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed990614b4a565b60405180910390fd5b610eed838383612a2d565b600e60019054906101000a900460ff168015610f36575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b15610fb357610f5f8360506064600c54610f509190614dce565b610f5a9190614dff565b612c89565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568360506064600c54610f929190614dce565b610f9c9190614dff565b604051610faa929190614729565b60405180910390a15b505050565b600080610fc484612770565b611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa90614b6a565b60405180910390fd5b306127106010600081548110611042577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154856110589190614dff565b6110629190614dce565b915091509250929050565b61107561288e565b73ffffffffffffffffffffffffffffffffffffffff16611093611cbe565b73ffffffffffffffffffffffffffffffffffffffff16146110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e090614a8a565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b600061112083611b79565b8210611161576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111589061482a565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111c261288e565b73ffffffffffffffffffffffffffffffffffffffff166111e0611cbe565b73ffffffffffffffffffffffffffffffffffffffff1614611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90614a8a565b60405180910390fd5b806011908051906020019061124c929190613afd565b5050565b61125861288e565b73ffffffffffffffffffffffffffffffffffffffff16611276611cbe565b73ffffffffffffffffffffffffffffffffffffffff16146112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c390614a8a565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b61130061288e565b73ffffffffffffffffffffffffffffffffffffffff1661131e611cbe565b73ffffffffffffffffffffffffffffffffffffffff1614611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b90614a8a565b60405180910390fd5b60006005476113839190614dce565b90507351be0a47282afbe3a330f7738a0ab5b277810fe473ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506113d757600080fd5b73f40fd88ac59a206d009a07f8c09828a01e2acc0d73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061142957600080fd5b73f450a5d6c4205ca8151fb1c6faf49a02c8a527fc73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061147b57600080fd5b611483611cbe565b73ffffffffffffffffffffffffffffffffffffffff166108fc6002836114a99190614dff565b9081150290604051600060405180830381858888f193505050506114cc57600080fd5b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0566114f5611cbe565b6002836115029190614dff565b604051611510929190614729565b60405180910390a150565b61153683838360405180602001604052806000815250611fa6565b505050565b6000611545610e85565b8210611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d90614b8a565b60405180910390fd5b600982815481106115c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806115de836127dc565b905061dead73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164890614a2a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b890614a2a565b60405180910390fd5b80915050919050565b6116d261288e565b73ffffffffffffffffffffffffffffffffffffffff166116f0611cbe565b73ffffffffffffffffffffffffffffffffffffffff1614611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90614a8a565b60405180910390fd5b600d5461176382611755610e85565b612d7d90919063ffffffff16565b11156117a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179b90614b0a565b60405180910390fd5b600a8111156117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90614bca565b60405180910390fd5b60006117f2610e85565b905060005b828110156118275761181484828461180f9190614d78565b612d93565b808061181f90614fb8565b9150506117f7565b50505050565b61183561288e565b73ffffffffffffffffffffffffffffffffffffffff16611853611cbe565b73ffffffffffffffffffffffffffffffffffffffff16146118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090614a8a565b60405180910390fd5b600d546118c7601e6118b9610e85565b612d7d90919063ffffffff16565b1115611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff90614b0a565b60405180910390fd5b6000611912610e85565b905060005b601e811015611948576119353382846119309190614d78565b612d93565b808061194090614fb8565b915050611917565b5050565b6000811161198f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198690614b2a565b60405180910390fd5b600e60009054906101000a900460ff166119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d59061480a565b60405180910390fd5b600a811115611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1990614bca565b60405180910390fd5b600d54611a3f82611a31610e85565b612d7d90919063ffffffff16565b1115611a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a77906149aa565b60405180910390fd5b34611a9682600c54612db190919063ffffffff16565b1115611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace9061490a565b60405180910390fd5b606481611ae333611b79565b611aed9190614d78565b1115611b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2590614baa565b60405180910390fd5b60005b81811015611b75576000611b43610e85565b9050600d54611b50610e85565b1015611b6157611b603382612d93565b5b508080611b6d90614fb8565b915050611b31565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be190614a0a565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600a81565b611c3e61288e565b73ffffffffffffffffffffffffffffffffffffffff16611c5c611cbe565b73ffffffffffffffffffffffffffffffffffffffff1614611cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca990614a8a565b60405180910390fd5b611cbc6000612dc7565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606481565b606060028054611cfb90614f55565b80601f0160208091040260200160405190810160405280929190818152602001828054611d2790614f55565b8015611d745780601f10611d4957610100808354040283529160200191611d74565b820191906000526020600020905b815481529060010190602001808311611d5757829003601f168201915b5050505050905090565b611d8661288e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611deb906148ca565b60405180910390fd5b8060066000611e0161288e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611eae61288e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ef391906147cd565b60405180910390a35050565b600e60019054906101000a900460ff1681565b600c5481565b600b8054611f2590614f55565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5190614f55565b8015611f9e5780601f10611f7357610100808354040283529160200191611f9e565b820191906000526020600020905b815481529060010190602001808311611f8157829003601f168201915b505050505081565b611fb7611fb161288e565b8361294f565b611ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fed90614b4a565b60405180910390fd5b61200284848484612e8b565b50505050565b606061201382612770565b612052576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120499061494a565b60405180910390fd5b600f8054806020026020016040519081016040528092919081815260200182805480156120d457602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161208a575b50505050509050919050565b606061dead73ffffffffffffffffffffffffffffffffffffffff16612104836127dc565b73ffffffffffffffffffffffffffffffffffffffff16141561215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290614aca565b60405180910390fd5b61216482612ee7565b9050919050565b60608061217783612770565b6121b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ad906148ea565b60405180910390fd5b600f60108180548060200260200160405190810160405280929190818152602001828054801561223b57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116121f1575b505050505091508080548060200260200160405190810160405280929190818152602001828054801561228d57602002820191906000526020600020905b815481526020019060010190808311612279575b5050505050905091509150915091565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b601e81565b61235161288e565b73ffffffffffffffffffffffffffffffffffffffff1661236f611cbe565b73ffffffffffffffffffffffffffffffffffffffff16146123c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bc90614a8a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242c9061486a565b60405180910390fd5b61243e81612dc7565b50565b60005b815181101561250b5761249e61245861288e565b838381518110612491577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161294f565b156124f8576124f76124ae61288e565b61dead8484815181106124ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610e92565b5b808061250390614fb8565b915050612444565b5050565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125f257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612602575061260182612f8e565b5b9050919050565b60007f488cd892000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061267c575061267b82612ff8565b5b806126cb575063b779958460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061271a575063d5a06d4c60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127695750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287c90614a2a565b60405180910390fd5b80915050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612909836127dc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061295a82612770565b612999576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129909061498a565b60405180910390fd5b60006129a4836127dc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a1357508373ffffffffffffffffffffffffffffffffffffffff166129fb84610a65565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a245750612a23818561229d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a4d826127dc565b73ffffffffffffffffffffffffffffffffffffffff1614612aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9a90614aaa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0a906148aa565b60405180910390fd5b612b1e838383613072565b612b29600082612896565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b799190614e59565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bd09190614d78565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612ccc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc39061496a565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612cf2906146ad565b60006040518083038185875af1925050503d8060008114612d2f576040519150601f19603f3d011682016040523d82523d6000602084013e612d34565b606091505b5050905080612d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6f9061492a565b60405180910390fd5b505050565b60008183612d8b9190614d78565b905092915050565b612dad828260405180602001604052806000815250613186565b5050565b60008183612dbf9190614dff565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e96848484612a2d565b612ea2848484846131e1565b612ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed89061484a565b60405180910390fd5b50505050565b6060612ef282612770565b612f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2890614aca565b60405180910390fd5b6000612f3b613378565b90506000815111612f5b5760405180602001604052806000815250612f86565b80612f658461340a565b604051602001612f76929190614689565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061306b575061306a82612527565b5b9050919050565b61307d838383612522565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130c0576130bb816135b7565b6130ff565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146130fe576130fd8382613600565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131425761313d8161376d565b613181565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131805761317f82826138b0565b5b5b505050565b613190838361392f565b61319d60008484846131e1565b6131dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d39061484a565b60405180910390fd5b505050565b60006132028473ffffffffffffffffffffffffffffffffffffffff1661250f565b1561336b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261322b61288e565b8786866040518563ffffffff1660e01b815260040161324d94939291906146dd565b602060405180830381600087803b15801561326757600080fd5b505af192505050801561329857506040513d601f19601f820116820180604052508101906132959190613f80565b60015b61331b573d80600081146132c8576040519150601f19603f3d011682016040523d82523d6000602084013e6132cd565b606091505b50600081511415613313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330a9061484a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613370565b600190505b949350505050565b60606011805461338790614f55565b80601f01602080910402602001604051908101604052809291908181526020018280546133b390614f55565b80156134005780601f106133d557610100808354040283529160200191613400565b820191906000526020600020905b8154815290600101906020018083116133e357829003601f168201915b5050505050905090565b60606000821415613452576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135b2565b600082905060005b6000821461348457808061346d90614fb8565b915050600a8261347d9190614dce565b915061345a565b60008167ffffffffffffffff8111156134c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134f85781602001600182028036833780820191505090505b5090505b600085146135ab576001826135119190614e59565b9150600a856135209190615001565b603061352c9190614d78565b60f81b818381518110613568577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135a49190614dce565b94506134fc565b8093505050505b919050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161360d84611b79565b6136179190614e59565b90506000600860008481526020019081526020016000205490508181146136fc576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506137819190614e59565b90506000600a60008481526020019081526020016000205490506000600983815481106137d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806009838154811061381f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613894577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006138bb83611b79565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561399f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399690614a4a565b60405180910390fd5b6139a881612770565b156139e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139df9061488a565b60405180910390fd5b6139f460008383613072565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a449190614d78565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613b0990614f55565b90600052602060002090601f016020900481019282613b2b5760008555613b72565b82601f10613b4457805160ff1916838001178555613b72565b82800160010185558215613b72579182015b82811115613b71578251825591602001919060010190613b56565b5b509050613b7f9190613b83565b5090565b5b80821115613b9c576000816000905550600101613b84565b5090565b6000613bb3613bae84614c2a565b614c05565b90508083825260208201905082856020860282011115613bd257600080fd5b60005b85811015613c025781613be88882613d5a565b845260208401935060208301925050600181019050613bd5565b5050509392505050565b6000613c1f613c1a84614c56565b614c05565b905082815260208101848484011115613c3757600080fd5b613c42848285614f13565b509392505050565b6000613c5d613c5884614c87565b614c05565b905082815260208101848484011115613c7557600080fd5b613c80848285614f13565b509392505050565b600081359050613c9781615989565b92915050565b600082601f830112613cae57600080fd5b8135613cbe848260208601613ba0565b91505092915050565b600081359050613cd6816159a0565b92915050565b600081359050613ceb816159b7565b92915050565b600081519050613d00816159b7565b92915050565b600082601f830112613d1757600080fd5b8135613d27848260208601613c0c565b91505092915050565b600082601f830112613d4157600080fd5b8135613d51848260208601613c4a565b91505092915050565b600081359050613d69816159ce565b92915050565b600060208284031215613d8157600080fd5b6000613d8f84828501613c88565b91505092915050565b60008060408385031215613dab57600080fd5b6000613db985828601613c88565b9250506020613dca85828601613c88565b9150509250929050565b600080600060608486031215613de957600080fd5b6000613df786828701613c88565b9350506020613e0886828701613c88565b9250506040613e1986828701613d5a565b9150509250925092565b60008060008060808587031215613e3957600080fd5b6000613e4787828801613c88565b9450506020613e5887828801613c88565b9350506040613e6987828801613d5a565b925050606085013567ffffffffffffffff811115613e8657600080fd5b613e9287828801613d06565b91505092959194509250565b60008060408385031215613eb157600080fd5b6000613ebf85828601613c88565b9250506020613ed085828601613cc7565b9150509250929050565b60008060408385031215613eed57600080fd5b6000613efb85828601613c88565b9250506020613f0c85828601613d5a565b9150509250929050565b600060208284031215613f2857600080fd5b600082013567ffffffffffffffff811115613f4257600080fd5b613f4e84828501613c9d565b91505092915050565b600060208284031215613f6957600080fd5b6000613f7784828501613cdc565b91505092915050565b600060208284031215613f9257600080fd5b6000613fa084828501613cf1565b91505092915050565b600060208284031215613fbb57600080fd5b600082013567ffffffffffffffff811115613fd557600080fd5b613fe184828501613d30565b91505092915050565b600060208284031215613ffc57600080fd5b600061400a84828501613d5a565b91505092915050565b6000806040838503121561402657600080fd5b600061403485828601613d5a565b925050602061404585828601613d5a565b9150509250929050565b600061405b838361407f565b60208301905092915050565b6000614073838361466b565b60208301905092915050565b61408881614e9f565b82525050565b61409781614e8d565b82525050565b60006140a882614cd8565b6140b28185614d1e565b93506140bd83614cb8565b8060005b838110156140ee5781516140d5888261404f565b97506140e083614d04565b9250506001810190506140c1565b5085935050505092915050565b600061410682614ce3565b6141108185614d2f565b935061411b83614cc8565b8060005b8381101561414c5781516141338882614067565b975061413e83614d11565b92505060018101905061411f565b5085935050505092915050565b61416281614eb1565b82525050565b600061417382614cee565b61417d8185614d40565b935061418d818560208601614f22565b614196816150ee565b840191505092915050565b60006141ac82614cf9565b6141b68185614d5c565b93506141c6818560208601614f22565b6141cf816150ee565b840191505092915050565b60006141e582614cf9565b6141ef8185614d6d565b93506141ff818560208601614f22565b80840191505092915050565b6000614218602283614d5c565b9150614223826150ff565b604082019050919050565b600061423b602b83614d5c565b91506142468261514e565b604082019050919050565b600061425e603283614d5c565b91506142698261519d565b604082019050919050565b6000614281602683614d5c565b915061428c826151ec565b604082019050919050565b60006142a4601c83614d5c565b91506142af8261523b565b602082019050919050565b60006142c7602483614d5c565b91506142d282615264565b604082019050919050565b60006142ea601983614d5c565b91506142f5826152b3565b602082019050919050565b600061430d602883614d5c565b9150614318826152dc565b604082019050919050565b6000614330601f83614d5c565b915061433b8261532b565b602082019050919050565b6000614353603a83614d5c565b915061435e82615354565b604082019050919050565b6000614376603183614d5c565b9150614381826153a3565b604082019050919050565b6000614399601d83614d5c565b91506143a4826153f2565b602082019050919050565b60006143bc602c83614d5c565b91506143c78261541b565b604082019050919050565b60006143df602a83614d5c565b91506143ea8261546a565b604082019050919050565b6000614402603883614d5c565b915061440d826154b9565b604082019050919050565b6000614425602b83614d5c565b915061443082615508565b604082019050919050565b6000614448602a83614d5c565b915061445382615557565b604082019050919050565b600061446b602983614d5c565b9150614476826155a6565b604082019050919050565b600061448e602083614d5c565b9150614499826155f5565b602082019050919050565b60006144b1602c83614d5c565b91506144bc8261561e565b604082019050919050565b60006144d4602083614d5c565b91506144df8261566d565b602082019050919050565b60006144f7602983614d5c565b915061450282615696565b604082019050919050565b600061451a602f83614d5c565b9150614525826156e5565b604082019050919050565b600061453d602183614d5c565b915061454882615734565b604082019050919050565b6000614560602983614d5c565b915061456b82615783565b604082019050919050565b6000614583601883614d5c565b915061458e826157d2565b602082019050919050565b60006145a6600083614d51565b91506145b1826157fb565b600082019050919050565b60006145c9603183614d5c565b91506145d4826157fe565b604082019050919050565b60006145ec602f83614d5c565b91506145f78261584d565b604082019050919050565b600061460f602c83614d5c565b915061461a8261589c565b604082019050919050565b6000614632603083614d5c565b915061463d826158eb565b604082019050919050565b6000614655602183614d5c565b91506146608261593a565b604082019050919050565b61467481614f09565b82525050565b61468381614f09565b82525050565b600061469582856141da565b91506146a182846141da565b91508190509392505050565b60006146b882614599565b9150819050919050565b60006020820190506146d7600083018461408e565b92915050565b60006080820190506146f2600083018761408e565b6146ff602083018661408e565b61470c604083018561467a565b818103606083015261471e8184614168565b905095945050505050565b600060408201905061473e600083018561408e565b61474b602083018461467a565b9392505050565b6000602082019050818103600083015261476c818461409d565b905092915050565b6000604082019050818103600083015261478e818561409d565b905081810360208301526147a281846140fb565b90509392505050565b600060208201905081810360008301526147c581846140fb565b905092915050565b60006020820190506147e26000830184614159565b92915050565b6000602082019050818103600083015261480281846141a1565b905092915050565b600060208201905081810360008301526148238161420b565b9050919050565b600060208201905081810360008301526148438161422e565b9050919050565b6000602082019050818103600083015261486381614251565b9050919050565b6000602082019050818103600083015261488381614274565b9050919050565b600060208201905081810360008301526148a381614297565b9050919050565b600060208201905081810360008301526148c3816142ba565b9050919050565b600060208201905081810360008301526148e3816142dd565b9050919050565b6000602082019050818103600083015261490381614300565b9050919050565b6000602082019050818103600083015261492381614323565b9050919050565b6000602082019050818103600083015261494381614346565b9050919050565b6000602082019050818103600083015261496381614369565b9050919050565b600060208201905081810360008301526149838161438c565b9050919050565b600060208201905081810360008301526149a3816143af565b9050919050565b600060208201905081810360008301526149c3816143d2565b9050919050565b600060208201905081810360008301526149e3816143f5565b9050919050565b60006020820190508181036000830152614a0381614418565b9050919050565b60006020820190508181036000830152614a238161443b565b9050919050565b60006020820190508181036000830152614a438161445e565b9050919050565b60006020820190508181036000830152614a6381614481565b9050919050565b60006020820190508181036000830152614a83816144a4565b9050919050565b60006020820190508181036000830152614aa3816144c7565b9050919050565b60006020820190508181036000830152614ac3816144ea565b9050919050565b60006020820190508181036000830152614ae38161450d565b9050919050565b60006020820190508181036000830152614b0381614530565b9050919050565b60006020820190508181036000830152614b2381614553565b9050919050565b60006020820190508181036000830152614b4381614576565b9050919050565b60006020820190508181036000830152614b63816145bc565b9050919050565b60006020820190508181036000830152614b83816145df565b9050919050565b60006020820190508181036000830152614ba381614602565b9050919050565b60006020820190508181036000830152614bc381614625565b9050919050565b60006020820190508181036000830152614be381614648565b9050919050565b6000602082019050614bff600083018461467a565b92915050565b6000614c0f614c20565b9050614c1b8282614f87565b919050565b6000604051905090565b600067ffffffffffffffff821115614c4557614c446150bf565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614c7157614c706150bf565b5b614c7a826150ee565b9050602081019050919050565b600067ffffffffffffffff821115614ca257614ca16150bf565b5b614cab826150ee565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d8382614f09565b9150614d8e83614f09565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614dc357614dc2615032565b5b828201905092915050565b6000614dd982614f09565b9150614de483614f09565b925082614df457614df3615061565b5b828204905092915050565b6000614e0a82614f09565b9150614e1583614f09565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e4e57614e4d615032565b5b828202905092915050565b6000614e6482614f09565b9150614e6f83614f09565b925082821015614e8257614e81615032565b5b828203905092915050565b6000614e9882614ee9565b9050919050565b6000614eaa82614ee9565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614f40578082015181840152602081019050614f25565b83811115614f4f576000848401525b50505050565b60006002820490506001821680614f6d57607f821691505b60208210811415614f8157614f80615090565b5b50919050565b614f90826150ee565b810181811067ffffffffffffffff82111715614faf57614fae6150bf565b5b80604052505050565b6000614fc382614f09565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ff657614ff5615032565b5b600182019050919050565b600061500c82614f09565b915061501783614f09565b92508261502757615026615061565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c65206d7573742062652061637469766520746f206d696e7420446f726b60008201527f6973000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f444f524b49533a204665657320717565727920666f72206e6f6e65786973746560008201527f6e7420746f6b656e000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f444f524b49533a20466565526563697069656e747320717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620446f726b697300000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f444f524b49533a204665657342505320717565727920666f72206e6f6e65786960008201527f7374656e7420746f6b656e000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265736572766520776f756c6420657863656564206d617820737570706c792060008201527f6f6620446f726b69730000000000000000000000000000000000000000000000602082015250565b7f6e756d6265724f664e6674732063616e6e6f7420626520300000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f444f524b49533a20726f79616c7479496e666f20717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178206d696e74656420746f6b656e7320666f7220746860008201527f6973206164647265737320283130302900000000000000000000000000000000602082015250565b7f43616e206f6e6c79206d696e7420313020746f6b656e7320617420612074696d60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b61599281614e8d565b811461599d57600080fd5b50565b6159a981614eb1565b81146159b457600080fd5b50565b6159c081614ebd565b81146159cb57600080fd5b50565b6159d781614f09565b81146159e257600080fd5b5056fea2646970667358221220c9913774b5ff64d55ad09afcd61b84613c41d69a2a724d2e4ae35c8a8a36574264736f6c63430008040033697066733a2f2f516d6235784d4563373338526132356a346a546941474e66717451313745396b555747704a574e3375744164476d2f
Deployed Bytecode
0x60806040526004361061024a5760003560e01c80636cf61f5f11610139578063ad08fff8116100b6578063d5a06d4c1161007a578063d5a06d4c14610878578063e985e9c5146108b6578063eb8d2444146108f3578063eff31e9e1461091e578063f2fde38b14610949578063fb6a53d21461097257610251565b8063ad08fff81461077f578063af5aa562146107aa578063b88d4fde146107d5578063b9c4d9fb146107fe578063c87b56dd1461083b57610251565b80638da5cb5b116100fd5780638da5cb5b146106aa57806391c1195e146106d557806395d89b4114610700578063a22cb4651461072b578063a9e140db1461075457610251565b80636cf61f5f146105f85780636db16da81461060f57806370a082311461062b5780637146bd0814610668578063715018a61461069357610251565b80632a55205a116101c75780633ccfd60b1161018b5780633ccfd60b1461051557806342842e0e1461052c5780634f6ccce7146105555780636352211e146105925780636baa2ff7146105cf57610251565b80632a55205a146104435780632b5bd08c146104815780632f745c591461049857806330176e13146104d557806334918dfd146104fe57610251565b80630ebd4c7f1161020e5780630ebd4c7f1461034c5780630f60e3ce1461038957806310969523146103c657806318160ddd146103ef57806323b872dd1461041a57610251565b8063015717c21461025357806301ffc9a71461027e57806306fdde03146102bb578063081812fc146102e6578063095ea7b31461032357610251565b3661025157005b005b34801561025f57600080fd5b5061026861099b565b6040516102759190614bea565b60405180910390f35b34801561028a57600080fd5b506102a560048036038101906102a09190613f57565b6109a1565b6040516102b291906147cd565b60405180910390f35b3480156102c757600080fd5b506102d06109d3565b6040516102dd91906147e8565b60405180910390f35b3480156102f257600080fd5b5061030d60048036038101906103089190613fea565b610a65565b60405161031a91906146c2565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613eda565b610aea565b005b34801561035857600080fd5b50610373600480360381019061036e9190613fea565b610c02565b60405161038091906147ab565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab9190613d6f565b610ca4565b6040516103bd91906147ab565b60405180910390f35b3480156103d257600080fd5b506103ed60048036038101906103e89190613fa9565b610def565b005b3480156103fb57600080fd5b50610404610e85565b6040516104119190614bea565b60405180910390f35b34801561042657600080fd5b50610441600480360381019061043c9190613dd4565b610e92565b005b34801561044f57600080fd5b5061046a60048036038101906104659190614013565b610fb8565b604051610478929190614729565b60405180910390f35b34801561048d57600080fd5b5061049661106d565b005b3480156104a457600080fd5b506104bf60048036038101906104ba9190613eda565b611115565b6040516104cc9190614bea565b60405180910390f35b3480156104e157600080fd5b506104fc60048036038101906104f79190613fa9565b6111ba565b005b34801561050a57600080fd5b50610513611250565b005b34801561052157600080fd5b5061052a6112f8565b005b34801561053857600080fd5b50610553600480360381019061054e9190613dd4565b61151b565b005b34801561056157600080fd5b5061057c60048036038101906105779190613fea565b61153b565b6040516105899190614bea565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b49190613fea565b6115d2565b6040516105c691906146c2565b60405180910390f35b3480156105db57600080fd5b506105f660048036038101906105f19190613eda565b6116ca565b005b34801561060457600080fd5b5061060d61182d565b005b61062960048036038101906106249190613fea565b61194c565b005b34801561063757600080fd5b50610652600480360381019061064d9190613d6f565b611b79565b60405161065f9190614bea565b60405180910390f35b34801561067457600080fd5b5061067d611c31565b60405161068a9190614bea565b60405180910390f35b34801561069f57600080fd5b506106a8611c36565b005b3480156106b657600080fd5b506106bf611cbe565b6040516106cc91906146c2565b60405180910390f35b3480156106e157600080fd5b506106ea611ce7565b6040516106f79190614bea565b60405180910390f35b34801561070c57600080fd5b50610715611cec565b60405161072291906147e8565b60405180910390f35b34801561073757600080fd5b50610752600480360381019061074d9190613e9e565b611d7e565b005b34801561076057600080fd5b50610769611eff565b60405161077691906147cd565b60405180910390f35b34801561078b57600080fd5b50610794611f12565b6040516107a19190614bea565b60405180910390f35b3480156107b657600080fd5b506107bf611f18565b6040516107cc91906147e8565b60405180910390f35b3480156107e157600080fd5b506107fc60048036038101906107f79190613e23565b611fa6565b005b34801561080a57600080fd5b5061082560048036038101906108209190613fea565b612008565b6040516108329190614752565b60405180910390f35b34801561084757600080fd5b50610862600480360381019061085d9190613fea565b6120e0565b60405161086f91906147e8565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a9190613fea565b61216b565b6040516108ad929190614774565b60405180910390f35b3480156108c257600080fd5b506108dd60048036038101906108d89190613d98565b61229d565b6040516108ea91906147cd565b60405180910390f35b3480156108ff57600080fd5b50610908612331565b60405161091591906147cd565b60405180910390f35b34801561092a57600080fd5b50610933612344565b6040516109409190614bea565b60405180910390f35b34801561095557600080fd5b50610970600480360381019061096b9190613d6f565b612349565b005b34801561097e57600080fd5b5061099960048036038101906109949190613f16565b612441565b005b600d5481565b60006109ac82612527565b806109bc57506109bb82612609565b5b806109cc57506109cb82612609565b5b9050919050565b6060600180546109e290614f55565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0e90614f55565b8015610a5b5780601f10610a3057610100808354040283529160200191610a5b565b820191906000526020600020905b815481529060010190602001808311610a3e57829003601f168201915b5050505050905090565b6000610a7082612770565b610aaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa690614a6a565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610af5826127dc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5d90614aea565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8561288e565b73ffffffffffffffffffffffffffffffffffffffff161480610bb45750610bb381610bae61288e565b61229d565b5b610bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bea906149ca565b60405180910390fd5b610bfd8383612896565b505050565b6060610c0d82612770565b610c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c43906149ea565b60405180910390fd5b6010805480602002602001604051908101604052809291908181526020018280548015610c9857602002820191906000526020600020905b815481526020019060010190808311610c84575b50505050509050919050565b60606000610cb183611b79565b905060008167ffffffffffffffff811115610cf5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d235781602001602082028036833780820191505090505b5090506000610d30610e85565b90506000805b82811015610de2578673ffffffffffffffffffffffffffffffffffffffff16610d5e826127dc565b73ffffffffffffffffffffffffffffffffffffffff161415610dcf5780848381518110610db4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180610dcb90614fb8565b9250505b8080610dda90614fb8565b915050610d36565b5082945050505050919050565b610df761288e565b73ffffffffffffffffffffffffffffffffffffffff16610e15611cbe565b73ffffffffffffffffffffffffffffffffffffffff1614610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6290614a8a565b60405180910390fd5b80600b9080519060200190610e81929190613afd565b5050565b6000600980549050905090565b610ea3610e9d61288e565b8261294f565b610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed990614b4a565b60405180910390fd5b610eed838383612a2d565b600e60019054906101000a900460ff168015610f36575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b15610fb357610f5f8360506064600c54610f509190614dce565b610f5a9190614dff565b612c89565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568360506064600c54610f929190614dce565b610f9c9190614dff565b604051610faa929190614729565b60405180910390a15b505050565b600080610fc484612770565b611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa90614b6a565b60405180910390fd5b306127106010600081548110611042577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154856110589190614dff565b6110629190614dce565b915091509250929050565b61107561288e565b73ffffffffffffffffffffffffffffffffffffffff16611093611cbe565b73ffffffffffffffffffffffffffffffffffffffff16146110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e090614a8a565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b600061112083611b79565b8210611161576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111589061482a565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111c261288e565b73ffffffffffffffffffffffffffffffffffffffff166111e0611cbe565b73ffffffffffffffffffffffffffffffffffffffff1614611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90614a8a565b60405180910390fd5b806011908051906020019061124c929190613afd565b5050565b61125861288e565b73ffffffffffffffffffffffffffffffffffffffff16611276611cbe565b73ffffffffffffffffffffffffffffffffffffffff16146112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c390614a8a565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b61130061288e565b73ffffffffffffffffffffffffffffffffffffffff1661131e611cbe565b73ffffffffffffffffffffffffffffffffffffffff1614611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b90614a8a565b60405180910390fd5b60006005476113839190614dce565b90507351be0a47282afbe3a330f7738a0ab5b277810fe473ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506113d757600080fd5b73f40fd88ac59a206d009a07f8c09828a01e2acc0d73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061142957600080fd5b73f450a5d6c4205ca8151fb1c6faf49a02c8a527fc73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061147b57600080fd5b611483611cbe565b73ffffffffffffffffffffffffffffffffffffffff166108fc6002836114a99190614dff565b9081150290604051600060405180830381858888f193505050506114cc57600080fd5b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0566114f5611cbe565b6002836115029190614dff565b604051611510929190614729565b60405180910390a150565b61153683838360405180602001604052806000815250611fa6565b505050565b6000611545610e85565b8210611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d90614b8a565b60405180910390fd5b600982815481106115c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806115de836127dc565b905061dead73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164890614a2a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b890614a2a565b60405180910390fd5b80915050919050565b6116d261288e565b73ffffffffffffffffffffffffffffffffffffffff166116f0611cbe565b73ffffffffffffffffffffffffffffffffffffffff1614611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90614a8a565b60405180910390fd5b600d5461176382611755610e85565b612d7d90919063ffffffff16565b11156117a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179b90614b0a565b60405180910390fd5b600a8111156117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90614bca565b60405180910390fd5b60006117f2610e85565b905060005b828110156118275761181484828461180f9190614d78565b612d93565b808061181f90614fb8565b9150506117f7565b50505050565b61183561288e565b73ffffffffffffffffffffffffffffffffffffffff16611853611cbe565b73ffffffffffffffffffffffffffffffffffffffff16146118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090614a8a565b60405180910390fd5b600d546118c7601e6118b9610e85565b612d7d90919063ffffffff16565b1115611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff90614b0a565b60405180910390fd5b6000611912610e85565b905060005b601e811015611948576119353382846119309190614d78565b612d93565b808061194090614fb8565b915050611917565b5050565b6000811161198f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198690614b2a565b60405180910390fd5b600e60009054906101000a900460ff166119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d59061480a565b60405180910390fd5b600a811115611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1990614bca565b60405180910390fd5b600d54611a3f82611a31610e85565b612d7d90919063ffffffff16565b1115611a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a77906149aa565b60405180910390fd5b34611a9682600c54612db190919063ffffffff16565b1115611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace9061490a565b60405180910390fd5b606481611ae333611b79565b611aed9190614d78565b1115611b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2590614baa565b60405180910390fd5b60005b81811015611b75576000611b43610e85565b9050600d54611b50610e85565b1015611b6157611b603382612d93565b5b508080611b6d90614fb8565b915050611b31565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be190614a0a565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600a81565b611c3e61288e565b73ffffffffffffffffffffffffffffffffffffffff16611c5c611cbe565b73ffffffffffffffffffffffffffffffffffffffff1614611cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca990614a8a565b60405180910390fd5b611cbc6000612dc7565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606481565b606060028054611cfb90614f55565b80601f0160208091040260200160405190810160405280929190818152602001828054611d2790614f55565b8015611d745780601f10611d4957610100808354040283529160200191611d74565b820191906000526020600020905b815481529060010190602001808311611d5757829003601f168201915b5050505050905090565b611d8661288e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611deb906148ca565b60405180910390fd5b8060066000611e0161288e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611eae61288e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ef391906147cd565b60405180910390a35050565b600e60019054906101000a900460ff1681565b600c5481565b600b8054611f2590614f55565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5190614f55565b8015611f9e5780601f10611f7357610100808354040283529160200191611f9e565b820191906000526020600020905b815481529060010190602001808311611f8157829003601f168201915b505050505081565b611fb7611fb161288e565b8361294f565b611ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fed90614b4a565b60405180910390fd5b61200284848484612e8b565b50505050565b606061201382612770565b612052576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120499061494a565b60405180910390fd5b600f8054806020026020016040519081016040528092919081815260200182805480156120d457602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161208a575b50505050509050919050565b606061dead73ffffffffffffffffffffffffffffffffffffffff16612104836127dc565b73ffffffffffffffffffffffffffffffffffffffff16141561215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290614aca565b60405180910390fd5b61216482612ee7565b9050919050565b60608061217783612770565b6121b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ad906148ea565b60405180910390fd5b600f60108180548060200260200160405190810160405280929190818152602001828054801561223b57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116121f1575b505050505091508080548060200260200160405190810160405280929190818152602001828054801561228d57602002820191906000526020600020905b815481526020019060010190808311612279575b5050505050905091509150915091565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b601e81565b61235161288e565b73ffffffffffffffffffffffffffffffffffffffff1661236f611cbe565b73ffffffffffffffffffffffffffffffffffffffff16146123c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bc90614a8a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242c9061486a565b60405180910390fd5b61243e81612dc7565b50565b60005b815181101561250b5761249e61245861288e565b838381518110612491577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161294f565b156124f8576124f76124ae61288e565b61dead8484815181106124ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610e92565b5b808061250390614fb8565b915050612444565b5050565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125f257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612602575061260182612f8e565b5b9050919050565b60007f488cd892000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061267c575061267b82612ff8565b5b806126cb575063b779958460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061271a575063d5a06d4c60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127695750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287c90614a2a565b60405180910390fd5b80915050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612909836127dc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061295a82612770565b612999576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129909061498a565b60405180910390fd5b60006129a4836127dc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a1357508373ffffffffffffffffffffffffffffffffffffffff166129fb84610a65565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a245750612a23818561229d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a4d826127dc565b73ffffffffffffffffffffffffffffffffffffffff1614612aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9a90614aaa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0a906148aa565b60405180910390fd5b612b1e838383613072565b612b29600082612896565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b799190614e59565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bd09190614d78565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612ccc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc39061496a565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612cf2906146ad565b60006040518083038185875af1925050503d8060008114612d2f576040519150601f19603f3d011682016040523d82523d6000602084013e612d34565b606091505b5050905080612d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6f9061492a565b60405180910390fd5b505050565b60008183612d8b9190614d78565b905092915050565b612dad828260405180602001604052806000815250613186565b5050565b60008183612dbf9190614dff565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e96848484612a2d565b612ea2848484846131e1565b612ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed89061484a565b60405180910390fd5b50505050565b6060612ef282612770565b612f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2890614aca565b60405180910390fd5b6000612f3b613378565b90506000815111612f5b5760405180602001604052806000815250612f86565b80612f658461340a565b604051602001612f76929190614689565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061306b575061306a82612527565b5b9050919050565b61307d838383612522565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130c0576130bb816135b7565b6130ff565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146130fe576130fd8382613600565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131425761313d8161376d565b613181565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131805761317f82826138b0565b5b5b505050565b613190838361392f565b61319d60008484846131e1565b6131dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d39061484a565b60405180910390fd5b505050565b60006132028473ffffffffffffffffffffffffffffffffffffffff1661250f565b1561336b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261322b61288e565b8786866040518563ffffffff1660e01b815260040161324d94939291906146dd565b602060405180830381600087803b15801561326757600080fd5b505af192505050801561329857506040513d601f19601f820116820180604052508101906132959190613f80565b60015b61331b573d80600081146132c8576040519150601f19603f3d011682016040523d82523d6000602084013e6132cd565b606091505b50600081511415613313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330a9061484a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613370565b600190505b949350505050565b60606011805461338790614f55565b80601f01602080910402602001604051908101604052809291908181526020018280546133b390614f55565b80156134005780601f106133d557610100808354040283529160200191613400565b820191906000526020600020905b8154815290600101906020018083116133e357829003601f168201915b5050505050905090565b60606000821415613452576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135b2565b600082905060005b6000821461348457808061346d90614fb8565b915050600a8261347d9190614dce565b915061345a565b60008167ffffffffffffffff8111156134c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134f85781602001600182028036833780820191505090505b5090505b600085146135ab576001826135119190614e59565b9150600a856135209190615001565b603061352c9190614d78565b60f81b818381518110613568577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135a49190614dce565b94506134fc565b8093505050505b919050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161360d84611b79565b6136179190614e59565b90506000600860008481526020019081526020016000205490508181146136fc576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506137819190614e59565b90506000600a60008481526020019081526020016000205490506000600983815481106137d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806009838154811061381f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613894577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006138bb83611b79565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561399f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399690614a4a565b60405180910390fd5b6139a881612770565b156139e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139df9061488a565b60405180910390fd5b6139f460008383613072565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a449190614d78565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613b0990614f55565b90600052602060002090601f016020900481019282613b2b5760008555613b72565b82601f10613b4457805160ff1916838001178555613b72565b82800160010185558215613b72579182015b82811115613b71578251825591602001919060010190613b56565b5b509050613b7f9190613b83565b5090565b5b80821115613b9c576000816000905550600101613b84565b5090565b6000613bb3613bae84614c2a565b614c05565b90508083825260208201905082856020860282011115613bd257600080fd5b60005b85811015613c025781613be88882613d5a565b845260208401935060208301925050600181019050613bd5565b5050509392505050565b6000613c1f613c1a84614c56565b614c05565b905082815260208101848484011115613c3757600080fd5b613c42848285614f13565b509392505050565b6000613c5d613c5884614c87565b614c05565b905082815260208101848484011115613c7557600080fd5b613c80848285614f13565b509392505050565b600081359050613c9781615989565b92915050565b600082601f830112613cae57600080fd5b8135613cbe848260208601613ba0565b91505092915050565b600081359050613cd6816159a0565b92915050565b600081359050613ceb816159b7565b92915050565b600081519050613d00816159b7565b92915050565b600082601f830112613d1757600080fd5b8135613d27848260208601613c0c565b91505092915050565b600082601f830112613d4157600080fd5b8135613d51848260208601613c4a565b91505092915050565b600081359050613d69816159ce565b92915050565b600060208284031215613d8157600080fd5b6000613d8f84828501613c88565b91505092915050565b60008060408385031215613dab57600080fd5b6000613db985828601613c88565b9250506020613dca85828601613c88565b9150509250929050565b600080600060608486031215613de957600080fd5b6000613df786828701613c88565b9350506020613e0886828701613c88565b9250506040613e1986828701613d5a565b9150509250925092565b60008060008060808587031215613e3957600080fd5b6000613e4787828801613c88565b9450506020613e5887828801613c88565b9350506040613e6987828801613d5a565b925050606085013567ffffffffffffffff811115613e8657600080fd5b613e9287828801613d06565b91505092959194509250565b60008060408385031215613eb157600080fd5b6000613ebf85828601613c88565b9250506020613ed085828601613cc7565b9150509250929050565b60008060408385031215613eed57600080fd5b6000613efb85828601613c88565b9250506020613f0c85828601613d5a565b9150509250929050565b600060208284031215613f2857600080fd5b600082013567ffffffffffffffff811115613f4257600080fd5b613f4e84828501613c9d565b91505092915050565b600060208284031215613f6957600080fd5b6000613f7784828501613cdc565b91505092915050565b600060208284031215613f9257600080fd5b6000613fa084828501613cf1565b91505092915050565b600060208284031215613fbb57600080fd5b600082013567ffffffffffffffff811115613fd557600080fd5b613fe184828501613d30565b91505092915050565b600060208284031215613ffc57600080fd5b600061400a84828501613d5a565b91505092915050565b6000806040838503121561402657600080fd5b600061403485828601613d5a565b925050602061404585828601613d5a565b9150509250929050565b600061405b838361407f565b60208301905092915050565b6000614073838361466b565b60208301905092915050565b61408881614e9f565b82525050565b61409781614e8d565b82525050565b60006140a882614cd8565b6140b28185614d1e565b93506140bd83614cb8565b8060005b838110156140ee5781516140d5888261404f565b97506140e083614d04565b9250506001810190506140c1565b5085935050505092915050565b600061410682614ce3565b6141108185614d2f565b935061411b83614cc8565b8060005b8381101561414c5781516141338882614067565b975061413e83614d11565b92505060018101905061411f565b5085935050505092915050565b61416281614eb1565b82525050565b600061417382614cee565b61417d8185614d40565b935061418d818560208601614f22565b614196816150ee565b840191505092915050565b60006141ac82614cf9565b6141b68185614d5c565b93506141c6818560208601614f22565b6141cf816150ee565b840191505092915050565b60006141e582614cf9565b6141ef8185614d6d565b93506141ff818560208601614f22565b80840191505092915050565b6000614218602283614d5c565b9150614223826150ff565b604082019050919050565b600061423b602b83614d5c565b91506142468261514e565b604082019050919050565b600061425e603283614d5c565b91506142698261519d565b604082019050919050565b6000614281602683614d5c565b915061428c826151ec565b604082019050919050565b60006142a4601c83614d5c565b91506142af8261523b565b602082019050919050565b60006142c7602483614d5c565b91506142d282615264565b604082019050919050565b60006142ea601983614d5c565b91506142f5826152b3565b602082019050919050565b600061430d602883614d5c565b9150614318826152dc565b604082019050919050565b6000614330601f83614d5c565b915061433b8261532b565b602082019050919050565b6000614353603a83614d5c565b915061435e82615354565b604082019050919050565b6000614376603183614d5c565b9150614381826153a3565b604082019050919050565b6000614399601d83614d5c565b91506143a4826153f2565b602082019050919050565b60006143bc602c83614d5c565b91506143c78261541b565b604082019050919050565b60006143df602a83614d5c565b91506143ea8261546a565b604082019050919050565b6000614402603883614d5c565b915061440d826154b9565b604082019050919050565b6000614425602b83614d5c565b915061443082615508565b604082019050919050565b6000614448602a83614d5c565b915061445382615557565b604082019050919050565b600061446b602983614d5c565b9150614476826155a6565b604082019050919050565b600061448e602083614d5c565b9150614499826155f5565b602082019050919050565b60006144b1602c83614d5c565b91506144bc8261561e565b604082019050919050565b60006144d4602083614d5c565b91506144df8261566d565b602082019050919050565b60006144f7602983614d5c565b915061450282615696565b604082019050919050565b600061451a602f83614d5c565b9150614525826156e5565b604082019050919050565b600061453d602183614d5c565b915061454882615734565b604082019050919050565b6000614560602983614d5c565b915061456b82615783565b604082019050919050565b6000614583601883614d5c565b915061458e826157d2565b602082019050919050565b60006145a6600083614d51565b91506145b1826157fb565b600082019050919050565b60006145c9603183614d5c565b91506145d4826157fe565b604082019050919050565b60006145ec602f83614d5c565b91506145f78261584d565b604082019050919050565b600061460f602c83614d5c565b915061461a8261589c565b604082019050919050565b6000614632603083614d5c565b915061463d826158eb565b604082019050919050565b6000614655602183614d5c565b91506146608261593a565b604082019050919050565b61467481614f09565b82525050565b61468381614f09565b82525050565b600061469582856141da565b91506146a182846141da565b91508190509392505050565b60006146b882614599565b9150819050919050565b60006020820190506146d7600083018461408e565b92915050565b60006080820190506146f2600083018761408e565b6146ff602083018661408e565b61470c604083018561467a565b818103606083015261471e8184614168565b905095945050505050565b600060408201905061473e600083018561408e565b61474b602083018461467a565b9392505050565b6000602082019050818103600083015261476c818461409d565b905092915050565b6000604082019050818103600083015261478e818561409d565b905081810360208301526147a281846140fb565b90509392505050565b600060208201905081810360008301526147c581846140fb565b905092915050565b60006020820190506147e26000830184614159565b92915050565b6000602082019050818103600083015261480281846141a1565b905092915050565b600060208201905081810360008301526148238161420b565b9050919050565b600060208201905081810360008301526148438161422e565b9050919050565b6000602082019050818103600083015261486381614251565b9050919050565b6000602082019050818103600083015261488381614274565b9050919050565b600060208201905081810360008301526148a381614297565b9050919050565b600060208201905081810360008301526148c3816142ba565b9050919050565b600060208201905081810360008301526148e3816142dd565b9050919050565b6000602082019050818103600083015261490381614300565b9050919050565b6000602082019050818103600083015261492381614323565b9050919050565b6000602082019050818103600083015261494381614346565b9050919050565b6000602082019050818103600083015261496381614369565b9050919050565b600060208201905081810360008301526149838161438c565b9050919050565b600060208201905081810360008301526149a3816143af565b9050919050565b600060208201905081810360008301526149c3816143d2565b9050919050565b600060208201905081810360008301526149e3816143f5565b9050919050565b60006020820190508181036000830152614a0381614418565b9050919050565b60006020820190508181036000830152614a238161443b565b9050919050565b60006020820190508181036000830152614a438161445e565b9050919050565b60006020820190508181036000830152614a6381614481565b9050919050565b60006020820190508181036000830152614a83816144a4565b9050919050565b60006020820190508181036000830152614aa3816144c7565b9050919050565b60006020820190508181036000830152614ac3816144ea565b9050919050565b60006020820190508181036000830152614ae38161450d565b9050919050565b60006020820190508181036000830152614b0381614530565b9050919050565b60006020820190508181036000830152614b2381614553565b9050919050565b60006020820190508181036000830152614b4381614576565b9050919050565b60006020820190508181036000830152614b63816145bc565b9050919050565b60006020820190508181036000830152614b83816145df565b9050919050565b60006020820190508181036000830152614ba381614602565b9050919050565b60006020820190508181036000830152614bc381614625565b9050919050565b60006020820190508181036000830152614be381614648565b9050919050565b6000602082019050614bff600083018461467a565b92915050565b6000614c0f614c20565b9050614c1b8282614f87565b919050565b6000604051905090565b600067ffffffffffffffff821115614c4557614c446150bf565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614c7157614c706150bf565b5b614c7a826150ee565b9050602081019050919050565b600067ffffffffffffffff821115614ca257614ca16150bf565b5b614cab826150ee565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d8382614f09565b9150614d8e83614f09565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614dc357614dc2615032565b5b828201905092915050565b6000614dd982614f09565b9150614de483614f09565b925082614df457614df3615061565b5b828204905092915050565b6000614e0a82614f09565b9150614e1583614f09565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e4e57614e4d615032565b5b828202905092915050565b6000614e6482614f09565b9150614e6f83614f09565b925082821015614e8257614e81615032565b5b828203905092915050565b6000614e9882614ee9565b9050919050565b6000614eaa82614ee9565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614f40578082015181840152602081019050614f25565b83811115614f4f576000848401525b50505050565b60006002820490506001821680614f6d57607f821691505b60208210811415614f8157614f80615090565b5b50919050565b614f90826150ee565b810181811067ffffffffffffffff82111715614faf57614fae6150bf565b5b80604052505050565b6000614fc382614f09565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ff657614ff5615032565b5b600182019050919050565b600061500c82614f09565b915061501783614f09565b92508261502757615026615061565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c65206d7573742062652061637469766520746f206d696e7420446f726b60008201527f6973000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f444f524b49533a204665657320717565727920666f72206e6f6e65786973746560008201527f6e7420746f6b656e000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f444f524b49533a20466565526563697069656e747320717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620446f726b697300000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f444f524b49533a204665657342505320717565727920666f72206e6f6e65786960008201527f7374656e7420746f6b656e000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265736572766520776f756c6420657863656564206d617820737570706c792060008201527f6f6620446f726b69730000000000000000000000000000000000000000000000602082015250565b7f6e756d6265724f664e6674732063616e6e6f7420626520300000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f444f524b49533a20726f79616c7479496e666f20717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178206d696e74656420746f6b656e7320666f7220746860008201527f6973206164647265737320283130302900000000000000000000000000000000602082015250565b7f43616e206f6e6c79206d696e7420313020746f6b656e7320617420612074696d60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b61599281614e8d565b811461599d57600080fd5b50565b6159a981614eb1565b81146159b457600080fd5b50565b6159c081614ebd565b81146159cb57600080fd5b50565b6159d781614f09565b81146159e257600080fd5b5056fea2646970667358221220c9913774b5ff64d55ad09afcd61b84613c41d69a2a724d2e4ae35c8a8a36574264736f6c63430008040033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.