Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
55
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LadyLlamas
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 100 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/*** * MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMWXKXNWMMMMMMMMMMMMMMMMWNNXKKKKKKKKKKKKK0000000KNMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMW0:.,:d0NMMMMMMMMMMWXx:'......................dNMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. .;xXMMMMMMMWx' .'''''. .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMx. :KMMMMMMk. .xXNNNNNO' .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMx. .dWMMMMWl cNMMMMMM0' .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMx. lWMMMMWl lWMMMMMM0' .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMx. lNMMMMWl lWMMMMMM0' .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMx. lNMMMMWl lWMMMMMM0' .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMd. lNMMMMWl lNMMMMMM0' .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMd. lNMMMMMO. lNMMMMMM0' .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMd. lNMMMMMWO, lNMMMMMM0' .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMd. lNMMMMMMMNkc'.. ;XMMMMMM0' .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMd. lNMMMMMMMMMWNK0xoo0WMMMMMK, .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. lNMMMMMMMMMMMMMMMMMMMMMMMK, .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. lNMMMMMMMMMMMMMMMMMMMMMMMK, .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. lNMMMMMMMMMMMMMMMMMMMMMMMK, .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. lNMMMMMMMMMMMMMMMMMMMMMMMK, .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. cNMMMMMMMMMMMMMMMMMMMMMMMK, .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. cNMMMMMMWWMMMMMMMMMMMMMMMK, .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. cNMMMMMWkccokOKWMMMMMMMMMK, .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. cNMMMMMMK, .;dXMMMMMMMK, .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. cNMMMMMMX: ,kWMMMMMK, .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. cNMMMMMMX: '0MMMMMK, .kMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. cNMMMMMMX: .xMMMMMK, .OMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. cNMMMMMMX: .dMMMMMK, .OMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. cNMMMMMMX: .dMMMMMK, .OMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. cNMMMMMMX; .dWMMMMK, .OMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. cNMMMMMMK, .xMMMMMNc .OMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. ;k00000k: :XMMMMMMK: .OMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWd. .lKMMMMMMMMNk:. .kWMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMXl'..'''''',,,,,,,,,,,;:cxKWMMMMMMMMMMMWXko::oXMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMWNNNNNNNNNNWWWWWWWWWWWWMMMMMMMMMMMMMMMMMMMMMWNWMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM * MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM * * @title: LadyLlamas.sol * @author: MaxFlowO2 on Twitter/GitHub */ // SPDX-License-Identifier: MIT pragma solidity >0.8.0 <=0.9.0; import "./token/ERC721/ERC721.sol"; import "./eip/2981/ERC2981Collection.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./lib/CountersV2.sol"; import "./utils/ContextV2.sol"; import "./modules/WhitelistV2.sol"; import "./access/MaxAccessControl.sol"; import "./modules/PaymentSplitterV2.sol"; import "./modules/Llamas.sol"; import "./modules/ContractURI.sol"; contract LadyLlamas is ERC721 , ERC2981Collection , ContractURI , Llamas , WhitelistV2 , PaymentSplitterV2 , MaxAccess , ReentrancyGuard { using CountersV2 for CountersV2.Counter; using Strings for uint256; CountersV2.Counter private _tokenIdCounter; uint private mintStartID; uint private constant MINT_FEE_ONE = 0.1 ether; // 5+ on day 1 uint private constant MINT_FEE_TWO = 0.15 ether; // 3-4 on day 1 + whitelist day 2 uint private constant MINT_FEE_THREE = 0.2 ether; // 1-2 on day 3 uint private timeOneStart; uint private timeTwoStart; uint private timeThreeStart; uint private timeThreeEnd; uint private constant MINT_SIZE = 3000; string private unrevealedBase; string private base; bool private revealedNFT; bool private enableMinter; bool private lockedProvenance; bool private lockedPayees; bool private lockedAirdrop; mapping(uint => bool) private LBLUsed; mapping(address => bool) public oneToOne; mapping(address => bool) public threeToOne; IERC721 private LBLNFT; // don't forget to add this later error ToEarly(uint time, uint startTime); error ToLate(uint time, uint endTime); error AlreadyClaimed(uint tokenID); error NotEnoughETH(uint required, uint sent); error AlreadyMinted(); error NotOnWhitelist(); error OverMaximumMint(); error CanNotMintThatMany(uint requested, uint allowed); error ProvenanceNotSet(); error ProvenanceAlreadySet(); error PayeesNotSet(); error PayeesAlreadySet(); error NFTsAlreadyRevealed(); error NonMintedToken(uint token); error NullArray(); error AirdropLocked(); error NoTimesSet(); event NFTReveal(bool status, uint time); event UpdatedUnrevealedBaseURI(string _old, string _new); event UpdatedBaseURI(string _old, string _new); event ProvenanceLocked(bool _status); event PayeesLocked(bool _status); event DayOneTimes(uint start, uint end); event DayTwoTimes(uint start, uint end); event DayThreeTimes(uint start, uint end); event LBLContractAddressUpdated(address _update); event AirdropIsLocked(bool _status); constructor() ERC721("Lady Llamas", "LL") {} /*** * ███╗ ███╗██╗███╗ ██╗████████╗ * ████╗ ████║██║████╗ ██║╚══██╔══╝ * ██╔████╔██║██║██╔██╗ ██║ ██║ * ██║╚██╔╝██║██║██║╚██╗██║ ██║ * ██║ ╚═╝ ██║██║██║ ╚████║ ██║ * ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═╝ */ // @notice: this is the 5+ mint for the UX/UI team // @param ids: Array of LBL id's to mint off of // This will take ids, and lock them out of the mapping // so an id can not remint a LL. Cost will be .1 eth per // length.ids/5. Can mint multiple. function publicMintFiveToOne( uint256[] memory ids ) public payable nonReentrant() { // locals address user = _msgSender(); // errors if (!lockedProvenance) { revert ProvenanceNotSet(); } if (timeOneStart == 0) { revert NoTimesSet(); } if (block.timestamp < timeOneStart) { revert ToEarly({ time: block.timestamp , startTime: timeOneStart }); } if (block.timestamp >= timeTwoStart) { revert ToLate({ time: block.timestamp , endTime: timeTwoStart }); } // checks & effects uint length = ids.length; uint quant; for(uint x=0; x < length;) { if (LBLUsed[ids[x]]) { revert AlreadyClaimed({ tokenID: ids[x] }); } if (LBLNFT.ownerOf(ids[x]) == user){ ++quant; LBLUsed[ids[x]] = true; } unchecked { ++x; } } quant = quant / 5; // 5:1 ratio for 0.1 eth if (_msgValue() != quant * MINT_FEE_ONE) { revert NotEnoughETH({ required: quant * MINT_FEE_ONE , sent: _msgValue() }); } // minting if (quant + _tokenIdCounter.current() >= MINT_SIZE) { revert OverMaximumMint(); } for(uint x=0; x < quant;) { _safeMint(user, mintID()); _tokenIdCounter.increment(); unchecked { ++x; } } } // @notice: this is the 3/4 mint for the UX/UI team // @param ids: Array of LBL id's to mint off of // This will take ids, and lock them out of the mapping // so an id can not remint a LL. Cost will be .15 eth // Can only mint one, locks out the mapping for threeToOne function publicMintThreeToOne( uint256[] memory ids ) public payable nonReentrant() { // locals address user = _msgSender(); // errors if (!lockedProvenance) { revert ProvenanceNotSet(); } if (timeOneStart == 0) { revert NoTimesSet(); } if (block.timestamp < timeOneStart) { revert ToEarly({ time: block.timestamp , startTime: timeOneStart }); } if (block.timestamp >= timeTwoStart) { revert ToLate({ time: block.timestamp , endTime: timeTwoStart }); } if (threeToOne[user]) { revert AlreadyMinted(); } // checks & effects threeToOne[user] = true; // locks them out uint length = ids.length; uint quant = 0; for(uint x=0; x < length;) { if (LBLUsed[ids[x]]) { revert AlreadyClaimed({ tokenID: ids[x] }); } if (LBLNFT.ownerOf(ids[x]) == user){ ++quant; LBLUsed[ids[x]] = true; } unchecked { ++x; } } if (quant == 0) { revert NullArray(); } if (quant >= 3) { if (_msgValue() != MINT_FEE_TWO) { revert NotEnoughETH({ required: MINT_FEE_TWO , sent: _msgValue() }); } // minting if (1 + _tokenIdCounter.current() >= MINT_SIZE) { revert OverMaximumMint(); } _safeMint(user, mintID()); _tokenIdCounter.increment(); } } // @notice: this is the whitelist mint funtion for UX/UI team // This will do the same checks, then set whitelist to false // then mint one LL for .15 eth. function whitelistMint() public payable nonReentrant() { // locals address user = _msgSender(); // errors if (!lockedProvenance) { revert ProvenanceNotSet(); } if (timeOneStart == 0) { revert NoTimesSet(); } if (block.timestamp < timeTwoStart) { revert ToEarly({ time: block.timestamp , startTime: timeTwoStart }); } if (block.timestamp >= timeThreeStart) { revert ToLate({ time: block.timestamp , endTime: timeThreeStart }); } // checks & effects bool check = _myWhitelistStatus(user); if (!check) { revert NotOnWhitelist(); } removeWhitelist(user); if (_msgValue() != MINT_FEE_TWO) { revert NotEnoughETH({ required: MINT_FEE_TWO , sent: _msgValue() }); } // minting if (1 + _tokenIdCounter.current() >= MINT_SIZE) { revert OverMaximumMint(); } _safeMint(user, mintID()); _tokenIdCounter.increment(); } // @notice: this is the 1/2 mint for the UX/UI team // @param ids: Array of LBL id's to mint off of // This will take ids, and lock them out of the mapping // so an id can not remint a LL. Cost will be .15 eth // Can only mint one, locks out the mapping for oneToOne function publicMintOneToOne( uint256 id ) public payable nonReentrant() { // locals address user = _msgSender(); // errors if (!lockedProvenance) { revert ProvenanceNotSet(); } if (timeOneStart == 0) { revert NoTimesSet(); } if (block.timestamp < timeThreeStart) { revert ToEarly({ time: block.timestamp , startTime: timeThreeStart }); } if (block.timestamp >= timeThreeEnd) { revert ToLate({ time: block.timestamp , endTime: timeThreeEnd }); } if (oneToOne[user]) { revert AlreadyMinted(); } if (_msgValue() != MINT_FEE_THREE) { revert NotEnoughETH({ required: MINT_FEE_THREE , sent: _msgValue() }); } if (LBLUsed[id]) { revert AlreadyClaimed({ tokenID: id }); } // checks & effects oneToOne[user] = true; // locks them out if (LBLNFT.ownerOf(id) == user){ LBLUsed[id] = true; } // consumes id // minting if (1 + _tokenIdCounter.current() >= MINT_SIZE) { revert OverMaximumMint(); } _safeMint(user, mintID()); _tokenIdCounter.increment(); } // @notice: this is the boss llama "airdrop" mint // @param ids: Array of address taken from snapshot // Will mint one token to each address in the array of // addresses. function bossLlamaAirdrop( address [] memory addresses ) public onlyOwner { if (!lockedProvenance) { revert ProvenanceNotSet(); } if (timeOneStart == 0) { revert NoTimesSet(); } if (lockedAirdrop) { revert AirdropLocked(); } uint length = addresses.length; if (length + _tokenIdCounter.current() >= MINT_SIZE) { revert OverMaximumMint(); } for(uint x=0; x < length;) { _safeMint(addresses[x], mintID()); _tokenIdCounter.increment(); unchecked { ++x; } } } // @notice: this is the public mint funtion for UX/UI team // This will do the same checks then mint quant of LL for .2 eth. // @param quant: amount to be minted function publicMint(uint quant) public payable nonReentrant() { // locals address user = _msgSender(); // errors if (!lockedProvenance) { revert ProvenanceNotSet(); } if (timeOneStart == 0) { revert NoTimesSet(); } if (block.timestamp < timeThreeEnd) { revert ToEarly({ time: block.timestamp , startTime: timeThreeEnd }); } if (quant > 2) { revert CanNotMintThatMany({ requested: quant , allowed: 2 }); } // checks & effects if (_msgValue() != quant * MINT_FEE_THREE) { revert NotEnoughETH({ required: MINT_FEE_THREE * quant , sent: _msgValue() }); } // minting if (quant + _tokenIdCounter.current() >= MINT_SIZE) { revert OverMaximumMint(); } for(uint x=0; x < quant;) { _safeMint(user, mintID()); _tokenIdCounter.increment(); unchecked { ++x; } } } // @notice this shifts the _tokenIdCounter to proper mint number function mintID() internal view returns (uint) { return (mintStartID + _tokenIdCounter.current()) % MINT_SIZE; } // Function to receive ether, msg.data must be empty receive() external payable { // From PaymentSplitter.sol, 99% of the time won't register emit PaymentReceived(_msgSender(), _msgValue()); } // Function to receive ether, msg.data is not empty fallback() external payable { // From PaymentSplitter.sol, 99% of the time won't register emit PaymentReceived(_msgSender(), _msgValue()); } function getBalance() external view returns (uint) { return address(this).balance; } /*** * ██████╗ ██╗ ██╗███╗ ██╗███████╗██████╗ * ██╔═══██╗██║ ██║████╗ ██║██╔════╝██╔══██╗ * ██║ ██║██║ █╗ ██║██╔██╗ ██║█████╗ ██████╔╝ * ██║ ██║██║███╗██║██║╚██╗██║██╔══╝ ██╔══██╗ * ╚██████╔╝╚███╔███╔╝██║ ╚████║███████╗██║ ██║ * ╚═════╝ ╚══╝╚══╝ ╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝ * This section will have all the internals set to onlyOwner */ // edit me... // @notice click this to start it up initally, for ease by onlyOwner // param timeOne: unix timestamp function startMinting(uint _start) public onlyOwner { timeOneStart = _start; timeTwoStart = _start + 1 days; timeThreeStart = _start + 2 days; timeThreeEnd = _start + 3 days; emit DayOneTimes(timeOneStart, timeTwoStart); emit DayTwoTimes(timeTwoStart, timeThreeStart); emit DayThreeTimes(timeThreeStart, timeThreeEnd); } // @notice external to the internal on WhitelistV2.sol // @param _addresses - array of addresses to add function addWhitelistBatch( address [] memory _addresses ) public onlyOwner { _addBatchWhitelist(_addresses); } // @notice adding functions to mapping // @param _address - address to add function addWhitelist( address _address ) public onlyOwner { _addWhitelist(_address); } // @notice removing functions to mapping // @param _addresses - array of addresses to remove function removeWhitelistBatch( address [] memory _addresses ) public onlyOwner { _removeBatchWhitelist(_addresses); } // @notice removing functions to mapping // @param _address - address to remove function removeWhitelist( address _address ) public onlyOwner { _removeWhitelist(_address); } /*** * ██████╗ ███████╗██╗ ██╗ * ██╔══██╗██╔════╝██║ ██║ * ██║ ██║█████╗ ██║ ██║ * ██║ ██║██╔══╝ ╚██╗ ██╔╝ * ██████╔╝███████╗ ╚████╔╝ * ╚═════╝ ╚══════╝ ╚═══╝ * This section will have all the internals set to onlyDeveloper() * also contains all overrides required for funtionality */ // @notice will add an address to PaymentSplitter by onlyDeveloper() role // @param newAddy: new address to add // @param newShares: amount of shares for newAddy function addPayee( address newAddy , uint newShares ) public onlyDeveloper() { // error if(lockedPayees) { revert PayeesAlreadySet(); } _addPayee(newAddy, newShares); } // @notice will lock payees on PaymentSplitter.sol function lockPayees() public onlyDeveloper() { // error if(lockedPayees) { revert PayeesAlreadySet(); } lockedPayees = true; emit PayeesLocked(lockedPayees); } // @notice will set IERC721 for LBL // @param update: LBL CA function setLBLCA( address update ) public onlyDeveloper() { LBLNFT = IERC721(update); emit LBLContractAddressUpdated(update); } // @notice will lock airdrop function lockAirdrop() public onlyDeveloper() { lockedAirdrop = true; emit AirdropIsLocked(lockedAirdrop); } // @notice will update _baseURI() by onlyDeveloper() role // @param _base: Base for NFT's function setBaseURI( string memory _base ) public onlyDeveloper() { string memory old = base; base = _base; emit UpdatedBaseURI(old, base); } // @notice will update by onlyDeveloper() role // @param _base: Base for unrevealed NFT's function setUnrevealedBaseURI( string memory _base ) public onlyDeveloper() { string memory old = base; unrevealedBase = _base; emit UpdatedUnrevealedBaseURI(old, unrevealedBase); } // @notice will reveal NFT's via tokenURI override function revealNFTs() public onlyDeveloper() { if (revealedNFT) { revert NFTsAlreadyRevealed(); } revealedNFT = true; emit NFTReveal(revealedNFT, block.timestamp); } // @notice will set the ContractURI for OpenSea function setContractURI(string memory _contractURI) public onlyDeveloper() { _setContractURI(_contractURI); } // @notice this will set the Provenance Hashes // This will also set the starting order as well! // Only one shot to do this, otherwise it shows as invalid function setProvenance(string memory _images, string memory _json) public onlyDeveloper() { // errors if (!lockedPayees) { revert PayeesNotSet(); } if (lockedProvenance) { revert ProvenanceAlreadySet(); } // This is the initial setting _setProvenanceImages(_images); _setProvenanceJSON(_json); // Now to psuedo-random the starting number // Your API should be a random before this step! mintStartID = uint(keccak256(abi.encodePacked(block.timestamp, _msgSender(), _images, _json, block.difficulty))) % MINT_SIZE; _setStartNumber(mintStartID); // @notice Locks sequence lockedProvenance = true; emit ProvenanceLocked(lockedProvenance); } /// /// Developer, these are the overrides /// // @notice solidity required override for _baseURI() function _baseURI() internal view override returns (string memory) { return base; } // @notice internal function for unrevealedBase function _unrevealedURI() internal view returns (string memory) { return unrevealedBase; } // @notice this is the toggle between revealed and non revealed NFT's function tokenURI(uint256 tokenId) public view virtual override(ERC721) returns (string memory) { if (ownerOf(tokenId) == address(0)) { revert NonMintedToken({ token: tokenId }); } if (!revealedNFT) { string memory baseURI = _unrevealedURI(); return bytes(baseURI).length > 0 ? string(unrevealedBase) : ""; } else { string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } } // @notice solidity required override for supportsInterface(bytes4) // @param bytes4 interfaceId - bytes4 id per interface or contract // calculated by ERC165 standards automatically function supportsInterface(bytes4 interfaceId) public view override(ERC721, IERC165) returns (bool) { return ( interfaceId == type(ReentrancyGuard).interfaceId || interfaceId == type(WhitelistV2).interfaceId || interfaceId == type(MaxAccess).interfaceId || interfaceId == type(PaymentSplitterV2).interfaceId || interfaceId == type(Llamas).interfaceId || interfaceId == type(ContractURI).interfaceId || super.supportsInterface(interfaceId) ); } // @notice will return bool for isClaimed function isClaimed(uint _tokenId) external view returns (bool) { return LBLUsed[_tokenId]; } // @notice will return epoch 1 function epochOne() external view returns (uint, uint) { return (timeOneStart, timeTwoStart); } // @notice will return epoch 2 function epochTwo() external view returns (uint, uint) { return (timeTwoStart, timeThreeStart); } // @notice will return epoch 3 function epochThree() external view returns (uint, uint) { return (timeThreeStart, timeThreeEnd); } // @notice will return minting fees function minterFeesFivePlus() external view returns (uint) { return MINT_FEE_ONE; } // @notice will return minting fees function minterFeesThreePlusOrWL() external view returns (uint) { return MINT_FEE_TWO; } // @notice will return minting fees function minterFeesOnePlusDayThree() external view returns (uint) { return MINT_FEE_THREE; } // @notice will return maximum mint capacity function minterMaximumCapacity() external view returns (uint) { return MINT_SIZE; } // @notice will return current token count function totalSupply() external view returns (uint) { return _tokenIdCounter.current(); } }
/*** * ██████╗ ██████╗ ███╗ ██╗████████╗███████╗██╗ ██╗████████╗ * ██╔════╝██╔═══██╗████╗ ██║╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝ * ██║ ██║ ██║██╔██╗ ██║ ██║ █████╗ ╚███╔╝ ██║ * ██║ ██║ ██║██║╚██╗██║ ██║ ██╔══╝ ██╔██╗ ██║ * ╚██████╗╚██████╔╝██║ ╚████║ ██║ ███████╗██╔╝ ██╗ ██║ * ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ * This is a re-write of @openzeppelin/contracts/utils/Context.sol * Rewritten by MaxFlowO2, Senior Developer and Partner of G&M² Labs * Follow me on https://github.com/MaxflowO2 or Twitter @MaxFlowO2 * email: [email protected] * * Upgraded with _msgValue() and _txOrigin() as ContextV2 on 31 Dec 2021 */ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 ContextV2 { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _msgValue() internal view virtual returns (uint) { return msg.value; } function _txOrigin() internal view virtual returns (address) { return tx.origin; } }
/*** * ███████╗██████╗ ██████╗███████╗██████╗ ██╗ * ██╔════╝██╔══██╗██╔════╝╚════██║╚════██╗███║ * █████╗ ██████╔╝██║ ██╔╝ █████╔╝╚██║ * ██╔══╝ ██╔══██╗██║ ██╔╝ ██╔═══╝ ██║ * ███████╗██║ ██║╚██████╗ ██║ ███████╗ ██║ * ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝ ╚═╝ * This is a re-write of @openzeppelin/contracts/token/ERC721/ERC721.sol * Rewritten by MaxFlowO2, Senior Developer and Partner of G&M² Labs * Follow me on https://github.com/MaxflowO2 or Twitter @MaxFlowO2 * email: [email protected] * * Updated to ContextV2, and removed ERC165 calculations on 31 Dec 2021 */ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; 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 "../../utils/ContextV2.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is ContextV2, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
/*** * ██╗ ██╗██╗ ██╗██╗████████╗███████╗ * ██║ ██║██║ ██║██║╚══██╔══╝██╔════╝ * ██║ █╗ ██║███████║██║ ██║ █████╗ * ██║███╗██║██╔══██║██║ ██║ ██╔══╝ * ╚███╔███╔╝██║ ██║██║ ██║ ███████╗ * ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚══════╝ * * ██╗ ██╗███████╗████████╗ * ██║ ██║██╔════╝╚══██╔══╝ * ██║ ██║███████╗ ██║ * ██║ ██║╚════██║ ██║ * ███████╗██║███████║ ██║ * ╚══════╝╚═╝╚══════╝ ╚═╝ * @title Whitelist * @author @MaxFlowO2 (Twitter/GitHub) * @dev provides a use case of Library Whitelist use in v2.2 * Written on 22 Jan 2022, using LBL Tech! * * Can be used on all "Tokens" ERC-20, ERC-721, ERC-777, ERC-1155 or whatever * Solidity contract you can think of! */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "../lib/Whitelist.sol"; abstract contract WhitelistV2 { using Whitelist for Whitelist.List; Whitelist.List private whitelist; function _addWhitelist(address newAddress) internal { whitelist.add(newAddress); } function _addBatchWhitelist(address[] memory newAddresses) internal { uint length = newAddresses.length; for(uint x = 0; x < length;) { whitelist.add(newAddresses[x]); unchecked { ++x; } } } function _removeWhitelist(address newAddress) internal { whitelist.remove(newAddress); } function _removeBatchWhitelist(address[] memory newAddresses) internal { uint length = newAddresses.length; for(uint x = 0; x < length;) { whitelist.remove(newAddresses[x]); unchecked { ++x; } } } function _enableWhitelist() internal { whitelist.enable(); } function _disableWhitelist() internal { whitelist.disable(); } // @notice rename this to whatever you want timestamp/quant of tokens sold // @dev will set the ending uint of whitelist // @param endNumber - uint for the end (quant or timestamp) function _setEndOfWhitelist(uint endNumber) internal { whitelist.setEnd(endNumber); } // @dev will return user status on whitelist // @return - bool if whitelist is enabled or not // @param myAddress - any user account address, EOA or contract function _myWhitelistStatus(address myAddress) internal view returns (bool) { return whitelist.onList(myAddress); } // @dev will return user status on whitelist // @return - bool if whitelist is enabled or not // @param myAddress - any user account address, EOA or contract function myWhitelistStatus(address myAddress) external view returns (bool) { return whitelist.onList(myAddress); } // @dev will return status of whitelist // @return - bool if whitelist is enabled or not function whitelistStatus() external view returns (bool) { return whitelist.status(); } // @dev will return whitelist end (quantity or time) // @return - uint of either number of whitelist mints or // a timestamp function whitelistEnd() external view returns (uint) { return whitelist.showEnd(); } // @dev will return totat on whitelist // @return - uint from CountersV2.Count function TotalOnWhitelist() external view returns (uint) { return whitelist.totalAdded(); } // @dev will return totat used on whitelist // @return - uint from CountersV2.Count function TotalWhiteListUsed() external view returns (uint) { return whitelist.totalRemoved(); } // @dev will return totat used on whitelist // @return - uint aka xxxx = xx.xx% function WhitelistEfficiency() external view returns (uint) { if(whitelist.totalRemoved() == 0) { return 0; } else { return whitelist.totalRemoved() * 10000 / whitelist.totalAdded(); } } }
/*** * ██████╗ █████╗ ██╗ ██╗███╗ ███╗███████╗███╗ ██╗████████╗ * ██╔══██╗██╔══██╗╚██╗ ██╔╝████╗ ████║██╔════╝████╗ ██║╚══██╔══╝ * ██████╔╝███████║ ╚████╔╝ ██╔████╔██║█████╗ ██╔██╗ ██║ ██║ * ██╔═══╝ ██╔══██║ ╚██╔╝ ██║╚██╔╝██║██╔══╝ ██║╚██╗██║ ██║ * ██║ ██║ ██║ ██║ ██║ ╚═╝ ██║███████╗██║ ╚████║ ██║ * ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝ * * ███████╗██████╗ ██╗ ██╗████████╗████████╗███████╗██████╗ * ██╔════╝██╔══██╗██║ ██║╚══██╔══╝╚══██╔══╝██╔════╝██╔══██╗ * ███████╗██████╔╝██║ ██║ ██║ ██║ █████╗ ██████╔╝ * ╚════██║██╔═══╝ ██║ ██║ ██║ ██║ ██╔══╝ ██╔══██╗ * ███████║██║ ███████╗██║ ██║ ██║ ███████╗██║ ██║ * ╚══════╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ * This is a re-write of @openzeppelin/contracts/finance/PaymentSplitter.sol * Rewritten by MaxFlowO2, Senior Developer and Partner of G&M² Labs * Follow me on https://github.com/MaxflowO2 or Twitter @MaxFlowO2 * email: [email protected] */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/Address.sol"; import "../utils/ContextV2.sol"; // Removal of SafeMath due to ^0.8.0 standards, not needed /** * @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. */ abstract contract PaymentSplitterV2 is ContextV2 { 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 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 virtual { * emit PaymentReceived(_msgSender(), msg.value); * } * * // Fallback function is called when msg.data is not empty * // Added to PaymentSplitter.sol * fallback() external payable { * emit PaymentReceived(_msgSender(), msg.value); * } * * receive() and fallback() to be handled at final contract */ /** * @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. */ // This function was updated from "account" to _msgSender() function claim() public virtual { address check = _msgSender(); require(_shares[check] > 0, "PaymentSplitter: You have no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[check]) / _totalShares - _released[check]; require(payment != 0, "PaymentSplitter: You are not due payment"); _released[check] = _released[check] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(payable(check), payment); emit PaymentReleased(check, payment); } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ // This function was updated to internal 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_); } }
/*** * ██╗ ██╗ █████╗ ███╗ ███╗ █████╗ ███████╗ * ██║ ██║ ██╔══██╗████╗ ████║██╔══██╗██╔════╝ * ██║ ██║ ███████║██╔████╔██║███████║███████╗ * ██║ ██║ ██╔══██║██║╚██╔╝██║██╔══██║╚════██║ * ███████╗███████╗██║ ██║██║ ╚═╝ ██║██║ ██║███████║ * ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ * Written by MaxFlowO2, Interim CEO and CTO of G&M² Labs * Follow me on https://github.com/MaxflowO2 or Twitter @MaxFlowO2 * email: [email protected] * * Purpose: Insipired by BAYC on Ethereum, Sets Provenace Hashes and More * Source: https://etherscan.io/address/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d#code * * Updated: Does the Provenace Hashes for Iamges and JSONS. */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "../interface/ILlamas.sol"; abstract contract Llamas is Illamas { event SetProvenanceImages(string _new, string _old); event SetProvenanceJSON(string _new, string _old); event SetTimestamp(uint _new, uint _old); event SetStartNumber(uint _new, uint _old); uint256 private timestamp; uint256 private startNumber; string private ProvenanceImages; string private ProvenanceJSON; // @notice will set reveal timestamp function _setRevealTimestamp(uint256 _timestamp) internal { uint256 old = timestamp; timestamp = _timestamp; emit SetTimestamp(timestamp, old); } // @notice will set start number function _setStartNumber(uint256 _startNumber) internal { uint256 old = startNumber; startNumber = _startNumber; emit SetStartNumber(startNumber, old); } // @notice will set JSON Provenance function _setProvenanceJSON(string memory _ProvenanceJSON) internal { string memory old = ProvenanceJSON; ProvenanceJSON = _ProvenanceJSON; emit SetProvenanceJSON(ProvenanceJSON, old); } // @notice will set Images Provenance function _setProvenanceImages(string memory _ProvenanceImages) internal { string memory old = ProvenanceImages; ProvenanceImages = _ProvenanceImages; emit SetProvenanceImages(ProvenanceImages, old); } // @notice will return timestamp of reveal function RevealTimestamp() external view override(Illamas) returns (uint256) { return timestamp; } // @notice will return Provenance hash of images function RevealProvenanceImages() external view override(Illamas) returns (string memory) { return ProvenanceImages; } // @notice will return Provenance hash of metadata function RevealProvenanceJSON() external view override(Illamas) returns (string memory) { return ProvenanceJSON; } // @notice will return starting number for mint function RevealStartNumber() external view override(Illamas) returns (uint256) { return startNumber; } }
/*** * ██████╗ ██████╗ ███╗ ██╗████████╗██████╗ █████╗ ██████╗████████╗ ██╗ ██╗██████╗ ██╗ * ██╔════╝██╔═══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔══██╗██╔════╝╚══██╔══╝ ██║ ██║██╔══██╗██║ * ██║ ██║ ██║██╔██╗ ██║ ██║ ██████╔╝███████║██║ ██║ ██║ ██║██████╔╝██║ * ██║ ██║ ██║██║╚██╗██║ ██║ ██╔══██╗██╔══██║██║ ██║ ██║ ██║██╔══██╗██║ * ╚██████╗╚██████╔╝██║ ╚████║ ██║ ██║ ██║██║ ██║╚██████╗ ██║ ╚██████╔╝██║ ██║██║ * ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ * Written by MaxFlowO2, Senior Developer and Partner of G&M² Labs * Follow me on https://github.com/MaxflowO2 or Twitter @MaxFlowO2 * email: [email protected] * * Purpose: OpenSea compliance on chain ID #1-5 */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "../interface/IContractURI.sol"; abstract contract ContractURI is IContractURI { event ContractURIChange(string _new, string _old); string private thisContractURI; // @notice this sets the contractURI function _setContractURI(string memory newURI) internal { string memory old = thisContractURI; thisContractURI = newURI; emit ContractURIChange(thisContractURI, old); } // @notice will return string _ContractURI // contractURI() => 0xe8a3d485 function contractURI() external view override(IContractURI) returns (string memory) { return thisContractURI; } }
/*** * ██╗ ██╗██╗ ██╗██╗████████╗███████╗██╗ ██╗███████╗████████╗ * ██║ ██║██║ ██║██║╚══██╔══╝██╔════╝██║ ██║██╔════╝╚══██╔══╝ * ██║ █╗ ██║███████║██║ ██║ █████╗ ██║ ██║███████╗ ██║ * ██║███╗██║██╔══██║██║ ██║ ██╔══╝ ██║ ██║╚════██║ ██║ * ╚███╔███╔╝██║ ██║██║ ██║ ███████╗███████╗██║███████║ ██║ * ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚══════╝╚══════╝╚═╝╚══════╝ ╚═╝ * @title Whitelist * @author @MaxFlowO2 on Twitter/GitHub * Written on 12 Jan 2022, post Laid Back Llamas, aka LLAMA TECH! * @dev Provides a whitelist capability that can be added to and removed easily. With * a modified version of Countes.sol from openzeppelin 4.4.1 you can track numbers of who's * on the whitelist and who's been removed from the whitelist, showing clear statistics of * your contract's whitelist usage. * * Include with 'using Whitelist for Whitelist.List;' */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "./CountersV2.sol"; library Whitelist { using CountersV2 for CountersV2.Counter; event WhiteListEndChanged(uint _old, uint _new); event WhiteListChanged(bool _old, bool _new, address _address); event WhiteListStatus(bool _old, bool _new); struct List { // These variables should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 bool enabled; //default is false, CountersV2.Counter _added; // default 0, no need to _added.set(uint) CountersV2.Counter _removed; // default 0, no need to _removed.set(uint) uint end; // default 0, this can be time or quant mapping(address => bool) _list; // all values default to false } function add(List storage list, address _address) internal { require(!list._list[_address], "Whitelist: Address already whitelisted."); // since now all previous values are false no need for another variable // and add them to the list! list._list[_address] = true; // increment counter list._added.increment(); // emit event emit WhiteListChanged(false, list._list[_address], _address); } function remove(List storage list, address _address) internal { require(list._list[_address], "Whitelist: Address already not whitelisted."); // since now all previous values are true no need for another variable // and remove them from the list! list._list[_address] = false; // increment counter list._removed.increment(); // emit event emit WhiteListChanged(true, list._list[_address], _address); } function enable(List storage list) internal { require(!list.enabled, "Whitelist: Whitelist already enabled."); list.enabled = true; emit WhiteListStatus(false, list.enabled); } function disable(List storage list) internal { require(list.enabled, "Whitelist: Whitelist already enabled."); list.enabled = false; emit WhiteListStatus(true, list.enabled); } function setEnd(List storage list, uint newEnd) internal { require(list.end != newEnd, "Whitelist: End already set to that value."); uint old = list.end; list.end = newEnd; emit WhiteListEndChanged(old, list.end); } function status(List storage list) internal view returns (bool) { return list.enabled; } function totalAdded(List storage list) internal view returns (uint) { return list._added.current(); } function totalRemoved(List storage list) internal view returns (uint) { return list._removed.current(); } function onList(List storage list, address _address) internal view returns (bool) { return list._list[_address]; } function showEnd(List storage list) internal view returns (uint) { return list.end; } }
/*** * ██████╗ ██████╗ ██╗ ██╗███╗ ██╗████████╗███████╗██████╗ ███████╗ * ██╔════╝██╔═══██╗██║ ██║████╗ ██║╚══██╔══╝██╔════╝██╔══██╗██╔════╝ * ██║ ██║ ██║██║ ██║██╔██╗ ██║ ██║ █████╗ ██████╔╝███████╗ * ██║ ██║ ██║██║ ██║██║╚██╗██║ ██║ ██╔══╝ ██╔══██╗╚════██║ * ╚██████╗╚██████╔╝╚██████╔╝██║ ╚████║ ██║ ███████╗██║ ██║███████║ * ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚══════╝ * @title CountersV2 * @author Matt Condon (@shrugs), and @MaxFlowO2 (edits) * @dev Provides counters that can only be incremented, decremented, reset or set. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Edited by @MaxFlowO2 for more NFT functionality on 13 Jan 2022 * added .set(uint) so if projects need to start at say 1 or some random number they can * and an event log for numbers being reset or set. * * Include with `using CountersV2 for CountersV2.Counter;` */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library CountersV2 { error NegativeNumber(); event CounterNumberChangedTo(uint _number); struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; if (value == 0) { revert NegativeNumber(); } unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; emit CounterNumberChangedTo(counter._value); } function set(Counter storage counter, uint number) internal { counter._value = number; emit CounterNumberChangedTo(counter._value); } }
/*** * █████╗ ██████╗ ██████╗███████╗███████╗███████╗ * ██╔══██╗██╔════╝██╔════╝██╔════╝██╔════╝██╔════╝ * ███████║██║ ██║ █████╗ ███████╗███████╗ * ██╔══██║██║ ██║ ██╔══╝ ╚════██║╚════██║ * ██║ ██║╚██████╗╚██████╗███████╗███████║███████║ * ╚═╝ ╚═╝ ╚═════╝ ╚═════╝╚══════╝╚══════╝╚══════╝ * @title Access * @author @MaxFlowO2 * @dev Library function for EIP 173 Ownable standards in EVM, this is useful * for granting role based modifiers, and by using this blah blah blah. */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library Access { event AccessTransferred(address indexed newAddress, address indexed oldAddress); struct Role { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 address _active; // who's the active role address _pending; // who's the pending role address[] _historical; // array of addresses with the role (useful for "reclaiming" roles) } function active(Role storage role) internal view returns (address) { return role._active; } function pending(Role storage role) internal view returns (address) { return role._pending; } function historical(Role storage role) internal view returns (address[] storage) { return role._historical; } function transfer(Role storage role, address newAddress) internal { role._pending = newAddress; } function modifyArray(Role storage role) internal { role._historical.push(role._active); } function accept(Role storage role) internal { address oldAddy = role._active; role._active = role._pending; role._pending = address(0); emit AccessTransferred( role._active , oldAddy ); } function decline(Role storage role) internal { role._pending = address(0); } function push(Role storage role, address newAddress) internal { address oldAddy = role._active; role._active = newAddress; role._pending = address(0); emit AccessTransferred( role._active , oldAddy ); } }
/*** * ██╗██╗ ██╗ █████╗ ███╗ ███╗ █████╗ ███████╗ * ██║██║ ██║ ██╔══██╗████╗ ████║██╔══██╗██╔════╝ * ██║██║ ██║ ███████║██╔████╔██║███████║███████╗ * ██║██║ ██║ ██╔══██║██║╚██╔╝██║██╔══██║╚════██║ * ██║███████╗███████╗██║ ██║██║ ╚═╝ ██║██║ ██║███████║ * ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ * Written by MaxFlowO2, Interim CEO and CTO of G&M² Labs * Follow me on https://github.com/MaxflowO2 or Twitter @MaxFlowO2 * email: [email protected] * * Purpose: Insipired by BAYC on Ethereum, Sets Provential Hashes and More * Source: https://etherscan.io/address/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d#code */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; interface Illamas is IERC165{ // @notice will return timestamp of reveal // RevealTimestamp() => 0x83ba7c1d function RevealTimestamp() external view returns (uint256); // @notice will return Provenance hash of images // RevealProvenanceImages() => 0xd792d2a0 function RevealProvenanceImages() external view returns (string memory); // @notice will return Provenance hash of metadata // RevealProvenanceJSON() => 0x94352676 function RevealProvenanceJSON() external view returns (string memory); // @notice will return starting number for mint // RevealStartNumber() => 0x1efb051a function RevealStartNumber() external view returns (uint256); }
/*** * ██╗ ██████╗ ██████╗ ███╗ ██╗████████╗██████╗ █████╗ ██████╗████████╗ ██╗ ██╗██████╗ ██╗ * ██║██╔════╝██╔═══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔══██╗██╔════╝╚══██╔══╝ ██║ ██║██╔══██╗██║ * ██║██║ ██║ ██║██╔██╗ ██║ ██║ ██████╔╝███████║██║ ██║ ██║ ██║██████╔╝██║ * ██║██║ ██║ ██║██║╚██╗██║ ██║ ██╔══██╗██╔══██║██║ ██║ ██║ ██║██╔══██╗██║ * ██║╚██████╗╚██████╔╝██║ ╚████║ ██║ ██║ ██║██║ ██║╚██████╗ ██║ ╚██████╔╝██║ ██║██║ * ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ * Written by MaxFlowO2, Senior Developer and Partner of G&M² Labs * Follow me on https://github.com/MaxflowO2 or Twitter @MaxFlowO2 * email: [email protected] * * Purpose: OpenSea compliance on chain ID #1-5 */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; interface IContractURI is IERC165{ // @notice this is the contractURI() for OpeanSea compliance // contractURI() => 0xe8a3d485 function contractURI() external view returns (string memory); }
/*** * ███████╗██╗██████╗ ██████╗ █████╗ █████╗ ██╗ * ██╔════╝██║██╔══██╗ ╚════██╗██╔══██╗██╔══██╗███║ * █████╗ ██║██████╔╝█████╗ █████╔╝╚██████║╚█████╔╝╚██║ * ██╔══╝ ██║██╔═══╝ ╚════╝██╔═══╝ ╚═══██║██╔══██╗ ██║ * ███████╗██║██║ ███████╗ █████╔╝╚█████╔╝ ██║ * ╚══════╝╚═╝╚═╝ ╚══════╝ ╚════╝ ╚════╝ ╚═╝ * Zach Burks, James Morgan, Blaine Malone, James Seibel, * "EIP-2981: NFT Royalty Standard," * Ethereum Improvement Proposals, no. 2981, September 2020. [Online serial]. * Available: https://eips.ethereum.org/EIPS/eip-2981. * * Minor edit on comments to mirror the rest of the interfaces * by @MaxFlowO2 on 29 Dec 2021 for v2.1 */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /// /// @dev Interface for the NFT Royalty Standard /// interface IERC2981 is IERC165 { // ERC165 // royaltyInfo(uint256,uint256) => 0x2a55205a // IERC2981 => 0x2a55205a // @notice Called with the sale price to determine how much royalty // is owed and to whom. // @param _tokenId - the NFT asset queried for royalty information // @param _salePrice - the sale price of the NFT asset specified by _tokenId // @return receiver - address of who should be sent the royalty payment // @return royaltyAmount - the royalty payment amount for _salePrice // ERC165 datum royaltyInfo(uint256,uint256) => 0x2a55205a function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount); }
/*** * ███████╗██████╗ ██████╗██████╗ █████╗ █████╗ ██╗ * ██╔════╝██╔══██╗██╔════╝╚════██╗██╔══██╗██╔══██╗███║ * █████╗ ██████╔╝██║ █████╔╝╚██████║╚█████╔╝╚██║ * ██╔══╝ ██╔══██╗██║ ██╔═══╝ ╚═══██║██╔══██╗ ██║ * ███████╗██║ ██║╚██████╗███████╗ █████╔╝╚█████╔╝ ██║ * ╚══════╝╚═╝ ╚═╝ ╚═════╝╚══════╝ ╚════╝ ╚════╝ ╚═╝ * * ██████╗ ██████╗ ██╗ ██╗ ███████╗ ██████╗████████╗██╗ ██████╗ ███╗ ██╗ * ██╔════╝██╔═══██╗██║ ██║ ██╔════╝██╔════╝╚══██╔══╝██║██╔═══██╗████╗ ██║ * ██║ ██║ ██║██║ ██║ █████╗ ██║ ██║ ██║██║ ██║██╔██╗ ██║ * ██║ ██║ ██║██║ ██║ ██╔══╝ ██║ ██║ ██║██║ ██║██║╚██╗██║ * ╚██████╗╚██████╔╝███████╗███████╗███████╗╚██████╗ ██║ ██║╚██████╔╝██║ ╚████║ * ╚═════╝ ╚═════╝ ╚══════╝╚══════╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ * Written by MaxFlowO2, Senior Developer and Partner of G&M² Labs * Follow me on https://github.com/MaxflowO2 or Twitter @MaxFlowO2 * email: [email protected] */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "./IERC2981.sol"; abstract contract ERC2981Collection is IERC2981 { // ERC165 // royaltyInfo(uint256,uint256) => 0x2a55205a // ERC2981Collection => 0x2a55205a address private royaltyAddress; uint256 private royaltyPercent; // Set to be internal function _setRoyalties function _setRoyalties(address _receiver, uint256 _percentage) internal { royaltyAddress = _receiver; royaltyPercent = _percentage; } // Override for royaltyInfo(uint256, uint256) // royaltyInfo(uint256,uint256) => 0x2a55205a function royaltyInfo( uint256 _tokenId, uint256 _salePrice ) external view override(IERC2981) returns ( address receiver, uint256 royaltyAmount ) { receiver = royaltyAddress; // This sets permille by price * percentage / 1000 royaltyAmount = _salePrice * royaltyPercent / 1000; } }
/*** * ███╗ ███╗ █████╗ ██╗ ██╗███████╗██╗ ██████╗ ██╗ ██╗ * ████╗ ████║██╔══██╗╚██╗██╔╝██╔════╝██║ ██╔═══██╗██║ ██║ * ██╔████╔██║███████║ ╚███╔╝ █████╗ ██║ ██║ ██║██║ █╗ ██║ * ██║╚██╔╝██║██╔══██║ ██╔██╗ ██╔══╝ ██║ ██║ ██║██║███╗██║ * ██║ ╚═╝ ██║██║ ██║██╔╝ ██╗██║ ███████╗╚██████╔╝╚███╔███╔╝ * ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝ ╚═════╝ ╚══╝╚══╝ * * █████╗ ██████╗ ██████╗███████╗███████╗███████╗ * ██╔══██╗██╔════╝██╔════╝██╔════╝██╔════╝██╔════╝ * ███████║██║ ██║ █████╗ ███████╗███████╗ * ██╔══██║██║ ██║ ██╔══╝ ╚════██║╚════██║ * ██║ ██║╚██████╗╚██████╗███████╗███████║███████║ * ╚═╝ ╚═╝ ╚═════╝ ╚═════╝╚══════╝╚══════╝╚══════╝ * * ██████╗ ██████╗ ███╗ ██╗████████╗██████╗ ██████╗ ██╗ * ██╔════╝██╔═══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔═══██╗██║ * ██║ ██║ ██║██╔██╗ ██║ ██║ ██████╔╝██║ ██║██║ * ██║ ██║ ██║██║╚██╗██║ ██║ ██╔══██╗██║ ██║██║ * ╚██████╗╚██████╔╝██║ ╚████║ ██║ ██║ ██║╚██████╔╝███████╗ * ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ * @title MaxFlowO2 Access Control * @author @MaxFlowO2 on twitter/github * @dev this is an EIP 173 compliant ownable plus access control mechanism where you can * copy/paste what access role(s) you need or want. This is due to Library Access, and * using this line of 'using Role for Access.Role' after importing my library */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "../lib/Access.sol"; import "../utils/ContextV2.sol"; abstract contract MaxAccess is ContextV2 { using Access for Access.Role; // events // Roles Access.Role private _owner; Access.Role private _developer; // Constructor to init() constructor() { _owner.push(_msgSender()); _developer.push(_msgSender()); } // Modifiers modifier onlyOwner() { require(_owner.active() == _msgSender(), "EIP173: You are not Owner!"); _; } modifier onlyNewOwner() { require(_owner.pending() == _msgSender(), "EIP173: You are not the Pending Owner!"); _; } function owner() public view virtual returns (address) { return _owner.active(); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "EIP173: Transfer can not be address(0)"); _owner.transfer(newOwner); } function acceptOwnership() public virtual onlyNewOwner { _owner.accept(); } function declineOwnership() public virtual onlyNewOwner { _owner.decline(); } function pushOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "EIP173: Transfer can not be address(0)"); _owner.push(newOwner); } function renounceOwnership() public virtual onlyOwner { _owner.push(address(0)); } // Modifiers modifier onlyDeveloper() { require(_developer.active() == _msgSender(), "EIP173: You are not Developer!"); _; } modifier onlyNewDeveloper() { require(_developer.pending() == _msgSender(), "EIP173: You are not the Pending Developer!"); _; } function developer() public view virtual returns (address) { return _developer.active(); } function transferDeveloper(address newDeveloper) public virtual onlyDeveloper { require(newDeveloper != address(0), "EIP173: Transfer can not be address(0)"); _developer.transfer(newDeveloper); } function acceptDeveloper() public virtual onlyNewDeveloper { _developer.accept(); } function declineDeveloper() public virtual onlyNewDeveloper { _developer.decline(); } function pushDeveloper(address newDeveloper) public virtual onlyDeveloper { require(newDeveloper != address(0), "EIP173: Transfer can not be address(0)"); _developer.push(newDeveloper); } function renounceDeveloper() public virtual onlyDeveloper { _developer.push(address(0)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (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.0 (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.0 (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.0 (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.0 (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.0 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 100 }, "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"},{"inputs":[],"name":"AirdropLocked","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"AlreadyClaimed","type":"error"},{"inputs":[],"name":"AlreadyMinted","type":"error"},{"inputs":[{"internalType":"uint256","name":"requested","type":"uint256"},{"internalType":"uint256","name":"allowed","type":"uint256"}],"name":"CanNotMintThatMany","type":"error"},{"inputs":[],"name":"NFTsAlreadyRevealed","type":"error"},{"inputs":[],"name":"NoTimesSet","type":"error"},{"inputs":[{"internalType":"uint256","name":"token","type":"uint256"}],"name":"NonMintedToken","type":"error"},{"inputs":[{"internalType":"uint256","name":"required","type":"uint256"},{"internalType":"uint256","name":"sent","type":"uint256"}],"name":"NotEnoughETH","type":"error"},{"inputs":[],"name":"NotOnWhitelist","type":"error"},{"inputs":[],"name":"NullArray","type":"error"},{"inputs":[],"name":"OverMaximumMint","type":"error"},{"inputs":[],"name":"PayeesAlreadySet","type":"error"},{"inputs":[],"name":"PayeesNotSet","type":"error"},{"inputs":[],"name":"ProvenanceAlreadySet","type":"error"},{"inputs":[],"name":"ProvenanceNotSet","type":"error"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"}],"name":"ToEarly","type":"error"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"ToLate","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"AirdropIsLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_new","type":"string"},{"indexed":false,"internalType":"string","name":"_old","type":"string"}],"name":"ContractURIChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"end","type":"uint256"}],"name":"DayOneTimes","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"end","type":"uint256"}],"name":"DayThreeTimes","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"end","type":"uint256"}],"name":"DayTwoTimes","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_update","type":"address"}],"name":"LBLContractAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"NFTReveal","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":"bool","name":"_status","type":"bool"}],"name":"PayeesLocked","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":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"ProvenanceLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_new","type":"string"},{"indexed":false,"internalType":"string","name":"_old","type":"string"}],"name":"SetProvenanceImages","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_new","type":"string"},{"indexed":false,"internalType":"string","name":"_old","type":"string"}],"name":"SetProvenanceJSON","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"}],"name":"SetStartNumber","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"}],"name":"SetTimestamp","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_old","type":"string"},{"indexed":false,"internalType":"string","name":"_new","type":"string"}],"name":"UpdatedBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_old","type":"string"},{"indexed":false,"internalType":"string","name":"_new","type":"string"}],"name":"UpdatedUnrevealedBaseURI","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"RevealProvenanceImages","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RevealProvenanceJSON","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RevealStartNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RevealTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalOnWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalWhiteListUsed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WhitelistEfficiency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptDeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddy","type":"address"},{"internalType":"uint256","name":"newShares","type":"uint256"}],"name":"addPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addWhitelistBatch","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":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"bossLlamaAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"declineDeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"declineOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"developer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epochOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epochThree","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epochTwo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockPayees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minterFeesFivePlus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minterFeesOnePlusDayThree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minterFeesThreePlusOrWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minterMaximumCapacity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"myAddress","type":"address"}],"name":"myWhitelistStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"oneToOne","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quant","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"publicMintFiveToOne","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"publicMintOneToOne","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"publicMintThreeToOne","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newDeveloper","type":"address"}],"name":"pushDeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"pushOwnership","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":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeWhitelistBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceDeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_base","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"update","type":"address"}],"name":"setLBLCA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_images","type":"string"},{"internalType":"string","name":"_json","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_base","type":"string"}],"name":"setUnrevealedBaseURI","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":"uint256","name":"_start","type":"uint256"}],"name":"startMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"threeToOne","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newDeveloper","type":"address"}],"name":"transferDeveloper","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":[],"name":"whitelistEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252600b81526a4c616479204c6c616d617360a81b602080830191825283518085019094526002845261131360f21b9084015281519192916200005f9160009162000129565b5080516200007590600190602084019062000129565b505050620000a26200008c620000c860201b60201c565b6017620000cc60201b62002d9f1790919060201c565b620000bd33601a620000cc60201b62002d9f1790919060201c565b6001601d556200020b565b3390565b81546001600160a01b038281166001600160a01b0319808416821786556001860180549091169055604051919092169182917f1844b631de43b47d03d5769120a0a909d13786f6cadbd4b9118b180b82648fb390600090a3505050565b8280546200013790620001cf565b90600052602060002090601f0160209004810192826200015b5760008555620001a6565b82601f106200017657805160ff1916838001178555620001a6565b82800160010185558215620001a6579182015b82811115620001a657825182559160200191906001019062000189565b50620001b4929150620001b8565b5090565b5b80821115620001b45760008155600101620001b9565b600181811c90821680620001e457607f821691505b6020821081036200020557634e487b7160e01b600052602260045260246000fd5b50919050565b614a1f806200021b6000396000f3fe6080604052600436106103f05760003560e01c806379ba509711610214578063ad6d9c171161011e578063ce7c2ac2116100b6578063e8a3d4851161007a578063e8a3d48514610c3b578063e985e9c514610c50578063f2fde38b14610c70578063f80f5dd514610c90578063f97c187114610cb057610431565b8063ce7c2ac214610b9b578063d39ce77c14610bd1578063d792d2a014610bf1578063e185a2cc14610c06578063e33b7de314610c2657610431565b8063ad6d9c1714610a94578063b44d737414610aa9578063b88d4fde14610ac9578063b925dd0514610ae9578063bfb6e0e714610b19578063c014f43114610b2e578063c6956dfb14610b46578063c87b56dd14610b66578063ca4b208b14610b8657610431565b806395d89b41116101ac5780639e34070f116101705780639e34070f146109df578063a22cb46514610a0f578063a86ff96014610a2f578063a8ae839114610a44578063aad21e9414610a7457610431565b806395d89b411461095457806395f779ae146109695780639852595c146109815780639903439e146109b75780639ddf7ad3146109ca57610431565b806379ba50971461087d578063804f43cd1461089257806382269eb11461089a57806383ba7c1d146108ba5780638b83209b146108cf5780638da5cb5b146108ef5780639249586714610904578063938e3d7b1461091f578063943526761461093f57610431565b806338c410b5116103155780636149d871116102ad578063715018a611610271578063715018a6146107f7578063726a810d1461080c578063782fe5871461081f57806378c5939b1461084857806378c8cda71461085d57610431565b80636149d871146107625780636230a2a7146107825780636352211e1461079757806364cb4edb146107b757806370a08231146107d757610431565b806338c410b5146106795780633a98ef391461069957806342842e0e146106ae57806344b596e1146106ce5780634e71d92d146106ee578063507d68011461070357806350c2a55c1461071857806355f804b31461072d5780635dc70c711461074d57610431565b80631c5c88ae116103885780631c5c88ae146105905780631efb051a146105ab57806323b872dd146105c05780632666f111146105e05780632a55205a146105fb5780632bfcf0f2146106295780632db115441461063e57806330a42f7d1461065157806331e26cfd1461066457610431565b806301ffc9a714610458578063068405ae1461048d57806306fdde03146104af578063081812fc146104d1578063095ea7b31461050957806312065fe01461052957806318160ddd1461054657806318f9b0231461055b578063197874c41461057b57610431565b36610431577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770335b34604051610427929190613f94565b60405180910390a1005b7f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033610418565b34801561046457600080fd5b50610478610473366004613fc3565b610cc5565b60405190151581526020015b60405180910390f35b34801561049957600080fd5b506104ad6104a836600461405e565b610d6f565b005b3480156104bb57600080fd5b506104c4610db5565b6040516104849190614154565b3480156104dd57600080fd5b506104f16104ec366004614167565b610e47565b6040516001600160a01b039091168152602001610484565b34801561051557600080fd5b506104ad610524366004614180565b610ecf565b34801561053557600080fd5b50475b604051908152602001610484565b34801561055257600080fd5b50610538610fdf565b34801561056757600080fd5b506104ad610576366004614180565b610fef565b34801561058757600080fd5b506104ad611059565b34801561059c57600080fd5b5067016345785d8a0000610538565b3480156105b757600080fd5b50600a54610538565b3480156105cc57600080fd5b506104ad6105db3660046141ac565b61110e565b3480156105ec57600080fd5b506702c68af0bb140000610538565b34801561060757600080fd5b5061061b6106163660046141ed565b61113f565b604051610484929190613f94565b34801561063557600080fd5b506104ad611175565b6104ad61064c366004614167565b6111ab565b6104ad61065f36600461420f565b61133a565b34801561067057600080fd5b506104ad611682565b34801561068557600080fd5b506104ad61069436600461430b565b6116be565b3480156106a557600080fd5b50601254610538565b3480156106ba57600080fd5b506104ad6106c93660046141ac565b6117fb565b3480156106da57600080fd5b506104ad6106e9366004614167565b611816565b3480156106fa57600080fd5b506104ad611948565b34801561070f57600080fd5b50610538611b04565b34801561072457600080fd5b50610538611b10565b34801561073957600080fd5b506104ad61074836600461436e565b611b53565b34801561075957600080fd5b506104ad611c5b565b34801561076e57600080fd5b506104ad61077d3660046143a2565b611cf5565b34801561078e57600080fd5b50610538611d57565b3480156107a357600080fd5b506104f16107b2366004614167565b611d63565b3480156107c357600080fd5b506104ad6107d23660046143a2565b611dda565b3480156107e357600080fd5b506105386107f23660046143a2565b611e3c565b34801561080357600080fd5b506104ad611ec3565b6104ad61081a36600461420f565b611f00565b34801561082b57600080fd5b506020546021545b60408051928352602083019190915201610484565b34801561085457600080fd5b50610bb8610538565b34801561086957600080fd5b506104ad6108783660046143a2565b6121cb565b34801561088957600080fd5b506104ad612205565b6104ad612239565b3480156108a657600080fd5b506104ad6108b536600461405e565b6123b7565b3480156108c657600080fd5b50600954610538565b3480156108db57600080fd5b506104f16108ea366004614167565b6124dc565b3480156108fb57600080fd5b506104f161250c565b34801561091057600080fd5b50670214e8348c4f0000610538565b34801561092b57600080fd5b506104ad61093a36600461436e565b612518565b34801561094b57600080fd5b506104c4612552565b34801561096057600080fd5b506104c4612561565b34801561097557600080fd5b50602254602354610833565b34801561098d57600080fd5b5061053861099c3660046143a2565b6001600160a01b031660009081526015602052604090205490565b6104ad6109c5366004614167565b612570565b3480156109d657600080fd5b506104786127c2565b3480156109eb57600080fd5b506104786109fa366004614167565b60009081526027602052604090205460ff1690565b348015610a1b57600080fd5b506104ad610a2a3660046143bf565b6127d0565b348015610a3b57600080fd5b506104ad6127db565b348015610a5057600080fd5b50610478610a5f3660046143a2565b60296020526000908152604090205460ff1681565b348015610a8057600080fd5b506104ad610a8f3660046143a2565b612817565b348015610aa057600080fd5b506104ad612896565b348015610ab557600080fd5b506104ad610ac436600461405e565b6128d3565b348015610ad557600080fd5b506104ad610ae43660046143fd565b61290d565b348015610af557600080fd5b50610478610b043660046143a2565b60286020526000908152604090205460ff1681565b348015610b2557600080fd5b50601054610538565b348015610b3a57600080fd5b50602154602254610833565b348015610b5257600080fd5b50610478610b613660046143a2565b612945565b348015610b7257600080fd5b506104c4610b81366004614167565b612966565b348015610b9257600080fd5b506104f1612abf565b348015610ba757600080fd5b50610538610bb63660046143a2565b6001600160a01b031660009081526014602052604090205490565b348015610bdd57600080fd5b506104ad610bec3660046143a2565b612acb565b348015610bfd57600080fd5b506104c4612b2d565b348015610c1257600080fd5b506104ad610c2136600461436e565b612b3c565b348015610c3257600080fd5b50601354610538565b348015610c4757600080fd5b506104c4612c44565b348015610c5c57600080fd5b50610478610c6b36600461447c565b612c53565b348015610c7c57600080fd5b506104ad610c8b3660046143a2565b612c81565b348015610c9c57600080fd5b506104ad610cab3660046143a2565b612ce3565b348015610cbc57600080fd5b506104ad612d1d565b60006001600160e01b031982161580610cee57506001600160e01b03198216638673983560e01b145b80610d0957506001600160e01b03198216631d3ef23160e21b145b80610d2457506001600160e01b0319821663253f8c7960e11b145b80610d3f57506001600160e01b0319821663dee68dd160e01b145b80610d5a57506001600160e01b0319821663e8a3d48560e01b145b80610d695750610d6982612dfc565b92915050565b33610d7a6017612e4c565b6001600160a01b031614610da95760405162461bcd60e51b8152600401610da0906144aa565b60405180910390fd5b610db281612e59565b50565b606060008054610dc4906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610df0906144e1565b8015610e3d5780601f10610e1257610100808354040283529160200191610e3d565b820191906000526020600020905b815481529060010190602001808311610e2057829003601f168201915b5050505050905090565b6000610e5282612e9b565b610eb35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610da0565b506000908152600460205260409020546001600160a01b031690565b6000610eda82611d63565b9050806001600160a01b0316836001600160a01b031603610f475760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610da0565b336001600160a01b0382161480610f635750610f638133612c53565b610fd05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610da0565b610fda8383612eb8565b505050565b6000610fea601e5490565b905090565b33610ffa601a612e4c565b6001600160a01b0316146110205760405162461bcd60e51b8152600401610da09061451b565b6026546301000000900460ff161561104b57604051632a5f2cb560e11b815260040160405180910390fd5b6110558282612f26565b5050565b33611064601a612e4c565b6001600160a01b03161461108a5760405162461bcd60e51b8152600401610da09061451b565b6026546301000000900460ff16156110b557604051632a5f2cb560e11b815260040160405180910390fd5b6026805463ff00000019166301000000908117918290556040517f07fe2f03bd4fa149b9d8918fb57a6e2a3b1fbbb29a4d4536df7e6cd9edf02ed89261110492900460ff161515815260200190565b60405180910390a1565b61111833826130f8565b6111345760405162461bcd60e51b8152600401610da090614552565b610fda8383836131c2565b6006546007546001600160a01b03909116906000906103e89061116290856145b9565b61116c91906145ee565b90509250929050565b601b546001600160a01b0316331461119f5760405162461bcd60e51b8152600401610da090614602565b6111a9601a613362565b565b6002601d54036111cd5760405162461bcd60e51b8152600401610da09061464c565b6002601d55602654339062010000900460ff166111fd57604051632617cb7b60e11b815260040160405180910390fd5b60205460000361122057604051631555229f60e21b815260040160405180910390fd5b602354421015611250576023546040516310d7bcc560e01b81524260048201526024810191909152604401610da0565b600282111561127c5760405163607b0c4f60e11b81526004810183905260026024820152604401610da0565b61128e6702c68af0bb140000836145b9565b34146112ca576112a6826702c68af0bb1400006145b9565b345b6040516317b1a39360e31b815260048101929092526024820152604401610da0565b610bb86112d6601e5490565b6112e09084614683565b106112fe57604051631c010ad360e31b815260040160405180910390fd5b60005b828110156113305761131a826113156133bf565b6133e4565b611328601e80546001019055565b600101611301565b50506001601d5550565b6002601d540361135c5760405162461bcd60e51b8152600401610da09061464c565b6002601d55602654339062010000900460ff1661138c57604051632617cb7b60e11b815260040160405180910390fd5b6020546000036113af57604051631555229f60e21b815260040160405180910390fd5b6020544210156113df576020546040516310d7bcc560e01b81524260048201526024810191909152604401610da0565b602154421061140e576021546040516330a845d360e01b81524260048201526024810191909152604401610da0565b6001600160a01b03811660009081526029602052604090205460ff161561144857604051631bbdf5c560e31b815260040160405180910390fd5b6001600160a01b0381166000908152602960205260408120805460ff19166001179055825190805b828110156115e0576027600086838151811061148e5761148e61469b565b60209081029190910181015182528101919091526040016000205460ff16156114e7578481815181106114c3576114c361469b565b602002602001015160405163598b3dfd60e11b8152600401610da091815260200190565b602a5485516001600160a01b03808716921690636352211e908890859081106115125761151261469b565b60200260200101516040518263ffffffff1660e01b815260040161153891815260200190565b602060405180830381865afa158015611555573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157991906146b1565b6001600160a01b0316036115d857611590826146ce565b91506001602760008784815181106115aa576115aa61469b565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600101611470565b508060000361160257604051637614548760e01b815260040160405180910390fd5b6003811061167757670214e8348c4f0000341461162857670214e8348c4f0000346112a8565b610bb8611634601e5490565b61163f906001614683565b1061165d57604051631c010ad360e31b815260040160405180910390fd5b611669836113156133bf565b611677601e80546001019055565b50506001601d555050565b601b546001600160a01b031633146116ac5760405162461bcd60e51b8152600401610da090614602565b601b80546001600160a01b0319169055565b336116c9601a612e4c565b6001600160a01b0316146116ef5760405162461bcd60e51b8152600401610da09061451b565b6026546301000000900460ff1661171957604051637f02c65b60e01b815260040160405180910390fd5b60265462010000900460ff16156117435760405163043da58360e51b815260040160405180910390fd5b61174c826133fe565b611755816134d5565b610bb842338484446040516020016117719594939291906146e7565b6040516020818303038152906040528051906020012060001c6117949190614744565b601f8190556117a2906135ac565b6026805462ff0000191662010000908117918290556040517ff409b8c4404a114fa8f045dedf3c882a53c0ad3356d79cdfedcfb5337b725935926117ef92900460ff161515815260200190565b60405180910390a15050565b610fda8383836040518060200160405280600081525061290d565b336118216017612e4c565b6001600160a01b0316146118475760405162461bcd60e51b8152600401610da0906144aa565b60208190556118598162015180614683565b602155611869816202a300614683565b602255611879816203f480614683565b6023556020805460215460408051928352928201527f339ffe4172a52ffe0195a51af34c6b670c31311e14ef17a527ce856c92877793910160405180910390a17f7c5c9cfe3bc8726d2274c99bff257ba482930d410cfdb556ad606b8fbcd16ec06021546022546040516118f7929190918252602082015260400190565b60405180910390a17f66b7692de1b3038f68157f02f6f6335e38dae19dca5aa053e665bb69a74af66060225460235460405161193d929190918252602082015260400190565b60405180910390a150565b336000818152601460205260409020546119b05760405162461bcd60e51b815260206004820152602360248201527f5061796d656e7453706c69747465723a20596f752068617665206e6f2073686160448201526272657360e81b6064820152608401610da0565b6000601354476119c09190614683565b6001600160a01b03831660009081526015602090815260408083205460125460149093529083205493945091926119f790856145b9565b611a0191906145ee565b611a0b9190614758565b905080600003611a6e5760405162461bcd60e51b815260206004820152602860248201527f5061796d656e7453706c69747465723a20596f7520617265206e6f7420647565604482015267081c185e5b595b9d60c21b6064820152608401610da0565b6001600160a01b038316600090815260156020526040902054611a92908290614683565b6001600160a01b038416600090815260156020526040902055601354611ab9908290614683565b601355611ac683826135ea565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611af7929190613f94565b60405180910390a1505050565b6000610fea600d613703565b6000611b1c600d613703565b600003611b295750600090565b611b33600d613710565b611b3d600d613703565b611b49906127106145b9565b610fea91906145ee565b33611b5e601a612e4c565b6001600160a01b031614611b845760405162461bcd60e51b8152600401610da09061451b565b600060258054611b93906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054611bbf906144e1565b8015611c0c5780601f10611be157610100808354040283529160200191611c0c565b820191906000526020600020905b815481529060010190602001808311611bef57829003601f168201915b50508551939450611c2893602593506020870192509050613efb565b507fd2877107a884510f506ed0bd833e6601f4344691e32a0ce4bcdedb1d9d9d28e18160256040516117ef92919061480e565b33611c66601a612e4c565b6001600160a01b031614611c8c5760405162461bcd60e51b8152600401610da09061451b565b60265460ff1615611cb05760405163bee21aa160e01b815260040160405180910390fd5b6026805460ff19166001908117909155604080519182524260208301527f2152bd2b67623c447eff0cbb935ec56735e28c8595e8b93ca53afab024400f489101611104565b33611d00601a612e4c565b6001600160a01b031614611d265760405162461bcd60e51b8152600401610da09061451b565b6001600160a01b038116611d4c5760405162461bcd60e51b8152600401610da09061483c565b610db2601a82612d9f565b6000610fea600d613710565b6000818152600260205260408120546001600160a01b031680610d695760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610da0565b33611de5601a612e4c565b6001600160a01b031614611e0b5760405162461bcd60e51b8152600401610da09061451b565b6001600160a01b038116611e315760405162461bcd60e51b8152600401610da09061483c565b610db2601a8261371d565b60006001600160a01b038216611ea75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610da0565b506001600160a01b031660009081526003602052604090205490565b33611ece6017612e4c565b6001600160a01b031614611ef45760405162461bcd60e51b8152600401610da0906144aa565b6111a960176000612d9f565b6002601d5403611f225760405162461bcd60e51b8152600401610da09061464c565b6002601d55602654339062010000900460ff16611f5257604051632617cb7b60e11b815260040160405180910390fd5b602054600003611f7557604051631555229f60e21b815260040160405180910390fd5b602054421015611fa5576020546040516310d7bcc560e01b81524260048201526024810191909152604401610da0565b6021544210611fd4576021546040516330a845d360e01b81524260048201526024810191909152604401610da0565b81516000805b828110156121265760276000868381518110611ff857611ff861469b565b60209081029190910181015182528101919091526040016000205460ff161561202d578481815181106114c3576114c361469b565b602a5485516001600160a01b03808716921690636352211e908890859081106120585761205861469b565b60200260200101516040518263ffffffff1660e01b815260040161207e91815260200190565b602060405180830381865afa15801561209b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120bf91906146b1565b6001600160a01b03160361211e576120d6826146ce565b91506001602760008784815181106120f0576120f061469b565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600101611fda565b506121326005826145ee565b905061214667016345785d8a0000826145b9565b341461215e576112a667016345785d8a0000826145b9565b610bb861216a601e5490565b6121749083614683565b1061219257604051631c010ad360e31b815260040160405180910390fd5b60005b818110156121bf576121a9846113156133bf565b6121b7601e80546001019055565b600101612195565b50506001601d55505050565b336121d66017612e4c565b6001600160a01b0316146121fc5760405162461bcd60e51b8152600401610da0906144aa565b610db281613742565b6018546001600160a01b0316331461222f5760405162461bcd60e51b8152600401610da090614882565b6111a96017613362565b6002601d540361225b5760405162461bcd60e51b8152600401610da09061464c565b6002601d55602654339062010000900460ff1661228b57604051632617cb7b60e11b815260040160405180910390fd5b6020546000036122ae57604051631555229f60e21b815260040160405180910390fd5b6021544210156122de576021546040516310d7bcc560e01b81524260048201526024810191909152604401610da0565b602254421061230d576022546040516330a845d360e01b81524260048201526024810191909152604401610da0565b600061231882612945565b9050806123385760405163522fc3bd60e01b815260040160405180910390fd5b612341826121cb565b670214e8348c4f0000341461235f57670214e8348c4f0000346112a8565b610bb861236b601e5490565b612376906001614683565b1061239457604051631c010ad360e31b815260040160405180910390fd5b6123a0826113156133bf565b6123ae601e80546001019055565b50506001601d55565b336123c26017612e4c565b6001600160a01b0316146123e85760405162461bcd60e51b8152600401610da0906144aa565b60265462010000900460ff1661241157604051632617cb7b60e11b815260040160405180910390fd5b60205460000361243457604051631555229f60e21b815260040160405180910390fd5b602654640100000000900460ff161561246057604051630b9cb2d160e21b815260040160405180910390fd5b8051610bb861246e601e5490565b6124789083614683565b1061249657604051631c010ad360e31b815260040160405180910390fd5b60005b81811015610fda576124c68382815181106124b6576124b661469b565b60200260200101516113156133bf565b6124d4601e80546001019055565b600101612499565b6000601682815481106124f1576124f161469b565b6000918252602090912001546001600160a01b031692915050565b6000610fea6017612e4c565b33612523601a612e4c565b6001600160a01b0316146125495760405162461bcd60e51b8152600401610da09061451b565b610db28161374d565b6060600c8054610dc4906144e1565b606060018054610dc4906144e1565b6002601d54036125925760405162461bcd60e51b8152600401610da09061464c565b6002601d55602654339062010000900460ff166125c257604051632617cb7b60e11b815260040160405180910390fd5b6020546000036125e557604051631555229f60e21b815260040160405180910390fd5b602254421015612615576022546040516310d7bcc560e01b81524260048201526024810191909152604401610da0565b6023544210612644576023546040516330a845d360e01b81524260048201526024810191909152604401610da0565b6001600160a01b03811660009081526028602052604090205460ff161561267e57604051631bbdf5c560e31b815260040160405180910390fd5b6702c68af0bb140000341461269c576702c68af0bb140000346112a8565b60008281526027602052604090205460ff16156126cf5760405163598b3dfd60e11b815260048101839052602401610da0565b6001600160a01b0381811660008181526028602052604090819020805460ff19166001179055602a5490516331a9108f60e11b81526004810186905291921690636352211e90602401602060405180830381865afa158015612735573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275991906146b1565b6001600160a01b031603612781576000828152602760205260409020805460ff191660011790555b610bb861278d601e5490565b612798906001614683565b106127b657604051631c010ad360e31b815260040160405180910390fd5b6123a0816113156133bf565b6000610fea600d5460ff1690565b611055338383613824565b6018546001600160a01b031633146128055760405162461bcd60e51b8152600401610da090614882565b601880546001600160a01b0319169055565b33612822601a612e4c565b6001600160a01b0316146128485760405162461bcd60e51b8152600401610da09061451b565b602a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f77e51eb4e3b195774828e5d247564b18f472c51b7b7cd281436de21409a708519060200161193d565b336128a1601a612e4c565b6001600160a01b0316146128c75760405162461bcd60e51b8152600401610da09061451b565b6111a9601a6000612d9f565b336128de6017612e4c565b6001600160a01b0316146129045760405162461bcd60e51b8152600401610da0906144aa565b610db2816138ee565b61291733836130f8565b6129335760405162461bcd60e51b8152600401610da090614552565b61293f84848484613930565b50505050565b6001600160a01b03811660009081526011602052604081205460ff16610d69565b6060600061297383611d63565b6001600160a01b03160361299d576040516316cb085360e11b815260048101839052602401610da0565b60265460ff16612a645760006129b1613963565b905060008151116129d15760405180602001604052806000815250612a5d565b602480546129de906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054612a0a906144e1565b8015612a575780601f10612a2c57610100808354040283529160200191612a57565b820191906000526020600020905b815481529060010190602001808311612a3a57829003601f168201915b50505050505b9392505050565b6000612a6e613972565b90506000815111612a8e5760405180602001604052806000815250612a5d565b80612a9884613981565b604051602001612aa99291906148c8565b6040516020818303038152906040529392505050565b6000610fea601a612e4c565b33612ad66017612e4c565b6001600160a01b031614612afc5760405162461bcd60e51b8152600401610da0906144aa565b6001600160a01b038116612b225760405162461bcd60e51b8152600401610da09061483c565b610db2601782612d9f565b6060600b8054610dc4906144e1565b33612b47601a612e4c565b6001600160a01b031614612b6d5760405162461bcd60e51b8152600401610da09061451b565b600060258054612b7c906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054612ba8906144e1565b8015612bf55780601f10612bca57610100808354040283529160200191612bf5565b820191906000526020600020905b815481529060010190602001808311612bd857829003601f168201915b50508551939450612c1193602493506020870192509050613efb565b507f313d116a394fba7f63c0b50b30f77d8552953eb113d78c58d2456e78270b78828160246040516117ef92919061480e565b606060088054610dc4906144e1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33612c8c6017612e4c565b6001600160a01b031614612cb25760405162461bcd60e51b8152600401610da0906144aa565b6001600160a01b038116612cd85760405162461bcd60e51b8152600401610da09061483c565b610db260178261371d565b33612cee6017612e4c565b6001600160a01b031614612d145760405162461bcd60e51b8152600401610da0906144aa565b610db281613a81565b33612d28601a612e4c565b6001600160a01b031614612d4e5760405162461bcd60e51b8152600401610da09061451b565b6026805464ff000000001916640100000000908117918290556040517fadd3882df6e835f51b7f18bc3b72f9d3fd3afe0ce8ed45af6ad197e91ddd1da19261110492900460ff161515815260200190565b81546001600160a01b038281166001600160a01b0319808416821786556001860180549091169055604051919092169182917f1844b631de43b47d03d5769120a0a909d13786f6cadbd4b9118b180b82648fb390600090a3505050565b60006001600160e01b031982166380ac58cd60e01b1480612e2d57506001600160e01b03198216635b5e139f60e01b145b80610d6957506301ffc9a760e01b6001600160e01b0319831614610d69565b546001600160a01b031690565b805160005b81811015610fda57612e93838281518110612e7b57612e7b61469b565b6020026020010151600d613a8c90919063ffffffff16565b600101612e5e565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612eed82611d63565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216612f915760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610da0565b60008111612fe15760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610da0565b6001600160a01b0382166000908152601460205260409020541561305b5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610da0565b60168054600181019091557fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b51242890180546001600160a01b0319166001600160a01b03841690811790915560009081526014602052604090208190556012546130c3908290614683565b6012556040517f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac906117ef9084908490613f94565b600061310382612e9b565b6131645760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610da0565b600061316f83611d63565b9050806001600160a01b0316846001600160a01b031614806131aa5750836001600160a01b031661319f84610e47565b6001600160a01b0316145b806131ba57506131ba8185612c53565b949350505050565b826001600160a01b03166131d582611d63565b6001600160a01b03161461323d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610da0565b6001600160a01b03821661329f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610da0565b6132aa600082612eb8565b6001600160a01b03831660009081526003602052604081208054600192906132d3908490614758565b90915550506001600160a01b0382166000908152600360205260408120805460019290613301908490614683565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80546001820180546001600160a01b038082166001600160a01b031980861682178755909216909255604051919092169182917f1844b631de43b47d03d5769120a0a909d13786f6cadbd4b9118b180b82648fb390600090a35050565b6000610bb86133cd601e5490565b601f546133da9190614683565b610fea9190614744565b611055828260405180602001604052806000815250613b8f565b6000600b805461340d906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054613439906144e1565b80156134865780601f1061345b57610100808354040283529160200191613486565b820191906000526020600020905b81548152906001019060200180831161346957829003601f168201915b505085519394506134a293600b93506020870192509050613efb565b507fe4559edc44d8a0825d54d0afcb85409324d9a4c7a818256c6bea4a471a964542600b826040516117ef9291906148f7565b6000600c80546134e4906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054613510906144e1565b801561355d5780601f106135325761010080835404028352916020019161355d565b820191906000526020600020905b81548152906001019060200180831161354057829003601f168201915b5050855193945061357993600c93506020870192509050613efb565b507f5769620297eb5047703c0ba55dd28b8ea50ba49818a91a43217fedce8eb69a30600c826040516117ef9291906148f7565b600a80549082905560408051838152602081018390527f508e68918b7b107539e360f3892abf9555ea4cb31e83a7887091601a6da3f9f491016117ef565b8047101561363a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610da0565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613687576040519150601f19603f3d011682016040523d82523d6000602084013e61368c565b606091505b5050905080610fda5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610da0565b6000610d69826002015490565b6000610d69826001015490565b60019190910180546001600160a01b0319166001600160a01b03909216919091179055565b610db2600d82613a8c565b60006008805461375c906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054613788906144e1565b80156137d55780601f106137aa576101008083540402835291602001916137d5565b820191906000526020600020905b8154815290600101906020018083116137b857829003601f168201915b505085519394506137f193600893506020870192509050613efb565b507f17f75bb1e35b058872a221a8c16d8b3e39eacbda214fd7da20f192b9291ecc3b6008826040516117ef9291906148f7565b816001600160a01b0316836001600160a01b0316036138815760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610da0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b805160005b81811015610fda576139288382815181106139105761391061469b565b6020026020010151600d613bc290919063ffffffff16565b6001016138f3565b61393b8484846131c2565b61394784848484613cc7565b61293f5760405162461bcd60e51b8152600401610da09061491c565b606060248054610dc4906144e1565b606060258054610dc4906144e1565b6060816000036139a85750506040805180820190915260018152600360fc1b602082015290565b8160005b81156139d257806139bc816146ce565b91506139cb9050600a836145ee565b91506139ac565b6000816001600160401b038111156139ec576139ec613fe0565b6040519080825280601f01601f191660200182016040528015613a16576020820181803683370190505b5090505b84156131ba57613a2b600183614758565b9150613a38600a86614744565b613a43906030614683565b60f81b818381518110613a5857613a5861469b565b60200101906001600160f81b031916908160001a905350613a7a600a866145ee565b9450613a1a565b610db2600d82613bc2565b6001600160a01b038116600090815260048301602052604090205460ff16613b0a5760405162461bcd60e51b815260206004820152602b60248201527f57686974656c6973743a204164647265737320616c7265616479206e6f74207760448201526a3434ba32b634b9ba32b21760a91b6064820152608401610da0565b6001600160a01b03811660009081526004830160205260409020805460ff19169055613b3c6002830180546001019055565b6001600160a01b0381166000908152600483016020526040908190205490517fdf5254d54f330f99ee653ab95293db9978b089d68492d117c8652de7f0a073db916117ef9160019160ff1690859061496e565b613b998383613dc8565b613ba66000848484613cc7565b610fda5760405162461bcd60e51b8152600401610da09061491c565b6001600160a01b038116600090815260048301602052604090205460ff1615613c3d5760405162461bcd60e51b815260206004820152602760248201527f57686974656c6973743a204164647265737320616c72656164792077686974656044820152663634b9ba32b21760c91b6064820152608401610da0565b6001600160a01b03811660009081526004830160205260409020805460ff19166001908117909155613c7490830180546001019055565b6001600160a01b03811660009081526004830160205260408082205490517fdf5254d54f330f99ee653ab95293db9978b089d68492d117c8652de7f0a073db926117ef92909160ff90911690859061496e565b60006001600160a01b0384163b15613dbd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613d0b90339089908890889060040161498f565b6020604051808303816000875af1925050508015613d46575060408051601f3d908101601f19168201909252613d43918101906149cc565b60015b613da3573d808015613d74576040519150601f19603f3d011682016040523d82523d6000602084013e613d79565b606091505b508051600003613d9b5760405162461bcd60e51b8152600401610da09061491c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506131ba565b506001949350505050565b6001600160a01b038216613e1e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610da0565b613e2781612e9b565b15613e745760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610da0565b6001600160a01b0382166000908152600360205260408120805460019290613e9d908490614683565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613f07906144e1565b90600052602060002090601f016020900481019282613f295760008555613f6f565b82601f10613f4257805160ff1916838001178555613f6f565b82800160010185558215613f6f579182015b82811115613f6f578251825591602001919060010190613f54565b50613f7b929150613f7f565b5090565b5b80821115613f7b5760008155600101613f80565b6001600160a01b03929092168252602082015260400190565b6001600160e01b031981168114610db257600080fd5b600060208284031215613fd557600080fd5b8135612a5d81613fad565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561401e5761401e613fe0565b604052919050565b60006001600160401b0382111561403f5761403f613fe0565b5060051b60200190565b6001600160a01b0381168114610db257600080fd5b6000602080838503121561407157600080fd5b82356001600160401b0381111561408757600080fd5b8301601f8101851361409857600080fd5b80356140ab6140a682614026565b613ff6565b81815260059190911b820183019083810190878311156140ca57600080fd5b928401925b828410156140f15783356140e281614049565b825292840192908401906140cf565b979650505050505050565b60005b838110156141175781810151838201526020016140ff565b8381111561293f5750506000910152565b600081518084526141408160208601602086016140fc565b601f01601f19169290920160200192915050565b602081526000612a5d6020830184614128565b60006020828403121561417957600080fd5b5035919050565b6000806040838503121561419357600080fd5b823561419e81614049565b946020939093013593505050565b6000806000606084860312156141c157600080fd5b83356141cc81614049565b925060208401356141dc81614049565b929592945050506040919091013590565b6000806040838503121561420057600080fd5b50508035926020909101359150565b6000602080838503121561422257600080fd5b82356001600160401b0381111561423857600080fd5b8301601f8101851361424957600080fd5b80356142576140a682614026565b81815260059190911b8201830190838101908783111561427657600080fd5b928401925b828410156140f15783358252928401929084019061427b565b60006001600160401b038311156142ad576142ad613fe0565b6142c0601f8401601f1916602001613ff6565b90508281528383830111156142d457600080fd5b828260208301376000602084830101529392505050565b600082601f8301126142fc57600080fd5b612a5d83833560208501614294565b6000806040838503121561431e57600080fd5b82356001600160401b038082111561433557600080fd5b614341868387016142eb565b9350602085013591508082111561435757600080fd5b50614364858286016142eb565b9150509250929050565b60006020828403121561438057600080fd5b81356001600160401b0381111561439657600080fd5b6131ba848285016142eb565b6000602082840312156143b457600080fd5b8135612a5d81614049565b600080604083850312156143d257600080fd5b82356143dd81614049565b9150602083013580151581146143f257600080fd5b809150509250929050565b6000806000806080858703121561441357600080fd5b843561441e81614049565b9350602085013561442e81614049565b92506040850135915060608501356001600160401b0381111561445057600080fd5b8501601f8101871361446157600080fd5b61447087823560208401614294565b91505092959194509250565b6000806040838503121561448f57600080fd5b823561449a81614049565b915060208301356143f281614049565b6020808252601a908201527f4549503137333a20596f7520617265206e6f74204f776e657221000000000000604082015260600190565b600181811c908216806144f557607f821691505b60208210810361451557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601e908201527f4549503137333a20596f7520617265206e6f7420446576656c6f706572210000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156145d3576145d36145a3565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826145fd576145fd6145d8565b500490565b6020808252602a908201527f4549503137333a20596f7520617265206e6f74207468652050656e64696e6720604082015269446576656c6f7065722160b01b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115614696576146966145a3565b500190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156146c357600080fd5b8151612a5d81614049565b6000600182016146e0576146e06145a3565b5060010190565b8581526bffffffffffffffffffffffff198560601b166020820152600084516147178160348501602089016140fc565b84519083019061472e8160348401602089016140fc565b0160348101939093525050605401949350505050565b600082614753576147536145d8565b500690565b60008282101561476a5761476a6145a3565b500390565b8054600090600181811c908083168061478957607f831692505b602080841082036147aa57634e487b7160e01b600052602260045260246000fd5b838852602088018280156147c557600181146147d657614801565b60ff19871682528282019750614801565b60008981526020902060005b878110156147fb578154848201529086019084016147e2565b83019850505b5050505050505092915050565b6040815260006148216040830185614128565b8281036020840152614833818561476f565b95945050505050565b60208082526026908201527f4549503137333a205472616e736665722063616e206e6f74206265206164647260408201526565737328302960d01b606082015260800190565b60208082526026908201527f4549503137333a20596f7520617265206e6f74207468652050656e64696e67206040820152654f776e65722160d01b606082015260800190565b600083516148da8184602088016140fc565b8351908301906148ee8183602088016140fc565b01949350505050565b60408152600061490a604083018561476f565b82810360208401526148338185614128565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b921515835290151560208301526001600160a01b0316604082015260600190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906149c290830184614128565b9695505050505050565b6000602082840312156149de57600080fd5b8151612a5d81613fad56fea2646970667358221220f36c5ad6f2b4cc17760a4e0202e9ef461472f86c6b9bc827996b108e79c5ccee64736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106103f05760003560e01c806379ba509711610214578063ad6d9c171161011e578063ce7c2ac2116100b6578063e8a3d4851161007a578063e8a3d48514610c3b578063e985e9c514610c50578063f2fde38b14610c70578063f80f5dd514610c90578063f97c187114610cb057610431565b8063ce7c2ac214610b9b578063d39ce77c14610bd1578063d792d2a014610bf1578063e185a2cc14610c06578063e33b7de314610c2657610431565b8063ad6d9c1714610a94578063b44d737414610aa9578063b88d4fde14610ac9578063b925dd0514610ae9578063bfb6e0e714610b19578063c014f43114610b2e578063c6956dfb14610b46578063c87b56dd14610b66578063ca4b208b14610b8657610431565b806395d89b41116101ac5780639e34070f116101705780639e34070f146109df578063a22cb46514610a0f578063a86ff96014610a2f578063a8ae839114610a44578063aad21e9414610a7457610431565b806395d89b411461095457806395f779ae146109695780639852595c146109815780639903439e146109b75780639ddf7ad3146109ca57610431565b806379ba50971461087d578063804f43cd1461089257806382269eb11461089a57806383ba7c1d146108ba5780638b83209b146108cf5780638da5cb5b146108ef5780639249586714610904578063938e3d7b1461091f578063943526761461093f57610431565b806338c410b5116103155780636149d871116102ad578063715018a611610271578063715018a6146107f7578063726a810d1461080c578063782fe5871461081f57806378c5939b1461084857806378c8cda71461085d57610431565b80636149d871146107625780636230a2a7146107825780636352211e1461079757806364cb4edb146107b757806370a08231146107d757610431565b806338c410b5146106795780633a98ef391461069957806342842e0e146106ae57806344b596e1146106ce5780634e71d92d146106ee578063507d68011461070357806350c2a55c1461071857806355f804b31461072d5780635dc70c711461074d57610431565b80631c5c88ae116103885780631c5c88ae146105905780631efb051a146105ab57806323b872dd146105c05780632666f111146105e05780632a55205a146105fb5780632bfcf0f2146106295780632db115441461063e57806330a42f7d1461065157806331e26cfd1461066457610431565b806301ffc9a714610458578063068405ae1461048d57806306fdde03146104af578063081812fc146104d1578063095ea7b31461050957806312065fe01461052957806318160ddd1461054657806318f9b0231461055b578063197874c41461057b57610431565b36610431577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770335b34604051610427929190613f94565b60405180910390a1005b7f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033610418565b34801561046457600080fd5b50610478610473366004613fc3565b610cc5565b60405190151581526020015b60405180910390f35b34801561049957600080fd5b506104ad6104a836600461405e565b610d6f565b005b3480156104bb57600080fd5b506104c4610db5565b6040516104849190614154565b3480156104dd57600080fd5b506104f16104ec366004614167565b610e47565b6040516001600160a01b039091168152602001610484565b34801561051557600080fd5b506104ad610524366004614180565b610ecf565b34801561053557600080fd5b50475b604051908152602001610484565b34801561055257600080fd5b50610538610fdf565b34801561056757600080fd5b506104ad610576366004614180565b610fef565b34801561058757600080fd5b506104ad611059565b34801561059c57600080fd5b5067016345785d8a0000610538565b3480156105b757600080fd5b50600a54610538565b3480156105cc57600080fd5b506104ad6105db3660046141ac565b61110e565b3480156105ec57600080fd5b506702c68af0bb140000610538565b34801561060757600080fd5b5061061b6106163660046141ed565b61113f565b604051610484929190613f94565b34801561063557600080fd5b506104ad611175565b6104ad61064c366004614167565b6111ab565b6104ad61065f36600461420f565b61133a565b34801561067057600080fd5b506104ad611682565b34801561068557600080fd5b506104ad61069436600461430b565b6116be565b3480156106a557600080fd5b50601254610538565b3480156106ba57600080fd5b506104ad6106c93660046141ac565b6117fb565b3480156106da57600080fd5b506104ad6106e9366004614167565b611816565b3480156106fa57600080fd5b506104ad611948565b34801561070f57600080fd5b50610538611b04565b34801561072457600080fd5b50610538611b10565b34801561073957600080fd5b506104ad61074836600461436e565b611b53565b34801561075957600080fd5b506104ad611c5b565b34801561076e57600080fd5b506104ad61077d3660046143a2565b611cf5565b34801561078e57600080fd5b50610538611d57565b3480156107a357600080fd5b506104f16107b2366004614167565b611d63565b3480156107c357600080fd5b506104ad6107d23660046143a2565b611dda565b3480156107e357600080fd5b506105386107f23660046143a2565b611e3c565b34801561080357600080fd5b506104ad611ec3565b6104ad61081a36600461420f565b611f00565b34801561082b57600080fd5b506020546021545b60408051928352602083019190915201610484565b34801561085457600080fd5b50610bb8610538565b34801561086957600080fd5b506104ad6108783660046143a2565b6121cb565b34801561088957600080fd5b506104ad612205565b6104ad612239565b3480156108a657600080fd5b506104ad6108b536600461405e565b6123b7565b3480156108c657600080fd5b50600954610538565b3480156108db57600080fd5b506104f16108ea366004614167565b6124dc565b3480156108fb57600080fd5b506104f161250c565b34801561091057600080fd5b50670214e8348c4f0000610538565b34801561092b57600080fd5b506104ad61093a36600461436e565b612518565b34801561094b57600080fd5b506104c4612552565b34801561096057600080fd5b506104c4612561565b34801561097557600080fd5b50602254602354610833565b34801561098d57600080fd5b5061053861099c3660046143a2565b6001600160a01b031660009081526015602052604090205490565b6104ad6109c5366004614167565b612570565b3480156109d657600080fd5b506104786127c2565b3480156109eb57600080fd5b506104786109fa366004614167565b60009081526027602052604090205460ff1690565b348015610a1b57600080fd5b506104ad610a2a3660046143bf565b6127d0565b348015610a3b57600080fd5b506104ad6127db565b348015610a5057600080fd5b50610478610a5f3660046143a2565b60296020526000908152604090205460ff1681565b348015610a8057600080fd5b506104ad610a8f3660046143a2565b612817565b348015610aa057600080fd5b506104ad612896565b348015610ab557600080fd5b506104ad610ac436600461405e565b6128d3565b348015610ad557600080fd5b506104ad610ae43660046143fd565b61290d565b348015610af557600080fd5b50610478610b043660046143a2565b60286020526000908152604090205460ff1681565b348015610b2557600080fd5b50601054610538565b348015610b3a57600080fd5b50602154602254610833565b348015610b5257600080fd5b50610478610b613660046143a2565b612945565b348015610b7257600080fd5b506104c4610b81366004614167565b612966565b348015610b9257600080fd5b506104f1612abf565b348015610ba757600080fd5b50610538610bb63660046143a2565b6001600160a01b031660009081526014602052604090205490565b348015610bdd57600080fd5b506104ad610bec3660046143a2565b612acb565b348015610bfd57600080fd5b506104c4612b2d565b348015610c1257600080fd5b506104ad610c2136600461436e565b612b3c565b348015610c3257600080fd5b50601354610538565b348015610c4757600080fd5b506104c4612c44565b348015610c5c57600080fd5b50610478610c6b36600461447c565b612c53565b348015610c7c57600080fd5b506104ad610c8b3660046143a2565b612c81565b348015610c9c57600080fd5b506104ad610cab3660046143a2565b612ce3565b348015610cbc57600080fd5b506104ad612d1d565b60006001600160e01b031982161580610cee57506001600160e01b03198216638673983560e01b145b80610d0957506001600160e01b03198216631d3ef23160e21b145b80610d2457506001600160e01b0319821663253f8c7960e11b145b80610d3f57506001600160e01b0319821663dee68dd160e01b145b80610d5a57506001600160e01b0319821663e8a3d48560e01b145b80610d695750610d6982612dfc565b92915050565b33610d7a6017612e4c565b6001600160a01b031614610da95760405162461bcd60e51b8152600401610da0906144aa565b60405180910390fd5b610db281612e59565b50565b606060008054610dc4906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610df0906144e1565b8015610e3d5780601f10610e1257610100808354040283529160200191610e3d565b820191906000526020600020905b815481529060010190602001808311610e2057829003601f168201915b5050505050905090565b6000610e5282612e9b565b610eb35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610da0565b506000908152600460205260409020546001600160a01b031690565b6000610eda82611d63565b9050806001600160a01b0316836001600160a01b031603610f475760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610da0565b336001600160a01b0382161480610f635750610f638133612c53565b610fd05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610da0565b610fda8383612eb8565b505050565b6000610fea601e5490565b905090565b33610ffa601a612e4c565b6001600160a01b0316146110205760405162461bcd60e51b8152600401610da09061451b565b6026546301000000900460ff161561104b57604051632a5f2cb560e11b815260040160405180910390fd5b6110558282612f26565b5050565b33611064601a612e4c565b6001600160a01b03161461108a5760405162461bcd60e51b8152600401610da09061451b565b6026546301000000900460ff16156110b557604051632a5f2cb560e11b815260040160405180910390fd5b6026805463ff00000019166301000000908117918290556040517f07fe2f03bd4fa149b9d8918fb57a6e2a3b1fbbb29a4d4536df7e6cd9edf02ed89261110492900460ff161515815260200190565b60405180910390a1565b61111833826130f8565b6111345760405162461bcd60e51b8152600401610da090614552565b610fda8383836131c2565b6006546007546001600160a01b03909116906000906103e89061116290856145b9565b61116c91906145ee565b90509250929050565b601b546001600160a01b0316331461119f5760405162461bcd60e51b8152600401610da090614602565b6111a9601a613362565b565b6002601d54036111cd5760405162461bcd60e51b8152600401610da09061464c565b6002601d55602654339062010000900460ff166111fd57604051632617cb7b60e11b815260040160405180910390fd5b60205460000361122057604051631555229f60e21b815260040160405180910390fd5b602354421015611250576023546040516310d7bcc560e01b81524260048201526024810191909152604401610da0565b600282111561127c5760405163607b0c4f60e11b81526004810183905260026024820152604401610da0565b61128e6702c68af0bb140000836145b9565b34146112ca576112a6826702c68af0bb1400006145b9565b345b6040516317b1a39360e31b815260048101929092526024820152604401610da0565b610bb86112d6601e5490565b6112e09084614683565b106112fe57604051631c010ad360e31b815260040160405180910390fd5b60005b828110156113305761131a826113156133bf565b6133e4565b611328601e80546001019055565b600101611301565b50506001601d5550565b6002601d540361135c5760405162461bcd60e51b8152600401610da09061464c565b6002601d55602654339062010000900460ff1661138c57604051632617cb7b60e11b815260040160405180910390fd5b6020546000036113af57604051631555229f60e21b815260040160405180910390fd5b6020544210156113df576020546040516310d7bcc560e01b81524260048201526024810191909152604401610da0565b602154421061140e576021546040516330a845d360e01b81524260048201526024810191909152604401610da0565b6001600160a01b03811660009081526029602052604090205460ff161561144857604051631bbdf5c560e31b815260040160405180910390fd5b6001600160a01b0381166000908152602960205260408120805460ff19166001179055825190805b828110156115e0576027600086838151811061148e5761148e61469b565b60209081029190910181015182528101919091526040016000205460ff16156114e7578481815181106114c3576114c361469b565b602002602001015160405163598b3dfd60e11b8152600401610da091815260200190565b602a5485516001600160a01b03808716921690636352211e908890859081106115125761151261469b565b60200260200101516040518263ffffffff1660e01b815260040161153891815260200190565b602060405180830381865afa158015611555573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157991906146b1565b6001600160a01b0316036115d857611590826146ce565b91506001602760008784815181106115aa576115aa61469b565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600101611470565b508060000361160257604051637614548760e01b815260040160405180910390fd5b6003811061167757670214e8348c4f0000341461162857670214e8348c4f0000346112a8565b610bb8611634601e5490565b61163f906001614683565b1061165d57604051631c010ad360e31b815260040160405180910390fd5b611669836113156133bf565b611677601e80546001019055565b50506001601d555050565b601b546001600160a01b031633146116ac5760405162461bcd60e51b8152600401610da090614602565b601b80546001600160a01b0319169055565b336116c9601a612e4c565b6001600160a01b0316146116ef5760405162461bcd60e51b8152600401610da09061451b565b6026546301000000900460ff1661171957604051637f02c65b60e01b815260040160405180910390fd5b60265462010000900460ff16156117435760405163043da58360e51b815260040160405180910390fd5b61174c826133fe565b611755816134d5565b610bb842338484446040516020016117719594939291906146e7565b6040516020818303038152906040528051906020012060001c6117949190614744565b601f8190556117a2906135ac565b6026805462ff0000191662010000908117918290556040517ff409b8c4404a114fa8f045dedf3c882a53c0ad3356d79cdfedcfb5337b725935926117ef92900460ff161515815260200190565b60405180910390a15050565b610fda8383836040518060200160405280600081525061290d565b336118216017612e4c565b6001600160a01b0316146118475760405162461bcd60e51b8152600401610da0906144aa565b60208190556118598162015180614683565b602155611869816202a300614683565b602255611879816203f480614683565b6023556020805460215460408051928352928201527f339ffe4172a52ffe0195a51af34c6b670c31311e14ef17a527ce856c92877793910160405180910390a17f7c5c9cfe3bc8726d2274c99bff257ba482930d410cfdb556ad606b8fbcd16ec06021546022546040516118f7929190918252602082015260400190565b60405180910390a17f66b7692de1b3038f68157f02f6f6335e38dae19dca5aa053e665bb69a74af66060225460235460405161193d929190918252602082015260400190565b60405180910390a150565b336000818152601460205260409020546119b05760405162461bcd60e51b815260206004820152602360248201527f5061796d656e7453706c69747465723a20596f752068617665206e6f2073686160448201526272657360e81b6064820152608401610da0565b6000601354476119c09190614683565b6001600160a01b03831660009081526015602090815260408083205460125460149093529083205493945091926119f790856145b9565b611a0191906145ee565b611a0b9190614758565b905080600003611a6e5760405162461bcd60e51b815260206004820152602860248201527f5061796d656e7453706c69747465723a20596f7520617265206e6f7420647565604482015267081c185e5b595b9d60c21b6064820152608401610da0565b6001600160a01b038316600090815260156020526040902054611a92908290614683565b6001600160a01b038416600090815260156020526040902055601354611ab9908290614683565b601355611ac683826135ea565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611af7929190613f94565b60405180910390a1505050565b6000610fea600d613703565b6000611b1c600d613703565b600003611b295750600090565b611b33600d613710565b611b3d600d613703565b611b49906127106145b9565b610fea91906145ee565b33611b5e601a612e4c565b6001600160a01b031614611b845760405162461bcd60e51b8152600401610da09061451b565b600060258054611b93906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054611bbf906144e1565b8015611c0c5780601f10611be157610100808354040283529160200191611c0c565b820191906000526020600020905b815481529060010190602001808311611bef57829003601f168201915b50508551939450611c2893602593506020870192509050613efb565b507fd2877107a884510f506ed0bd833e6601f4344691e32a0ce4bcdedb1d9d9d28e18160256040516117ef92919061480e565b33611c66601a612e4c565b6001600160a01b031614611c8c5760405162461bcd60e51b8152600401610da09061451b565b60265460ff1615611cb05760405163bee21aa160e01b815260040160405180910390fd5b6026805460ff19166001908117909155604080519182524260208301527f2152bd2b67623c447eff0cbb935ec56735e28c8595e8b93ca53afab024400f489101611104565b33611d00601a612e4c565b6001600160a01b031614611d265760405162461bcd60e51b8152600401610da09061451b565b6001600160a01b038116611d4c5760405162461bcd60e51b8152600401610da09061483c565b610db2601a82612d9f565b6000610fea600d613710565b6000818152600260205260408120546001600160a01b031680610d695760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610da0565b33611de5601a612e4c565b6001600160a01b031614611e0b5760405162461bcd60e51b8152600401610da09061451b565b6001600160a01b038116611e315760405162461bcd60e51b8152600401610da09061483c565b610db2601a8261371d565b60006001600160a01b038216611ea75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610da0565b506001600160a01b031660009081526003602052604090205490565b33611ece6017612e4c565b6001600160a01b031614611ef45760405162461bcd60e51b8152600401610da0906144aa565b6111a960176000612d9f565b6002601d5403611f225760405162461bcd60e51b8152600401610da09061464c565b6002601d55602654339062010000900460ff16611f5257604051632617cb7b60e11b815260040160405180910390fd5b602054600003611f7557604051631555229f60e21b815260040160405180910390fd5b602054421015611fa5576020546040516310d7bcc560e01b81524260048201526024810191909152604401610da0565b6021544210611fd4576021546040516330a845d360e01b81524260048201526024810191909152604401610da0565b81516000805b828110156121265760276000868381518110611ff857611ff861469b565b60209081029190910181015182528101919091526040016000205460ff161561202d578481815181106114c3576114c361469b565b602a5485516001600160a01b03808716921690636352211e908890859081106120585761205861469b565b60200260200101516040518263ffffffff1660e01b815260040161207e91815260200190565b602060405180830381865afa15801561209b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120bf91906146b1565b6001600160a01b03160361211e576120d6826146ce565b91506001602760008784815181106120f0576120f061469b565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600101611fda565b506121326005826145ee565b905061214667016345785d8a0000826145b9565b341461215e576112a667016345785d8a0000826145b9565b610bb861216a601e5490565b6121749083614683565b1061219257604051631c010ad360e31b815260040160405180910390fd5b60005b818110156121bf576121a9846113156133bf565b6121b7601e80546001019055565b600101612195565b50506001601d55505050565b336121d66017612e4c565b6001600160a01b0316146121fc5760405162461bcd60e51b8152600401610da0906144aa565b610db281613742565b6018546001600160a01b0316331461222f5760405162461bcd60e51b8152600401610da090614882565b6111a96017613362565b6002601d540361225b5760405162461bcd60e51b8152600401610da09061464c565b6002601d55602654339062010000900460ff1661228b57604051632617cb7b60e11b815260040160405180910390fd5b6020546000036122ae57604051631555229f60e21b815260040160405180910390fd5b6021544210156122de576021546040516310d7bcc560e01b81524260048201526024810191909152604401610da0565b602254421061230d576022546040516330a845d360e01b81524260048201526024810191909152604401610da0565b600061231882612945565b9050806123385760405163522fc3bd60e01b815260040160405180910390fd5b612341826121cb565b670214e8348c4f0000341461235f57670214e8348c4f0000346112a8565b610bb861236b601e5490565b612376906001614683565b1061239457604051631c010ad360e31b815260040160405180910390fd5b6123a0826113156133bf565b6123ae601e80546001019055565b50506001601d55565b336123c26017612e4c565b6001600160a01b0316146123e85760405162461bcd60e51b8152600401610da0906144aa565b60265462010000900460ff1661241157604051632617cb7b60e11b815260040160405180910390fd5b60205460000361243457604051631555229f60e21b815260040160405180910390fd5b602654640100000000900460ff161561246057604051630b9cb2d160e21b815260040160405180910390fd5b8051610bb861246e601e5490565b6124789083614683565b1061249657604051631c010ad360e31b815260040160405180910390fd5b60005b81811015610fda576124c68382815181106124b6576124b661469b565b60200260200101516113156133bf565b6124d4601e80546001019055565b600101612499565b6000601682815481106124f1576124f161469b565b6000918252602090912001546001600160a01b031692915050565b6000610fea6017612e4c565b33612523601a612e4c565b6001600160a01b0316146125495760405162461bcd60e51b8152600401610da09061451b565b610db28161374d565b6060600c8054610dc4906144e1565b606060018054610dc4906144e1565b6002601d54036125925760405162461bcd60e51b8152600401610da09061464c565b6002601d55602654339062010000900460ff166125c257604051632617cb7b60e11b815260040160405180910390fd5b6020546000036125e557604051631555229f60e21b815260040160405180910390fd5b602254421015612615576022546040516310d7bcc560e01b81524260048201526024810191909152604401610da0565b6023544210612644576023546040516330a845d360e01b81524260048201526024810191909152604401610da0565b6001600160a01b03811660009081526028602052604090205460ff161561267e57604051631bbdf5c560e31b815260040160405180910390fd5b6702c68af0bb140000341461269c576702c68af0bb140000346112a8565b60008281526027602052604090205460ff16156126cf5760405163598b3dfd60e11b815260048101839052602401610da0565b6001600160a01b0381811660008181526028602052604090819020805460ff19166001179055602a5490516331a9108f60e11b81526004810186905291921690636352211e90602401602060405180830381865afa158015612735573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275991906146b1565b6001600160a01b031603612781576000828152602760205260409020805460ff191660011790555b610bb861278d601e5490565b612798906001614683565b106127b657604051631c010ad360e31b815260040160405180910390fd5b6123a0816113156133bf565b6000610fea600d5460ff1690565b611055338383613824565b6018546001600160a01b031633146128055760405162461bcd60e51b8152600401610da090614882565b601880546001600160a01b0319169055565b33612822601a612e4c565b6001600160a01b0316146128485760405162461bcd60e51b8152600401610da09061451b565b602a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f77e51eb4e3b195774828e5d247564b18f472c51b7b7cd281436de21409a708519060200161193d565b336128a1601a612e4c565b6001600160a01b0316146128c75760405162461bcd60e51b8152600401610da09061451b565b6111a9601a6000612d9f565b336128de6017612e4c565b6001600160a01b0316146129045760405162461bcd60e51b8152600401610da0906144aa565b610db2816138ee565b61291733836130f8565b6129335760405162461bcd60e51b8152600401610da090614552565b61293f84848484613930565b50505050565b6001600160a01b03811660009081526011602052604081205460ff16610d69565b6060600061297383611d63565b6001600160a01b03160361299d576040516316cb085360e11b815260048101839052602401610da0565b60265460ff16612a645760006129b1613963565b905060008151116129d15760405180602001604052806000815250612a5d565b602480546129de906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054612a0a906144e1565b8015612a575780601f10612a2c57610100808354040283529160200191612a57565b820191906000526020600020905b815481529060010190602001808311612a3a57829003601f168201915b50505050505b9392505050565b6000612a6e613972565b90506000815111612a8e5760405180602001604052806000815250612a5d565b80612a9884613981565b604051602001612aa99291906148c8565b6040516020818303038152906040529392505050565b6000610fea601a612e4c565b33612ad66017612e4c565b6001600160a01b031614612afc5760405162461bcd60e51b8152600401610da0906144aa565b6001600160a01b038116612b225760405162461bcd60e51b8152600401610da09061483c565b610db2601782612d9f565b6060600b8054610dc4906144e1565b33612b47601a612e4c565b6001600160a01b031614612b6d5760405162461bcd60e51b8152600401610da09061451b565b600060258054612b7c906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054612ba8906144e1565b8015612bf55780601f10612bca57610100808354040283529160200191612bf5565b820191906000526020600020905b815481529060010190602001808311612bd857829003601f168201915b50508551939450612c1193602493506020870192509050613efb565b507f313d116a394fba7f63c0b50b30f77d8552953eb113d78c58d2456e78270b78828160246040516117ef92919061480e565b606060088054610dc4906144e1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33612c8c6017612e4c565b6001600160a01b031614612cb25760405162461bcd60e51b8152600401610da0906144aa565b6001600160a01b038116612cd85760405162461bcd60e51b8152600401610da09061483c565b610db260178261371d565b33612cee6017612e4c565b6001600160a01b031614612d145760405162461bcd60e51b8152600401610da0906144aa565b610db281613a81565b33612d28601a612e4c565b6001600160a01b031614612d4e5760405162461bcd60e51b8152600401610da09061451b565b6026805464ff000000001916640100000000908117918290556040517fadd3882df6e835f51b7f18bc3b72f9d3fd3afe0ce8ed45af6ad197e91ddd1da19261110492900460ff161515815260200190565b81546001600160a01b038281166001600160a01b0319808416821786556001860180549091169055604051919092169182917f1844b631de43b47d03d5769120a0a909d13786f6cadbd4b9118b180b82648fb390600090a3505050565b60006001600160e01b031982166380ac58cd60e01b1480612e2d57506001600160e01b03198216635b5e139f60e01b145b80610d6957506301ffc9a760e01b6001600160e01b0319831614610d69565b546001600160a01b031690565b805160005b81811015610fda57612e93838281518110612e7b57612e7b61469b565b6020026020010151600d613a8c90919063ffffffff16565b600101612e5e565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612eed82611d63565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216612f915760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610da0565b60008111612fe15760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610da0565b6001600160a01b0382166000908152601460205260409020541561305b5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610da0565b60168054600181019091557fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b51242890180546001600160a01b0319166001600160a01b03841690811790915560009081526014602052604090208190556012546130c3908290614683565b6012556040517f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac906117ef9084908490613f94565b600061310382612e9b565b6131645760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610da0565b600061316f83611d63565b9050806001600160a01b0316846001600160a01b031614806131aa5750836001600160a01b031661319f84610e47565b6001600160a01b0316145b806131ba57506131ba8185612c53565b949350505050565b826001600160a01b03166131d582611d63565b6001600160a01b03161461323d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610da0565b6001600160a01b03821661329f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610da0565b6132aa600082612eb8565b6001600160a01b03831660009081526003602052604081208054600192906132d3908490614758565b90915550506001600160a01b0382166000908152600360205260408120805460019290613301908490614683565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80546001820180546001600160a01b038082166001600160a01b031980861682178755909216909255604051919092169182917f1844b631de43b47d03d5769120a0a909d13786f6cadbd4b9118b180b82648fb390600090a35050565b6000610bb86133cd601e5490565b601f546133da9190614683565b610fea9190614744565b611055828260405180602001604052806000815250613b8f565b6000600b805461340d906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054613439906144e1565b80156134865780601f1061345b57610100808354040283529160200191613486565b820191906000526020600020905b81548152906001019060200180831161346957829003601f168201915b505085519394506134a293600b93506020870192509050613efb565b507fe4559edc44d8a0825d54d0afcb85409324d9a4c7a818256c6bea4a471a964542600b826040516117ef9291906148f7565b6000600c80546134e4906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054613510906144e1565b801561355d5780601f106135325761010080835404028352916020019161355d565b820191906000526020600020905b81548152906001019060200180831161354057829003601f168201915b5050855193945061357993600c93506020870192509050613efb565b507f5769620297eb5047703c0ba55dd28b8ea50ba49818a91a43217fedce8eb69a30600c826040516117ef9291906148f7565b600a80549082905560408051838152602081018390527f508e68918b7b107539e360f3892abf9555ea4cb31e83a7887091601a6da3f9f491016117ef565b8047101561363a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610da0565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613687576040519150601f19603f3d011682016040523d82523d6000602084013e61368c565b606091505b5050905080610fda5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610da0565b6000610d69826002015490565b6000610d69826001015490565b60019190910180546001600160a01b0319166001600160a01b03909216919091179055565b610db2600d82613a8c565b60006008805461375c906144e1565b80601f0160208091040260200160405190810160405280929190818152602001828054613788906144e1565b80156137d55780601f106137aa576101008083540402835291602001916137d5565b820191906000526020600020905b8154815290600101906020018083116137b857829003601f168201915b505085519394506137f193600893506020870192509050613efb565b507f17f75bb1e35b058872a221a8c16d8b3e39eacbda214fd7da20f192b9291ecc3b6008826040516117ef9291906148f7565b816001600160a01b0316836001600160a01b0316036138815760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610da0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b805160005b81811015610fda576139288382815181106139105761391061469b565b6020026020010151600d613bc290919063ffffffff16565b6001016138f3565b61393b8484846131c2565b61394784848484613cc7565b61293f5760405162461bcd60e51b8152600401610da09061491c565b606060248054610dc4906144e1565b606060258054610dc4906144e1565b6060816000036139a85750506040805180820190915260018152600360fc1b602082015290565b8160005b81156139d257806139bc816146ce565b91506139cb9050600a836145ee565b91506139ac565b6000816001600160401b038111156139ec576139ec613fe0565b6040519080825280601f01601f191660200182016040528015613a16576020820181803683370190505b5090505b84156131ba57613a2b600183614758565b9150613a38600a86614744565b613a43906030614683565b60f81b818381518110613a5857613a5861469b565b60200101906001600160f81b031916908160001a905350613a7a600a866145ee565b9450613a1a565b610db2600d82613bc2565b6001600160a01b038116600090815260048301602052604090205460ff16613b0a5760405162461bcd60e51b815260206004820152602b60248201527f57686974656c6973743a204164647265737320616c7265616479206e6f74207760448201526a3434ba32b634b9ba32b21760a91b6064820152608401610da0565b6001600160a01b03811660009081526004830160205260409020805460ff19169055613b3c6002830180546001019055565b6001600160a01b0381166000908152600483016020526040908190205490517fdf5254d54f330f99ee653ab95293db9978b089d68492d117c8652de7f0a073db916117ef9160019160ff1690859061496e565b613b998383613dc8565b613ba66000848484613cc7565b610fda5760405162461bcd60e51b8152600401610da09061491c565b6001600160a01b038116600090815260048301602052604090205460ff1615613c3d5760405162461bcd60e51b815260206004820152602760248201527f57686974656c6973743a204164647265737320616c72656164792077686974656044820152663634b9ba32b21760c91b6064820152608401610da0565b6001600160a01b03811660009081526004830160205260409020805460ff19166001908117909155613c7490830180546001019055565b6001600160a01b03811660009081526004830160205260408082205490517fdf5254d54f330f99ee653ab95293db9978b089d68492d117c8652de7f0a073db926117ef92909160ff90911690859061496e565b60006001600160a01b0384163b15613dbd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613d0b90339089908890889060040161498f565b6020604051808303816000875af1925050508015613d46575060408051601f3d908101601f19168201909252613d43918101906149cc565b60015b613da3573d808015613d74576040519150601f19603f3d011682016040523d82523d6000602084013e613d79565b606091505b508051600003613d9b5760405162461bcd60e51b8152600401610da09061491c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506131ba565b506001949350505050565b6001600160a01b038216613e1e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610da0565b613e2781612e9b565b15613e745760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610da0565b6001600160a01b0382166000908152600360205260408120805460019290613e9d908490614683565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613f07906144e1565b90600052602060002090601f016020900481019282613f295760008555613f6f565b82601f10613f4257805160ff1916838001178555613f6f565b82800160010185558215613f6f579182015b82811115613f6f578251825591602001919060010190613f54565b50613f7b929150613f7f565b5090565b5b80821115613f7b5760008155600101613f80565b6001600160a01b03929092168252602082015260400190565b6001600160e01b031981168114610db257600080fd5b600060208284031215613fd557600080fd5b8135612a5d81613fad565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561401e5761401e613fe0565b604052919050565b60006001600160401b0382111561403f5761403f613fe0565b5060051b60200190565b6001600160a01b0381168114610db257600080fd5b6000602080838503121561407157600080fd5b82356001600160401b0381111561408757600080fd5b8301601f8101851361409857600080fd5b80356140ab6140a682614026565b613ff6565b81815260059190911b820183019083810190878311156140ca57600080fd5b928401925b828410156140f15783356140e281614049565b825292840192908401906140cf565b979650505050505050565b60005b838110156141175781810151838201526020016140ff565b8381111561293f5750506000910152565b600081518084526141408160208601602086016140fc565b601f01601f19169290920160200192915050565b602081526000612a5d6020830184614128565b60006020828403121561417957600080fd5b5035919050565b6000806040838503121561419357600080fd5b823561419e81614049565b946020939093013593505050565b6000806000606084860312156141c157600080fd5b83356141cc81614049565b925060208401356141dc81614049565b929592945050506040919091013590565b6000806040838503121561420057600080fd5b50508035926020909101359150565b6000602080838503121561422257600080fd5b82356001600160401b0381111561423857600080fd5b8301601f8101851361424957600080fd5b80356142576140a682614026565b81815260059190911b8201830190838101908783111561427657600080fd5b928401925b828410156140f15783358252928401929084019061427b565b60006001600160401b038311156142ad576142ad613fe0565b6142c0601f8401601f1916602001613ff6565b90508281528383830111156142d457600080fd5b828260208301376000602084830101529392505050565b600082601f8301126142fc57600080fd5b612a5d83833560208501614294565b6000806040838503121561431e57600080fd5b82356001600160401b038082111561433557600080fd5b614341868387016142eb565b9350602085013591508082111561435757600080fd5b50614364858286016142eb565b9150509250929050565b60006020828403121561438057600080fd5b81356001600160401b0381111561439657600080fd5b6131ba848285016142eb565b6000602082840312156143b457600080fd5b8135612a5d81614049565b600080604083850312156143d257600080fd5b82356143dd81614049565b9150602083013580151581146143f257600080fd5b809150509250929050565b6000806000806080858703121561441357600080fd5b843561441e81614049565b9350602085013561442e81614049565b92506040850135915060608501356001600160401b0381111561445057600080fd5b8501601f8101871361446157600080fd5b61447087823560208401614294565b91505092959194509250565b6000806040838503121561448f57600080fd5b823561449a81614049565b915060208301356143f281614049565b6020808252601a908201527f4549503137333a20596f7520617265206e6f74204f776e657221000000000000604082015260600190565b600181811c908216806144f557607f821691505b60208210810361451557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601e908201527f4549503137333a20596f7520617265206e6f7420446576656c6f706572210000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156145d3576145d36145a3565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826145fd576145fd6145d8565b500490565b6020808252602a908201527f4549503137333a20596f7520617265206e6f74207468652050656e64696e6720604082015269446576656c6f7065722160b01b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115614696576146966145a3565b500190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156146c357600080fd5b8151612a5d81614049565b6000600182016146e0576146e06145a3565b5060010190565b8581526bffffffffffffffffffffffff198560601b166020820152600084516147178160348501602089016140fc565b84519083019061472e8160348401602089016140fc565b0160348101939093525050605401949350505050565b600082614753576147536145d8565b500690565b60008282101561476a5761476a6145a3565b500390565b8054600090600181811c908083168061478957607f831692505b602080841082036147aa57634e487b7160e01b600052602260045260246000fd5b838852602088018280156147c557600181146147d657614801565b60ff19871682528282019750614801565b60008981526020902060005b878110156147fb578154848201529086019084016147e2565b83019850505b5050505050505092915050565b6040815260006148216040830185614128565b8281036020840152614833818561476f565b95945050505050565b60208082526026908201527f4549503137333a205472616e736665722063616e206e6f74206265206164647260408201526565737328302960d01b606082015260800190565b60208082526026908201527f4549503137333a20596f7520617265206e6f74207468652050656e64696e67206040820152654f776e65722160d01b606082015260800190565b600083516148da8184602088016140fc565b8351908301906148ee8183602088016140fc565b01949350505050565b60408152600061490a604083018561476f565b82810360208401526148338185614128565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b921515835290151560208301526001600160a01b0316604082015260600190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906149c290830184614128565b9695505050505050565b6000602082840312156149de57600080fd5b8151612a5d81613fad56fea2646970667358221220f36c5ad6f2b4cc17760a4e0202e9ef461472f86c6b9bc827996b108e79c5ccee64736f6c634300080d0033
Loading...
Loading
Loading...
Loading
[ 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.