ERC-721
Overview
Max Total Supply
1,270 BD
Holders
631
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
7 BDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BoredDealers
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 * * @team: GoldenX * **************************************** * Blimpie-GB721 provides low-gas * * mints + transfers * ****************************************/ import "@openzeppelin/contracts/utils/Strings.sol"; import '../Blimpie/PaymentSplitterMod.sol'; import '../Blimpie/Signed.sol'; import './BD721Batch.sol'; contract BoredDealers is BD721Batch, PaymentSplitterMod, Signed { using Strings for uint256; uint public PRICE = 0.08 ether; uint public MAX_ORDER = 3; uint public MAX_SUPPLY = 10000; uint public MAX_WALLET = 3; uint public burned; bool public isPresaleActive = false; bool public isMainsaleActive = false; string private _tokenURIPrefix; string private _tokenURISuffix; address[] private addressList = [ 0xAB587eD25F72dA9fF2D9209f70CE1a086D100341, 0xB7edf3Cbb58ecb74BdE6298294c7AAb339F3cE4a ]; uint[] private shareList = [ 85, 15 ]; constructor() BD721("Bored Dealers", "BD") PaymentSplitterMod(addressList, shareList){ } //view: external fallback() external payable {} //view: IERC721Metadata function tokenURI( uint tokenId ) external view override returns( string memory ){ require(_exists(tokenId), "BoredDealers: 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, "BoredDealers: order too big" ); require( msg.value >= PRICE * quantity, "BoredDealers: ether sent is not correct" ); require( balances[ msg.sender ] + quantity <= MAX_WALLET, "BoredDealers: don't be greedy" ); uint supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "BoredDealers: mint/order exceeds supply" ); if( isMainsaleActive ){ //ok } 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 accounts, uint[] calldata quantity ) external payable onlyDelegates{ require(quantity.length == accounts.length, "BoredDealers: must provide equal quantities and accounts" ); uint totalQuantity; unchecked{ for(uint i; i < quantity.length; ++i){ totalQuantity += quantity[i]; } } uint supply = totalSupply(); require( supply + totalQuantity < MAX_SUPPLY, "BoredDealers: mint/order exceeds supply" ); unchecked{ for(uint i; i < accounts.length; ++i){ for(uint j; j < quantity[i]; ++j){ _mint( accounts[i], tokens.length ); } } } } function resurrect( address[] calldata accounts, uint[] calldata tokenIds ) external onlyDelegates{ require(tokenIds.length == accounts.length, "BoredDealers: must provide equal tokenIds and accounts" ); unchecked{ for(uint i; i < tokenIds.length; ++i ){ _mint( accounts[i], tokenIds[i] ); } } } function setActive(bool isPresaleActive_, bool isMainsaleActive_) external onlyDelegates{ isPresaleActive = isPresaleActive_; 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(), "BoredDealers: specified supply is lower than current balance" ); MAX_ORDER = maxOrder; MAX_SUPPLY = maxSupply; MAX_WALLET = maxWallet; } function setPrice( uint ethPrice ) external onlyDelegates{ PRICE = ethPrice; } function addPayee( address account, uint shares ) external onlyOwner { _addPayee( account, shares ); } function resetPayments() 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( _exists( tokenId ), "BoredDealers: query for nonexistent token" ); require( from == tokens[ tokenId ].owner, "BoredDealers: owner mismatch" ); ++burned; _beforeTokenTransfer( from, address(0), tokenId ); tokens[ tokenId ].owner = address(0); emit Transfer(from, address(0), tokenId); } function _mint( address to, uint tokenId ) private { _beforeTokenTransfer( address(0), to, tokenId ); if( tokenId < tokens.length ){ require( !_exists( tokenId ), "BoredDealers: can't resurrect existing token" ); --burned; tokens[ tokenId ].owner = to; } else{ tokens.push( Token( to ) ); } emit Transfer(address(0), to, tokenId); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * Blimpie-GB721 provides low-gas * * mints + transfers * ****************************************/ import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "./BD721.sol"; abstract contract BD721Enumerable is BD721, IERC721Enumerable { function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, BD721) 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( "BD721Enumerable: owner index out of bounds" ); } function tokenByIndex(uint index) external view override returns( uint tokenId ){ require(index < tokens.length, "BD721Enumerable: query for nonexistent token"); return index; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * Blimpie-GB721 provides low-gas * * mints + transfers * ****************************************/ import "../Blimpie/IERC721Batch.sol"; import "./BD721Enumerable.sol"; abstract contract BD721Batch is BD721Enumerable, 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 ); uint[] memory 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 * * @team: GoldenX * **************************************** * Blimpie-ERC721 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 BD721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; struct Token{ address owner; } mapping(address => uint) balances; Token[] public tokens; string private _name; string private _symbol; 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), "BD721: 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, "BD721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "BD721: caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint tokenId) public view override returns( address approver ){ require(_exists(tokenId), "BD721: 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), "BD721: 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), "BD721: 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("BD721: 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), "BD721: 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), "BD721: transfer to non ERC721Receiver implementer"); } function _transfer(address from, address to, uint tokenId) internal { require(ownerOf(tokenId) == from, "BD721: transfer of token that is not own"); _beforeTokenTransfer( from, to, tokenId ); // Clear approvals from the previous owner _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":[{"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":"accounts","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":"resetPayments","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","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":"ethPrice","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":"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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
67011c37937e080000600f55600360108190556127106011556012556014805461ffff1916905560c060405273ab587ed25f72da9ff2d9209f70ce1a086d100341608090815273b7edf3cbb58ecb74bde6298294c7aab339f3ce4a60a0526200006d9060179060026200059d565b506040805180820190915260558152600f60208201526200009390601890600262000607565b50348015620000a157600080fd5b506017805480602002602001604051908101604052809291908181526020018280548015620000fa57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311620000db575b505050505060188054806020026020016040519081016040528092919081815260200182805480156200014d57602002820191906000526020600020905b81548152602001906001019080831162000138575b50505050506040518060400160405280600d81526020016c426f726564204465616c65727360981b81525060405180604001604052806002815260200161109160f21b8152508160029080519060200190620001ab9291906200064a565b508051620001c19060039060208401906200064a565b5050508051825114620002365760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620002895760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200022d565b60005b8251811015620002f557620002e0838281518110620002af57620002af620006de565b6020026020010151838381518110620002cc57620002cc620006de565b60200260200101516200035960201b60201c565b80620002ec816200070a565b9150506200028c565b505050620003126200030c6200054760201b60201c565b6200054b565b6001600c60006200032b600b546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905562000780565b6001600160a01b038216620003c65760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200022d565b60008111620004185760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200022d565b6001600160a01b03821660009081526008602052604090205415620004945760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200022d565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b0319166001600160a01b0384169081179091556000908152600860205260409020819055600654620004fe90829062000728565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054828255906000526020600020908101928215620005f5579160200282015b82811115620005f557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620005be565b5062000603929150620006c7565b5090565b828054828255906000526020600020908101928215620005f5579160200282015b82811115620005f5578251829060ff1690559160200191906001019062000628565b828054620006589062000743565b90600052602060002090601f0160209004810192826200067c5760008555620005f5565b82601f106200069757805160ff1916838001178555620005f5565b82800160010185558215620005f5579182015b82811115620005f5578251825591602001919060010190620006aa565b5b80821115620006035760008155600101620006c8565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620007215762000721620006f4565b5060010190565b600082198211156200073e576200073e620006f4565b500190565b600181811c908216806200075857607f821691505b602082108114156200077a57634e487b7160e01b600052602260045260246000fd5b50919050565b61383f80620007906000396000f3fe6080604052600436106102c75760003560e01c80636f6098521161017e57806395d89b41116100d3578063ce7c2ac21161008f578063df7787a41161006c578063df7787a4146108fc578063e33b7de314610912578063e985e9c514610927578063f2fde38b1461097057005b8063ce7c2ac214610893578063db7fd408146108c9578063df238800146108dc57005b806395d89b41146107c85780639852595c146107dd578063a22cb46514610813578063b534a5c414610833578063b88d4fde14610853578063c87b56dd1461087357005b80637f75c3151161013a5780638b83209b116101175780638b83209b146107545780638d859f3e146107745780638da5cb5b1461078a57806391b7f5ed146107a857005b80637f75c315146106f557806380fda1e21461071457806389af61071461073457005b80636f6098521461063457806370a0823114610654578063715018a61461068a57806373f425611461069f5780637ed6c926146106b55780637f608d03146106d557005b80633a98ef39116102345780634f6ccce7116101f05780636352211e116101cd5780636352211e146105c15780636790a9de146105e157806369add11d146106015780636c19e7831461061457005b80634f6ccce71461057157806350c5a00c1461059157806360d938dc146105a757005b80633a98ef39146104af57806342842e0e146104c4578063438b6300146104e45780634a994eef146105115780634d44660c146105315780634f64b2be1461055157005b806318160ddd1161028357806318160ddd146103f657806318f9b02314610419578063191655871461043957806323b872dd146104595780632f745c591461047957806332cb6b0c1461049957005b806301ffc9a71461031257806306fdde03146103475780630777962714610369578063081812fc14610389578063095ea7b3146103c15780630f3b73b1146103e157005b36610310577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561031e57600080fd5b5061033261032d366004612d73565b610990565b60405190151581526020015b60405180910390f35b34801561035357600080fd5b5061035c6109bb565b60405161033e9190612de8565b34801561037557600080fd5b50610332610384366004612e10565b610a4d565b34801561039557600080fd5b506103a96103a4366004612e2d565b610aa6565b6040516001600160a01b03909116815260200161033e565b3480156103cd57600080fd5b506103106103dc366004612e46565b610ae9565b3480156103ed57600080fd5b50610310610be7565b34801561040257600080fd5b5061040b610c1b565b60405190815260200161033e565b34801561042557600080fd5b50610310610434366004612e46565b610c32565b34801561044557600080fd5b50610310610454366004612e10565b610c6a565b34801561046557600080fd5b50610310610474366004612e72565b610e3b565b34801561048557600080fd5b5061040b610494366004612e46565b610e6c565b3480156104a557600080fd5b5061040b60115481565b3480156104bb57600080fd5b5060065461040b565b3480156104d057600080fd5b506103106104df366004612e72565b610f37565b3480156104f057600080fd5b506105046104ff366004612e10565b610f52565b60405161033e9190612eb3565b34801561051d57600080fd5b5061031061052c366004612f07565b61104e565b34801561053d57600080fd5b5061033261054c366004612f81565b6110a3565b34801561055d57600080fd5b506103a961056c366004612e2d565b61111f565b34801561057d57600080fd5b5061040b61058c366004612e2d565b611149565b34801561059d57600080fd5b5061040b60105481565b3480156105b357600080fd5b506014546103329060ff1681565b3480156105cd57600080fd5b506103a96105dc366004612e2d565b6111b6565b3480156105ed57600080fd5b506103106105fc366004613018565b61120b565b61031061060f366004613084565b61125a565b34801561062057600080fd5b5061031061062f366004612e10565b6113e4565b34801561064057600080fd5b5061031061064f3660046130e4565b611430565b34801561066057600080fd5b5061040b61066f366004612e10565b6001600160a01b031660009081526020819052604090205490565b34801561069657600080fd5b506103106114ea565b3480156106ab57600080fd5b5061040b60135481565b3480156106c157600080fd5b506103106106d0366004613110565b61151e565b3480156106e157600080fd5b506103106106f0366004613152565b611554565b34801561070157600080fd5b5060145461033290610100900460ff1681565b34801561072057600080fd5b5061031061072f366004613084565b6115a7565b34801561074057600080fd5b5061031061074f366004612f81565b61169f565b34801561076057600080fd5b506103a961076f366004612e2d565b611709565b34801561078057600080fd5b5061040b600f5481565b34801561079657600080fd5b50600b546001600160a01b03166103a9565b3480156107b457600080fd5b506103106107c3366004612e2d565b61171e565b3480156107d457600080fd5b5061035c611752565b3480156107e957600080fd5b5061040b6107f8366004612e10565b6001600160a01b031660009081526009602052604090205490565b34801561081f57600080fd5b5061031061082e366004612f07565b611761565b34801561083f57600080fd5b5061031061084e36600461316e565b6117cd565b34801561085f57600080fd5b5061031061086e366004613219565b611842565b34801561087f57600080fd5b5061035c61088e366004612e2d565b611874565b34801561089f57600080fd5b5061040b6108ae366004612e10565b6001600160a01b031660009081526008602052604090205490565b6103106108d73660046132f9565b6118d0565b3480156108e857600080fd5b506103106108f7366004613338565b611ac9565b34801561090857600080fd5b5061040b60125481565b34801561091e57600080fd5b5060075461040b565b34801561093357600080fd5b5061033261094236600461335f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561097c57600080fd5b5061031061098b366004612e10565b611afe565b60006001600160e01b0319821663780e9d6360e01b14806109b557506109b582611b57565b92915050565b6060600280546109ca90613398565b80601f01602080910402602001604051908101604052809291908181526020018280546109f690613398565b8015610a435780601f10610a1857610100808354040283529160200191610a43565b820191906000526020600020905b815481529060010190602001808311610a2657829003601f168201915b5050505050905090565b600b546000906001600160a01b03163314610a835760405162461bcd60e51b8152600401610a7a906133d3565b60405180910390fd5b506001600160a01b0381166000908152600c602052604090205460ff165b919050565b6000610ab182611ba7565b610acd5760405162461bcd60e51b8152600401610a7a90613408565b506000908152600460205260409020546001600160a01b031690565b6000610af4826111b6565b9050806001600160a01b0316836001600160a01b03161415610b585760405162461bcd60e51b815260206004820181905260248201527f42443732313a20617070726f76616c20746f2063757272656e74206f776e65726044820152606401610a7a565b336001600160a01b0382161480610b745750610b748133610942565b610bd85760405162461bcd60e51b815260206004820152602f60248201527f42443732313a2063616c6c6572206973206e6f74206f776e6572206e6f72206160448201526e1c1c1c9bdd995908199bdc88185b1b608a1b6064820152608401610a7a565b610be28383611bf1565b505050565b600b546001600160a01b03163314610c115760405162461bcd60e51b8152600401610a7a906133d3565b610c19611c5f565b565b601354600154600091610c2d91613460565b905090565b600b546001600160a01b03163314610c5c5760405162461bcd60e51b8152600401610a7a906133d3565b610c668282611cbf565b5050565b6001600160a01b038116600090815260086020526040902054610cde5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610a7a565b600060075447610cee9190613477565b6001600160a01b0383166000908152600960209081526040808320546006546008909352908320549394509192610d25908561348f565b610d2f91906134c4565b610d399190613460565b905080610d9c5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610a7a565b6001600160a01b038316600090815260096020526040902054610dc0908290613477565b6001600160a01b038416600090815260096020526040902055600754610de7908290613477565b600755610df48382611ea5565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610e453382611fbe565b610e615760405162461bcd60e51b8152600401610a7a906134d8565b610be2838383612063565b60008060005b600154811015610edb5760018181548110610e8f57610e8f61351f565b6000918252602090912001546001600160a01b0386811691161415610ecb5783821415610ebf5791506109b59050565b610ec882613535565b91505b610ed481613535565b9050610e72565b5060405162461bcd60e51b815260206004820152602a60248201527f4244373231456e756d657261626c653a206f776e657220696e646578206f7574604482015269206f6620626f756e647360b01b6064820152608401610a7a565b610be283838360405180602001604052806000815250611842565b6060600080610f76846001600160a01b031660009081526020819052604090205490565b905060008167ffffffffffffffff811115610f9357610f93613203565b604051908082528060200260200182016040528015610fbc578160200160208202803683370190505b50905060005b6001548110156110455760018181548110610fdf57610fdf61351f565b6000918252602090912001546001600160a01b03878116911614156110355780828561100a81613535565b96508151811061101c5761101c61351f565b6020026020010181815250508284141561103557611045565b61103e81613535565b9050610fc2565b50949350505050565b600b546001600160a01b031633146110785760405162461bcd60e51b8152600401610a7a906133d3565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6000805b828110156111125760018484838181106110c3576110c361351f565b90506020020135815481106110da576110da61351f565b6000918252602090912001546001600160a01b03868116911614611102576000915050611118565b61110b81613535565b90506110a7565b50600190505b9392505050565b6001818154811061112f57600080fd5b6000918252602090912001546001600160a01b0316905081565b60015460009082106111b25760405162461bcd60e51b815260206004820152602c60248201527f4244373231456e756d657261626c653a20717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a7a565b5090565b60006111c182611ba7565b6111dd5760405162461bcd60e51b8152600401610a7a90613408565b600182815481106111f0576111f061351f565b6000918252602090912001546001600160a01b031692915050565b336000908152600c602052604090205460ff1661123a5760405162461bcd60e51b8152600401610a7a90613550565b61124660158585612ccd565b5061125360168383612ccd565b5050505050565b336000908152600c602052604090205460ff166112895760405162461bcd60e51b8152600401610a7a90613550565b8083146112fe5760405162461bcd60e51b815260206004820152603860248201527f426f7265644465616c6572733a206d7573742070726f7669646520657175616c60448201527f207175616e74697469657320616e64206163636f756e747300000000000000006064820152608401610a7a565b6000805b828110156113325783838281811061131c5761131c61351f565b9050602002013582019150806001019050611302565b50600061133d610c1b565b60115490915061134d8383613477565b1061136a5760405162461bcd60e51b8152600401610a7a9061357a565b60005b858110156113db5760005b85858381811061138a5761138a61351f565b905060200201358110156113d2576113ca8888848181106113ad576113ad61351f565b90506020020160208101906113c29190612e10565b600154612161565b600101611378565b5060010161136d565b50505050505050565b600b546001600160a01b0316331461140e5760405162461bcd60e51b8152600401610a7a906133d3565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b336000908152600c602052604090205460ff1661145f5760405162461bcd60e51b8152600401610a7a90613550565b611467610c1b565b8210156114dc5760405162461bcd60e51b815260206004820152603c60248201527f426f7265644465616c6572733a2073706563696669656420737570706c79206960448201527f73206c6f776572207468616e2063757272656e742062616c616e6365000000006064820152608401610a7a565b601092909255601155601255565b600b546001600160a01b031633146115145760405162461bcd60e51b8152600401610a7a906133d3565b610c1960006122da565b600b546001600160a01b031633146115485760405162461bcd60e51b8152600401610a7a906133d3565b610be2600d8383612ccd565b336000908152600c602052604090205460ff166115835760405162461bcd60e51b8152600401610a7a90613550565b6014805461ffff191692151561ff0019169290921761010091151591909102179055565b336000908152600c602052604090205460ff166115d65760405162461bcd60e51b8152600401610a7a90613550565b8083146116445760405162461bcd60e51b815260206004820152603660248201527f426f7265644465616c6572733a206d7573742070726f7669646520657175616c60448201527520746f6b656e49647320616e64206163636f756e747360501b6064820152608401610a7a565b60005b81811015611253576116978585838181106116645761166461351f565b90506020020160208101906116799190612e10565b84848481811061168b5761168b61351f565b90506020020135612161565b600101611647565b336000908152600c602052604090205460ff166116ce5760405162461bcd60e51b8152600401610a7a90613550565b60005b81811015611703576116fb848484848181106116ef576116ef61351f565b9050602002013561232c565b6001016116d1565b50505050565b6000600a82815481106111f0576111f061351f565b336000908152600c602052604090205460ff1661174d5760405162461bcd60e51b8152600401610a7a90613550565b600f55565b6060600380546109ca90613398565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005b838110156113db5761183287878787858181106117ef576117ef61351f565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061184292505050565b61183b81613535565b90506117d0565b61184c3383611fbe565b6118685760405162461bcd60e51b8152600401610a7a906134d8565b61170384848484612453565b606061187f82611ba7565b61189b5760405162461bcd60e51b8152600401610a7a906135c1565b60156118a683612486565b60166040516020016118ba939291906136a4565b6040516020818303038152906040529050919050565b6010548311156119225760405162461bcd60e51b815260206004820152601b60248201527f426f7265644465616c6572733a206f7264657220746f6f2062696700000000006044820152606401610a7a565b82600f54611930919061348f565b34101561198f5760405162461bcd60e51b815260206004820152602760248201527f426f7265644465616c6572733a2065746865722073656e74206973206e6f742060448201526618dbdc9c9958dd60ca1b6064820152608401610a7a565b601254336000908152602081905260409020546119ad908590613477565b11156119fb5760405162461bcd60e51b815260206004820152601d60248201527f426f7265644465616c6572733a20646f6e2774206265206772656564790000006044820152606401610a7a565b6000611a05610c1b565b601154909150611a158583613477565b1115611a335760405162461bcd60e51b8152600401610a7a9061357a565b601454610100900460ff1615611a4857611aa8565b60145460ff1615611a6b57611a66611a5f85612486565b8484612584565b611aa8565b60405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610a7a565b60005b8481101561125357600154611ac1903390612161565b600101611aab565b600b546001600160a01b03163314611af35760405162461bcd60e51b8152600401610a7a906133d3565b610be2838383612634565b600b546001600160a01b03163314611b285760405162461bcd60e51b8152600401610a7a906133d3565b6001600160a01b0381166000908152600c60205260409020805460ff19166001179055611b54816126cd565b50565b60006001600160e01b031982166380ac58cd60e01b1480611b8857506001600160e01b03198216635b5e139f60e01b145b806109b557506301ffc9a760e01b6001600160e01b03198316146109b5565b600154600090821080156109b5575060006001600160a01b031660018381548110611bd457611bd461351f565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c26826111b6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600060078190555b600a54811015611b5457600060096000600a8481548110611c8a57611c8a61351f565b60009182526020808320909101546001600160a01b03168352820192909252604001902055611cb881613535565b9050611c67565b6001600160a01b038216611d2a5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610a7a565b60008111611d7a5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610a7a565b6001600160a01b03821660009081526008602052604090205415611df45760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610a7a565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b0319166001600160a01b0384169081179091556000908152600860205260409020819055600654611e5c908290613477565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b80471015611ef55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a7a565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f42576040519150601f19603f3d011682016040523d82523d6000602084013e611f47565b606091505b5050905080610be25760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a7a565b6000611fc982611ba7565b611fe55760405162461bcd60e51b8152600401610a7a90613408565b6000611ff0836111b6565b9050806001600160a01b0316846001600160a01b0316148061202b5750836001600160a01b031661202084610aa6565b6001600160a01b0316145b8061205b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612076826111b6565b6001600160a01b0316146120dd5760405162461bcd60e51b815260206004820152602860248201527f42443732313a207472616e73666572206f6620746f6b656e2074686174206973604482015267103737ba1037bbb760c11b6064820152608401610a7a565b6120e8838383612765565b6120f3600082611bf1565b81600182815481106121075761210761351f565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b61216d60008383612765565b60015481101561223a5761218081611ba7565b156121e25760405162461bcd60e51b815260206004820152602c60248201527f426f7265644465616c6572733a2063616e27742072657375727265637420657860448201526b34b9ba34b733903a37b5b2b760a11b6064820152608401610a7a565b6013600081546121f1906136d7565b91905081905550816001828154811061220c5761220c61351f565b600091825260209091200180546001600160a01b0319166001600160a01b039290921691909117905561229e565b60408051602081019091526001600160a01b03838116825260018054808201825560009190915291517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf690920180546001600160a01b031916929091169190911790555b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61233581611ba7565b6123515760405162461bcd60e51b8152600401610a7a906135c1565b600181815481106123645761236461351f565b6000918252602090912001546001600160a01b038381169116146123ca5760405162461bcd60e51b815260206004820152601c60248201527f426f7265644465616c6572733a206f776e6572206d69736d61746368000000006044820152606401610a7a565b6013600081546123d990613535565b909155506123e982600083612765565b6000600182815481106123fe576123fe61351f565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405183928516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61245e848484612063565b61246a848484846127dd565b6117035760405162461bcd60e51b8152600401610a7a906136ee565b6060816124aa5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156124d457806124be81613535565b91506124cd9050600a836134c4565b91506124ae565b60008167ffffffffffffffff8111156124ef576124ef613203565b6040519080825280601f01601f191660200182016040528015612519576020820181803683370190505b5090505b841561205b5761252e600183613460565b915061253b600a8661373f565b612546906030613477565b60f81b81838151811061255b5761255b61351f565b60200101906001600160f81b031916908160001a90535061257d600a866134c4565b945061251d565b60006125ce612592856128db565b84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061291292505050565b90506125e881600e546001600160a01b0391821691161490565b6117035760405162461bcd60e51b815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e206661696c65640000006044820152606401610a7a565b6001600160a01b038216600090815260086020526040902054600654829161265b91613460565b6126659190613477565b6006556001600160a01b0382166000908152600860205260409020819055600a80548391908590811061269a5761269a61351f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b600b546001600160a01b031633146126f75760405162461bcd60e51b8152600401610a7a906133d3565b6001600160a01b03811661275c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a7a565b611b54816122da565b6001600160a01b0383161561279f576001600160a01b0383166000908152602081905260408120805490919061279a906136d7565b909155505b6001600160a01b03821615610be2576001600160a01b038216600090815260208190526040812080549091906127d490613535565b90915550505050565b60006001600160a01b0384163b156128d057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612821903390899088908890600401613753565b6020604051808303816000875af192505050801561285c575060408051601f3d908101601f1916820190925261285991810190613790565b60015b6128b6573d80801561288a576040519150601f19603f3d011682016040523d82523d6000602084013e61288f565b606091505b5080516128ae5760405162461bcd60e51b8152600401610a7a906136ee565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061205b565b506001949350505050565b6000303383600d6040516020016128f594939291906137ad565b604051602081830303815290604052805190602001209050919050565b60006111188261292185612927565b90612962565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c016128f5565b60008060006129718585612986565b9150915061297e816129f6565b509392505050565b6000808251604114156129bd5760208301516040840151606085015160001a6129b187828585612bb1565b945094505050506129ef565b8251604014156129e757602083015160408401516129dc868383612c9e565b9350935050506129ef565b506000905060025b9250929050565b6000816004811115612a0a57612a0a6137f3565b1415612a135750565b6001816004811115612a2757612a276137f3565b1415612a755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a7a565b6002816004811115612a8957612a896137f3565b1415612ad75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a7a565b6003816004811115612aeb57612aeb6137f3565b1415612b445760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a7a565b6004816004811115612b5857612b586137f3565b1415611b545760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a7a565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612be85750600090506003612c95565b8460ff16601b14158015612c0057508460ff16601c14155b15612c115750600090506004612c95565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612c65573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612c8e57600060019250925050612c95565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01612cbf87828885612bb1565b935093505050935093915050565b828054612cd990613398565b90600052602060002090601f016020900481019282612cfb5760008555612d41565b82601f10612d145782800160ff19823516178555612d41565b82800160010185558215612d41579182015b82811115612d41578235825591602001919060010190612d26565b506111b29291505b808211156111b25760008155600101612d49565b6001600160e01b031981168114611b5457600080fd5b600060208284031215612d8557600080fd5b813561111881612d5d565b60005b83811015612dab578181015183820152602001612d93565b838111156117035750506000910152565b60008151808452612dd4816020860160208601612d90565b601f01601f19169290920160200192915050565b6020815260006111186020830184612dbc565b6001600160a01b0381168114611b5457600080fd5b600060208284031215612e2257600080fd5b813561111881612dfb565b600060208284031215612e3f57600080fd5b5035919050565b60008060408385031215612e5957600080fd5b8235612e6481612dfb565b946020939093013593505050565b600080600060608486031215612e8757600080fd5b8335612e9281612dfb565b92506020840135612ea281612dfb565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b81811015612eeb57835183529284019291840191600101612ecf565b50909695505050505050565b80358015158114610aa157600080fd5b60008060408385031215612f1a57600080fd5b8235612f2581612dfb565b9150612f3360208401612ef7565b90509250929050565b60008083601f840112612f4e57600080fd5b50813567ffffffffffffffff811115612f6657600080fd5b6020830191508360208260051b85010111156129ef57600080fd5b600080600060408486031215612f9657600080fd5b8335612fa181612dfb565b9250602084013567ffffffffffffffff811115612fbd57600080fd5b612fc986828701612f3c565b9497909650939450505050565b60008083601f840112612fe857600080fd5b50813567ffffffffffffffff81111561300057600080fd5b6020830191508360208285010111156129ef57600080fd5b6000806000806040858703121561302e57600080fd5b843567ffffffffffffffff8082111561304657600080fd5b61305288838901612fd6565b9096509450602087013591508082111561306b57600080fd5b5061307887828801612fd6565b95989497509550505050565b6000806000806040858703121561309a57600080fd5b843567ffffffffffffffff808211156130b257600080fd5b6130be88838901612f3c565b909650945060208701359150808211156130d757600080fd5b5061307887828801612f3c565b6000806000606084860312156130f957600080fd5b505081359360208301359350604090920135919050565b6000806020838503121561312357600080fd5b823567ffffffffffffffff81111561313a57600080fd5b61314685828601612fd6565b90969095509350505050565b6000806040838503121561316557600080fd5b612f2583612ef7565b6000806000806000806080878903121561318757600080fd5b863561319281612dfb565b955060208701356131a281612dfb565b9450604087013567ffffffffffffffff808211156131bf57600080fd5b6131cb8a838b01612f3c565b909650945060608901359150808211156131e457600080fd5b506131f189828a01612fd6565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561322f57600080fd5b843561323a81612dfb565b9350602085013561324a81612dfb565b925060408501359150606085013567ffffffffffffffff8082111561326e57600080fd5b818701915087601f83011261328257600080fd5b81358181111561329457613294613203565b604051601f8201601f19908116603f011681019083821181831017156132bc576132bc613203565b816040528281528a60208487010111156132d557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060006040848603121561330e57600080fd5b83359250602084013567ffffffffffffffff81111561332c57600080fd5b612fc986828701612fd6565b60008060006060848603121561334d57600080fd5b833592506020840135612ea281612dfb565b6000806040838503121561337257600080fd5b823561337d81612dfb565b9150602083013561338d81612dfb565b809150509250929050565b600181811c908216806133ac57607f821691505b602082108114156133cd57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f42443732313a20717565727920666f72206e6f6e6578697374656e7420746f6b60408201526132b760f11b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000828210156134725761347261344a565b500390565b6000821982111561348a5761348a61344a565b500190565b60008160001904831182151516156134a9576134a961344a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826134d3576134d36134ae565b500490565b60208082526027908201527f42443732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220616040820152661c1c1c9bdd995960ca1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156135495761354961344a565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526027908201527f426f7265644465616c6572733a206d696e742f6f72646572206578636565647360408201526620737570706c7960c81b606082015260800190565b60208082526029908201527f426f7265644465616c6572733a20717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b8054600090600181811c908083168061362457607f831692505b602080841082141561364657634e487b7160e01b600052602260045260246000fd5b81801561365a576001811461366b57613698565b60ff19861689528489019650613698565b60008881526020902060005b868110156136905781548b820152908501908301613677565b505084890196505b50505050505092915050565b60006136b0828661360a565b84516136c0818360208901612d90565b6136cc8183018661360a565b979650505050505050565b6000816136e6576136e661344a565b506000190190565b60208082526031908201527f42443732313a207472616e7366657220746f206e6f6e2045524337323152656360408201527032b4bb32b91034b6b83632b6b2b73a32b960791b606082015260800190565b60008261374e5761374e6134ae565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061378690830184612dbc565b9695505050505050565b6000602082840312156137a257600080fd5b815161111881612d5d565b60006bffffffffffffffffffffffff19808760601b168352808660601b1660148401525083516137e4816028850160208801612d90565b6136cc6028828501018561360a565b634e487b7160e01b600052602160045260246000fdfea26469706673582212204fcc1b2e865da61a997d36c9b672ed62e7004dd153ac04ee969976763258c5ed64736f6c634300080b0033
Deployed Bytecode
0x6080604052600436106102c75760003560e01c80636f6098521161017e57806395d89b41116100d3578063ce7c2ac21161008f578063df7787a41161006c578063df7787a4146108fc578063e33b7de314610912578063e985e9c514610927578063f2fde38b1461097057005b8063ce7c2ac214610893578063db7fd408146108c9578063df238800146108dc57005b806395d89b41146107c85780639852595c146107dd578063a22cb46514610813578063b534a5c414610833578063b88d4fde14610853578063c87b56dd1461087357005b80637f75c3151161013a5780638b83209b116101175780638b83209b146107545780638d859f3e146107745780638da5cb5b1461078a57806391b7f5ed146107a857005b80637f75c315146106f557806380fda1e21461071457806389af61071461073457005b80636f6098521461063457806370a0823114610654578063715018a61461068a57806373f425611461069f5780637ed6c926146106b55780637f608d03146106d557005b80633a98ef39116102345780634f6ccce7116101f05780636352211e116101cd5780636352211e146105c15780636790a9de146105e157806369add11d146106015780636c19e7831461061457005b80634f6ccce71461057157806350c5a00c1461059157806360d938dc146105a757005b80633a98ef39146104af57806342842e0e146104c4578063438b6300146104e45780634a994eef146105115780634d44660c146105315780634f64b2be1461055157005b806318160ddd1161028357806318160ddd146103f657806318f9b02314610419578063191655871461043957806323b872dd146104595780632f745c591461047957806332cb6b0c1461049957005b806301ffc9a71461031257806306fdde03146103475780630777962714610369578063081812fc14610389578063095ea7b3146103c15780630f3b73b1146103e157005b36610310577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561031e57600080fd5b5061033261032d366004612d73565b610990565b60405190151581526020015b60405180910390f35b34801561035357600080fd5b5061035c6109bb565b60405161033e9190612de8565b34801561037557600080fd5b50610332610384366004612e10565b610a4d565b34801561039557600080fd5b506103a96103a4366004612e2d565b610aa6565b6040516001600160a01b03909116815260200161033e565b3480156103cd57600080fd5b506103106103dc366004612e46565b610ae9565b3480156103ed57600080fd5b50610310610be7565b34801561040257600080fd5b5061040b610c1b565b60405190815260200161033e565b34801561042557600080fd5b50610310610434366004612e46565b610c32565b34801561044557600080fd5b50610310610454366004612e10565b610c6a565b34801561046557600080fd5b50610310610474366004612e72565b610e3b565b34801561048557600080fd5b5061040b610494366004612e46565b610e6c565b3480156104a557600080fd5b5061040b60115481565b3480156104bb57600080fd5b5060065461040b565b3480156104d057600080fd5b506103106104df366004612e72565b610f37565b3480156104f057600080fd5b506105046104ff366004612e10565b610f52565b60405161033e9190612eb3565b34801561051d57600080fd5b5061031061052c366004612f07565b61104e565b34801561053d57600080fd5b5061033261054c366004612f81565b6110a3565b34801561055d57600080fd5b506103a961056c366004612e2d565b61111f565b34801561057d57600080fd5b5061040b61058c366004612e2d565b611149565b34801561059d57600080fd5b5061040b60105481565b3480156105b357600080fd5b506014546103329060ff1681565b3480156105cd57600080fd5b506103a96105dc366004612e2d565b6111b6565b3480156105ed57600080fd5b506103106105fc366004613018565b61120b565b61031061060f366004613084565b61125a565b34801561062057600080fd5b5061031061062f366004612e10565b6113e4565b34801561064057600080fd5b5061031061064f3660046130e4565b611430565b34801561066057600080fd5b5061040b61066f366004612e10565b6001600160a01b031660009081526020819052604090205490565b34801561069657600080fd5b506103106114ea565b3480156106ab57600080fd5b5061040b60135481565b3480156106c157600080fd5b506103106106d0366004613110565b61151e565b3480156106e157600080fd5b506103106106f0366004613152565b611554565b34801561070157600080fd5b5060145461033290610100900460ff1681565b34801561072057600080fd5b5061031061072f366004613084565b6115a7565b34801561074057600080fd5b5061031061074f366004612f81565b61169f565b34801561076057600080fd5b506103a961076f366004612e2d565b611709565b34801561078057600080fd5b5061040b600f5481565b34801561079657600080fd5b50600b546001600160a01b03166103a9565b3480156107b457600080fd5b506103106107c3366004612e2d565b61171e565b3480156107d457600080fd5b5061035c611752565b3480156107e957600080fd5b5061040b6107f8366004612e10565b6001600160a01b031660009081526009602052604090205490565b34801561081f57600080fd5b5061031061082e366004612f07565b611761565b34801561083f57600080fd5b5061031061084e36600461316e565b6117cd565b34801561085f57600080fd5b5061031061086e366004613219565b611842565b34801561087f57600080fd5b5061035c61088e366004612e2d565b611874565b34801561089f57600080fd5b5061040b6108ae366004612e10565b6001600160a01b031660009081526008602052604090205490565b6103106108d73660046132f9565b6118d0565b3480156108e857600080fd5b506103106108f7366004613338565b611ac9565b34801561090857600080fd5b5061040b60125481565b34801561091e57600080fd5b5060075461040b565b34801561093357600080fd5b5061033261094236600461335f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561097c57600080fd5b5061031061098b366004612e10565b611afe565b60006001600160e01b0319821663780e9d6360e01b14806109b557506109b582611b57565b92915050565b6060600280546109ca90613398565b80601f01602080910402602001604051908101604052809291908181526020018280546109f690613398565b8015610a435780601f10610a1857610100808354040283529160200191610a43565b820191906000526020600020905b815481529060010190602001808311610a2657829003601f168201915b5050505050905090565b600b546000906001600160a01b03163314610a835760405162461bcd60e51b8152600401610a7a906133d3565b60405180910390fd5b506001600160a01b0381166000908152600c602052604090205460ff165b919050565b6000610ab182611ba7565b610acd5760405162461bcd60e51b8152600401610a7a90613408565b506000908152600460205260409020546001600160a01b031690565b6000610af4826111b6565b9050806001600160a01b0316836001600160a01b03161415610b585760405162461bcd60e51b815260206004820181905260248201527f42443732313a20617070726f76616c20746f2063757272656e74206f776e65726044820152606401610a7a565b336001600160a01b0382161480610b745750610b748133610942565b610bd85760405162461bcd60e51b815260206004820152602f60248201527f42443732313a2063616c6c6572206973206e6f74206f776e6572206e6f72206160448201526e1c1c1c9bdd995908199bdc88185b1b608a1b6064820152608401610a7a565b610be28383611bf1565b505050565b600b546001600160a01b03163314610c115760405162461bcd60e51b8152600401610a7a906133d3565b610c19611c5f565b565b601354600154600091610c2d91613460565b905090565b600b546001600160a01b03163314610c5c5760405162461bcd60e51b8152600401610a7a906133d3565b610c668282611cbf565b5050565b6001600160a01b038116600090815260086020526040902054610cde5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610a7a565b600060075447610cee9190613477565b6001600160a01b0383166000908152600960209081526040808320546006546008909352908320549394509192610d25908561348f565b610d2f91906134c4565b610d399190613460565b905080610d9c5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610a7a565b6001600160a01b038316600090815260096020526040902054610dc0908290613477565b6001600160a01b038416600090815260096020526040902055600754610de7908290613477565b600755610df48382611ea5565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610e453382611fbe565b610e615760405162461bcd60e51b8152600401610a7a906134d8565b610be2838383612063565b60008060005b600154811015610edb5760018181548110610e8f57610e8f61351f565b6000918252602090912001546001600160a01b0386811691161415610ecb5783821415610ebf5791506109b59050565b610ec882613535565b91505b610ed481613535565b9050610e72565b5060405162461bcd60e51b815260206004820152602a60248201527f4244373231456e756d657261626c653a206f776e657220696e646578206f7574604482015269206f6620626f756e647360b01b6064820152608401610a7a565b610be283838360405180602001604052806000815250611842565b6060600080610f76846001600160a01b031660009081526020819052604090205490565b905060008167ffffffffffffffff811115610f9357610f93613203565b604051908082528060200260200182016040528015610fbc578160200160208202803683370190505b50905060005b6001548110156110455760018181548110610fdf57610fdf61351f565b6000918252602090912001546001600160a01b03878116911614156110355780828561100a81613535565b96508151811061101c5761101c61351f565b6020026020010181815250508284141561103557611045565b61103e81613535565b9050610fc2565b50949350505050565b600b546001600160a01b031633146110785760405162461bcd60e51b8152600401610a7a906133d3565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6000805b828110156111125760018484838181106110c3576110c361351f565b90506020020135815481106110da576110da61351f565b6000918252602090912001546001600160a01b03868116911614611102576000915050611118565b61110b81613535565b90506110a7565b50600190505b9392505050565b6001818154811061112f57600080fd5b6000918252602090912001546001600160a01b0316905081565b60015460009082106111b25760405162461bcd60e51b815260206004820152602c60248201527f4244373231456e756d657261626c653a20717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a7a565b5090565b60006111c182611ba7565b6111dd5760405162461bcd60e51b8152600401610a7a90613408565b600182815481106111f0576111f061351f565b6000918252602090912001546001600160a01b031692915050565b336000908152600c602052604090205460ff1661123a5760405162461bcd60e51b8152600401610a7a90613550565b61124660158585612ccd565b5061125360168383612ccd565b5050505050565b336000908152600c602052604090205460ff166112895760405162461bcd60e51b8152600401610a7a90613550565b8083146112fe5760405162461bcd60e51b815260206004820152603860248201527f426f7265644465616c6572733a206d7573742070726f7669646520657175616c60448201527f207175616e74697469657320616e64206163636f756e747300000000000000006064820152608401610a7a565b6000805b828110156113325783838281811061131c5761131c61351f565b9050602002013582019150806001019050611302565b50600061133d610c1b565b60115490915061134d8383613477565b1061136a5760405162461bcd60e51b8152600401610a7a9061357a565b60005b858110156113db5760005b85858381811061138a5761138a61351f565b905060200201358110156113d2576113ca8888848181106113ad576113ad61351f565b90506020020160208101906113c29190612e10565b600154612161565b600101611378565b5060010161136d565b50505050505050565b600b546001600160a01b0316331461140e5760405162461bcd60e51b8152600401610a7a906133d3565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b336000908152600c602052604090205460ff1661145f5760405162461bcd60e51b8152600401610a7a90613550565b611467610c1b565b8210156114dc5760405162461bcd60e51b815260206004820152603c60248201527f426f7265644465616c6572733a2073706563696669656420737570706c79206960448201527f73206c6f776572207468616e2063757272656e742062616c616e6365000000006064820152608401610a7a565b601092909255601155601255565b600b546001600160a01b031633146115145760405162461bcd60e51b8152600401610a7a906133d3565b610c1960006122da565b600b546001600160a01b031633146115485760405162461bcd60e51b8152600401610a7a906133d3565b610be2600d8383612ccd565b336000908152600c602052604090205460ff166115835760405162461bcd60e51b8152600401610a7a90613550565b6014805461ffff191692151561ff0019169290921761010091151591909102179055565b336000908152600c602052604090205460ff166115d65760405162461bcd60e51b8152600401610a7a90613550565b8083146116445760405162461bcd60e51b815260206004820152603660248201527f426f7265644465616c6572733a206d7573742070726f7669646520657175616c60448201527520746f6b656e49647320616e64206163636f756e747360501b6064820152608401610a7a565b60005b81811015611253576116978585838181106116645761166461351f565b90506020020160208101906116799190612e10565b84848481811061168b5761168b61351f565b90506020020135612161565b600101611647565b336000908152600c602052604090205460ff166116ce5760405162461bcd60e51b8152600401610a7a90613550565b60005b81811015611703576116fb848484848181106116ef576116ef61351f565b9050602002013561232c565b6001016116d1565b50505050565b6000600a82815481106111f0576111f061351f565b336000908152600c602052604090205460ff1661174d5760405162461bcd60e51b8152600401610a7a90613550565b600f55565b6060600380546109ca90613398565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005b838110156113db5761183287878787858181106117ef576117ef61351f565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061184292505050565b61183b81613535565b90506117d0565b61184c3383611fbe565b6118685760405162461bcd60e51b8152600401610a7a906134d8565b61170384848484612453565b606061187f82611ba7565b61189b5760405162461bcd60e51b8152600401610a7a906135c1565b60156118a683612486565b60166040516020016118ba939291906136a4565b6040516020818303038152906040529050919050565b6010548311156119225760405162461bcd60e51b815260206004820152601b60248201527f426f7265644465616c6572733a206f7264657220746f6f2062696700000000006044820152606401610a7a565b82600f54611930919061348f565b34101561198f5760405162461bcd60e51b815260206004820152602760248201527f426f7265644465616c6572733a2065746865722073656e74206973206e6f742060448201526618dbdc9c9958dd60ca1b6064820152608401610a7a565b601254336000908152602081905260409020546119ad908590613477565b11156119fb5760405162461bcd60e51b815260206004820152601d60248201527f426f7265644465616c6572733a20646f6e2774206265206772656564790000006044820152606401610a7a565b6000611a05610c1b565b601154909150611a158583613477565b1115611a335760405162461bcd60e51b8152600401610a7a9061357a565b601454610100900460ff1615611a4857611aa8565b60145460ff1615611a6b57611a66611a5f85612486565b8484612584565b611aa8565b60405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610a7a565b60005b8481101561125357600154611ac1903390612161565b600101611aab565b600b546001600160a01b03163314611af35760405162461bcd60e51b8152600401610a7a906133d3565b610be2838383612634565b600b546001600160a01b03163314611b285760405162461bcd60e51b8152600401610a7a906133d3565b6001600160a01b0381166000908152600c60205260409020805460ff19166001179055611b54816126cd565b50565b60006001600160e01b031982166380ac58cd60e01b1480611b8857506001600160e01b03198216635b5e139f60e01b145b806109b557506301ffc9a760e01b6001600160e01b03198316146109b5565b600154600090821080156109b5575060006001600160a01b031660018381548110611bd457611bd461351f565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c26826111b6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600060078190555b600a54811015611b5457600060096000600a8481548110611c8a57611c8a61351f565b60009182526020808320909101546001600160a01b03168352820192909252604001902055611cb881613535565b9050611c67565b6001600160a01b038216611d2a5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610a7a565b60008111611d7a5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610a7a565b6001600160a01b03821660009081526008602052604090205415611df45760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610a7a565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b0319166001600160a01b0384169081179091556000908152600860205260409020819055600654611e5c908290613477565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b80471015611ef55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a7a565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f42576040519150601f19603f3d011682016040523d82523d6000602084013e611f47565b606091505b5050905080610be25760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a7a565b6000611fc982611ba7565b611fe55760405162461bcd60e51b8152600401610a7a90613408565b6000611ff0836111b6565b9050806001600160a01b0316846001600160a01b0316148061202b5750836001600160a01b031661202084610aa6565b6001600160a01b0316145b8061205b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612076826111b6565b6001600160a01b0316146120dd5760405162461bcd60e51b815260206004820152602860248201527f42443732313a207472616e73666572206f6620746f6b656e2074686174206973604482015267103737ba1037bbb760c11b6064820152608401610a7a565b6120e8838383612765565b6120f3600082611bf1565b81600182815481106121075761210761351f565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b61216d60008383612765565b60015481101561223a5761218081611ba7565b156121e25760405162461bcd60e51b815260206004820152602c60248201527f426f7265644465616c6572733a2063616e27742072657375727265637420657860448201526b34b9ba34b733903a37b5b2b760a11b6064820152608401610a7a565b6013600081546121f1906136d7565b91905081905550816001828154811061220c5761220c61351f565b600091825260209091200180546001600160a01b0319166001600160a01b039290921691909117905561229e565b60408051602081019091526001600160a01b03838116825260018054808201825560009190915291517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf690920180546001600160a01b031916929091169190911790555b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61233581611ba7565b6123515760405162461bcd60e51b8152600401610a7a906135c1565b600181815481106123645761236461351f565b6000918252602090912001546001600160a01b038381169116146123ca5760405162461bcd60e51b815260206004820152601c60248201527f426f7265644465616c6572733a206f776e6572206d69736d61746368000000006044820152606401610a7a565b6013600081546123d990613535565b909155506123e982600083612765565b6000600182815481106123fe576123fe61351f565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405183928516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61245e848484612063565b61246a848484846127dd565b6117035760405162461bcd60e51b8152600401610a7a906136ee565b6060816124aa5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156124d457806124be81613535565b91506124cd9050600a836134c4565b91506124ae565b60008167ffffffffffffffff8111156124ef576124ef613203565b6040519080825280601f01601f191660200182016040528015612519576020820181803683370190505b5090505b841561205b5761252e600183613460565b915061253b600a8661373f565b612546906030613477565b60f81b81838151811061255b5761255b61351f565b60200101906001600160f81b031916908160001a90535061257d600a866134c4565b945061251d565b60006125ce612592856128db565b84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061291292505050565b90506125e881600e546001600160a01b0391821691161490565b6117035760405162461bcd60e51b815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e206661696c65640000006044820152606401610a7a565b6001600160a01b038216600090815260086020526040902054600654829161265b91613460565b6126659190613477565b6006556001600160a01b0382166000908152600860205260409020819055600a80548391908590811061269a5761269a61351f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b600b546001600160a01b031633146126f75760405162461bcd60e51b8152600401610a7a906133d3565b6001600160a01b03811661275c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a7a565b611b54816122da565b6001600160a01b0383161561279f576001600160a01b0383166000908152602081905260408120805490919061279a906136d7565b909155505b6001600160a01b03821615610be2576001600160a01b038216600090815260208190526040812080549091906127d490613535565b90915550505050565b60006001600160a01b0384163b156128d057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612821903390899088908890600401613753565b6020604051808303816000875af192505050801561285c575060408051601f3d908101601f1916820190925261285991810190613790565b60015b6128b6573d80801561288a576040519150601f19603f3d011682016040523d82523d6000602084013e61288f565b606091505b5080516128ae5760405162461bcd60e51b8152600401610a7a906136ee565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061205b565b506001949350505050565b6000303383600d6040516020016128f594939291906137ad565b604051602081830303815290604052805190602001209050919050565b60006111188261292185612927565b90612962565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c016128f5565b60008060006129718585612986565b9150915061297e816129f6565b509392505050565b6000808251604114156129bd5760208301516040840151606085015160001a6129b187828585612bb1565b945094505050506129ef565b8251604014156129e757602083015160408401516129dc868383612c9e565b9350935050506129ef565b506000905060025b9250929050565b6000816004811115612a0a57612a0a6137f3565b1415612a135750565b6001816004811115612a2757612a276137f3565b1415612a755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a7a565b6002816004811115612a8957612a896137f3565b1415612ad75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a7a565b6003816004811115612aeb57612aeb6137f3565b1415612b445760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a7a565b6004816004811115612b5857612b586137f3565b1415611b545760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a7a565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612be85750600090506003612c95565b8460ff16601b14158015612c0057508460ff16601c14155b15612c115750600090506004612c95565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612c65573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612c8e57600060019250925050612c95565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01612cbf87828885612bb1565b935093505050935093915050565b828054612cd990613398565b90600052602060002090601f016020900481019282612cfb5760008555612d41565b82601f10612d145782800160ff19823516178555612d41565b82800160010185558215612d41579182015b82811115612d41578235825591602001919060010190612d26565b506111b29291505b808211156111b25760008155600101612d49565b6001600160e01b031981168114611b5457600080fd5b600060208284031215612d8557600080fd5b813561111881612d5d565b60005b83811015612dab578181015183820152602001612d93565b838111156117035750506000910152565b60008151808452612dd4816020860160208601612d90565b601f01601f19169290920160200192915050565b6020815260006111186020830184612dbc565b6001600160a01b0381168114611b5457600080fd5b600060208284031215612e2257600080fd5b813561111881612dfb565b600060208284031215612e3f57600080fd5b5035919050565b60008060408385031215612e5957600080fd5b8235612e6481612dfb565b946020939093013593505050565b600080600060608486031215612e8757600080fd5b8335612e9281612dfb565b92506020840135612ea281612dfb565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b81811015612eeb57835183529284019291840191600101612ecf565b50909695505050505050565b80358015158114610aa157600080fd5b60008060408385031215612f1a57600080fd5b8235612f2581612dfb565b9150612f3360208401612ef7565b90509250929050565b60008083601f840112612f4e57600080fd5b50813567ffffffffffffffff811115612f6657600080fd5b6020830191508360208260051b85010111156129ef57600080fd5b600080600060408486031215612f9657600080fd5b8335612fa181612dfb565b9250602084013567ffffffffffffffff811115612fbd57600080fd5b612fc986828701612f3c565b9497909650939450505050565b60008083601f840112612fe857600080fd5b50813567ffffffffffffffff81111561300057600080fd5b6020830191508360208285010111156129ef57600080fd5b6000806000806040858703121561302e57600080fd5b843567ffffffffffffffff8082111561304657600080fd5b61305288838901612fd6565b9096509450602087013591508082111561306b57600080fd5b5061307887828801612fd6565b95989497509550505050565b6000806000806040858703121561309a57600080fd5b843567ffffffffffffffff808211156130b257600080fd5b6130be88838901612f3c565b909650945060208701359150808211156130d757600080fd5b5061307887828801612f3c565b6000806000606084860312156130f957600080fd5b505081359360208301359350604090920135919050565b6000806020838503121561312357600080fd5b823567ffffffffffffffff81111561313a57600080fd5b61314685828601612fd6565b90969095509350505050565b6000806040838503121561316557600080fd5b612f2583612ef7565b6000806000806000806080878903121561318757600080fd5b863561319281612dfb565b955060208701356131a281612dfb565b9450604087013567ffffffffffffffff808211156131bf57600080fd5b6131cb8a838b01612f3c565b909650945060608901359150808211156131e457600080fd5b506131f189828a01612fd6565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561322f57600080fd5b843561323a81612dfb565b9350602085013561324a81612dfb565b925060408501359150606085013567ffffffffffffffff8082111561326e57600080fd5b818701915087601f83011261328257600080fd5b81358181111561329457613294613203565b604051601f8201601f19908116603f011681019083821181831017156132bc576132bc613203565b816040528281528a60208487010111156132d557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060006040848603121561330e57600080fd5b83359250602084013567ffffffffffffffff81111561332c57600080fd5b612fc986828701612fd6565b60008060006060848603121561334d57600080fd5b833592506020840135612ea281612dfb565b6000806040838503121561337257600080fd5b823561337d81612dfb565b9150602083013561338d81612dfb565b809150509250929050565b600181811c908216806133ac57607f821691505b602082108114156133cd57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f42443732313a20717565727920666f72206e6f6e6578697374656e7420746f6b60408201526132b760f11b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000828210156134725761347261344a565b500390565b6000821982111561348a5761348a61344a565b500190565b60008160001904831182151516156134a9576134a961344a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826134d3576134d36134ae565b500490565b60208082526027908201527f42443732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220616040820152661c1c1c9bdd995960ca1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156135495761354961344a565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526027908201527f426f7265644465616c6572733a206d696e742f6f72646572206578636565647360408201526620737570706c7960c81b606082015260800190565b60208082526029908201527f426f7265644465616c6572733a20717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b8054600090600181811c908083168061362457607f831692505b602080841082141561364657634e487b7160e01b600052602260045260246000fd5b81801561365a576001811461366b57613698565b60ff19861689528489019650613698565b60008881526020902060005b868110156136905781548b820152908501908301613677565b505084890196505b50505050505092915050565b60006136b0828661360a565b84516136c0818360208901612d90565b6136cc8183018661360a565b979650505050505050565b6000816136e6576136e661344a565b506000190190565b60208082526031908201527f42443732313a207472616e7366657220746f206e6f6e2045524337323152656360408201527032b4bb32b91034b6b83632b6b2b73a32b960791b606082015260800190565b60008261374e5761374e6134ae565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061378690830184612dbc565b9695505050505050565b6000602082840312156137a257600080fd5b815161111881612d5d565b60006bffffffffffffffffffffffff19808760601b168352808660601b1660148401525083516137e4816028850160208801612d90565b6136cc6028828501018561360a565b634e487b7160e01b600052602160045260246000fdfea26469706673582212204fcc1b2e865da61a997d36c9b672ed62e7004dd153ac04ee969976763258c5ed64736f6c634300080b0033
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.