Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 7,903 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21240548 | 5 days ago | IN | 0 ETH | 0.00055979 | ||||
Set Approval For... | 21199474 | 11 days ago | IN | 0 ETH | 0.00055504 | ||||
Set Approval For... | 21146684 | 18 days ago | IN | 0 ETH | 0.00026492 | ||||
Set Approval For... | 21146670 | 18 days ago | IN | 0 ETH | 0.00028579 | ||||
Safe Transfer Fr... | 21057907 | 30 days ago | IN | 0 ETH | 0.00077242 | ||||
Set Approval For... | 20899876 | 53 days ago | IN | 0 ETH | 0.00034172 | ||||
Set Approval For... | 20636231 | 89 days ago | IN | 0 ETH | 0.00017551 | ||||
Transfer From | 20565689 | 99 days ago | IN | 0 ETH | 0.00004782 | ||||
Set Approval For... | 20496468 | 109 days ago | IN | 0 ETH | 0.00003767 | ||||
Set Approval For... | 20371976 | 126 days ago | IN | 0 ETH | 0.0002503 | ||||
Set Approval For... | 20353252 | 129 days ago | IN | 0 ETH | 0.00010853 | ||||
Set Approval For... | 20265625 | 141 days ago | IN | 0 ETH | 0.00015497 | ||||
Set Approval For... | 20265622 | 141 days ago | IN | 0 ETH | 0.00014746 | ||||
Set Approval For... | 20203177 | 150 days ago | IN | 0 ETH | 0.00012991 | ||||
Transfer From | 20093154 | 165 days ago | IN | 0 ETH | 0.00041046 | ||||
Transfer From | 20085723 | 166 days ago | IN | 0 ETH | 0.00077856 | ||||
Set Approval For... | 20056902 | 170 days ago | IN | 0 ETH | 0.00043746 | ||||
Set Approval For... | 19937214 | 187 days ago | IN | 0 ETH | 0.00026003 | ||||
Set Approval For... | 19935487 | 187 days ago | IN | 0 ETH | 0.00104718 | ||||
Set Approval For... | 19884520 | 194 days ago | IN | 0 ETH | 0.00028587 | ||||
Set Approval For... | 19877954 | 195 days ago | IN | 0 ETH | 0.00022221 | ||||
Set Approval For... | 19877952 | 195 days ago | IN | 0 ETH | 0.00021309 | ||||
Set Approval For... | 19816915 | 204 days ago | IN | 0 ETH | 0.00030847 | ||||
Set Approval For... | 19814373 | 204 days ago | IN | 0 ETH | 0.00018767 | ||||
Set Approval For... | 19781380 | 209 days ago | IN | 0 ETH | 0.00032293 |
Latest 8 internal transactions
Advanced mode:
Loading...
Loading
Contract Name:
SuperFuzzGoodGuys
Compiler Version
v0.8.2+commit.661d1103
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.2; /** ███████╗██╗ ██╗██████╗ ███████╗██████╗ ███████╗██╗ ██╗███████╗███████╗ ██╔════╝██║ ██║██╔══██╗██╔════╝██╔══██╗██╔════╝██║ ██║╚══███╔╝╚══███╔╝ ███████╗██║ ██║██████╔╝█████╗ ██████╔╝█████╗ ██║ ██║ ███╔╝ ███╔╝ ╚════██║██║ ██║██╔═══╝ ██╔══╝ ██╔══██╗██╔══╝ ██║ ██║ ███╔╝ ███╔╝ ███████║╚██████╔╝██║ ███████╗██║ ██║██║ ╚██████╔╝███████╗███████╗ ╚══════╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚══════╝╚══════╝ **/ import "./SuperFuzzGoldTicket.sol"; import "./SuperFuzzBadBatch.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract SuperFuzzGoodGuys is Ownable, ERC721Enumerable, PaymentSplitter, ReentrancyGuard { using SafeMath for uint; using SafeMath for uint32; using SafeMath for uint64; address private GoldTicketAddress = 0x77f9a627A41b39c23469a7111f91C8487582c019; SuperFuzzGoldTicket goldTicket; address payable BadBatchAddress = payable(0x457E089448b41903A3778F592E7F4A0B87d2F2a8); SuperFuzzBadBatch badBatch; string public PROVENANCE; string private _baseURIextended; uint16 public maxTokens = 7777; uint16 public reservedTokens; uint16 public airdropReserved = 45; uint16 public goldticketsupply; uint public PRICE = 0.05 ether; uint public maxPerWallet = 5; bool public isSaleLive = false; uint public currentAirdropIndex; bool private PROVENANCE_LOCK = false; enum Status { Closed, GoldTicketPreSale, BadBatchPreSale, WhitelistOne, WhitelistTwo, PublicSale } struct Account { uint64 tokenBalance; bool hasGoldTicket; bool isOnWhitelistOne; bool isOnWhitelistTwo; bool isTeam; } mapping(address => Account) private accounts; mapping(uint => uint) private numPurchasedWithGoldTicket; mapping(address => uint) private NFTsToClaim; //Main Good Guys Release Time - //Date: Sunday, September 26th uint public goldTicketPreSale = 1632672000; //Early Access Time for Gold Ticket holders: 9AM (PST) uint public badBatchPreSale = 1632682800; //Early Access Time for Bad Batch holders: 12PM (PST) uint public whitelistOnePreSale = 1632693600; //Early Access Time for Whitelist 1: 3PM (PST) uint public whitelistTwoPreSale = 1632700800; //Early Access Time for Whitelist 2: 5PM (PST) uint public publicSale = 1632711600; //Public Launch: 8PM (PST); // Distribution addresses address private constant multiSig = 0x3Fa5377F202E0A38844Fba8035B98233dbFB1Daf; address private constant coreTeam = 0x1e56C11F86aE138184D684B4BF3A36969B999D3F; address private constant dev = 0xeE057D6dF60De8B1b20BeFe3fE69033D10BF4F6D; address private constant genArt = 0x8C2e99dBFDe08dAb6F4f681500D1CCfcF9101EF5; address private constant teamCtrl = 0x75A04eB37090eea7A20612B51fa76E35CBe3F8C9; address[] private _team = [multiSig, coreTeam, dev, genArt]; uint[] private _team_shares = [45, 45, 5, 5]; constructor() ERC721("Superfuzz: The Good Guys", "SFGG") PaymentSplitter(_team, _team_shares) { _baseURIextended = "ipfs://QmPD4F85Yd1VJWMkfxdx5e34a973pkYW5apuiX8wc8cnRc/"; accounts[msg.sender].isTeam = true; accounts[teamCtrl].isTeam = true; goldTicket = SuperFuzzGoldTicket(GoldTicketAddress); badBatch = SuperFuzzBadBatch(BadBatchAddress); goldticketsupply = uint16(goldTicket._totalSupply()); NFTsToClaim[genArt] = 35; NFTsToClaim[dev] = 10; reservedTokens = 45; } // Events event MonsterMinted(uint _id, address _address); // End Events // Modifiers modifier onlyTeam() { require(accounts[msg.sender].isTeam == true, "Sneaky sneaky! You are not part of the team"); _; } modifier verifyAirDrop(address _to, uint _amount) { require(totalSupply() < (maxTokens), "We Sold All Out, See you on the next drop!"); require(totalSupply().add(_amount) <= (maxTokens), "Purchase would exceed max supply of Bad Batch"); _; } modifier verifyBuy(address _to, uint _amount) { require(isSaleLive, "Nice Try! Sale has not started yet!"); require(_amount > 0, "Hold up! You need to purchase at least one!"); require(PRICE.mul(_amount) <= msg.value, "Dang! You dont have enough ETH!"); require(totalSupply() + (goldticketsupply - currentAirdropIndex) + reservedTokens + airdropReserved < maxTokens, "Error 7,777: Sold Out!"); require(totalSupply().add(_amount) + (goldticketsupply - currentAirdropIndex) + reservedTokens + airdropReserved <= maxTokens, "Hold up! Purchase would exceed max supply. Try a lower amount."); require(accounts[_to].tokenBalance.add(_amount) <= maxPerWallet, "Nice Try! You shall not have more than 5 in your wallet."); _; } // End Modifier // Setters function toggleTeam(address _addr) external onlyOwner { accounts[_addr].isTeam = !accounts[_addr].isTeam; } function setProvenanceHash(string memory _provenanceHash) external onlyTeam { require(PROVENANCE_LOCK == false, "Provenance is locked!"); PROVENANCE = _provenanceHash; } function lockProvenance() external onlyTeam { PROVENANCE_LOCK = true; } function setBaseURI(string memory _newURI) external onlyTeam { _baseURIextended = _newURI; } function setMaxPerWallet(uint _amount) external onlyTeam { maxPerWallet = _amount; } function setTotalSupply(uint _amount) external onlyTeam { maxTokens = uint16(_amount); } function setPrice(uint _newPrice) external onlyTeam { PRICE = _newPrice; } function toggleSale() external onlyTeam { isSaleLive = !isSaleLive; } function setWhiteListOne(address[] memory _addr) external onlyTeam { for(uint i = 0; i < _addr.length; i++) { accounts[_addr[i]].isOnWhitelistOne = true; } } function setWhiteListTwo(address[] memory _addr) external onlyTeam { for(uint i = 0; i < _addr.length; i++) { accounts[_addr[i]].isOnWhitelistTwo = true; } } function setSaleTime(uint[] memory _newTimes) external onlyTeam { goldTicketPreSale = _newTimes[0]; badBatchPreSale = _newTimes[1]; whitelistOnePreSale = _newTimes[2]; whitelistTwoPreSale = _newTimes[3]; publicSale = _newTimes[4]; } // End Setter // Getters function getSaleTimes() public view returns (uint, uint, uint, uint, uint) { return (goldTicketPreSale, badBatchPreSale, whitelistOnePreSale, whitelistTwoPreSale, publicSale); } function saleState() public view returns (Status) { if(block.timestamp >= publicSale) { return Status.PublicSale; } else if(block.timestamp >= whitelistTwoPreSale) { return Status.WhitelistTwo; } else if(block.timestamp >= whitelistOnePreSale) { return Status.WhitelistOne; } else if(block.timestamp >= badBatchPreSale) { return Status.BadBatchPreSale; } else if(block.timestamp >= goldTicketPreSale) { return Status.GoldTicketPreSale; } return Status.Closed; } function remainingGoldTicketsToAirdrop() public view returns (uint) { uint remaining = uint(goldticketsupply).sub(currentAirdropIndex); return remaining; } // End Getter // Business Logic function airDropMany(address[] memory _addr) external onlyTeam verifyAirDrop(msg.sender, _addr.length) { require(_addr.length <= airdropReserved, "No more airdrops reserved!"); airdropReserved -= uint16(_addr.length); address _to = msg.sender; for (uint i = 0; i < _addr.length; i++) { uint id = totalSupply() + 1; accounts[_to].tokenBalance++; _safeMint(_addr[i], id); emit MonsterMinted(id, _to); } } function mintGoodGuy(uint _amount) external payable nonReentrant verifyBuy(msg.sender, _amount) { address _to = msg.sender; Status currentState = saleState(); if (currentState == Status.WhitelistTwo) { require(accounts[_to].isOnWhitelistTwo == true, "Nice Try! You need to be on Whitelist Two"); } else if (currentState == Status.WhitelistOne) { require(accounts[_to].isOnWhitelistOne == true, "Nice Try! You need to be on Whitelist One"); } else if (currentState == Status.BadBatchPreSale) { require(badBatch.balanceOf(_to) > 0, "Nice Try! You need to own a Bad Batch Monster"); require(numPurchasedWithGoldTicket[badBatch.tokenOfOwnerByIndex(_to, 0).add(1000)].add(_amount) <= maxPerWallet, "Nice Try! Your Bad Batch Monster aint that bad!"); // flag bad batch for(uint i = 0; i < badBatch.balanceOf(_to) && i < 5; i++) { numPurchasedWithGoldTicket[badBatch.tokenOfOwnerByIndex(_to, i).add(1000)] += _amount; } } else if (currentState == Status.GoldTicketPreSale) { require(goldTicket.balanceOf(_to) > 0, "Nice Try! You need to own a Gold Ticket"); require(numPurchasedWithGoldTicket[goldTicket.tokenOfOwnerByIndex(_to, 0)].add(_amount) <= maxPerWallet, "Nice Try! Your Gold Ticket has already been used"); // flag gold ticket numPurchasedWithGoldTicket[goldTicket.tokenOfOwnerByIndex(_to, 0)] += _amount; } else if (currentState == Status.Closed) { require(false, "Sale has not started yet!"); } for (uint i = 0; i < _amount; i++) { uint id = totalSupply() + 1; accounts[_to].tokenBalance++; _safeMint(_to, id); emit MonsterMinted(id, _to); } } function airDropToGoldTicketOwners(uint _toDrop) external onlyTeam { uint goldTicketSupply = goldticketsupply; uint currentIndex = currentAirdropIndex.add(1); require(currentIndex <= goldTicketSupply); for(uint i = currentIndex; i <= goldTicketSupply && i < (currentIndex + _toDrop); i++) { address _to = goldTicket.ownerOf(i); uint id = totalSupply() + 1; currentAirdropIndex++; accounts[_to].tokenBalance++; _safeMint(_to, id); } } function teamClaim(uint _amount) external onlyTeam { address _to = msg.sender; uint claimAmount = NFTsToClaim[_to]; require(claimAmount > 0, "Nice try! You don't have any NFTs to Claim"); for (uint i = 1; i <= claimAmount && i <= _amount; i++) { uint id = totalSupply() + 1; NFTsToClaim[_to]--; reservedTokens--; _safeMint(msg.sender, id); } } function burn(uint _id) external returns (bool, uint) { require(msg.sender == ownerOf(_id) || msg.sender == getApproved(_id) || isApprovedForAll(ownerOf(_id), msg.sender), "Sneaky sneaky! You don't own this Token."); _burn(_id); return (true, _id); } function withdrawAll() external onlyTeam { for (uint i = 0; i < _team.length; i++) { address payable wallet = payable(_team[i]); release(wallet); } } function _baseURI() internal view virtual override returns (string memory) { return _baseURIextended; } } /** Generative Art: @Jim Dee Smart Contract Consultant: @realkelvinperez Smart Contract Auditor: Patrick Price - [email protected] https://generativenfts.io/ **/
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @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. */ function _addPayee(address account, uint256 shares_) private { 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_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT 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 make 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.2; /** ███████╗██╗ ██╗██████╗ ███████╗██████╗ ███████╗██╗ ██╗███████╗███████╗ ██╔════╝██║ ██║██╔══██╗██╔════╝██╔══██╗██╔════╝██║ ██║╚══███╔╝╚══███╔╝ ███████╗██║ ██║██████╔╝█████╗ ██████╔╝█████╗ ██║ ██║ ███╔╝ ███╔╝ ╚════██║██║ ██║██╔═══╝ ██╔══╝ ██╔══██╗██╔══╝ ██║ ██║ ███╔╝ ███╔╝ ███████║╚██████╔╝██║ ███████╗██║ ██║██║ ╚██████╔╝███████╗███████╗ ╚══════╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚══════╝╚══════╝ **/ import "./SuperFuzzGoldTicket.sol"; import "hardhat/console.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; contract SuperFuzzBadBatch is ERC721URIStorage, ERC721Enumerable, Pausable, PaymentSplitter { using SafeMath for uint; using Counters for Counters.Counter; enum Status { Closed, PresaleStart, PublicSaleStart } Counters.Counter private _tokenIds; string public PROVENANCE = ""; string private _baseURIextended; uint constant public MAX_MONSTERS = 777; uint public MONSTER_PRICE = 0.07 ether; uint public maxPerTx = 1; uint public maxPerWallet = 2; uint public presaleStartTime = 1630868400; // 12pm PST uint public publicSaleStartTime = presaleStartTime + 9 hours; // starts 9 hours after the presale mapping(address => uint) public howManyMonsters; mapping(address => bool) private isTeam; mapping(address => bool) private hasGoldTicket; mapping(address => bool) private isOnWhiteList; address private GoldTicketAddress = 0x77f9a627A41b39c23469a7111f91C8487582c019; SuperFuzzGoldTicket goldTicket; // Team Address address[] private _team = [ 0x0C88ECF7FeEbBA1755282B87F5bDbF5A4b5eA08C, // 85 - Core team 0x290cB1eA2653Afcd1e3e5a89dDB49ccb2737Fd67, // 10 - Dev 0x9247502d319A57eF23A602ABcC4B1d0f180e3BC7 // 5 - Gen Art ]; // team address payout shares uint256[] private _team_shares = [85, 10, 5]; constructor() ERC721("Superfuzz: The Bad Batch", "SFBB") PaymentSplitter(_team, _team_shares) { _baseURIextended = "ipfs://bafybeih2sek4zgiwh2djnrxnkjdoanmzulvfz2kfxqhn6whqjckmpbr4fu/"; isTeam[msg.sender] = true; isTeam[0x0C88ECF7FeEbBA1755282B87F5bDbF5A4b5eA08C] = true; goldTicket = SuperFuzzGoldTicket(GoldTicketAddress); _safeMint(msg.sender, 1); increaseSupply(); _safeMint(0xAc3A3Db7D028E7cfFD96ad770C013D9fB310e0d4, 2); increaseSupply(); } // Events event MonsterMinted(uint _id, address _address); // End Events // Modifiers modifier onlyTeam() { require(isTeam[msg.sender] == true, "Sneaky sneaky! You are not part of the team"); _; } modifier checkRules(address _to, uint _amount) { require(_totalSupply() < MAX_MONSTERS, "We Sold All Out, See you on the next drop!"); require(_totalSupply().add(_amount) <= MAX_MONSTERS, "Purchase would exceed max supply of Bad Batch"); require(_amount <= getMaxPerTx(), "You cant have more than 2 in your wallet"); _; } modifier verifyBuy(address _to, uint _amount) { require(getStatus() == Status.PresaleStart || getStatus() == Status.PublicSaleStart, "Nice Try! Sale has not started yet!"); require(MONSTER_PRICE.mul(_amount) <= msg.value, "Dang! You dont have enough ETH!"); require(_totalSupply() < MAX_MONSTERS, "Error 777: Sold Out!"); require(_totalSupply().add(_amount) <= MAX_MONSTERS, "Hold up! Purchase would exceed max supply. Try a lower amount."); require(howManyMonsters[_to] >= 2 == false, "Nice Try! You shall not have more than 2 in your wallet."); if(getStatus() == Status.PresaleStart) { require(howManyMonsters[_to] >= 1 == false, "Sneaky sneaky! You need a Gold Ticket or be white-listed to mint right now."); require(goldTicket.balanceOf(_to) > 0 == true || isOnWhiteList[_to] == true, "Nice Try! You need a Gold Ticket or be Whitelisted"); require(_amount <= getMaxPerTx(), "Busted! Cant mint more than one during the Early Access period."); } _; } // End Modifier // Setters function setProvenanceHash(string memory _provenanceHash) external onlyTeam { PROVENANCE = _provenanceHash; } function setBaseURI(string memory baseURI_) external onlyTeam { _baseURIextended = baseURI_; } function setMaxTx(uint _amount) external onlyTeam { maxPerTx = _amount; } function setManyWhiteList(address[] memory _addr) external onlyTeam { for(uint i = 0; i < _addr.length; i++) { console.log("Address to add to whitelist", _addr[i]); isOnWhiteList[_addr[i]] = true; } } function increaseSupply() internal { _tokenIds.increment(); } // End Setter // Getters function _baseURI() internal view virtual override returns (string memory) { return _baseURIextended; } function getMaxPerTx() public returns (uint) { if(block.timestamp >= publicSaleStartTime) { maxPerTx = 2; } else if (block.timestamp >= presaleStartTime) { maxPerTx = 1; } return maxPerTx; } function getStatus() public view returns (Status) { if(block.timestamp >= publicSaleStartTime) { return Status.PublicSaleStart; } else if (block.timestamp >= presaleStartTime) { return Status.PresaleStart; } return Status.Closed; } function _totalSupply() public view returns (uint) { return _tokenIds.current(); } function setPreSaleTime(uint _newTime) public onlyTeam { presaleStartTime = _newTime; publicSaleStartTime = _newTime + 9 hours; } // End Getter // Business Logic function giftManyMonsters(address[] memory _addr) external onlyTeam checkRules(msg.sender, _addr.length) { address _to = msg.sender; for (uint i = 0; i < _addr.length; i++) { uint id = _totalSupply() + 1; _safeMint(_addr[i], id); howManyMonsters[_to]++; increaseSupply(); emit MonsterMinted(id, _to); } } function buyMonster(uint _amount) external payable verifyBuy(msg.sender, _amount) { address _to = msg.sender; for (uint i = 0; i < _amount; i++) { uint id = _totalSupply() + 1; _safeMint(_to, id); howManyMonsters[_to]++; increaseSupply(); emit MonsterMinted(id, _to); } } // OVERRIDES function _beforeTokenTransfer( address from, address to, uint tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function withdrawAll() public onlyTeam { for (uint i = 0; i < _team.length; i++) { address payable wallet = payable(_team[i]); release(wallet); } } } /** Generative Art: @Jim Dee Smart Contract Consultant: @realkelvinperez https://generativenfts.io/ **/
// SPDX-License-Identifier: MIT pragma solidity 0.8.2; /** ███████╗██╗ ██╗██████╗ ███████╗██████╗ ███████╗██╗ ██╗███████╗███████╗ ██╔════╝██║ ██║██╔══██╗██╔════╝██╔══██╗██╔════╝██║ ██║╚══███╔╝╚══███╔╝ ███████╗██║ ██║██████╔╝█████╗ ██████╔╝█████╗ ██║ ██║ ███╔╝ ███╔╝ ╚════██║██║ ██║██╔═══╝ ██╔══╝ ██╔══██╗██╔══╝ ██║ ██║ ███╔╝ ███╔╝ ███████║╚██████╔╝██║ ███████╗██║ ██║██║ ╚██████╔╝███████╗███████╗ ╚══════╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚══════╝╚══════╝ */ import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract SuperFuzzGoldTicket is Ownable, ERC721URIStorage, ERC721Enumerable { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIds; string public PROVENANCE = ""; uint256 public MAX_TICKETS = 200; uint256 public TICKET_PRICE = 0.05 ether; bool public isSaleActive = true; string private _baseURIextended; mapping(address => bool) public hasTicket; address[] private airDropList; uint256 public mintedTokens; constructor() ERC721("Superfuzz Gold Ticket", "SFGT") { _baseURIextended = "ipfs://bafybeibswqatpdonago5bfnxyudqcpxnch4vary4lbqqwxuaxljkzhvwoa/"; } event TicketMinted(address _addresss); event WhiteListMutated(address[] _whiteList, address _address); event IncreaseSupply(uint256 _currentSupply); /* Where all of the magic happens */ function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function setTicketPrice(uint256 _price) external onlyOwner { TICKET_PRICE = _price; } function setPrice(uint256 _newPrice) external onlyOwner { TICKET_PRICE = _newPrice; } function setMaxTickets(uint256 _newMax) external onlyOwner { MAX_TICKETS = _newMax; } function increaseSupply() internal { _tokenIds.increment(); mintedTokens = _totalSupply(); emit IncreaseSupply(mintedTokens); } function _totalSupply() public view returns (uint256) { return _tokenIds.current(); } function setProvenanceHash(string memory _provenanceHash) external onlyOwner { PROVENANCE = _provenanceHash; } function flipSaleState() external onlyOwner { isSaleActive = !isSaleActive; } function addToAirDropList(address _to) internal { airDropList.push(_to); } function getAirDropList() external view returns (address[] memory) { return airDropList; } function airDropTicket(address _to) external onlyOwner { // set rule address can only have one ticket require( hasTicket[_to] == false, "Cannot own more than one Gold Ticket" ); require(_totalSupply() < MAX_TICKETS, "DONE MINTING"); require(isSaleActive, "Sale must be active to mint SuperFuzz"); require( _totalSupply().add(1) <= MAX_TICKETS, "Purchase would exceed max supply of SuperFuzz" ); uint256 id = _totalSupply() + 1; _safeMint(_to, id); hasTicket[_to] = true; addToAirDropList(_to); increaseSupply(); emit TicketMinted(msg.sender); } function airDropManyTickets(address[] memory _addr) external onlyOwner { // this needs to accept and array of address and iterate through them // use the array length for the loop uint256 _amount = _addr.length; require( _totalSupply() < MAX_TICKETS, "No More tickets left! Try again next time" ); require(isSaleActive, "Sale must be active to mint SuperFuzz"); require( _totalSupply().add(1) <= MAX_TICKETS, "Purchase would exceed max supply of SuperFuzz" ); for (uint256 i = 0; i < _amount; i++) { require( hasTicket[_addr[i]] == false, "Cannot own more than one Gold Ticket" ); uint256 id = _totalSupply() + 1; _safeMint(_addr[i], id); hasTicket[_addr[i]] = true; addToAirDropList(_addr[i]); increaseSupply(); emit TicketMinted(msg.sender); } } function claimTicket() external { // this is the main function that will be called address _to = msg.sender; require(hasTicket[_to] == false, "Cannot Buy more than one"); require( _totalSupply() < MAX_TICKETS, "No More tickets left! Try again next time" ); require(isSaleActive, "Sale must be active to mint Gold Tickets"); require( _totalSupply().add(1) <= MAX_TICKETS, "Purchase would exceed max supply of Gold Tickets" ); uint256 id = _totalSupply() + 1; _safeMint(_to, id); hasTicket[_to] = true; addToAirDropList(_to); increaseSupply(); emit TicketMinted(_to); } function buyTicket() external payable { address _to = msg.sender; require(msg.value == TICKET_PRICE, "Not enough ETH, try againg"); require(hasTicket[_to] == false, "Cannot Buy more than one"); require( _totalSupply() < MAX_TICKETS, "No More tickets left! Try again next time" ); require(isSaleActive, "Sale must be active to mint Gold Tickets"); require( _totalSupply().add(1) <= MAX_TICKETS, "Purchase would exceed max supply of Gold Tickets" ); uint256 id = _totalSupply() + 1; _safeMint(_to, id); hasTicket[_to] = true; addToAirDropList(_to); increaseSupply(); emit TicketMinted(_to); } function tokensOfOwner(address owner) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenCount); for (uint256 i = 0; i < tokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(owner, i); } return tokenIds; } function setBaseURI(string memory baseURI_) external onlyOwner { _baseURIextended = baseURI_; } // Add payable distribution with withdraw // OVERRIDES function _baseURI() internal view virtual override returns (string memory) { return _baseURIextended; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_id","type":"uint256"},{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"MonsterMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addr","type":"address[]"}],"name":"airDropMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_toDrop","type":"uint256"}],"name":"airDropToGoldTicketOwners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"airdropReserved","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"badBatchPreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentAirdropIndex","outputs":[{"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":"getSaleTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"goldTicketPreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"goldticketsupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintGoodGuy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingGoldTicketsToAirdrop","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedTokens","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum SuperFuzzGoodGuys.Status","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_newTimes","type":"uint256[]"}],"name":"setSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addr","type":"address[]"}],"name":"setWhiteListOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addr","type":"address[]"}],"name":"setWhiteListTwo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"teamClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"toggleTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"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":"whitelistOnePreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistTwoPreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
601180547377f9a627a41b39c23469a7111f91c8487582c0196001600160a01b0319918216179091556013805473457e089448b41903a3778f592e7f4a0b87d2f2a8921691909117905560178054611e6161ffff199091161761ffff60201b1916642d0000000017905566b1a2bc2ec500006018556005601955601a805460ff19908116909155601c805490911690556361509900602055636150c330602155636150ed60602255636151098060235563615133b0602455610100604052733fa5377f202e0a38844fba8035b98233dbfb1daf6080908152731e56c11f86ae138184d684b4bf3a36969b999d3f60a05273ee057d6df60de8b1b20befe3fe69033d10bf4f6d60c052738c2e99dbfde08dab6f4f681500d1ccfcf9101ef560e0526200012f90602590600462000831565b5060408051608081018252602d808252602082015260059181018290526060810191909152620001649060269060046200089b565b503480156200017257600080fd5b506025805480602002602001604051908101604052809291908181526020018280548015620001cb57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311620001ac575b505050505060268054806020026020016040519081016040528092919081815260200182805480156200021e57602002820191906000526020600020905b81548152602001906001019080831162000209575b50505050506040518060400160405280601881526020017f537570657266757a7a3a2054686520476f6f6420477579730000000000000000815250604051806040016040528060048152602001635346474760e01b815250620002906200028a620005ef60201b60201c565b620005f3565b8151620002a5906001906020850190620008de565b508051620002bb906002906020840190620008de565b5050508051825114620003305760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620003835760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000327565b60005b82518110156200040757620003f2838281518110620003b557634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110620003de57634e487b7160e01b600052603260045260246000fd5b60200260200101516200064360201b60201c565b80620003fe81620009e3565b91505062000386565b50506001601055506040805160608101909152603680825262004e75602083013980516200043e91601691602090910190620008de565b50336000908152601d60209081526040808320805460ff60581b199081166b0100000000000000000000009081179092557375a04eb37090eea7a20612b51fa76e35cbe3f8c99094527faf1fb24687efc6897f628cf13dd96c33891afdb45272eb67e6ec3146eaa52238805490941617909255601154601280546001600160a01b03199081166001600160a01b039384161791829055601354601480549092169084161790558351633eaaf86b60e01b81529351911692633eaaf86b926004808301939192829003018186803b1580156200051857600080fd5b505afa1580156200052d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000553919062000972565b60178054601f60205260237faa4651eb03a8d4f432f91ca4bb2c3ce22c33578270ec3bceeee497f83a640dab5573ee057d6df60de8b1b20befe3fe69033d10bf4f6d600052600a7f9c9ab5affcd09fd076721e775821d7833c5990c2e58c8850441225c5b1711c275561ffff60301b1916660100000000000061ffff93909316929092029190911763ffff00001916622d000017905562000a17565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620006b05760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000327565b60008111620007025760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000327565b6001600160a01b0382166000908152600d6020526040902054156200077e5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000327565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0384169081179091556000908152600d60205260409020819055600b54620007e89082906200098b565b600b55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b82805482825590600052602060002090810192821562000889579160200282015b828111156200088957825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000852565b50620008979291506200095b565b5090565b82805482825590600052602060002090810192821562000889579160200282015b8281111562000889578251829060ff16905591602001919060010190620008bc565b828054620008ec90620009a6565b90600052602060002090601f01602090048101928262000910576000855562000889565b82601f106200092b57805160ff191683800117855562000889565b8280016001018555821562000889579182015b82811115620008895782518255916020019190600101906200093e565b5b808211156200089757600081556001016200095c565b60006020828403121562000984578081fd5b5051919050565b60008219821115620009a157620009a162000a01565b500190565b600281046001821680620009bb57607f821691505b60208210811415620009dd57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620009fa57620009fa62000a01565b5060010190565b634e487b7160e01b600052601160045260246000fd5b61444e8062000a276000396000f3fe6080604052600436106103905760003560e01c8063777f64cf116101dc578063b5829df611610102578063e268e4d3116100a0578063ea7523ee1161006f578063ea7523ee14610abf578063f2fde38b14610ad4578063f71143ca14610af4578063f7ea7a3d14610b0e576103e0565b8063e268e4d314610a4f578063e33b7de314610a6f578063e831574214610a84578063e985e9c514610a9f576103e0565b8063c87b56dd116100dc578063c87b56dd146109b9578063cadf7c4d146109d9578063ce7c2ac2146109f9578063e0be7d4014610a2f576103e0565b8063b5829df614610959578063b88d4fde14610979578063bf962ba414610999576103e0565b80638d859f3e1161017a5780639852595c116101495780639852595c146108d0578063a026da8c14610906578063a22cb46514610926578063b2a14a1014610946576103e0565b80638d859f3e146108675780638da5cb5b1461087d57806391b7f5ed1461089b57806395d89b41146108bb576103e0565b8063853828b6116101b6578063853828b6146107fa578063875d9ac81461080f5780638b1db965146108315780638b83209b14610847576103e0565b8063777f64cf146107af5780637893a9d2146107c55780637d8966e4146107e5576103e0565b8063374c1617116102c157806355f804b31161025f5780636373a6b11161022e5780636373a6b11461075057806370a0823114610765578063715018a6146107855780637369015d1461079a576103e0565b806355f804b3146106aa57806358d21178146106ca578063603f4d521461070e5780636352211e14610730576103e0565b806342966c681161029b57806342966c681461061a57806344c1e2a414610651578063453c2310146106745780634f6ccce71461068a576103e0565b8063374c1617146105c55780633a98ef39146105e557806342842e0e146105fa576103e0565b806318160ddd1161032e5780632a06c4f3116103085780632a06c4f3146105635780632e23025f146105795780632f745c591461058f57806333bc1c5c146105af576103e0565b806318160ddd1461050e578063191655871461052357806323b872dd14610543576103e0565b8063095ea7b31161036a578063095ea7b314610474578063109695231461049657806315a55347146104b657806317baa8ff146104ea576103e0565b806301ffc9a7146103e557806306fdde031461041a578063081812fc1461043c576103e0565b366103e0577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706103be610b2e565b604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103f157600080fd5b50610405610400366004613f3e565b610b33565b60405190151581526020015b60405180910390f35b34801561042657600080fd5b5061042f610b60565b60405161041191906140ab565b34801561044857600080fd5b5061045c610457366004613fbb565b610bf2565b6040516001600160a01b039091168152602001610411565b34801561048057600080fd5b5061049461048f366004613df3565b610c8c565b005b3480156104a257600080fd5b506104946104b1366004613f76565b610db4565b3480156104c257600080fd5b506017546104d79062010000900461ffff1681565b60405161ffff9091168152602001610411565b3480156104f657600080fd5b5061050060225481565b604051908152602001610411565b34801561051a57600080fd5b50600954610500565b34801561052f57600080fd5b5061049461053e366004613c96565b610e51565b34801561054f57600080fd5b5061049461055e366004613d06565b611022565b34801561056f57600080fd5b5061050060205481565b34801561058557600080fd5b50610500601b5481565b34801561059b57600080fd5b506105006105aa366004613df3565b61105a565b3480156105bb57600080fd5b5061050060245481565b3480156105d157600080fd5b506104946105e0366004613e1e565b6110f0565b3480156105f157600080fd5b50600b54610500565b34801561060657600080fd5b50610494610615366004613d06565b6111b2565b34801561062657600080fd5b5061063a610635366004613fbb565b6111cd565b604080519215158352602083019190915201610411565b34801561065d57600080fd5b506017546104d790640100000000900461ffff1681565b34801561068057600080fd5b5061050060195481565b34801561069657600080fd5b506105006106a5366004613fbb565b611297565b3480156106b657600080fd5b506104946106c5366004613f76565b611338565b3480156106d657600080fd5b50602054602154602254602354602454604080519586526020860194909452928401919091526060830152608082015260a001610411565b34801561071a57600080fd5b50610723611386565b6040516104119190614083565b34801561073c57600080fd5b5061045c61074b366004613fbb565b6113e3565b34801561075c57600080fd5b5061042f61145a565b34801561077157600080fd5b50610500610780366004613c96565b6114e8565b34801561079157600080fd5b5061049461156f565b3480156107a657600080fd5b506105006115c4565b3480156107bb57600080fd5b5061050060215481565b3480156107d157600080fd5b506104946107e0366004613fbb565b6115eb565b3480156107f157600080fd5b50610494611798565b34801561080657600080fd5b506104946117e7565b34801561081b57600080fd5b506017546104d790600160301b900461ffff1681565b34801561083d57600080fd5b5061050060235481565b34801561085357600080fd5b5061045c610862366004613fbb565b611888565b34801561087357600080fd5b5061050060185481565b34801561088957600080fd5b506000546001600160a01b031661045c565b3480156108a757600080fd5b506104946108b6366004613fbb565b6118c6565b3480156108c757600080fd5b5061042f611906565b3480156108dc57600080fd5b506105006108eb366004613c96565b6001600160a01b03166000908152600e602052604090205490565b34801561091257600080fd5b50610494610921366004613fbb565b611915565b34801561093257600080fd5b50610494610941366004613dc2565b611a6c565b610494610954366004613fbb565b611b6e565b34801561096557600080fd5b50610494610974366004613ebb565b6127a9565b34801561098557600080fd5b50610494610994366004613d46565b6128d2565b3480156109a557600080fd5b506104946109b4366004613c96565b61290b565b3480156109c557600080fd5b5061042f6109d4366004613fbb565b61298a565b3480156109e557600080fd5b506104946109f4366004613e1e565b612a65565b348015610a0557600080fd5b50610500610a14366004613c96565b6001600160a01b03166000908152600d602052604090205490565b348015610a3b57600080fd5b50610494610a4a366004613e1e565b612d32565b348015610a5b57600080fd5b50610494610a6a366004613fbb565b612dee565b348015610a7b57600080fd5b50600c54610500565b348015610a9057600080fd5b506017546104d79061ffff1681565b348015610aab57600080fd5b50610405610aba366004613cce565b612e2e565b348015610acb57600080fd5b50610494612e5c565b348015610ae057600080fd5b50610494610aef366004613c96565b612ea6565b348015610b0057600080fd5b50601a546104059060ff1681565b348015610b1a57600080fd5b50610494610b29366004613fbb565b612f5d565b335b90565b60006001600160e01b0319821663780e9d6360e01b1480610b585750610b5882612fb0565b90505b919050565b606060018054610b6f9061431a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9b9061431a565b8015610be85780601f10610bbd57610100808354040283529160200191610be8565b820191906000526020600020905b815481529060010190602001808311610bcb57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610c705760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610c97826113e3565b9050806001600160a01b0316836001600160a01b03161415610d055760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c67565b806001600160a01b0316610d17610b2e565b6001600160a01b03161480610d335750610d3381610aba610b2e565b610da55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c67565b610daf8383613000565b505050565b336000908152601d6020526040902054600160581b900460ff161515600114610def5760405162461bcd60e51b8152600401610c6790614110565b601c5460ff1615610e3a5760405162461bcd60e51b815260206004820152601560248201527450726f76656e616e6365206973206c6f636b65642160581b6044820152606401610c67565b8051610e4d906015906020840190613ba6565b5050565b6001600160a01b0381166000908152600d6020526040902054610ec55760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610c67565b6000600c5447610ed59190614234565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192610f0c9085614260565b610f16919061424c565b610f2091906142a2565b905080610f835760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610c67565b6001600160a01b0383166000908152600e6020526040902054610fa7908290614234565b6001600160a01b0384166000908152600e6020526040902055600c54610fce908290614234565b600c55610fdb838261306e565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b61103361102d610b2e565b82613187565b61104f5760405162461bcd60e51b8152600401610c6790614190565b610daf83838361325e565b6000611065836114e8565b82106110c75760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c67565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b336000908152601d6020526040902054600160581b900460ff16151560011461112b5760405162461bcd60e51b8152600401610c6790614110565b60005b8151811015610e4d576001601d600084848151811061115d57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000208054911515600160481b0269ff00000000000000000019909216919091179055806111aa81614355565b91505061112e565b610daf838383604051806020016040528060008152506128d2565b6000806111d9836113e3565b6001600160a01b0316336001600160a01b0316148061121157506111fc83610bf2565b6001600160a01b0316336001600160a01b0316145b806112295750611229611223846113e3565b33612e2e565b6112865760405162461bcd60e51b815260206004820152602860248201527f536e65616b7920736e65616b792120596f7520646f6e2774206f776e2074686960448201526739902a37b5b2b71760c11b6064820152608401610c67565b61128f83613409565b506001905091565b60006112a260095490565b82106113055760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c67565b6009828154811061132657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b336000908152601d6020526040902054600160581b900460ff1615156001146113735760405162461bcd60e51b8152600401610c6790614110565b8051610e4d906016906020840190613ba6565b6000602454421061139957506005610b30565b60235442106113aa57506004610b30565b60225442106113bb57506003610b30565b60215442106113cc57506002610b30565b60205442106113dd57506001610b30565b50600090565b6000818152600360205260408120546001600160a01b031680610b585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c67565b601580546114679061431a565b80601f01602080910402602001604051908101604052809291908181526020018280546114939061431a565b80156114e05780601f106114b5576101008083540402835291602001916114e0565b820191906000526020600020905b8154815290600101906020018083116114c357829003601f168201915b505050505081565b60006001600160a01b0382166115535760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c67565b506001600160a01b031660009081526004602052604090205490565b611577610b2e565b6001600160a01b03166115926000546001600160a01b031690565b6001600160a01b0316146115b85760405162461bcd60e51b8152600401610c679061415b565b6115c260006134b0565b565b601b5460175460009182916115e591600160301b90910461ffff1690613500565b91505090565b336000908152601d6020526040902054600160581b900460ff1615156001146116265760405162461bcd60e51b8152600401610c6790614110565b601754601b54600160301b90910461ffff169060009061164790600161350c565b90508181111561165657600080fd5b805b828111158015611670575061166d8483614234565b81105b15611792576012546040516331a9108f60e11b8152600481018390526000916001600160a01b031690636352211e9060240160206040518083038186803b1580156116ba57600080fd5b505afa1580156116ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f29190613cb2565b905060006116ff60095490565b61170a906001614234565b601b8054919250600061171c83614355565b90915550506001600160a01b0382166000908152601d6020526040812080546001600160401b03169161174e83614370565b91906101000a8154816001600160401b0302191690836001600160401b031602179055505061177d8282613518565b5050808061178a90614355565b915050611658565b50505050565b336000908152601d6020526040902054600160581b900460ff1615156001146117d35760405162461bcd60e51b8152600401610c6790614110565b601a805460ff19811660ff90911615179055565b336000908152601d6020526040902054600160581b900460ff1615156001146118225760405162461bcd60e51b8152600401610c6790614110565b60005b6025548110156118855760006025828154811061185257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316905061187281610e51565b508061187d81614355565b915050611825565b50565b6000600f82815481106118ab57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b336000908152601d6020526040902054600160581b900460ff1615156001146119015760405162461bcd60e51b8152600401610c6790614110565b601855565b606060028054610b6f9061431a565b336000908152601d6020526040902054600160581b900460ff1615156001146119505760405162461bcd60e51b8152600401610c6790614110565b336000818152601f6020526040902054806119c05760405162461bcd60e51b815260206004820152602a60248201527f4e696365207472792120596f7520646f6e2774206861766520616e79204e46546044820152697320746f20436c61696d60b01b6064820152608401610c67565b60015b8181111580156119d35750838111155b156117925760006119e360095490565b6119ee906001614234565b6001600160a01b0385166000908152601f60205260408120805492935090611a1583614303565b90915550506017805462010000900461ffff16906002611a34836142e5565b91906101000a81548161ffff021916908361ffff16021790555050611a593382613518565b5080611a6481614355565b9150506119c3565b611a74610b2e565b6001600160a01b0316826001600160a01b03161415611ad55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c67565b8060066000611ae2610b2e565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611b26610b2e565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b62911515815260200190565b60405180910390a35050565b60026010541415611bc15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c67565b6002601055601a543390829060ff16611c285760405162461bcd60e51b815260206004820152602360248201527f4e69636520547279212053616c6520686173206e6f742073746172746564207960448201526265742160e81b6064820152608401610c67565b60008111611c8c5760405162461bcd60e51b815260206004820152602b60248201527f486f6c642075702120596f75206e65656420746f20707572636861736520617460448201526a206c65617374206f6e652160a81b6064820152608401610c67565b6018543490611c9b9083613532565b1115611ce95760405162461bcd60e51b815260206004820152601f60248201527f44616e672120596f7520646f6e74206861766520656e6f7567682045544821006044820152606401610c67565b601754601b5461ffff808316926401000000008104821692620100008204831692611d1b92600160301b9004166142a2565b600954611d289190614234565b611d329190614234565b611d3c9190614234565b10611d825760405162461bcd60e51b81526020600482015260166024820152754572726f7220372c3737373a20536f6c64204f75742160501b6044820152606401610c67565b601754601b5461ffff808316926401000000008104821692620100008204831692611db492600160301b9004166142a2565b611dc785611dc160095490565b9061350c565b611dd19190614234565b611ddb9190614234565b611de59190614234565b1115611e595760405162461bcd60e51b815260206004820152603e60248201527f486f6c642075702120507572636861736520776f756c6420657863656564206d60448201527f617820737570706c792e205472792061206c6f77657220616d6f756e742e00006064820152608401610c67565b6019546001600160a01b0383166000908152601d6020526040902054611e88906001600160401b03168361350c565b1115611efc5760405162461bcd60e51b815260206004820152603860248201527f4e696365205472792120596f75207368616c6c206e6f742068617665206d6f7260448201527f65207468616e203520696e20796f75722077616c6c65742e00000000000000006064820152608401610c67565b336000611f07611386565b90506004816005811115611f2b57634e487b7160e01b600052602160045260246000fd5b1415611fbc576001600160a01b0382166000908152601d6020526040902054600160501b900460ff161515600114611fb75760405162461bcd60e51b815260206004820152602960248201527f4e696365205472792120596f75206e65656420746f206265206f6e2057686974604482015268656c6973742054776f60b81b6064820152608401610c67565b6126c5565b6003816005811115611fde57634e487b7160e01b600052602160045260246000fd5b141561206a576001600160a01b0382166000908152601d6020526040902054600160481b900460ff161515600114611fb75760405162461bcd60e51b815260206004820152602960248201527f4e696365205472792120596f75206e65656420746f206265206f6e2057686974604482015268656c697374204f6e6560b81b6064820152608401610c67565b600281600581111561208c57634e487b7160e01b600052602160045260246000fd5b14156123a6576014546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a082319060240160206040518083038186803b1580156120d857600080fd5b505afa1580156120ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121109190613fd3565b116121735760405162461bcd60e51b815260206004820152602d60248201527f4e696365205472792120596f75206e65656420746f206f776e2061204261642060448201526c2130ba31b41026b7b739ba32b960991b6064820152608401610c67565b601954601454604051632f745c5960e01b81526001600160a01b03858116600483015260006024830181905261222a938a93601e9361220d926103e892911690632f745c59906044015b60206040518083038186803b1580156121d557600080fd5b505afa1580156121e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc19190613fd3565b81526020019081526020016000205461350c90919063ffffffff16565b11156122905760405162461bcd60e51b815260206004820152602f60248201527f4e696365205472792120596f757220426164204261746368204d6f6e7374657260448201526e2061696e742074686174206261642160881b6064820152608401610c67565b60005b6014546040516370a0823160e01b81526001600160a01b038581166004830152909116906370a082319060240160206040518083038186803b1580156122d857600080fd5b505afa1580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123109190613fd3565b8110801561231e5750600581105b156123a057601454604051632f745c5960e01b81526001600160a01b038581166004830152602482018490528892601e9260009261236b926103e892911690632f745c59906044016121bd565b815260200190815260200160002060008282546123889190614234565b9091555081905061239881614355565b915050612293565b506126c5565b60018160058111156123c857634e487b7160e01b600052602160045260246000fd5b1415612655576012546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a082319060240160206040518083038186803b15801561241457600080fd5b505afa158015612428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244c9190613fd3565b116124a95760405162461bcd60e51b815260206004820152602760248201527f4e696365205472792120596f75206e65656420746f206f776e206120476f6c6460448201526608151a58dad95d60ca1b6064820152608401610c67565b601954601254604051632f745c5960e01b81526001600160a01b03858116600483015260006024830181905261253b938a93601e9390911690632f745c599060440160206040518083038186803b15801561250357600080fd5b505afa158015612517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220d9190613fd3565b11156125a25760405162461bcd60e51b815260206004820152603060248201527f4e696365205472792120596f757220476f6c64205469636b657420686173206160448201526f1b1c9958591e481899595b881d5cd95960821b6064820152608401610c67565b601254604051632f745c5960e01b81526001600160a01b0384811660048301526000602483018190528893601e9391921690632f745c599060440160206040518083038186803b1580156125f557600080fd5b505afa158015612609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262d9190613fd3565b8152602001908152602001600020600082825461264a9190614234565b909155506126c59050565b600081600581111561267757634e487b7160e01b600052602160045260246000fd5b14156126c55760405162461bcd60e51b815260206004820152601960248201527f53616c6520686173206e6f7420737461727465642079657421000000000000006044820152606401610c67565b60005b8581101561279c5760006126db60095490565b6126e6906001614234565b6001600160a01b0385166000908152601d6020526040812080549293506001600160401b03909216919061271983614370565b91906101000a8154816001600160401b0302191690836001600160401b03160217905550506127488482613518565b604080518281526001600160a01b03861660208201527ff91ef1ee0ecdb982766e5eba2ac0b8648378f07c6d2264ba4c784c05f7c5b239910160405180910390a1508061279481614355565b9150506126c8565b5050600160105550505050565b336000908152601d6020526040902054600160581b900460ff1615156001146127e45760405162461bcd60e51b8152600401610c6790614110565b8060008151811061280557634e487b7160e01b600052603260045260246000fd5b60200260200101516020819055508060018151811061283457634e487b7160e01b600052603260045260246000fd5b60200260200101516021819055508060028151811061286357634e487b7160e01b600052603260045260246000fd5b60200260200101516022819055508060038151811061289257634e487b7160e01b600052603260045260246000fd5b6020026020010151602381905550806004815181106128c157634e487b7160e01b600052603260045260246000fd5b602002602001015160248190555050565b6128e36128dd610b2e565b83613187565b6128ff5760405162461bcd60e51b8152600401610c6790614190565b6117928484848461353e565b612913610b2e565b6001600160a01b031661292e6000546001600160a01b031690565b6001600160a01b0316146129545760405162461bcd60e51b8152600401610c679061415b565b6001600160a01b03166000908152601d60205260409020805460ff60581b198116600160581b9182900460ff1615909102179055565b6000818152600360205260409020546060906001600160a01b0316612a095760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c67565b6000612a13613571565b90506000815111612a335760405180602001604052806000815250612a5e565b80612a3d84613580565b604051602001612a4e929190614017565b6040516020818303038152906040525b9392505050565b336000908152601d6020526040902054600160581b900460ff161515600114612aa05760405162461bcd60e51b8152600401610c6790614110565b805160175433919061ffff16612ab560095490565b10612b155760405162461bcd60e51b815260206004820152602a60248201527f576520536f6c6420416c6c204f75742c2053656520796f75206f6e20746865206044820152696e6578742064726f702160b01b6064820152608401610c67565b60175461ffff16612b2982611dc160095490565b1115612b8d5760405162461bcd60e51b815260206004820152602d60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526c040decc4084c2c84084c2e8c6d609b1b6064820152608401610c67565b601754835164010000000090910461ffff161015612bed5760405162461bcd60e51b815260206004820152601a60248201527f4e6f206d6f72652061697264726f7073207265736572766564210000000000006044820152606401610c67565b825160178054600490612c0d908490640100000000900461ffff1661427f565b92506101000a81548161ffff021916908361ffff160217905550600033905060005b8451811015612d2b576000612c4360095490565b612c4e906001614234565b6001600160a01b0384166000908152601d6020526040812080549293506001600160401b039092169190612c8183614370565b91906101000a8154816001600160401b0302191690836001600160401b0316021790555050612cd7868381518110612cc957634e487b7160e01b600052603260045260246000fd5b602002602001015182613518565b604080518281526001600160a01b03851660208201527ff91ef1ee0ecdb982766e5eba2ac0b8648378f07c6d2264ba4c784c05f7c5b239910160405180910390a15080612d2381614355565b915050612c2f565b5050505050565b336000908152601d6020526040902054600160581b900460ff161515600114612d6d5760405162461bcd60e51b8152600401610c6790614110565b60005b8151811015610e4d576001601d6000848481518110612d9f57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000208054911515600160501b0260ff60501b1990921691909117905580612de681614355565b915050612d70565b336000908152601d6020526040902054600160581b900460ff161515600114612e295760405162461bcd60e51b8152600401610c6790614110565b601955565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b336000908152601d6020526040902054600160581b900460ff161515600114612e975760405162461bcd60e51b8152600401610c6790614110565b601c805460ff19166001179055565b612eae610b2e565b6001600160a01b0316612ec96000546001600160a01b031690565b6001600160a01b031614612eef5760405162461bcd60e51b8152600401610c679061415b565b6001600160a01b038116612f545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c67565b611885816134b0565b336000908152601d6020526040902054600160581b900460ff161515600114612f985760405162461bcd60e51b8152600401610c6790614110565b6017805461ffff191661ffff92909216919091179055565b60006001600160e01b031982166380ac58cd60e01b1480612fe157506001600160e01b03198216635b5e139f60e01b145b80610b5857506301ffc9a760e01b6001600160e01b0319831614610b58565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190613035826113e3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156130be5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c67565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461310b576040519150601f19603f3d011682016040523d82523d6000602084013e613110565b606091505b5050905080610daf5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c67565b6000818152600360205260408120546001600160a01b03166132005760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c67565b600061320b836113e3565b9050806001600160a01b0316846001600160a01b031614806132465750836001600160a01b031661323b84610bf2565b6001600160a01b0316145b8061325657506132568185612e2e565b949350505050565b826001600160a01b0316613271826113e3565b6001600160a01b0316146132d95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c67565b6001600160a01b03821661333b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c67565b61334683838361369a565b613351600082613000565b6001600160a01b038316600090815260046020526040812080546001929061337a9084906142a2565b90915550506001600160a01b03821660009081526004602052604081208054600192906133a8908490614234565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000613414826113e3565b90506134228160008461369a565b61342d600083613000565b6001600160a01b03811660009081526004602052604081208054600192906134569084906142a2565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612a5e82846142a2565b6000612a5e8284614234565b610e4d828260405180602001604052806000815250613757565b6000612a5e8284614260565b61354984848461325e565b6135558484848461378a565b6117925760405162461bcd60e51b8152600401610c67906140be565b606060168054610b6f9061431a565b6060816135a557506040805180820190915260018152600360fc1b6020820152610b5b565b8160005b81156135cf57806135b981614355565b91506135c89050600a8361424c565b91506135a9565b6000816001600160401b038111156135f757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613621576020820181803683370190505b5090505b8415613256576136366001836142a2565b9150613643600a86614397565b61364e906030614234565b60f81b81838151811061367157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613693600a8661424c565b9450613625565b6001600160a01b0383166136f5576136f081600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b613718565b816001600160a01b0316836001600160a01b03161461371857613718838261389e565b6001600160a01b0382166137345761372f8161393b565b610daf565b826001600160a01b0316826001600160a01b031614610daf57610daf8282613a14565b6137618383613a58565b61376e600084848461378a565b610daf5760405162461bcd60e51b8152600401610c67906140be565b60006001600160a01b0384163b1561389357836001600160a01b031663150b7a026137b3610b2e565b8786866040518563ffffffff1660e01b81526004016137d59493929190614046565b602060405180830381600087803b1580156137ef57600080fd5b505af192505050801561381f575060408051601f3d908101601f1916820190925261381c91810190613f5a565b60015b613879573d80801561384d576040519150601f19603f3d011682016040523d82523d6000602084013e613852565b606091505b5080516138715760405162461bcd60e51b8152600401610c67906140be565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613256565b506001949350505050565b600060016138ab846114e8565b6138b591906142a2565b600083815260086020526040902054909150808214613908576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061394d906001906142a2565b6000838152600a60205260408120546009805493945090928490811061398357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600983815481106139b257634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806139f857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613a1f836114e8565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b038216613aae5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c67565b6000818152600360205260409020546001600160a01b031615613b135760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c67565b613b1f6000838361369a565b6001600160a01b0382166000908152600460205260408120805460019290613b48908490614234565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613bb29061431a565b90600052602060002090601f016020900481019282613bd45760008555613c1a565b82601f10613bed57805160ff1916838001178555613c1a565b82800160010185558215613c1a579182015b82811115613c1a578251825591602001919060010190613bff565b50613c26929150613c2a565b5090565b5b80821115613c265760008155600101613c2b565b60006001600160401b03831115613c5857613c586143d7565b613c6b601f8401601f19166020016141e1565b9050828152838383011115613c7f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215613ca7578081fd5b8135612a5e816143ed565b600060208284031215613cc3578081fd5b8151612a5e816143ed565b60008060408385031215613ce0578081fd5b8235613ceb816143ed565b91506020830135613cfb816143ed565b809150509250929050565b600080600060608486031215613d1a578081fd5b8335613d25816143ed565b92506020840135613d35816143ed565b929592945050506040919091013590565b60008060008060808587031215613d5b578081fd5b8435613d66816143ed565b93506020850135613d76816143ed565b92506040850135915060608501356001600160401b03811115613d97578182fd5b8501601f81018713613da7578182fd5b613db687823560208401613c3f565b91505092959194509250565b60008060408385031215613dd4578182fd5b8235613ddf816143ed565b915060208301358015158114613cfb578182fd5b60008060408385031215613e05578182fd5b8235613e10816143ed565b946020939093013593505050565b60006020808385031215613e30578182fd5b82356001600160401b03811115613e45578283fd5b8301601f81018513613e55578283fd5b8035613e68613e6382614211565b6141e1565b8181528381019083850185840285018601891015613e84578687fd5b8694505b83851015613eaf578035613e9b816143ed565b835260019490940193918501918501613e88565b50979650505050505050565b60006020808385031215613ecd578182fd5b82356001600160401b03811115613ee2578283fd5b8301601f81018513613ef2578283fd5b8035613f00613e6382614211565b8181528381019083850185840285018601891015613f1c578687fd5b8694505b83851015613eaf578035835260019490940193918501918501613f20565b600060208284031215613f4f578081fd5b8135612a5e81614402565b600060208284031215613f6b578081fd5b8151612a5e81614402565b600060208284031215613f87578081fd5b81356001600160401b03811115613f9c578182fd5b8201601f81018413613fac578182fd5b61325684823560208401613c3f565b600060208284031215613fcc578081fd5b5035919050565b600060208284031215613fe4578081fd5b5051919050565b600081518084526140038160208601602086016142b9565b601f01601f19169290920160200192915050565b600083516140298184602088016142b9565b83519083019061403d8183602088016142b9565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061407990830184613feb565b9695505050505050565b60208101600683106140a557634e487b7160e01b600052602160045260246000fd5b91905290565b600060208252612a5e6020830184613feb565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f536e65616b7920736e65616b792120596f7520617265206e6f7420706172742060408201526a6f6620746865207465616d60a81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715614209576142096143d7565b604052919050565b60006001600160401b0382111561422a5761422a6143d7565b5060209081020190565b60008219821115614247576142476143ab565b500190565b60008261425b5761425b6143c1565b500490565b600081600019048311821515161561427a5761427a6143ab565b500290565b600061ffff8381169083168181101561429a5761429a6143ab565b039392505050565b6000828210156142b4576142b46143ab565b500390565b60005b838110156142d45781810151838201526020016142bc565b838111156117925750506000910152565b600061ffff8216806142f9576142f96143ab565b6000190192915050565b600081614312576143126143ab565b506000190190565b60028104600182168061432e57607f821691505b6020821081141561434f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415614369576143696143ab565b5060010190565b60006001600160401b038083168181141561438d5761438d6143ab565b6001019392505050565b6000826143a6576143a66143c1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461188557600080fd5b6001600160e01b03198116811461188557600080fdfea2646970667358221220424e0cba0537d64f1f3a0a0996942b36dcbc9b3543140be692b0e86eef25d2ce64736f6c63430008020033697066733a2f2f516d504434463835596431564a574d6b667864783565333461393733706b595735617075695838776338636e52632f
Deployed Bytecode
0x6080604052600436106103905760003560e01c8063777f64cf116101dc578063b5829df611610102578063e268e4d3116100a0578063ea7523ee1161006f578063ea7523ee14610abf578063f2fde38b14610ad4578063f71143ca14610af4578063f7ea7a3d14610b0e576103e0565b8063e268e4d314610a4f578063e33b7de314610a6f578063e831574214610a84578063e985e9c514610a9f576103e0565b8063c87b56dd116100dc578063c87b56dd146109b9578063cadf7c4d146109d9578063ce7c2ac2146109f9578063e0be7d4014610a2f576103e0565b8063b5829df614610959578063b88d4fde14610979578063bf962ba414610999576103e0565b80638d859f3e1161017a5780639852595c116101495780639852595c146108d0578063a026da8c14610906578063a22cb46514610926578063b2a14a1014610946576103e0565b80638d859f3e146108675780638da5cb5b1461087d57806391b7f5ed1461089b57806395d89b41146108bb576103e0565b8063853828b6116101b6578063853828b6146107fa578063875d9ac81461080f5780638b1db965146108315780638b83209b14610847576103e0565b8063777f64cf146107af5780637893a9d2146107c55780637d8966e4146107e5576103e0565b8063374c1617116102c157806355f804b31161025f5780636373a6b11161022e5780636373a6b11461075057806370a0823114610765578063715018a6146107855780637369015d1461079a576103e0565b806355f804b3146106aa57806358d21178146106ca578063603f4d521461070e5780636352211e14610730576103e0565b806342966c681161029b57806342966c681461061a57806344c1e2a414610651578063453c2310146106745780634f6ccce71461068a576103e0565b8063374c1617146105c55780633a98ef39146105e557806342842e0e146105fa576103e0565b806318160ddd1161032e5780632a06c4f3116103085780632a06c4f3146105635780632e23025f146105795780632f745c591461058f57806333bc1c5c146105af576103e0565b806318160ddd1461050e578063191655871461052357806323b872dd14610543576103e0565b8063095ea7b31161036a578063095ea7b314610474578063109695231461049657806315a55347146104b657806317baa8ff146104ea576103e0565b806301ffc9a7146103e557806306fdde031461041a578063081812fc1461043c576103e0565b366103e0577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706103be610b2e565b604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103f157600080fd5b50610405610400366004613f3e565b610b33565b60405190151581526020015b60405180910390f35b34801561042657600080fd5b5061042f610b60565b60405161041191906140ab565b34801561044857600080fd5b5061045c610457366004613fbb565b610bf2565b6040516001600160a01b039091168152602001610411565b34801561048057600080fd5b5061049461048f366004613df3565b610c8c565b005b3480156104a257600080fd5b506104946104b1366004613f76565b610db4565b3480156104c257600080fd5b506017546104d79062010000900461ffff1681565b60405161ffff9091168152602001610411565b3480156104f657600080fd5b5061050060225481565b604051908152602001610411565b34801561051a57600080fd5b50600954610500565b34801561052f57600080fd5b5061049461053e366004613c96565b610e51565b34801561054f57600080fd5b5061049461055e366004613d06565b611022565b34801561056f57600080fd5b5061050060205481565b34801561058557600080fd5b50610500601b5481565b34801561059b57600080fd5b506105006105aa366004613df3565b61105a565b3480156105bb57600080fd5b5061050060245481565b3480156105d157600080fd5b506104946105e0366004613e1e565b6110f0565b3480156105f157600080fd5b50600b54610500565b34801561060657600080fd5b50610494610615366004613d06565b6111b2565b34801561062657600080fd5b5061063a610635366004613fbb565b6111cd565b604080519215158352602083019190915201610411565b34801561065d57600080fd5b506017546104d790640100000000900461ffff1681565b34801561068057600080fd5b5061050060195481565b34801561069657600080fd5b506105006106a5366004613fbb565b611297565b3480156106b657600080fd5b506104946106c5366004613f76565b611338565b3480156106d657600080fd5b50602054602154602254602354602454604080519586526020860194909452928401919091526060830152608082015260a001610411565b34801561071a57600080fd5b50610723611386565b6040516104119190614083565b34801561073c57600080fd5b5061045c61074b366004613fbb565b6113e3565b34801561075c57600080fd5b5061042f61145a565b34801561077157600080fd5b50610500610780366004613c96565b6114e8565b34801561079157600080fd5b5061049461156f565b3480156107a657600080fd5b506105006115c4565b3480156107bb57600080fd5b5061050060215481565b3480156107d157600080fd5b506104946107e0366004613fbb565b6115eb565b3480156107f157600080fd5b50610494611798565b34801561080657600080fd5b506104946117e7565b34801561081b57600080fd5b506017546104d790600160301b900461ffff1681565b34801561083d57600080fd5b5061050060235481565b34801561085357600080fd5b5061045c610862366004613fbb565b611888565b34801561087357600080fd5b5061050060185481565b34801561088957600080fd5b506000546001600160a01b031661045c565b3480156108a757600080fd5b506104946108b6366004613fbb565b6118c6565b3480156108c757600080fd5b5061042f611906565b3480156108dc57600080fd5b506105006108eb366004613c96565b6001600160a01b03166000908152600e602052604090205490565b34801561091257600080fd5b50610494610921366004613fbb565b611915565b34801561093257600080fd5b50610494610941366004613dc2565b611a6c565b610494610954366004613fbb565b611b6e565b34801561096557600080fd5b50610494610974366004613ebb565b6127a9565b34801561098557600080fd5b50610494610994366004613d46565b6128d2565b3480156109a557600080fd5b506104946109b4366004613c96565b61290b565b3480156109c557600080fd5b5061042f6109d4366004613fbb565b61298a565b3480156109e557600080fd5b506104946109f4366004613e1e565b612a65565b348015610a0557600080fd5b50610500610a14366004613c96565b6001600160a01b03166000908152600d602052604090205490565b348015610a3b57600080fd5b50610494610a4a366004613e1e565b612d32565b348015610a5b57600080fd5b50610494610a6a366004613fbb565b612dee565b348015610a7b57600080fd5b50600c54610500565b348015610a9057600080fd5b506017546104d79061ffff1681565b348015610aab57600080fd5b50610405610aba366004613cce565b612e2e565b348015610acb57600080fd5b50610494612e5c565b348015610ae057600080fd5b50610494610aef366004613c96565b612ea6565b348015610b0057600080fd5b50601a546104059060ff1681565b348015610b1a57600080fd5b50610494610b29366004613fbb565b612f5d565b335b90565b60006001600160e01b0319821663780e9d6360e01b1480610b585750610b5882612fb0565b90505b919050565b606060018054610b6f9061431a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9b9061431a565b8015610be85780601f10610bbd57610100808354040283529160200191610be8565b820191906000526020600020905b815481529060010190602001808311610bcb57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610c705760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610c97826113e3565b9050806001600160a01b0316836001600160a01b03161415610d055760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c67565b806001600160a01b0316610d17610b2e565b6001600160a01b03161480610d335750610d3381610aba610b2e565b610da55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c67565b610daf8383613000565b505050565b336000908152601d6020526040902054600160581b900460ff161515600114610def5760405162461bcd60e51b8152600401610c6790614110565b601c5460ff1615610e3a5760405162461bcd60e51b815260206004820152601560248201527450726f76656e616e6365206973206c6f636b65642160581b6044820152606401610c67565b8051610e4d906015906020840190613ba6565b5050565b6001600160a01b0381166000908152600d6020526040902054610ec55760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610c67565b6000600c5447610ed59190614234565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192610f0c9085614260565b610f16919061424c565b610f2091906142a2565b905080610f835760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610c67565b6001600160a01b0383166000908152600e6020526040902054610fa7908290614234565b6001600160a01b0384166000908152600e6020526040902055600c54610fce908290614234565b600c55610fdb838261306e565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b61103361102d610b2e565b82613187565b61104f5760405162461bcd60e51b8152600401610c6790614190565b610daf83838361325e565b6000611065836114e8565b82106110c75760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c67565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b336000908152601d6020526040902054600160581b900460ff16151560011461112b5760405162461bcd60e51b8152600401610c6790614110565b60005b8151811015610e4d576001601d600084848151811061115d57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000208054911515600160481b0269ff00000000000000000019909216919091179055806111aa81614355565b91505061112e565b610daf838383604051806020016040528060008152506128d2565b6000806111d9836113e3565b6001600160a01b0316336001600160a01b0316148061121157506111fc83610bf2565b6001600160a01b0316336001600160a01b0316145b806112295750611229611223846113e3565b33612e2e565b6112865760405162461bcd60e51b815260206004820152602860248201527f536e65616b7920736e65616b792120596f7520646f6e2774206f776e2074686960448201526739902a37b5b2b71760c11b6064820152608401610c67565b61128f83613409565b506001905091565b60006112a260095490565b82106113055760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c67565b6009828154811061132657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b336000908152601d6020526040902054600160581b900460ff1615156001146113735760405162461bcd60e51b8152600401610c6790614110565b8051610e4d906016906020840190613ba6565b6000602454421061139957506005610b30565b60235442106113aa57506004610b30565b60225442106113bb57506003610b30565b60215442106113cc57506002610b30565b60205442106113dd57506001610b30565b50600090565b6000818152600360205260408120546001600160a01b031680610b585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c67565b601580546114679061431a565b80601f01602080910402602001604051908101604052809291908181526020018280546114939061431a565b80156114e05780601f106114b5576101008083540402835291602001916114e0565b820191906000526020600020905b8154815290600101906020018083116114c357829003601f168201915b505050505081565b60006001600160a01b0382166115535760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c67565b506001600160a01b031660009081526004602052604090205490565b611577610b2e565b6001600160a01b03166115926000546001600160a01b031690565b6001600160a01b0316146115b85760405162461bcd60e51b8152600401610c679061415b565b6115c260006134b0565b565b601b5460175460009182916115e591600160301b90910461ffff1690613500565b91505090565b336000908152601d6020526040902054600160581b900460ff1615156001146116265760405162461bcd60e51b8152600401610c6790614110565b601754601b54600160301b90910461ffff169060009061164790600161350c565b90508181111561165657600080fd5b805b828111158015611670575061166d8483614234565b81105b15611792576012546040516331a9108f60e11b8152600481018390526000916001600160a01b031690636352211e9060240160206040518083038186803b1580156116ba57600080fd5b505afa1580156116ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f29190613cb2565b905060006116ff60095490565b61170a906001614234565b601b8054919250600061171c83614355565b90915550506001600160a01b0382166000908152601d6020526040812080546001600160401b03169161174e83614370565b91906101000a8154816001600160401b0302191690836001600160401b031602179055505061177d8282613518565b5050808061178a90614355565b915050611658565b50505050565b336000908152601d6020526040902054600160581b900460ff1615156001146117d35760405162461bcd60e51b8152600401610c6790614110565b601a805460ff19811660ff90911615179055565b336000908152601d6020526040902054600160581b900460ff1615156001146118225760405162461bcd60e51b8152600401610c6790614110565b60005b6025548110156118855760006025828154811061185257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316905061187281610e51565b508061187d81614355565b915050611825565b50565b6000600f82815481106118ab57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b336000908152601d6020526040902054600160581b900460ff1615156001146119015760405162461bcd60e51b8152600401610c6790614110565b601855565b606060028054610b6f9061431a565b336000908152601d6020526040902054600160581b900460ff1615156001146119505760405162461bcd60e51b8152600401610c6790614110565b336000818152601f6020526040902054806119c05760405162461bcd60e51b815260206004820152602a60248201527f4e696365207472792120596f7520646f6e2774206861766520616e79204e46546044820152697320746f20436c61696d60b01b6064820152608401610c67565b60015b8181111580156119d35750838111155b156117925760006119e360095490565b6119ee906001614234565b6001600160a01b0385166000908152601f60205260408120805492935090611a1583614303565b90915550506017805462010000900461ffff16906002611a34836142e5565b91906101000a81548161ffff021916908361ffff16021790555050611a593382613518565b5080611a6481614355565b9150506119c3565b611a74610b2e565b6001600160a01b0316826001600160a01b03161415611ad55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c67565b8060066000611ae2610b2e565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611b26610b2e565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b62911515815260200190565b60405180910390a35050565b60026010541415611bc15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c67565b6002601055601a543390829060ff16611c285760405162461bcd60e51b815260206004820152602360248201527f4e69636520547279212053616c6520686173206e6f742073746172746564207960448201526265742160e81b6064820152608401610c67565b60008111611c8c5760405162461bcd60e51b815260206004820152602b60248201527f486f6c642075702120596f75206e65656420746f20707572636861736520617460448201526a206c65617374206f6e652160a81b6064820152608401610c67565b6018543490611c9b9083613532565b1115611ce95760405162461bcd60e51b815260206004820152601f60248201527f44616e672120596f7520646f6e74206861766520656e6f7567682045544821006044820152606401610c67565b601754601b5461ffff808316926401000000008104821692620100008204831692611d1b92600160301b9004166142a2565b600954611d289190614234565b611d329190614234565b611d3c9190614234565b10611d825760405162461bcd60e51b81526020600482015260166024820152754572726f7220372c3737373a20536f6c64204f75742160501b6044820152606401610c67565b601754601b5461ffff808316926401000000008104821692620100008204831692611db492600160301b9004166142a2565b611dc785611dc160095490565b9061350c565b611dd19190614234565b611ddb9190614234565b611de59190614234565b1115611e595760405162461bcd60e51b815260206004820152603e60248201527f486f6c642075702120507572636861736520776f756c6420657863656564206d60448201527f617820737570706c792e205472792061206c6f77657220616d6f756e742e00006064820152608401610c67565b6019546001600160a01b0383166000908152601d6020526040902054611e88906001600160401b03168361350c565b1115611efc5760405162461bcd60e51b815260206004820152603860248201527f4e696365205472792120596f75207368616c6c206e6f742068617665206d6f7260448201527f65207468616e203520696e20796f75722077616c6c65742e00000000000000006064820152608401610c67565b336000611f07611386565b90506004816005811115611f2b57634e487b7160e01b600052602160045260246000fd5b1415611fbc576001600160a01b0382166000908152601d6020526040902054600160501b900460ff161515600114611fb75760405162461bcd60e51b815260206004820152602960248201527f4e696365205472792120596f75206e65656420746f206265206f6e2057686974604482015268656c6973742054776f60b81b6064820152608401610c67565b6126c5565b6003816005811115611fde57634e487b7160e01b600052602160045260246000fd5b141561206a576001600160a01b0382166000908152601d6020526040902054600160481b900460ff161515600114611fb75760405162461bcd60e51b815260206004820152602960248201527f4e696365205472792120596f75206e65656420746f206265206f6e2057686974604482015268656c697374204f6e6560b81b6064820152608401610c67565b600281600581111561208c57634e487b7160e01b600052602160045260246000fd5b14156123a6576014546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a082319060240160206040518083038186803b1580156120d857600080fd5b505afa1580156120ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121109190613fd3565b116121735760405162461bcd60e51b815260206004820152602d60248201527f4e696365205472792120596f75206e65656420746f206f776e2061204261642060448201526c2130ba31b41026b7b739ba32b960991b6064820152608401610c67565b601954601454604051632f745c5960e01b81526001600160a01b03858116600483015260006024830181905261222a938a93601e9361220d926103e892911690632f745c59906044015b60206040518083038186803b1580156121d557600080fd5b505afa1580156121e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc19190613fd3565b81526020019081526020016000205461350c90919063ffffffff16565b11156122905760405162461bcd60e51b815260206004820152602f60248201527f4e696365205472792120596f757220426164204261746368204d6f6e7374657260448201526e2061696e742074686174206261642160881b6064820152608401610c67565b60005b6014546040516370a0823160e01b81526001600160a01b038581166004830152909116906370a082319060240160206040518083038186803b1580156122d857600080fd5b505afa1580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123109190613fd3565b8110801561231e5750600581105b156123a057601454604051632f745c5960e01b81526001600160a01b038581166004830152602482018490528892601e9260009261236b926103e892911690632f745c59906044016121bd565b815260200190815260200160002060008282546123889190614234565b9091555081905061239881614355565b915050612293565b506126c5565b60018160058111156123c857634e487b7160e01b600052602160045260246000fd5b1415612655576012546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a082319060240160206040518083038186803b15801561241457600080fd5b505afa158015612428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244c9190613fd3565b116124a95760405162461bcd60e51b815260206004820152602760248201527f4e696365205472792120596f75206e65656420746f206f776e206120476f6c6460448201526608151a58dad95d60ca1b6064820152608401610c67565b601954601254604051632f745c5960e01b81526001600160a01b03858116600483015260006024830181905261253b938a93601e9390911690632f745c599060440160206040518083038186803b15801561250357600080fd5b505afa158015612517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220d9190613fd3565b11156125a25760405162461bcd60e51b815260206004820152603060248201527f4e696365205472792120596f757220476f6c64205469636b657420686173206160448201526f1b1c9958591e481899595b881d5cd95960821b6064820152608401610c67565b601254604051632f745c5960e01b81526001600160a01b0384811660048301526000602483018190528893601e9391921690632f745c599060440160206040518083038186803b1580156125f557600080fd5b505afa158015612609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262d9190613fd3565b8152602001908152602001600020600082825461264a9190614234565b909155506126c59050565b600081600581111561267757634e487b7160e01b600052602160045260246000fd5b14156126c55760405162461bcd60e51b815260206004820152601960248201527f53616c6520686173206e6f7420737461727465642079657421000000000000006044820152606401610c67565b60005b8581101561279c5760006126db60095490565b6126e6906001614234565b6001600160a01b0385166000908152601d6020526040812080549293506001600160401b03909216919061271983614370565b91906101000a8154816001600160401b0302191690836001600160401b03160217905550506127488482613518565b604080518281526001600160a01b03861660208201527ff91ef1ee0ecdb982766e5eba2ac0b8648378f07c6d2264ba4c784c05f7c5b239910160405180910390a1508061279481614355565b9150506126c8565b5050600160105550505050565b336000908152601d6020526040902054600160581b900460ff1615156001146127e45760405162461bcd60e51b8152600401610c6790614110565b8060008151811061280557634e487b7160e01b600052603260045260246000fd5b60200260200101516020819055508060018151811061283457634e487b7160e01b600052603260045260246000fd5b60200260200101516021819055508060028151811061286357634e487b7160e01b600052603260045260246000fd5b60200260200101516022819055508060038151811061289257634e487b7160e01b600052603260045260246000fd5b6020026020010151602381905550806004815181106128c157634e487b7160e01b600052603260045260246000fd5b602002602001015160248190555050565b6128e36128dd610b2e565b83613187565b6128ff5760405162461bcd60e51b8152600401610c6790614190565b6117928484848461353e565b612913610b2e565b6001600160a01b031661292e6000546001600160a01b031690565b6001600160a01b0316146129545760405162461bcd60e51b8152600401610c679061415b565b6001600160a01b03166000908152601d60205260409020805460ff60581b198116600160581b9182900460ff1615909102179055565b6000818152600360205260409020546060906001600160a01b0316612a095760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c67565b6000612a13613571565b90506000815111612a335760405180602001604052806000815250612a5e565b80612a3d84613580565b604051602001612a4e929190614017565b6040516020818303038152906040525b9392505050565b336000908152601d6020526040902054600160581b900460ff161515600114612aa05760405162461bcd60e51b8152600401610c6790614110565b805160175433919061ffff16612ab560095490565b10612b155760405162461bcd60e51b815260206004820152602a60248201527f576520536f6c6420416c6c204f75742c2053656520796f75206f6e20746865206044820152696e6578742064726f702160b01b6064820152608401610c67565b60175461ffff16612b2982611dc160095490565b1115612b8d5760405162461bcd60e51b815260206004820152602d60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526c040decc4084c2c84084c2e8c6d609b1b6064820152608401610c67565b601754835164010000000090910461ffff161015612bed5760405162461bcd60e51b815260206004820152601a60248201527f4e6f206d6f72652061697264726f7073207265736572766564210000000000006044820152606401610c67565b825160178054600490612c0d908490640100000000900461ffff1661427f565b92506101000a81548161ffff021916908361ffff160217905550600033905060005b8451811015612d2b576000612c4360095490565b612c4e906001614234565b6001600160a01b0384166000908152601d6020526040812080549293506001600160401b039092169190612c8183614370565b91906101000a8154816001600160401b0302191690836001600160401b0316021790555050612cd7868381518110612cc957634e487b7160e01b600052603260045260246000fd5b602002602001015182613518565b604080518281526001600160a01b03851660208201527ff91ef1ee0ecdb982766e5eba2ac0b8648378f07c6d2264ba4c784c05f7c5b239910160405180910390a15080612d2381614355565b915050612c2f565b5050505050565b336000908152601d6020526040902054600160581b900460ff161515600114612d6d5760405162461bcd60e51b8152600401610c6790614110565b60005b8151811015610e4d576001601d6000848481518110612d9f57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000208054911515600160501b0260ff60501b1990921691909117905580612de681614355565b915050612d70565b336000908152601d6020526040902054600160581b900460ff161515600114612e295760405162461bcd60e51b8152600401610c6790614110565b601955565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b336000908152601d6020526040902054600160581b900460ff161515600114612e975760405162461bcd60e51b8152600401610c6790614110565b601c805460ff19166001179055565b612eae610b2e565b6001600160a01b0316612ec96000546001600160a01b031690565b6001600160a01b031614612eef5760405162461bcd60e51b8152600401610c679061415b565b6001600160a01b038116612f545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c67565b611885816134b0565b336000908152601d6020526040902054600160581b900460ff161515600114612f985760405162461bcd60e51b8152600401610c6790614110565b6017805461ffff191661ffff92909216919091179055565b60006001600160e01b031982166380ac58cd60e01b1480612fe157506001600160e01b03198216635b5e139f60e01b145b80610b5857506301ffc9a760e01b6001600160e01b0319831614610b58565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190613035826113e3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156130be5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c67565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461310b576040519150601f19603f3d011682016040523d82523d6000602084013e613110565b606091505b5050905080610daf5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c67565b6000818152600360205260408120546001600160a01b03166132005760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c67565b600061320b836113e3565b9050806001600160a01b0316846001600160a01b031614806132465750836001600160a01b031661323b84610bf2565b6001600160a01b0316145b8061325657506132568185612e2e565b949350505050565b826001600160a01b0316613271826113e3565b6001600160a01b0316146132d95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c67565b6001600160a01b03821661333b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c67565b61334683838361369a565b613351600082613000565b6001600160a01b038316600090815260046020526040812080546001929061337a9084906142a2565b90915550506001600160a01b03821660009081526004602052604081208054600192906133a8908490614234565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000613414826113e3565b90506134228160008461369a565b61342d600083613000565b6001600160a01b03811660009081526004602052604081208054600192906134569084906142a2565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612a5e82846142a2565b6000612a5e8284614234565b610e4d828260405180602001604052806000815250613757565b6000612a5e8284614260565b61354984848461325e565b6135558484848461378a565b6117925760405162461bcd60e51b8152600401610c67906140be565b606060168054610b6f9061431a565b6060816135a557506040805180820190915260018152600360fc1b6020820152610b5b565b8160005b81156135cf57806135b981614355565b91506135c89050600a8361424c565b91506135a9565b6000816001600160401b038111156135f757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613621576020820181803683370190505b5090505b8415613256576136366001836142a2565b9150613643600a86614397565b61364e906030614234565b60f81b81838151811061367157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613693600a8661424c565b9450613625565b6001600160a01b0383166136f5576136f081600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b613718565b816001600160a01b0316836001600160a01b03161461371857613718838261389e565b6001600160a01b0382166137345761372f8161393b565b610daf565b826001600160a01b0316826001600160a01b031614610daf57610daf8282613a14565b6137618383613a58565b61376e600084848461378a565b610daf5760405162461bcd60e51b8152600401610c67906140be565b60006001600160a01b0384163b1561389357836001600160a01b031663150b7a026137b3610b2e565b8786866040518563ffffffff1660e01b81526004016137d59493929190614046565b602060405180830381600087803b1580156137ef57600080fd5b505af192505050801561381f575060408051601f3d908101601f1916820190925261381c91810190613f5a565b60015b613879573d80801561384d576040519150601f19603f3d011682016040523d82523d6000602084013e613852565b606091505b5080516138715760405162461bcd60e51b8152600401610c67906140be565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613256565b506001949350505050565b600060016138ab846114e8565b6138b591906142a2565b600083815260086020526040902054909150808214613908576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061394d906001906142a2565b6000838152600a60205260408120546009805493945090928490811061398357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600983815481106139b257634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806139f857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613a1f836114e8565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b038216613aae5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c67565b6000818152600360205260409020546001600160a01b031615613b135760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c67565b613b1f6000838361369a565b6001600160a01b0382166000908152600460205260408120805460019290613b48908490614234565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613bb29061431a565b90600052602060002090601f016020900481019282613bd45760008555613c1a565b82601f10613bed57805160ff1916838001178555613c1a565b82800160010185558215613c1a579182015b82811115613c1a578251825591602001919060010190613bff565b50613c26929150613c2a565b5090565b5b80821115613c265760008155600101613c2b565b60006001600160401b03831115613c5857613c586143d7565b613c6b601f8401601f19166020016141e1565b9050828152838383011115613c7f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215613ca7578081fd5b8135612a5e816143ed565b600060208284031215613cc3578081fd5b8151612a5e816143ed565b60008060408385031215613ce0578081fd5b8235613ceb816143ed565b91506020830135613cfb816143ed565b809150509250929050565b600080600060608486031215613d1a578081fd5b8335613d25816143ed565b92506020840135613d35816143ed565b929592945050506040919091013590565b60008060008060808587031215613d5b578081fd5b8435613d66816143ed565b93506020850135613d76816143ed565b92506040850135915060608501356001600160401b03811115613d97578182fd5b8501601f81018713613da7578182fd5b613db687823560208401613c3f565b91505092959194509250565b60008060408385031215613dd4578182fd5b8235613ddf816143ed565b915060208301358015158114613cfb578182fd5b60008060408385031215613e05578182fd5b8235613e10816143ed565b946020939093013593505050565b60006020808385031215613e30578182fd5b82356001600160401b03811115613e45578283fd5b8301601f81018513613e55578283fd5b8035613e68613e6382614211565b6141e1565b8181528381019083850185840285018601891015613e84578687fd5b8694505b83851015613eaf578035613e9b816143ed565b835260019490940193918501918501613e88565b50979650505050505050565b60006020808385031215613ecd578182fd5b82356001600160401b03811115613ee2578283fd5b8301601f81018513613ef2578283fd5b8035613f00613e6382614211565b8181528381019083850185840285018601891015613f1c578687fd5b8694505b83851015613eaf578035835260019490940193918501918501613f20565b600060208284031215613f4f578081fd5b8135612a5e81614402565b600060208284031215613f6b578081fd5b8151612a5e81614402565b600060208284031215613f87578081fd5b81356001600160401b03811115613f9c578182fd5b8201601f81018413613fac578182fd5b61325684823560208401613c3f565b600060208284031215613fcc578081fd5b5035919050565b600060208284031215613fe4578081fd5b5051919050565b600081518084526140038160208601602086016142b9565b601f01601f19169290920160200192915050565b600083516140298184602088016142b9565b83519083019061403d8183602088016142b9565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061407990830184613feb565b9695505050505050565b60208101600683106140a557634e487b7160e01b600052602160045260246000fd5b91905290565b600060208252612a5e6020830184613feb565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f536e65616b7920736e65616b792120596f7520617265206e6f7420706172742060408201526a6f6620746865207465616d60a81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715614209576142096143d7565b604052919050565b60006001600160401b0382111561422a5761422a6143d7565b5060209081020190565b60008219821115614247576142476143ab565b500190565b60008261425b5761425b6143c1565b500490565b600081600019048311821515161561427a5761427a6143ab565b500290565b600061ffff8381169083168181101561429a5761429a6143ab565b039392505050565b6000828210156142b4576142b46143ab565b500390565b60005b838110156142d45781810151838201526020016142bc565b838111156117925750506000910152565b600061ffff8216806142f9576142f96143ab565b6000190192915050565b600081614312576143126143ab565b506000190190565b60028104600182168061432e57607f821691505b6020821081141561434f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415614369576143696143ab565b5060010190565b60006001600160401b038083168181141561438d5761438d6143ab565b6001019392505050565b6000826143a6576143a66143c1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461188557600080fd5b6001600160e01b03198116811461188557600080fdfea2646970667358221220424e0cba0537d64f1f3a0a0996942b36dcbc9b3543140be692b0e86eef25d2ce64736f6c63430008020033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.