Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
9,999 FF
Holders
5,259
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FFLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FishyFam
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * **************************************** * Blimpie-FF721 provides low-gas * * mints + transfers * ****************************************/ import "@openzeppelin/contracts/utils/Strings.sol"; import '../Blimpie/Delegated.sol'; import '../Blimpie/PaymentSplitterMod.sol'; import '../Blimpie/Signed.sol'; import './FF721Batch.sol'; contract FishyFam is Delegated, FF721Batch, PaymentSplitterMod, Signed { using Strings for uint256; uint public PRICE = 0.03 ether; uint public MAX_ORDER = 20; uint public MAX_SUPPLY = 10000; uint public MAX_WALLET = 3; uint public WHALE_WALLET = 15; uint public burned; bool public isPresaleActive = false; bool public isMainsaleActive = false; address public whalePass; string private _tokenURIPrefix; string private _tokenURISuffix; address[] private _payees = [ 0x4e1C0E8F7Fd15C04c897d574cb00FA4e01BDC6Bf, 0xcbAA6a102b62D6e75E6C69D8463f429867ECb2da, 0x755403F07d03FEcAd97a8d2c9AaeD4611B5CBc69, 0xA2EC6eDcd18cb379780183BEC8A3bF06fb79cbbD, 0xA7358eD00BeEfB65CAe0e2bAA8a377276Ef11bbd, 0xC7f02456dD3FC26aAE2CA1d68528CF9764bf5598, 0xDaFEbBB4A3bd562FF4c5cDe636BCF63a232A0162 ]; uint[] private _shares = [ 32, 32, 15, 8, 8, 3, 2 ]; constructor() FF721("Fishy Fam", "FF") PaymentSplitterMod( _payees, _shares ){ } //view: external fallback() external payable {} //view: IERC721Metadata function tokenURI( uint tokenId ) external view override returns( string memory ){ require(_exists(tokenId), "FishyFam: query for nonexistent token"); return string(abi.encodePacked(_tokenURIPrefix, tokenId.toString(), _tokenURISuffix)); } //view: IERC721Enumerable function totalSupply() public view override returns( uint totalSupply_ ){ return tokens.length - burned; } //payable function mint( uint quantity, bytes calldata signature ) external payable { require( quantity <= MAX_ORDER, "FishyFam: order too big" ); require( msg.value >= PRICE * quantity, "FishyFam: ether sent is not correct" ); uint max = msg.sender == whalePass ? WHALE_WALLET : MAX_WALLET; require( _balances[ msg.sender ] + quantity <= max, "FishyFam: don't be greedy" ); uint supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "FishyFam: mint/order exceeds supply" ); if( isMainsaleActive ){ //no-op } else if( isPresaleActive ){ verifySignature( quantity.toString(), signature ); } else{ revert( "Sale is not active" ); } unchecked{ for(uint i; i < quantity; ++i){ _mint( msg.sender, tokens.length ); } } } //onlyDelegates function burnFrom( address account, uint[] calldata tokenIds ) external onlyDelegates{ unchecked{ for(uint i; i < tokenIds.length; ++i ){ _burn( account, tokenIds[i] ); } } } function mintTo(address[] calldata recipient, uint[] calldata quantity) external payable onlyDelegates{ require(quantity.length == recipient.length, "FishyFam: must provide equal quantities and recipients" ); uint totalQuantity; uint supply = totalSupply(); unchecked{ for(uint i; i < quantity.length; ++i){ totalQuantity += quantity[i]; } } require( supply + totalQuantity < MAX_SUPPLY, "FishyFam: mint/order exceeds supply" ); unchecked{ for(uint i; i < recipient.length; ++i){ for(uint j; j < quantity[i]; ++j){ _mint( recipient[i], tokens.length ); } } } } function resurrect( address[] calldata recipient, uint[] calldata tokenIds ) external onlyDelegates{ require(tokenIds.length == recipient.length, "FishyFam: must provide equal tokenIds and recipients" ); unchecked{ for(uint i; i < tokenIds.length; ++i ){ _mint( recipient[i], tokenIds[i] ); } } } function setActive(bool isPresaleActive_, bool isMainsaleActive_) external onlyDelegates{ if( isPresaleActive != isPresaleActive_ ) isPresaleActive = isPresaleActive_; if( isMainsaleActive != isMainsaleActive_ ) isMainsaleActive = isMainsaleActive_; } function setBaseURI(string calldata _newPrefix, string calldata _newSuffix) external onlyDelegates{ _tokenURIPrefix = _newPrefix; _tokenURISuffix = _newSuffix; } function setMax(uint maxOrder, uint maxSupply, uint maxWallet) external onlyDelegates{ require( maxSupply >= totalSupply(), "FishyFam: specified supply is lower than current balance" ); MAX_ORDER = maxOrder; MAX_SUPPLY = maxSupply; MAX_WALLET = maxWallet; } function setPrice( uint price ) external onlyDelegates{ PRICE = price; } function setWhale( address whale ) external onlyDelegates{ whalePass = whale; } //onlyOwner function addPayee(address account, uint256 shares_) external onlyOwner { _addPayee( account, shares_ ); } function resetCounters() external onlyOwner { _resetCounters(); } function setPayee( uint index, address account, uint newShares ) external onlyOwner { _setPayee(index, account, newShares); } //private function _burn( address from, uint tokenId ) private { require( from == tokens[ tokenId ].owner, "FishyFam: owner mismatch" ); tokens[ tokenId ].owner = address(0); ++burned; _beforeTokenTransfer(from, address(0), tokenId); tokens[ tokenId ].owner = address(0); emit Transfer(from, address(0), tokenId); } function _mint( address to, uint tokenId ) private { if( tokenId < tokens.length ){ require( !_exists( tokenId ), "FishyFam: can't resurrect existing token" ); --burned; tokens[ tokenId ].owner = to; } else{ tokens.push( Token( to ) ); } _beforeTokenTransfer(address(0), to, tokenId); emit Transfer(address(0), to, tokenId); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * **************************************** * Blimpie-FF721 provides low-gas * * mints + transfers * ****************************************/ import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "./FF721.sol"; abstract contract FF721Enumerable is FF721, IERC721Enumerable { function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, FF721) returns( bool isSupported ){ return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint index) external view override returns( uint tokenId ){ uint count; for( uint i; i < tokens.length; ++i ){ if( owner == tokens[i].owner ){ if( count == index ) return i; else ++count; } } revert( "FF721Enumerable: owner index out of bounds" ); } function tokenByIndex(uint index) external view override returns( uint tokenId ){ require(index < tokens.length, "FF721Enumerable: query for nonexistent token"); return index; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * **************************************** * Blimpie-FF721 provides low-gas * * mints + transfers * ****************************************/ import "../Blimpie/IERC721Batch.sol"; import "./FF721Enumerable.sol"; abstract contract FF721Batch is FF721Enumerable, IERC721Batch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){ for(uint i; i < tokenIds.length; ++i ){ if( account != tokens[ tokenIds[i] ].owner ) return false; } return true; } function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{ for(uint i; i < tokenIds.length; ++i ){ safeTransferFrom( from, to, tokenIds[i], data ); } } function walletOfOwner( address account ) public view override returns( uint[] memory wallet ){ uint count; uint quantity = balanceOf( account ); wallet = new uint[]( quantity ); for( uint i; i < tokens.length; ++i ){ if( account == tokens[i].owner ){ wallet[ count++ ] = i; if( count == quantity ) break; } } return wallet; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * **************************************** * Blimpie-FF721 provides low-gas * * mints + transfers * ****************************************/ import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract FF721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; struct Token{ address owner; } Token[] public tokens; string private _name; string private _symbol; mapping(address => uint) _balances; mapping(uint => address) internal _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_){ _name = name_; _symbol = symbol_; } //public view function balanceOf(address owner) public view override returns (uint balance){ return _balances[owner]; } function name() external view override returns( string memory name_ ){ return _name; } function ownerOf(uint tokenId) public view override returns( address owner ){ require(_exists(tokenId), "FF721: query for nonexistent token"); return tokens[tokenId].owner; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns( bool isSupported ){ return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function symbol() external view override returns( string memory symbol_ ){ return _symbol; } //approvals function approve(address to, uint tokenId) external override { address owner = ownerOf(tokenId); require(to != owner, "FF721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "FF721: caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint tokenId) public view override returns( address approver ){ require(_exists(tokenId), "FF721: query for nonexistent token"); return _tokenApprovals[tokenId]; } function isApprovedForAll(address owner, address operator) public view override returns( bool isApproved ){ return _operatorApprovals[owner][operator]; } function setApprovalForAll(address operator, bool approved) external override { _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } //transfers function safeTransferFrom(address from, address to, uint tokenId) external override{ safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom(address from, address to, uint tokenId, bytes memory _data) public override { require(_isApprovedOrOwner(_msgSender(), tokenId), "FF721: caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } function transferFrom(address from, address to, uint tokenId) external override { require(_isApprovedOrOwner(_msgSender(), tokenId), "FF721: caller is not owner nor approved"); _transfer(from, to, tokenId); } //internal function _approve(address to, uint tokenId) internal{ _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } function _beforeTokenTransfer(address from, address to, uint tokenId) internal virtual { if( from != address(0) ) --_balances[from]; if( to != address(0) ) ++_balances[to]; } function _checkOnERC721Received(address from, address to, uint tokenId, bytes memory _data)private returns ( bool ){ if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("FF721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _exists(uint tokenId) internal view returns ( bool ){ return tokenId < tokens.length && tokens[tokenId].owner != address(0); } function _isApprovedOrOwner(address spender, uint tokenId) internal view returns( bool ){ require(_exists(tokenId), "FF721: query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _safeTransfer(address from, address to, uint tokenId, bytes memory _data) internal{ _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "FF721: transfer to non ERC721Receiver implementer"); } function _transfer(address from, address to, uint tokenId) internal { require(ownerOf(tokenId) == from, "FF721: transfer of token that is not own"); _beforeTokenTransfer(from, to, tokenId); _approve(address(0), tokenId); tokens[tokenId].owner = to; emit Transfer(from, to, tokenId); } }
// SPDX-License-Identifier: BSD-3 pragma solidity ^0.8.0; import './Delegated.sol'; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract Signed is Delegated{ using Strings for uint256; using ECDSA for bytes32; string private _secret; address private _signer; function setSecret( string calldata secret ) external onlyOwner{ _secret = secret; } function setSigner( address signer ) external onlyOwner{ _signer = signer; } function createHash( string memory data ) internal view returns ( bytes32 ){ return keccak256( abi.encodePacked( address(this), msg.sender, data, _secret ) ); } function getSigner( bytes32 hash, bytes memory signature ) internal pure returns( address ){ return hash.toEthSignedMessageHash().recover( signature ); } function isAuthorizedSigner( address extracted ) internal view virtual returns( bool ){ return extracted == _signer; } function verifySignature( string memory data, bytes calldata signature ) internal view { address extracted = getSigner( createHash( data ), signature ); require( isAuthorizedSigner( extracted ), "Signature verification failed" ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitterMod is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } function _addPayee(address account, uint256 shares_) internal { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } function _resetCounters() internal { _totalReleased = 0; for(uint i; i < _payees.length; ++i ){ _released[ _payees[i] ] = 0; } } function _setPayee( uint index, address account, uint newShares ) internal { _totalShares = _totalShares - _shares[ account ] + newShares; _shares[ account ] = newShares; _payees[ index ] = account; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; interface IERC721Batch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool ); function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external; function walletOfOwner( address account ) external view returns( uint[] memory ); }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /*********************** * @author: squeebo_nft * ************************/ import "@openzeppelin/contracts/access/Ownable.sol"; contract Delegated is Ownable{ mapping(address => bool) internal _delegates; constructor(){ _delegates[owner()] = true; } modifier onlyDelegates { require(_delegates[msg.sender], "Invalid delegate" ); _; } //onlyOwner function isDelegate( address addr ) external view onlyOwner returns ( bool ){ return _delegates[addr]; } function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{ _delegates[addr] = isDelegate_; } function transferOwnership(address newOwner) public virtual override onlyOwner { _delegates[newOwner] = true; super.transferOwnership( newOwner ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "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":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","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":"MAX_ORDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHALE_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"shares_","type":"uint256"}],"name":"addPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"approver","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isApproved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMainsaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipient","type":"address[]"},{"internalType":"uint256[]","name":"quantity","type":"uint256[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"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":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetCounters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipient","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"resurrect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isPresaleActive_","type":"bool"},{"internalType":"bool","name":"isMainsaleActive_","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newPrefix","type":"string"},{"internalType":"string","name":"_newSuffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxOrder","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxWallet","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"newShares","type":"uint256"}],"name":"setPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"secret","type":"string"}],"name":"setSecret","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"whale","type":"address"}],"name":"setWhale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"isSupported","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","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":"tokenId","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"wallet","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whalePass","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
666a94d74f430000600f908155601460105561271060115560036012556013556015805461ffff19169055610160604052734e1c0e8f7fd15c04c897d574cb00fa4e01bdc6bf608090815273cbaa6a102b62d6e75e6c69d8463f429867ecb2da60a05273755403f07d03fecad97a8d2c9aaed4611b5cbc6960c05273a2ec6edcd18cb379780183bec8a3bf06fb79cbbd60e05273a7358ed00beefb65cae0e2baa8a377276ef11bbd6101005273c7f02456dd3fc26aae2ca1d68528cf9764bf55986101205273dafebbb4a3bd562ff4c5cde636bcf63a232a016261014052620000ed90601890600762000634565b506040805160e081018252602080825280820152600f918101919091526008606082018190526080820152600360a0820152600260c0820152620001369060199060076200069e565b503480156200014457600080fd5b5060188054806020026020016040519081016040528092919081815260200182805480156200019d57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116200017e575b50505050506019805480602002602001604051908101604052809291908181526020018280548015620001f057602002820191906000526020600020905b815481526020019060010190808311620001db575b5050604080518082018252600981526846697368792046616d60b81b602080830191825283518085019094526002845261232360f11b90840152815191955091935062000242925060019190620006e1565b50805162000258906002906020840190620006e1565b505050620002756200026f620003f060201b60201c565b620003f4565b6001600760006200028e6006546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558051825114620003285760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b60008251116200037b5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200031f565b60005b8251811015620003e757620003d2838281518110620003a157620003a162000775565b6020026020010151838381518110620003be57620003be62000775565b60200260200101516200044660201b60201c565b80620003de81620007a1565b9150506200037e565b50505062000817565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004b35760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200031f565b60008111620005055760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200031f565b6001600160a01b0382166000908152600a602052604090205415620005815760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200031f565b600c8054600181019091557fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b0384169081179091556000908152600a60205260409020819055600854620005eb908290620007bf565b600855604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b8280548282559060005260206000209081019282156200068c579160200282015b828111156200068c57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000655565b506200069a9291506200075e565b5090565b8280548282559060005260206000209081019282156200068c579160200282015b828111156200068c578251829060ff16905591602001919060010190620006bf565b828054620006ef90620007da565b90600052602060002090601f0160209004810192826200071357600085556200068c565b82601f106200072e57805160ff19168380011785556200068c565b828001600101855582156200068c579182015b828111156200068c57825182559160200191906001019062000741565b5b808211156200069a57600081556001016200075f565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620007b857620007b86200078b565b5060010190565b60008219821115620007d557620007d56200078b565b500190565b600181811c90821680620007ef57607f821691505b602082108114156200081157634e487b7160e01b600052602260045260246000fd5b50919050565b61398c80620008276000396000f3fe60806040526004361061030f5760003560e01c8063715018a6116101965780639852595c116100eb578063db7fd4081161008f578063e33b7de31161006c578063e33b7de3146109a1578063e4ed53a9146109b6578063e985e9c5146109cb578063f2fde38b14610a1457005b8063db7fd40814610958578063df2388001461096b578063df7787a41461098b57005b8063b534a5c4116100c8578063b534a5c4146108c2578063b88d4fde146108e2578063c87b56dd14610902578063ce7c2ac21461092257005b80639852595c1461084c578063a22cb46514610882578063a41f2e3d146108a257005b80638378c3c8116101525780638d859f3e1161012f5780638d859f3e146107e35780638da5cb5b146107f957806391b7f5ed1461081757806395d89b411461083757005b80638378c3c81461077d57806389af6107146107a35780638b83209b146107c357005b8063715018a6146106d357806373f42561146106e85780637ed6c926146106fe5780637f608d031461071e5780637f75c3151461073e57806380fda1e21461075d57005b806342842e0e1161026457806360d938dc1161020857806369add11d116101e557806369add11d1461064a5780636c19e7831461065d5780636f6098521461067d57806370a082311461069d57005b806360d938dc146105f05780636352211e1461060a5780636790a9de1461062a57005b80634d44660c116102415780634d44660c1461057a5780634f64b2be1461059a5780634f6ccce7146105ba57806350c5a00c146105da57005b806342842e0e1461050d578063438b63001461052d5780634a994eef1461055a57005b806318f9b023116102cb5780632f745c59116102a85780632f745c59146104ac57806332cb6b0c146104cc5780633464a5b4146104e25780633a98ef39146104f857005b806318f9b0231461044c578063191655871461046c57806323b872dd1461048c57005b806301ffc9a71461035a57806306fdde031461038f57806307779627146103b1578063081812fc146103d1578063095ea7b31461040957806318160ddd1461042957005b36610358577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561036657600080fd5b5061037a610375366004612f0d565b610a34565b60405190151581526020015b60405180910390f35b34801561039b57600080fd5b506103a4610a5f565b6040516103869190612f82565b3480156103bd57600080fd5b5061037a6103cc366004612faa565b610af1565b3480156103dd57600080fd5b506103f16103ec366004612fc7565b610b4a565b6040516001600160a01b039091168152602001610386565b34801561041557600080fd5b50610358610424366004612fe0565b610b8d565b34801561043557600080fd5b5061043e610c8b565b604051908152602001610386565b34801561045857600080fd5b50610358610467366004612fe0565b610ca2565b34801561047857600080fd5b50610358610487366004612faa565b610cda565b34801561049857600080fd5b506103586104a736600461300c565b610eab565b3480156104b857600080fd5b5061043e6104c7366004612fe0565b610edc565b3480156104d857600080fd5b5061043e60115481565b3480156104ee57600080fd5b5061043e60135481565b34801561050457600080fd5b5060085461043e565b34801561051957600080fd5b5061035861052836600461300c565b610fa7565b34801561053957600080fd5b5061054d610548366004612faa565b610fc2565b604051610386919061304d565b34801561056657600080fd5b506103586105753660046130a1565b6110bb565b34801561058657600080fd5b5061037a61059536600461311b565b611110565b3480156105a657600080fd5b506103f16105b5366004612fc7565b61118c565b3480156105c657600080fd5b5061043e6105d5366004612fc7565b6111b6565b3480156105e657600080fd5b5061043e60105481565b3480156105fc57600080fd5b5060155461037a9060ff1681565b34801561061657600080fd5b506103f1610625366004612fc7565b611221565b34801561063657600080fd5b506103586106453660046131b2565b611276565b61035861065836600461321e565b6112c5565b34801561066957600080fd5b50610358610678366004612faa565b611447565b34801561068957600080fd5b5061035861069836600461327e565b611493565b3480156106a957600080fd5b5061043e6106b8366004612faa565b6001600160a01b031660009081526003602052604090205490565b3480156106df57600080fd5b5061035861154d565b3480156106f457600080fd5b5061043e60145481565b34801561070a57600080fd5b506103586107193660046132aa565b611583565b34801561072a57600080fd5b506103586107393660046132ec565b6115b9565b34801561074a57600080fd5b5060155461037a90610100900460ff1681565b34801561076957600080fd5b5061035861077836600461321e565b611636565b34801561078957600080fd5b506015546103f1906201000090046001600160a01b031681565b3480156107af57600080fd5b506103586107be36600461311b565b61172c565b3480156107cf57600080fd5b506103f16107de366004612fc7565b611796565b3480156107ef57600080fd5b5061043e600f5481565b34801561080557600080fd5b506006546001600160a01b03166103f1565b34801561082357600080fd5b50610358610832366004612fc7565b6117ab565b34801561084357600080fd5b506103a46117df565b34801561085857600080fd5b5061043e610867366004612faa565b6001600160a01b03166000908152600b602052604090205490565b34801561088e57600080fd5b5061035861089d3660046130a1565b6117ee565b3480156108ae57600080fd5b506103586108bd366004612faa565b61185a565b3480156108ce57600080fd5b506103586108dd366004613308565b6118b3565b3480156108ee57600080fd5b506103586108fd3660046133b3565b611928565b34801561090e57600080fd5b506103a461091d366004612fc7565b61195a565b34801561092e57600080fd5b5061043e61093d366004612faa565b6001600160a01b03166000908152600a602052604090205490565b610358610966366004613493565b6119f4565b34801561097757600080fd5b506103586109863660046134d2565b611c1a565b34801561099757600080fd5b5061043e60125481565b3480156109ad57600080fd5b5060095461043e565b3480156109c257600080fd5b50610358611c4f565b3480156109d757600080fd5b5061037a6109e63660046134f9565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a2057600080fd5b50610358610a2f366004612faa565b611c81565b60006001600160e01b0319821663780e9d6360e01b1480610a595750610a5982611cda565b92915050565b606060018054610a6e90613532565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9a90613532565b8015610ae75780601f10610abc57610100808354040283529160200191610ae7565b820191906000526020600020905b815481529060010190602001808311610aca57829003601f168201915b5050505050905090565b6006546000906001600160a01b03163314610b275760405162461bcd60e51b8152600401610b1e9061356d565b60405180910390fd5b506001600160a01b03811660009081526007602052604090205460ff165b919050565b6000610b5582611d2a565b610b715760405162461bcd60e51b8152600401610b1e906135a2565b506000908152600460205260409020546001600160a01b031690565b6000610b9882611221565b9050806001600160a01b0316836001600160a01b03161415610bfc5760405162461bcd60e51b815260206004820181905260248201527f46463732313a20617070726f76616c20746f2063757272656e74206f776e65726044820152606401610b1e565b336001600160a01b0382161480610c185750610c1881336109e6565b610c7c5760405162461bcd60e51b815260206004820152602f60248201527f46463732313a2063616c6c6572206973206e6f74206f776e6572206e6f72206160448201526e1c1c1c9bdd995908199bdc88185b1b608a1b6064820152608401610b1e565b610c868383611d72565b505050565b601454600080549091610c9d916135fa565b905090565b6006546001600160a01b03163314610ccc5760405162461bcd60e51b8152600401610b1e9061356d565b610cd68282611de0565b5050565b6001600160a01b0381166000908152600a6020526040902054610d4e5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610b1e565b600060095447610d5e9190613611565b6001600160a01b0383166000908152600b6020908152604080832054600854600a909352908320549394509192610d959085613629565b610d9f919061365e565b610da991906135fa565b905080610e0c5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610b1e565b6001600160a01b0383166000908152600b6020526040902054610e30908290613611565b6001600160a01b0384166000908152600b6020526040902055600954610e57908290613611565b600955610e648382611fc6565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610eb533826120df565b610ed15760405162461bcd60e51b8152600401610b1e90613672565b610c86838383612184565b60008060005b600054811015610f4b5760008181548110610eff57610eff6136b9565b6000918252602090912001546001600160a01b0386811691161415610f3b5783821415610f2f579150610a599050565b610f38826136cf565b91505b610f44816136cf565b9050610ee2565b5060405162461bcd60e51b815260206004820152602a60248201527f4646373231456e756d657261626c653a206f776e657220696e646578206f7574604482015269206f6620626f756e647360b01b6064820152608401610b1e565b610c8683838360405180602001604052806000815250611928565b6060600080610fe6846001600160a01b031660009081526003602052604090205490565b90508067ffffffffffffffff8111156110015761100161339d565b60405190808252806020026020018201604052801561102a578160200160208202803683370190505b50925060005b6000548110156110b3576000818154811061104d5761104d6136b9565b6000918252602090912001546001600160a01b03868116911614156110a357808484611078816136cf565b95508151811061108a5761108a6136b9565b602002602001018181525050818314156110a3576110b3565b6110ac816136cf565b9050611030565b505050919050565b6006546001600160a01b031633146110e55760405162461bcd60e51b8152600401610b1e9061356d565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6000805b8281101561117f576000848483818110611130576111306136b9565b9050602002013581548110611147576111476136b9565b6000918252602090912001546001600160a01b0386811691161461116f576000915050611185565b611178816136cf565b9050611114565b50600190505b9392505050565b6000818154811061119c57600080fd5b6000918252602090912001546001600160a01b0316905081565b60008054821061121d5760405162461bcd60e51b815260206004820152602c60248201527f4646373231456e756d657261626c653a20717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b1e565b5090565b600061122c82611d2a565b6112485760405162461bcd60e51b8152600401610b1e906135a2565b6000828154811061125b5761125b6136b9565b6000918252602090912001546001600160a01b031692915050565b3360009081526007602052604090205460ff166112a55760405162461bcd60e51b8152600401610b1e906136ea565b6112b160168585612e67565b506112be60178383612e67565b5050505050565b3360009081526007602052604090205460ff166112f45760405162461bcd60e51b8152600401610b1e906136ea565b8083146113625760405162461bcd60e51b815260206004820152603660248201527f466973687946616d3a206d7573742070726f7669646520657175616c207175616044820152756e74697469657320616e6420726563697069656e747360501b6064820152608401610b1e565b60008061136d610c8b565b905060005b838110156113a25784848281811061138c5761138c6136b9565b9050602002013583019250806001019050611372565b506011546113b08383613611565b106113cd5760405162461bcd60e51b8152600401610b1e90613714565b60005b8581101561143e5760005b8585838181106113ed576113ed6136b9565b905060200201358110156114355761142d888884818110611410576114106136b9565b90506020020160208101906114259190612faa565b600054612282565b6001016113db565b506001016113d0565b50505050505050565b6006546001600160a01b031633146114715760405162461bcd60e51b8152600401610b1e9061356d565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526007602052604090205460ff166114c25760405162461bcd60e51b8152600401610b1e906136ea565b6114ca610c8b565b82101561153f5760405162461bcd60e51b815260206004820152603860248201527f466973687946616d3a2073706563696669656420737570706c79206973206c6f60448201527f776572207468616e2063757272656e742062616c616e636500000000000000006064820152608401610b1e565b601092909255601155601255565b6006546001600160a01b031633146115775760405162461bcd60e51b8152600401610b1e9061356d565b61158160006123f5565b565b6006546001600160a01b031633146115ad5760405162461bcd60e51b8152600401610b1e9061356d565b610c86600d8383612e67565b3360009081526007602052604090205460ff166115e85760405162461bcd60e51b8152600401610b1e906136ea565b60155460ff16151582151514611607576015805460ff19168315151790555b60155460ff61010090910416151581151514610cd657601580548215156101000261ff00199091161790555050565b3360009081526007602052604090205460ff166116655760405162461bcd60e51b8152600401610b1e906136ea565b8083146116d15760405162461bcd60e51b815260206004820152603460248201527f466973687946616d3a206d7573742070726f7669646520657175616c20746f6b604482015273656e49647320616e6420726563697069656e747360601b6064820152608401610b1e565b60005b818110156112be576117248585838181106116f1576116f16136b9565b90506020020160208101906117069190612faa565b848484818110611718576117186136b9565b90506020020135612282565b6001016116d4565b3360009081526007602052604090205460ff1661175b5760405162461bcd60e51b8152600401610b1e906136ea565b60005b81811015611790576117888484848481811061177c5761177c6136b9565b90506020020135612447565b60010161175e565b50505050565b6000600c828154811061125b5761125b6136b9565b3360009081526007602052604090205460ff166117da5760405162461bcd60e51b8152600401610b1e906136ea565b600f55565b606060028054610a6e90613532565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526007602052604090205460ff166118895760405162461bcd60e51b8152600401610b1e906136ea565b601580546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b60005b8381101561143e5761191887878787858181106118d5576118d56136b9565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061192892505050565b611921816136cf565b90506118b6565b61193233836120df565b61194e5760405162461bcd60e51b8152600401610b1e90613672565b6117908484848461258d565b606061196582611d2a565b6119bf5760405162461bcd60e51b815260206004820152602560248201527f466973687946616d3a20717565727920666f72206e6f6e6578697374656e74206044820152643a37b5b2b760d91b6064820152608401610b1e565b60166119ca836125c0565b60176040516020016119de939291906137f1565b6040516020818303038152906040529050919050565b601054831115611a465760405162461bcd60e51b815260206004820152601760248201527f466973687946616d3a206f7264657220746f6f206269670000000000000000006044820152606401610b1e565b82600f54611a549190613629565b341015611aaf5760405162461bcd60e51b815260206004820152602360248201527f466973687946616d3a2065746865722073656e74206973206e6f7420636f72726044820152621958dd60ea1b6064820152608401610b1e565b6015546000906201000090046001600160a01b03163314611ad257601254611ad6565b6013545b336000908152600360205260409020549091508190611af6908690613611565b1115611b445760405162461bcd60e51b815260206004820152601960248201527f466973687946616d3a20646f6e277420626520677265656479000000000000006044820152606401610b1e565b6000611b4e610c8b565b601154909150611b5e8683613611565b1115611b7c5760405162461bcd60e51b8152600401610b1e90613714565b601554610100900460ff1615611b9157611bf1565b60155460ff1615611bb457611baf611ba8866125c0565b85856126be565b611bf1565b60405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610b1e565b60005b85811015611c1257600054611c0a903390612282565b600101611bf4565b505050505050565b6006546001600160a01b03163314611c445760405162461bcd60e51b8152600401610b1e9061356d565b610c8683838361276e565b6006546001600160a01b03163314611c795760405162461bcd60e51b8152600401610b1e9061356d565b611581612807565b6006546001600160a01b03163314611cab5760405162461bcd60e51b8152600401610b1e9061356d565b6001600160a01b0381166000908152600760205260409020805460ff19166001179055611cd781612867565b50565b60006001600160e01b031982166380ac58cd60e01b1480611d0b57506001600160e01b03198216635b5e139f60e01b145b80610a5957506301ffc9a760e01b6001600160e01b0319831614610a59565b6000805482108015610a59575060006001600160a01b031660008381548110611d5557611d556136b9565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611da782611221565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216611e4b5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610b1e565b60008111611e9b5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610b1e565b6001600160a01b0382166000908152600a602052604090205415611f155760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610b1e565b600c8054600181019091557fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b0384169081179091556000908152600a60205260409020819055600854611f7d908290613611565b600855604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b804710156120165760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b1e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612063576040519150601f19603f3d011682016040523d82523d6000602084013e612068565b606091505b5050905080610c865760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b1e565b60006120ea82611d2a565b6121065760405162461bcd60e51b8152600401610b1e906135a2565b600061211183611221565b9050806001600160a01b0316846001600160a01b0316148061214c5750836001600160a01b031661214184610b4a565b6001600160a01b0316145b8061217c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661219782611221565b6001600160a01b0316146121fe5760405162461bcd60e51b815260206004820152602860248201527f46463732313a207472616e73666572206f6620746f6b656e2074686174206973604482015267103737ba1037bbb760c11b6064820152608401610b1e565b6122098383836128ff565b612214600082611d72565b8160008281548110612228576122286136b9565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60005481101561234b5761229581611d2a565b156122f35760405162461bcd60e51b815260206004820152602860248201527f466973687946616d3a2063616e277420726573757272656374206578697374696044820152673733903a37b5b2b760c11b6064820152608401610b1e565b60146000815461230290613824565b91905081905550816000828154811061231d5761231d6136b9565b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790556123ad565b60408051602081019091526001600160a01b0383811682526000805460018101825590805291517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56390920180546001600160a01b031916929091169190911790555b6123b9600083836128ff565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000818154811061245a5761245a6136b9565b6000918252602090912001546001600160a01b038381169116146124c05760405162461bcd60e51b815260206004820152601860248201527f466973687946616d3a206f776e6572206d69736d6174636800000000000000006044820152606401610b1e565b60008082815481106124d4576124d46136b9565b9060005260206000200160000160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550601460008154612514906136cf565b90915550612524826000836128ff565b6000808281548110612538576125386136b9565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405183928516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b612598848484612184565b6125a484848484612977565b6117905760405162461bcd60e51b8152600401610b1e9061383b565b6060816125e45750506040805180820190915260018152600360fc1b602082015290565b8160005b811561260e57806125f8816136cf565b91506126079050600a8361365e565b91506125e8565b60008167ffffffffffffffff8111156126295761262961339d565b6040519080825280601f01601f191660200182016040528015612653576020820181803683370190505b5090505b841561217c576126686001836135fa565b9150612675600a8661388c565b612680906030613611565b60f81b818381518110612695576126956136b9565b60200101906001600160f81b031916908160001a9053506126b7600a8661365e565b9450612657565b60006127086126cc85612a75565b84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612aac92505050565b905061272281600e546001600160a01b0391821691161490565b6117905760405162461bcd60e51b815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e206661696c65640000006044820152606401610b1e565b6001600160a01b0382166000908152600a60205260409020546008548291612795916135fa565b61279f9190613611565b6008556001600160a01b0382166000908152600a60205260409020819055600c8054839190859081106127d4576127d46136b9565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b600060098190555b600c54811015611cd7576000600b6000600c8481548110612832576128326136b9565b60009182526020808320909101546001600160a01b03168352820192909252604001902055612860816136cf565b905061280f565b6006546001600160a01b031633146128915760405162461bcd60e51b8152600401610b1e9061356d565b6001600160a01b0381166128f65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b1e565b611cd7816123f5565b6001600160a01b03831615612939576001600160a01b0383166000908152600360205260408120805490919061293490613824565b909155505b6001600160a01b03821615610c86576001600160a01b0382166000908152600360205260408120805490919061296e906136cf565b90915550505050565b60006001600160a01b0384163b15612a6a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129bb9033908990889088906004016138a0565b6020604051808303816000875af19250505080156129f6575060408051601f3d908101601f191682019092526129f3918101906138dd565b60015b612a50573d808015612a24576040519150601f19603f3d011682016040523d82523d6000602084013e612a29565b606091505b508051612a485760405162461bcd60e51b8152600401610b1e9061383b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061217c565b506001949350505050565b6000303383600d604051602001612a8f94939291906138fa565b604051602081830303815290604052805190602001209050919050565b600061118582612abb85612ac1565b90612afc565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01612a8f565b6000806000612b0b8585612b20565b91509150612b1881612b90565b509392505050565b600080825160411415612b575760208301516040840151606085015160001a612b4b87828585612d4b565b94509450505050612b89565b825160401415612b815760208301516040840151612b76868383612e38565b935093505050612b89565b506000905060025b9250929050565b6000816004811115612ba457612ba4613940565b1415612bad5750565b6001816004811115612bc157612bc1613940565b1415612c0f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b1e565b6002816004811115612c2357612c23613940565b1415612c715760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b1e565b6003816004811115612c8557612c85613940565b1415612cde5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610b1e565b6004816004811115612cf257612cf2613940565b1415611cd75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610b1e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612d825750600090506003612e2f565b8460ff16601b14158015612d9a57508460ff16601c14155b15612dab5750600090506004612e2f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612dff573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612e2857600060019250925050612e2f565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01612e5987828885612d4b565b935093505050935093915050565b828054612e7390613532565b90600052602060002090601f016020900481019282612e955760008555612edb565b82601f10612eae5782800160ff19823516178555612edb565b82800160010185558215612edb579182015b82811115612edb578235825591602001919060010190612ec0565b5061121d9291505b8082111561121d5760008155600101612ee3565b6001600160e01b031981168114611cd757600080fd5b600060208284031215612f1f57600080fd5b813561118581612ef7565b60005b83811015612f45578181015183820152602001612f2d565b838111156117905750506000910152565b60008151808452612f6e816020860160208601612f2a565b601f01601f19169290920160200192915050565b6020815260006111856020830184612f56565b6001600160a01b0381168114611cd757600080fd5b600060208284031215612fbc57600080fd5b813561118581612f95565b600060208284031215612fd957600080fd5b5035919050565b60008060408385031215612ff357600080fd5b8235612ffe81612f95565b946020939093013593505050565b60008060006060848603121561302157600080fd5b833561302c81612f95565b9250602084013561303c81612f95565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b8181101561308557835183529284019291840191600101613069565b50909695505050505050565b80358015158114610b4557600080fd5b600080604083850312156130b457600080fd5b82356130bf81612f95565b91506130cd60208401613091565b90509250929050565b60008083601f8401126130e857600080fd5b50813567ffffffffffffffff81111561310057600080fd5b6020830191508360208260051b8501011115612b8957600080fd5b60008060006040848603121561313057600080fd5b833561313b81612f95565b9250602084013567ffffffffffffffff81111561315757600080fd5b613163868287016130d6565b9497909650939450505050565b60008083601f84011261318257600080fd5b50813567ffffffffffffffff81111561319a57600080fd5b602083019150836020828501011115612b8957600080fd5b600080600080604085870312156131c857600080fd5b843567ffffffffffffffff808211156131e057600080fd5b6131ec88838901613170565b9096509450602087013591508082111561320557600080fd5b5061321287828801613170565b95989497509550505050565b6000806000806040858703121561323457600080fd5b843567ffffffffffffffff8082111561324c57600080fd5b613258888389016130d6565b9096509450602087013591508082111561327157600080fd5b50613212878288016130d6565b60008060006060848603121561329357600080fd5b505081359360208301359350604090920135919050565b600080602083850312156132bd57600080fd5b823567ffffffffffffffff8111156132d457600080fd5b6132e085828601613170565b90969095509350505050565b600080604083850312156132ff57600080fd5b6130bf83613091565b6000806000806000806080878903121561332157600080fd5b863561332c81612f95565b9550602087013561333c81612f95565b9450604087013567ffffffffffffffff8082111561335957600080fd5b6133658a838b016130d6565b9096509450606089013591508082111561337e57600080fd5b5061338b89828a01613170565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156133c957600080fd5b84356133d481612f95565b935060208501356133e481612f95565b925060408501359150606085013567ffffffffffffffff8082111561340857600080fd5b818701915087601f83011261341c57600080fd5b81358181111561342e5761342e61339d565b604051601f8201601f19908116603f011681019083821181831017156134565761345661339d565b816040528281528a602084870101111561346f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000604084860312156134a857600080fd5b83359250602084013567ffffffffffffffff8111156134c657600080fd5b61316386828701613170565b6000806000606084860312156134e757600080fd5b83359250602084013561303c81612f95565b6000806040838503121561350c57600080fd5b823561351781612f95565b9150602083013561352781612f95565b809150509250929050565b600181811c9082168061354657607f821691505b6020821081141561356757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f46463732313a20717565727920666f72206e6f6e6578697374656e7420746f6b60408201526132b760f11b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008282101561360c5761360c6135e4565b500390565b60008219821115613624576136246135e4565b500190565b6000816000190483118215151615613643576136436135e4565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261366d5761366d613648565b500490565b60208082526027908201527f46463732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220616040820152661c1c1c9bdd995960ca1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156136e3576136e36135e4565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526023908201527f466973687946616d3a206d696e742f6f72646572206578636565647320737570604082015262706c7960e81b606082015260800190565b8054600090600181811c908083168061377157607f831692505b602080841082141561379357634e487b7160e01b600052602260045260246000fd5b8180156137a757600181146137b8576137e5565b60ff198616895284890196506137e5565b60008881526020902060005b868110156137dd5781548b8201529085019083016137c4565b505084890196505b50505050505092915050565b60006137fd8286613757565b845161380d818360208901612f2a565b61381981830186613757565b979650505050505050565b600081613833576138336135e4565b506000190190565b60208082526031908201527f46463732313a207472616e7366657220746f206e6f6e2045524337323152656360408201527032b4bb32b91034b6b83632b6b2b73a32b960791b606082015260800190565b60008261389b5761389b613648565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906138d390830184612f56565b9695505050505050565b6000602082840312156138ef57600080fd5b815161118581612ef7565b60006bffffffffffffffffffffffff19808760601b168352808660601b166014840152508351613931816028850160208801612f2a565b61381960288285010185613757565b634e487b7160e01b600052602160045260246000fdfea264697066735822122050d9a0dba85f763aff4ebcf6d50db8f48a7c6bce7a8cb80663ab024b9f48f46764736f6c634300080b0033
Deployed Bytecode
0x60806040526004361061030f5760003560e01c8063715018a6116101965780639852595c116100eb578063db7fd4081161008f578063e33b7de31161006c578063e33b7de3146109a1578063e4ed53a9146109b6578063e985e9c5146109cb578063f2fde38b14610a1457005b8063db7fd40814610958578063df2388001461096b578063df7787a41461098b57005b8063b534a5c4116100c8578063b534a5c4146108c2578063b88d4fde146108e2578063c87b56dd14610902578063ce7c2ac21461092257005b80639852595c1461084c578063a22cb46514610882578063a41f2e3d146108a257005b80638378c3c8116101525780638d859f3e1161012f5780638d859f3e146107e35780638da5cb5b146107f957806391b7f5ed1461081757806395d89b411461083757005b80638378c3c81461077d57806389af6107146107a35780638b83209b146107c357005b8063715018a6146106d357806373f42561146106e85780637ed6c926146106fe5780637f608d031461071e5780637f75c3151461073e57806380fda1e21461075d57005b806342842e0e1161026457806360d938dc1161020857806369add11d116101e557806369add11d1461064a5780636c19e7831461065d5780636f6098521461067d57806370a082311461069d57005b806360d938dc146105f05780636352211e1461060a5780636790a9de1461062a57005b80634d44660c116102415780634d44660c1461057a5780634f64b2be1461059a5780634f6ccce7146105ba57806350c5a00c146105da57005b806342842e0e1461050d578063438b63001461052d5780634a994eef1461055a57005b806318f9b023116102cb5780632f745c59116102a85780632f745c59146104ac57806332cb6b0c146104cc5780633464a5b4146104e25780633a98ef39146104f857005b806318f9b0231461044c578063191655871461046c57806323b872dd1461048c57005b806301ffc9a71461035a57806306fdde031461038f57806307779627146103b1578063081812fc146103d1578063095ea7b31461040957806318160ddd1461042957005b36610358577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561036657600080fd5b5061037a610375366004612f0d565b610a34565b60405190151581526020015b60405180910390f35b34801561039b57600080fd5b506103a4610a5f565b6040516103869190612f82565b3480156103bd57600080fd5b5061037a6103cc366004612faa565b610af1565b3480156103dd57600080fd5b506103f16103ec366004612fc7565b610b4a565b6040516001600160a01b039091168152602001610386565b34801561041557600080fd5b50610358610424366004612fe0565b610b8d565b34801561043557600080fd5b5061043e610c8b565b604051908152602001610386565b34801561045857600080fd5b50610358610467366004612fe0565b610ca2565b34801561047857600080fd5b50610358610487366004612faa565b610cda565b34801561049857600080fd5b506103586104a736600461300c565b610eab565b3480156104b857600080fd5b5061043e6104c7366004612fe0565b610edc565b3480156104d857600080fd5b5061043e60115481565b3480156104ee57600080fd5b5061043e60135481565b34801561050457600080fd5b5060085461043e565b34801561051957600080fd5b5061035861052836600461300c565b610fa7565b34801561053957600080fd5b5061054d610548366004612faa565b610fc2565b604051610386919061304d565b34801561056657600080fd5b506103586105753660046130a1565b6110bb565b34801561058657600080fd5b5061037a61059536600461311b565b611110565b3480156105a657600080fd5b506103f16105b5366004612fc7565b61118c565b3480156105c657600080fd5b5061043e6105d5366004612fc7565b6111b6565b3480156105e657600080fd5b5061043e60105481565b3480156105fc57600080fd5b5060155461037a9060ff1681565b34801561061657600080fd5b506103f1610625366004612fc7565b611221565b34801561063657600080fd5b506103586106453660046131b2565b611276565b61035861065836600461321e565b6112c5565b34801561066957600080fd5b50610358610678366004612faa565b611447565b34801561068957600080fd5b5061035861069836600461327e565b611493565b3480156106a957600080fd5b5061043e6106b8366004612faa565b6001600160a01b031660009081526003602052604090205490565b3480156106df57600080fd5b5061035861154d565b3480156106f457600080fd5b5061043e60145481565b34801561070a57600080fd5b506103586107193660046132aa565b611583565b34801561072a57600080fd5b506103586107393660046132ec565b6115b9565b34801561074a57600080fd5b5060155461037a90610100900460ff1681565b34801561076957600080fd5b5061035861077836600461321e565b611636565b34801561078957600080fd5b506015546103f1906201000090046001600160a01b031681565b3480156107af57600080fd5b506103586107be36600461311b565b61172c565b3480156107cf57600080fd5b506103f16107de366004612fc7565b611796565b3480156107ef57600080fd5b5061043e600f5481565b34801561080557600080fd5b506006546001600160a01b03166103f1565b34801561082357600080fd5b50610358610832366004612fc7565b6117ab565b34801561084357600080fd5b506103a46117df565b34801561085857600080fd5b5061043e610867366004612faa565b6001600160a01b03166000908152600b602052604090205490565b34801561088e57600080fd5b5061035861089d3660046130a1565b6117ee565b3480156108ae57600080fd5b506103586108bd366004612faa565b61185a565b3480156108ce57600080fd5b506103586108dd366004613308565b6118b3565b3480156108ee57600080fd5b506103586108fd3660046133b3565b611928565b34801561090e57600080fd5b506103a461091d366004612fc7565b61195a565b34801561092e57600080fd5b5061043e61093d366004612faa565b6001600160a01b03166000908152600a602052604090205490565b610358610966366004613493565b6119f4565b34801561097757600080fd5b506103586109863660046134d2565b611c1a565b34801561099757600080fd5b5061043e60125481565b3480156109ad57600080fd5b5060095461043e565b3480156109c257600080fd5b50610358611c4f565b3480156109d757600080fd5b5061037a6109e63660046134f9565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a2057600080fd5b50610358610a2f366004612faa565b611c81565b60006001600160e01b0319821663780e9d6360e01b1480610a595750610a5982611cda565b92915050565b606060018054610a6e90613532565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9a90613532565b8015610ae75780601f10610abc57610100808354040283529160200191610ae7565b820191906000526020600020905b815481529060010190602001808311610aca57829003601f168201915b5050505050905090565b6006546000906001600160a01b03163314610b275760405162461bcd60e51b8152600401610b1e9061356d565b60405180910390fd5b506001600160a01b03811660009081526007602052604090205460ff165b919050565b6000610b5582611d2a565b610b715760405162461bcd60e51b8152600401610b1e906135a2565b506000908152600460205260409020546001600160a01b031690565b6000610b9882611221565b9050806001600160a01b0316836001600160a01b03161415610bfc5760405162461bcd60e51b815260206004820181905260248201527f46463732313a20617070726f76616c20746f2063757272656e74206f776e65726044820152606401610b1e565b336001600160a01b0382161480610c185750610c1881336109e6565b610c7c5760405162461bcd60e51b815260206004820152602f60248201527f46463732313a2063616c6c6572206973206e6f74206f776e6572206e6f72206160448201526e1c1c1c9bdd995908199bdc88185b1b608a1b6064820152608401610b1e565b610c868383611d72565b505050565b601454600080549091610c9d916135fa565b905090565b6006546001600160a01b03163314610ccc5760405162461bcd60e51b8152600401610b1e9061356d565b610cd68282611de0565b5050565b6001600160a01b0381166000908152600a6020526040902054610d4e5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610b1e565b600060095447610d5e9190613611565b6001600160a01b0383166000908152600b6020908152604080832054600854600a909352908320549394509192610d959085613629565b610d9f919061365e565b610da991906135fa565b905080610e0c5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610b1e565b6001600160a01b0383166000908152600b6020526040902054610e30908290613611565b6001600160a01b0384166000908152600b6020526040902055600954610e57908290613611565b600955610e648382611fc6565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610eb533826120df565b610ed15760405162461bcd60e51b8152600401610b1e90613672565b610c86838383612184565b60008060005b600054811015610f4b5760008181548110610eff57610eff6136b9565b6000918252602090912001546001600160a01b0386811691161415610f3b5783821415610f2f579150610a599050565b610f38826136cf565b91505b610f44816136cf565b9050610ee2565b5060405162461bcd60e51b815260206004820152602a60248201527f4646373231456e756d657261626c653a206f776e657220696e646578206f7574604482015269206f6620626f756e647360b01b6064820152608401610b1e565b610c8683838360405180602001604052806000815250611928565b6060600080610fe6846001600160a01b031660009081526003602052604090205490565b90508067ffffffffffffffff8111156110015761100161339d565b60405190808252806020026020018201604052801561102a578160200160208202803683370190505b50925060005b6000548110156110b3576000818154811061104d5761104d6136b9565b6000918252602090912001546001600160a01b03868116911614156110a357808484611078816136cf565b95508151811061108a5761108a6136b9565b602002602001018181525050818314156110a3576110b3565b6110ac816136cf565b9050611030565b505050919050565b6006546001600160a01b031633146110e55760405162461bcd60e51b8152600401610b1e9061356d565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6000805b8281101561117f576000848483818110611130576111306136b9565b9050602002013581548110611147576111476136b9565b6000918252602090912001546001600160a01b0386811691161461116f576000915050611185565b611178816136cf565b9050611114565b50600190505b9392505050565b6000818154811061119c57600080fd5b6000918252602090912001546001600160a01b0316905081565b60008054821061121d5760405162461bcd60e51b815260206004820152602c60248201527f4646373231456e756d657261626c653a20717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b1e565b5090565b600061122c82611d2a565b6112485760405162461bcd60e51b8152600401610b1e906135a2565b6000828154811061125b5761125b6136b9565b6000918252602090912001546001600160a01b031692915050565b3360009081526007602052604090205460ff166112a55760405162461bcd60e51b8152600401610b1e906136ea565b6112b160168585612e67565b506112be60178383612e67565b5050505050565b3360009081526007602052604090205460ff166112f45760405162461bcd60e51b8152600401610b1e906136ea565b8083146113625760405162461bcd60e51b815260206004820152603660248201527f466973687946616d3a206d7573742070726f7669646520657175616c207175616044820152756e74697469657320616e6420726563697069656e747360501b6064820152608401610b1e565b60008061136d610c8b565b905060005b838110156113a25784848281811061138c5761138c6136b9565b9050602002013583019250806001019050611372565b506011546113b08383613611565b106113cd5760405162461bcd60e51b8152600401610b1e90613714565b60005b8581101561143e5760005b8585838181106113ed576113ed6136b9565b905060200201358110156114355761142d888884818110611410576114106136b9565b90506020020160208101906114259190612faa565b600054612282565b6001016113db565b506001016113d0565b50505050505050565b6006546001600160a01b031633146114715760405162461bcd60e51b8152600401610b1e9061356d565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526007602052604090205460ff166114c25760405162461bcd60e51b8152600401610b1e906136ea565b6114ca610c8b565b82101561153f5760405162461bcd60e51b815260206004820152603860248201527f466973687946616d3a2073706563696669656420737570706c79206973206c6f60448201527f776572207468616e2063757272656e742062616c616e636500000000000000006064820152608401610b1e565b601092909255601155601255565b6006546001600160a01b031633146115775760405162461bcd60e51b8152600401610b1e9061356d565b61158160006123f5565b565b6006546001600160a01b031633146115ad5760405162461bcd60e51b8152600401610b1e9061356d565b610c86600d8383612e67565b3360009081526007602052604090205460ff166115e85760405162461bcd60e51b8152600401610b1e906136ea565b60155460ff16151582151514611607576015805460ff19168315151790555b60155460ff61010090910416151581151514610cd657601580548215156101000261ff00199091161790555050565b3360009081526007602052604090205460ff166116655760405162461bcd60e51b8152600401610b1e906136ea565b8083146116d15760405162461bcd60e51b815260206004820152603460248201527f466973687946616d3a206d7573742070726f7669646520657175616c20746f6b604482015273656e49647320616e6420726563697069656e747360601b6064820152608401610b1e565b60005b818110156112be576117248585838181106116f1576116f16136b9565b90506020020160208101906117069190612faa565b848484818110611718576117186136b9565b90506020020135612282565b6001016116d4565b3360009081526007602052604090205460ff1661175b5760405162461bcd60e51b8152600401610b1e906136ea565b60005b81811015611790576117888484848481811061177c5761177c6136b9565b90506020020135612447565b60010161175e565b50505050565b6000600c828154811061125b5761125b6136b9565b3360009081526007602052604090205460ff166117da5760405162461bcd60e51b8152600401610b1e906136ea565b600f55565b606060028054610a6e90613532565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526007602052604090205460ff166118895760405162461bcd60e51b8152600401610b1e906136ea565b601580546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b60005b8381101561143e5761191887878787858181106118d5576118d56136b9565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061192892505050565b611921816136cf565b90506118b6565b61193233836120df565b61194e5760405162461bcd60e51b8152600401610b1e90613672565b6117908484848461258d565b606061196582611d2a565b6119bf5760405162461bcd60e51b815260206004820152602560248201527f466973687946616d3a20717565727920666f72206e6f6e6578697374656e74206044820152643a37b5b2b760d91b6064820152608401610b1e565b60166119ca836125c0565b60176040516020016119de939291906137f1565b6040516020818303038152906040529050919050565b601054831115611a465760405162461bcd60e51b815260206004820152601760248201527f466973687946616d3a206f7264657220746f6f206269670000000000000000006044820152606401610b1e565b82600f54611a549190613629565b341015611aaf5760405162461bcd60e51b815260206004820152602360248201527f466973687946616d3a2065746865722073656e74206973206e6f7420636f72726044820152621958dd60ea1b6064820152608401610b1e565b6015546000906201000090046001600160a01b03163314611ad257601254611ad6565b6013545b336000908152600360205260409020549091508190611af6908690613611565b1115611b445760405162461bcd60e51b815260206004820152601960248201527f466973687946616d3a20646f6e277420626520677265656479000000000000006044820152606401610b1e565b6000611b4e610c8b565b601154909150611b5e8683613611565b1115611b7c5760405162461bcd60e51b8152600401610b1e90613714565b601554610100900460ff1615611b9157611bf1565b60155460ff1615611bb457611baf611ba8866125c0565b85856126be565b611bf1565b60405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610b1e565b60005b85811015611c1257600054611c0a903390612282565b600101611bf4565b505050505050565b6006546001600160a01b03163314611c445760405162461bcd60e51b8152600401610b1e9061356d565b610c8683838361276e565b6006546001600160a01b03163314611c795760405162461bcd60e51b8152600401610b1e9061356d565b611581612807565b6006546001600160a01b03163314611cab5760405162461bcd60e51b8152600401610b1e9061356d565b6001600160a01b0381166000908152600760205260409020805460ff19166001179055611cd781612867565b50565b60006001600160e01b031982166380ac58cd60e01b1480611d0b57506001600160e01b03198216635b5e139f60e01b145b80610a5957506301ffc9a760e01b6001600160e01b0319831614610a59565b6000805482108015610a59575060006001600160a01b031660008381548110611d5557611d556136b9565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611da782611221565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216611e4b5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610b1e565b60008111611e9b5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610b1e565b6001600160a01b0382166000908152600a602052604090205415611f155760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610b1e565b600c8054600181019091557fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b0384169081179091556000908152600a60205260409020819055600854611f7d908290613611565b600855604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b804710156120165760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b1e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612063576040519150601f19603f3d011682016040523d82523d6000602084013e612068565b606091505b5050905080610c865760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b1e565b60006120ea82611d2a565b6121065760405162461bcd60e51b8152600401610b1e906135a2565b600061211183611221565b9050806001600160a01b0316846001600160a01b0316148061214c5750836001600160a01b031661214184610b4a565b6001600160a01b0316145b8061217c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661219782611221565b6001600160a01b0316146121fe5760405162461bcd60e51b815260206004820152602860248201527f46463732313a207472616e73666572206f6620746f6b656e2074686174206973604482015267103737ba1037bbb760c11b6064820152608401610b1e565b6122098383836128ff565b612214600082611d72565b8160008281548110612228576122286136b9565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60005481101561234b5761229581611d2a565b156122f35760405162461bcd60e51b815260206004820152602860248201527f466973687946616d3a2063616e277420726573757272656374206578697374696044820152673733903a37b5b2b760c11b6064820152608401610b1e565b60146000815461230290613824565b91905081905550816000828154811061231d5761231d6136b9565b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790556123ad565b60408051602081019091526001600160a01b0383811682526000805460018101825590805291517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56390920180546001600160a01b031916929091169190911790555b6123b9600083836128ff565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000818154811061245a5761245a6136b9565b6000918252602090912001546001600160a01b038381169116146124c05760405162461bcd60e51b815260206004820152601860248201527f466973687946616d3a206f776e6572206d69736d6174636800000000000000006044820152606401610b1e565b60008082815481106124d4576124d46136b9565b9060005260206000200160000160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550601460008154612514906136cf565b90915550612524826000836128ff565b6000808281548110612538576125386136b9565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405183928516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b612598848484612184565b6125a484848484612977565b6117905760405162461bcd60e51b8152600401610b1e9061383b565b6060816125e45750506040805180820190915260018152600360fc1b602082015290565b8160005b811561260e57806125f8816136cf565b91506126079050600a8361365e565b91506125e8565b60008167ffffffffffffffff8111156126295761262961339d565b6040519080825280601f01601f191660200182016040528015612653576020820181803683370190505b5090505b841561217c576126686001836135fa565b9150612675600a8661388c565b612680906030613611565b60f81b818381518110612695576126956136b9565b60200101906001600160f81b031916908160001a9053506126b7600a8661365e565b9450612657565b60006127086126cc85612a75565b84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612aac92505050565b905061272281600e546001600160a01b0391821691161490565b6117905760405162461bcd60e51b815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e206661696c65640000006044820152606401610b1e565b6001600160a01b0382166000908152600a60205260409020546008548291612795916135fa565b61279f9190613611565b6008556001600160a01b0382166000908152600a60205260409020819055600c8054839190859081106127d4576127d46136b9565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b600060098190555b600c54811015611cd7576000600b6000600c8481548110612832576128326136b9565b60009182526020808320909101546001600160a01b03168352820192909252604001902055612860816136cf565b905061280f565b6006546001600160a01b031633146128915760405162461bcd60e51b8152600401610b1e9061356d565b6001600160a01b0381166128f65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b1e565b611cd7816123f5565b6001600160a01b03831615612939576001600160a01b0383166000908152600360205260408120805490919061293490613824565b909155505b6001600160a01b03821615610c86576001600160a01b0382166000908152600360205260408120805490919061296e906136cf565b90915550505050565b60006001600160a01b0384163b15612a6a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129bb9033908990889088906004016138a0565b6020604051808303816000875af19250505080156129f6575060408051601f3d908101601f191682019092526129f3918101906138dd565b60015b612a50573d808015612a24576040519150601f19603f3d011682016040523d82523d6000602084013e612a29565b606091505b508051612a485760405162461bcd60e51b8152600401610b1e9061383b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061217c565b506001949350505050565b6000303383600d604051602001612a8f94939291906138fa565b604051602081830303815290604052805190602001209050919050565b600061118582612abb85612ac1565b90612afc565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01612a8f565b6000806000612b0b8585612b20565b91509150612b1881612b90565b509392505050565b600080825160411415612b575760208301516040840151606085015160001a612b4b87828585612d4b565b94509450505050612b89565b825160401415612b815760208301516040840151612b76868383612e38565b935093505050612b89565b506000905060025b9250929050565b6000816004811115612ba457612ba4613940565b1415612bad5750565b6001816004811115612bc157612bc1613940565b1415612c0f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b1e565b6002816004811115612c2357612c23613940565b1415612c715760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b1e565b6003816004811115612c8557612c85613940565b1415612cde5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610b1e565b6004816004811115612cf257612cf2613940565b1415611cd75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610b1e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612d825750600090506003612e2f565b8460ff16601b14158015612d9a57508460ff16601c14155b15612dab5750600090506004612e2f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612dff573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612e2857600060019250925050612e2f565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01612e5987828885612d4b565b935093505050935093915050565b828054612e7390613532565b90600052602060002090601f016020900481019282612e955760008555612edb565b82601f10612eae5782800160ff19823516178555612edb565b82800160010185558215612edb579182015b82811115612edb578235825591602001919060010190612ec0565b5061121d9291505b8082111561121d5760008155600101612ee3565b6001600160e01b031981168114611cd757600080fd5b600060208284031215612f1f57600080fd5b813561118581612ef7565b60005b83811015612f45578181015183820152602001612f2d565b838111156117905750506000910152565b60008151808452612f6e816020860160208601612f2a565b601f01601f19169290920160200192915050565b6020815260006111856020830184612f56565b6001600160a01b0381168114611cd757600080fd5b600060208284031215612fbc57600080fd5b813561118581612f95565b600060208284031215612fd957600080fd5b5035919050565b60008060408385031215612ff357600080fd5b8235612ffe81612f95565b946020939093013593505050565b60008060006060848603121561302157600080fd5b833561302c81612f95565b9250602084013561303c81612f95565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b8181101561308557835183529284019291840191600101613069565b50909695505050505050565b80358015158114610b4557600080fd5b600080604083850312156130b457600080fd5b82356130bf81612f95565b91506130cd60208401613091565b90509250929050565b60008083601f8401126130e857600080fd5b50813567ffffffffffffffff81111561310057600080fd5b6020830191508360208260051b8501011115612b8957600080fd5b60008060006040848603121561313057600080fd5b833561313b81612f95565b9250602084013567ffffffffffffffff81111561315757600080fd5b613163868287016130d6565b9497909650939450505050565b60008083601f84011261318257600080fd5b50813567ffffffffffffffff81111561319a57600080fd5b602083019150836020828501011115612b8957600080fd5b600080600080604085870312156131c857600080fd5b843567ffffffffffffffff808211156131e057600080fd5b6131ec88838901613170565b9096509450602087013591508082111561320557600080fd5b5061321287828801613170565b95989497509550505050565b6000806000806040858703121561323457600080fd5b843567ffffffffffffffff8082111561324c57600080fd5b613258888389016130d6565b9096509450602087013591508082111561327157600080fd5b50613212878288016130d6565b60008060006060848603121561329357600080fd5b505081359360208301359350604090920135919050565b600080602083850312156132bd57600080fd5b823567ffffffffffffffff8111156132d457600080fd5b6132e085828601613170565b90969095509350505050565b600080604083850312156132ff57600080fd5b6130bf83613091565b6000806000806000806080878903121561332157600080fd5b863561332c81612f95565b9550602087013561333c81612f95565b9450604087013567ffffffffffffffff8082111561335957600080fd5b6133658a838b016130d6565b9096509450606089013591508082111561337e57600080fd5b5061338b89828a01613170565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156133c957600080fd5b84356133d481612f95565b935060208501356133e481612f95565b925060408501359150606085013567ffffffffffffffff8082111561340857600080fd5b818701915087601f83011261341c57600080fd5b81358181111561342e5761342e61339d565b604051601f8201601f19908116603f011681019083821181831017156134565761345661339d565b816040528281528a602084870101111561346f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000604084860312156134a857600080fd5b83359250602084013567ffffffffffffffff8111156134c657600080fd5b61316386828701613170565b6000806000606084860312156134e757600080fd5b83359250602084013561303c81612f95565b6000806040838503121561350c57600080fd5b823561351781612f95565b9150602083013561352781612f95565b809150509250929050565b600181811c9082168061354657607f821691505b6020821081141561356757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f46463732313a20717565727920666f72206e6f6e6578697374656e7420746f6b60408201526132b760f11b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008282101561360c5761360c6135e4565b500390565b60008219821115613624576136246135e4565b500190565b6000816000190483118215151615613643576136436135e4565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261366d5761366d613648565b500490565b60208082526027908201527f46463732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220616040820152661c1c1c9bdd995960ca1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156136e3576136e36135e4565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526023908201527f466973687946616d3a206d696e742f6f72646572206578636565647320737570604082015262706c7960e81b606082015260800190565b8054600090600181811c908083168061377157607f831692505b602080841082141561379357634e487b7160e01b600052602260045260246000fd5b8180156137a757600181146137b8576137e5565b60ff198616895284890196506137e5565b60008881526020902060005b868110156137dd5781548b8201529085019083016137c4565b505084890196505b50505050505092915050565b60006137fd8286613757565b845161380d818360208901612f2a565b61381981830186613757565b979650505050505050565b600081613833576138336135e4565b506000190190565b60208082526031908201527f46463732313a207472616e7366657220746f206e6f6e2045524337323152656360408201527032b4bb32b91034b6b83632b6b2b73a32b960791b606082015260800190565b60008261389b5761389b613648565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906138d390830184612f56565b9695505050505050565b6000602082840312156138ef57600080fd5b815161118581612ef7565b60006bffffffffffffffffffffffff19808760601b168352808660601b166014840152508351613931816028850160208801612f2a565b61381960288285010185613757565b634e487b7160e01b600052602160045260246000fdfea264697066735822122050d9a0dba85f763aff4ebcf6d50db8f48a7c6bce7a8cb80663ab024b9f48f46764736f6c634300080b0033
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.