ERC-721
NFT
Overview
Max Total Supply
5,555 TRIPSTERS
Holders
2,012
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 TRIPSTERSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Tripsters
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; import "hardhat/console.sol"; import "./ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC2981ContractWideRoyalties.sol"; import "@divergencetech/ethier/contracts/thirdparty/opensea/OpenSeaGasFreeListing.sol"; import "./interfaces/IMerkle.sol"; contract Tripsters is ERC721Enumerable, Pausable, Ownable, ERC2981ContractWideRoyalties { using Strings for uint256; uint256 public maxSupply = 1200; uint256 public pioneerPrice = 0.15 ether; uint256 public ogPrice = 0.2 ether; uint256 public whitelistPrice = 0.25 ether; uint256 public pioneerLimit = 2; uint256 public ogLimit = 1; uint256 public whitelistLimit = 1; string public baseURI = "ipfs.io/ipfs/QmcNFhsop7ty9BSDETNQVjw1A3DB67TDrriKHxjCB38SeQ/"; string public contractURI; bool public pioneerLive; bool public ogLive; bool public whitelistLive; string public extension = ".json"; struct Balance { uint256 pioneer; uint256 og; uint256 whitelist; } IMerkle public pioneerMerkle; IMerkle public ogMerkle; IMerkle public whitelistMerkle; mapping(address => bool) private admins; mapping(address => Balance) public balances; constructor( address _pioneerMerkle, address _ogMerkle, address _whitelistMerkle ) ERC721("Tripsters", "TRIPSTERS", 0) { _setRoyalties(msg.sender, 750); pioneerMerkle = IMerkle(_pioneerMerkle); ogMerkle = IMerkle(_ogMerkle); whitelistMerkle = IMerkle(_whitelistMerkle); } event PioneerLive(bool live); event OgLive(bool live); event WhitelistLive(bool live); modifier callerIsUser() { require(tx.origin == msg.sender, "Caller is not user"); _; } function adminMint(uint256 amount, address to) external adminOrOwner { require(totalSupply() + amount <= maxSupply, "Exceeds Supply"); for (uint256 i = 0; i < amount; i++) { _safeMint(to, totalSupply() + i); } } function pioneerMint(uint256 _amount, bytes32[] memory proof) external payable whenNotPaused callerIsUser { uint256 currentSupply = totalSupply(); require(_amount > 0, "Must exceed Zero"); require(pioneerLive, "Not live"); require(msg.value >= _amount * pioneerPrice, "Incorrect Price"); require( balances[msg.sender].pioneer + _amount <= pioneerLimit, "Exceeds allocated" ); require(pioneerMerkle.isPermitted(msg.sender, proof), "Not verified"); require(currentSupply + _amount <= maxSupply, "Exceeds Supply"); balances[msg.sender].pioneer += _amount; for (uint256 i = 0; i < _amount; i++) { _safeMint(msg.sender, currentSupply + i); } } function ogMint(uint256 _amount, bytes32[] memory proof) external payable whenNotPaused callerIsUser { uint256 currentSupply = totalSupply(); require(_amount > 0, "Must exceed Zero"); require(ogLive, "Not live"); require(msg.value >= _amount * ogPrice, "Incorrect Price"); require( balances[msg.sender].og + _amount <= ogLimit, "Exceeds allocated" ); require(ogMerkle.isPermitted(msg.sender, proof), "Not verified"); require(currentSupply + _amount <= maxSupply, "Exceeds Supply"); balances[msg.sender].og += _amount; for (uint256 i = 0; i < _amount; i++) { _safeMint(msg.sender, currentSupply + i); } } function whitelistMint(uint256 _amount, bytes32[] memory proof) external payable whenNotPaused callerIsUser { uint256 currentSupply = totalSupply(); require(_amount > 0, "Must exceed Zero"); require(whitelistLive, "Not live"); require(msg.value >= _amount * whitelistPrice, "Incorrect Price"); require( balances[msg.sender].whitelist + _amount <= whitelistLimit, "Exceeds allocated" ); require(whitelistMerkle.isPermitted(msg.sender, proof), "Not verified"); require(currentSupply + _amount <= maxSupply, "Exceeds Supply"); balances[msg.sender].whitelist += _amount; for (uint256 i = 0; i < _amount; i++) { _safeMint(msg.sender, currentSupply + i); } } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: Nonexistent token"); string memory currentBaseURI = baseURI; return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), extension ) ) : ""; } function setPaused(bool _paused) external adminOrOwner { if (_paused) { _pause(); } else { _unpause(); } } function updateMaxSupply(uint256 _supply) public adminOrOwner { maxSupply = _supply; } function updatePioneerPrice(uint256 _price) external adminOrOwner { pioneerPrice = _price; } function updateOgPrice(uint256 _price) external adminOrOwner { ogPrice = _price; } function updateWhitelistPrice(uint256 _price) external adminOrOwner { whitelistPrice = _price; } function updatePioneerLimit(uint256 _limit) external adminOrOwner { pioneerLimit = _limit; } function updateOgLimit(uint256 _limit) external adminOrOwner { ogLimit = _limit; } function updateWhitelistLimit(uint256 _limit) external adminOrOwner { whitelistLimit = _limit; } function updateBaseURI(string memory _uri) external adminOrOwner { baseURI = _uri; } function updateContractURI(string memory _uri) external adminOrOwner { contractURI = _uri; } function withdrawAll() external onlyOwner { withdraw(address(this).balance); } function withdraw(uint256 _weiAmount) public onlyOwner { (bool success, ) = payable(_msgSender()).call{value: _weiAmount}(""); require(success, "Failed to withdraw"); } function ogStage() public adminOrOwner { togglePioneerLive(); updateMaxSupply(2200); toggleOgLive(); } function daStage() public adminOrOwner { toggleOgLive(); updateMaxSupply(6500); } function whitelistStage() public adminOrOwner { updateMaxSupply(10000); toggleWhitelistLive(); } function togglePioneerLive() public adminOrOwner { bool isLive = !pioneerLive; pioneerLive = isLive; emit PioneerLive(isLive); } function toggleOgLive() public adminOrOwner { bool isLive = !ogLive; ogLive = isLive; emit OgLive(isLive); } function toggleWhitelistLive() public adminOrOwner { bool isLive = !whitelistLive; whitelistLive = isLive; emit WhitelistLive(isLive); } function isApprovedForAll(address owner, address operator) public view virtual override(ERC721, IERC721) returns (bool) { return super.isApprovedForAll(owner, operator) || OpenSeaGasFreeListing.isApprovedForAll(owner, operator) || admins[msg.sender]; } function setExtension(string memory _extension) external adminOrOwner { extension = _extension; } function setAdminPermissions(address _account, bool _enable) external adminOrOwner { admins[_account] = _enable; } modifier adminOrOwner() { require(msg.sender == owner() || admins[msg.sender], "Unauthorized"); _; } function setRoyalties(address _recipient, uint256 _value) external adminOrOwner { _setRoyalties(_recipient, _value); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC2981Base, ERC721Enumerable) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function setPioneerMerkle(IMerkle _merkle) external adminOrOwner { pioneerMerkle = IMerkle(_merkle); } function setOgMerkle(IMerkle _merkle) external adminOrOwner { ogMerkle = IMerkle(_merkle); } function setWhitelistMerkle(IMerkle _merkle) external adminOrOwner { whitelistMerkle = IMerkle(_merkle); } }
// 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)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "./ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { /** * @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-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _owners.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex( uint256 index ) public view virtual override returns (uint256) { require( index < _owners.length, "ERC721Enumerable: global index out of bounds" ); unchecked { return index + _startingTokenID; } } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex( address owner, uint256 index ) public view virtual override returns (uint256 tokenId) { require( index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds" ); uint count; unchecked { for (uint i; i < _owners.length; i++) { if (owner == _owners[i]) { if (count == index) return _startingTokenID + i; else count++; } } } revert("ERC721Enumerable: owner index out of bounds"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) 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 // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./ERC2981Base.sol"; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 /// @dev This implementation has the same royalties for each and every tokens abstract contract ERC2981ContractWideRoyalties is ERC2981Base { RoyaltyInfo private _royalties; /// @dev Sets token royalties /// @param _recipient recipient of the royalties /// @param _value percentage (using 2 decimals - 10000 = 100, 0 = 0) function _setRoyalties( address _recipient, uint256 _value ) internal { // unneeded since the derived contract has a lower _value limit // require(_value <= 10000, "ERC2981Royalties: Too high"); _royalties = RoyaltyInfo(_recipient, uint24(_value)); } /// @inheritdoc IERC2981Royalties function royaltyInfo( uint256, uint256 _value ) external view override returns (address receiver, uint256 royaltyAmount) { RoyaltyInfo memory royalties = _royalties; receiver = royalties.recipient; royaltyAmount = (_value * royalties.amount) / 10000; } }
// SPDX-License-Identifier: MIT // Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier) pragma solidity >=0.8.0 <0.9.0; // Inspired by BaseOpenSea by Simon Fremaux (@dievardump) but without the need // to pass specific addresses depending on deployment network. // https://gist.github.com/dievardump/483eb43bc6ed30b14f01e01842e3339b/ import "./ProxyRegistry.sol"; /// @notice Library to achieve gas-free listings on OpenSea. library OpenSeaGasFreeListing { /** @notice Returns whether the operator is an OpenSea proxy for the owner, thus allowing it to list without the token owner paying gas. @dev ERC{721,1155}.isApprovedForAll should be overriden to also check if this function returns true. */ function isApprovedForAll(address owner, address operator) internal view returns (bool) { address proxy = proxyFor(owner); return proxy != address(0) && proxy == operator; } /** @notice Returns the OpenSea proxy address for the owner. */ function proxyFor(address owner) internal view returns (address) { address registry; uint256 chainId; assembly { chainId := chainid() switch chainId // Production networks are placed higher to minimise the number of // checks performed and therefore reduce gas. By the same rationale, // mainnet comes before Polygon as it's more expensive. case 1 { // mainnet registry := 0xa5409ec958c83c3f309868babaca7c86dcb077c1 } case 137 { // polygon registry := 0x58807baD0B376efc12F5AD86aAc70E78ed67deaE } case 4 { // rinkeby registry := 0xf57b2c51ded3a29e6891aba85459d600256cf317 } case 80001 { // mumbai registry := 0xff7Ca10aF37178BdD056628eF42fD7F799fAc77c } case 1337 { // The geth SimulatedBackend iff used with the ethier // openseatest package. This is mocked as a Wyvern proxy as it's // more complex than the 0x ones. registry := 0xE1a2bbc877b29ADBC56D2659DBcb0ae14ee62071 } } // Unlike Wyvern, the registry itself is the proxy for all owners on 0x // chains. if (registry == address(0) || chainId == 137 || chainId == 80001) { return registry; } return address(ProxyRegistry(registry).proxies(owner)); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; interface IMerkle { function verify(bytes32 leaf, bytes32[] memory proof) external view returns (bool); function leaf(address user) external pure returns (bytes32); function isPermitted(address account, bytes32[] memory proof) external view returns (bool); function setRoot(bytes32 _root) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Address.sol"; abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; uint256 internal immutable _startingTokenID; // Mapping from token ID to owner address address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; 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_, uint256 startingTokenID_ ) { _name = name_; _symbol = symbol_; _startingTokenID = startingTokenID_; } function _internalTokenID(uint256 externalTokenID_) private view returns (uint256) { require( externalTokenID_ >= _startingTokenID, "ERC721: owner query for nonexistent token" ); unchecked { return externalTokenID_ - _startingTokenID; } } /** * @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" ); uint256 count; for (uint256 i; i < _owners.length; ++i) { if (owner == _owners[i]) ++count; } return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[_internalTokenID(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 {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) { if (tokenId < _startingTokenID) return false; uint256 internalID = _internalTokenID(tokenId); return internalID < _owners.length && _owners[internalID] != 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); _owners.push(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); _owners[_internalTokenID(tokenId)] = address(0); 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); _owners[_internalTokenID(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 // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./interfaces/IERC2981Royalties.sol"; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 abstract contract ERC2981Base is ERC165, IERC2981Royalties { struct RoyaltyInfo { address recipient; uint24 amount; } /// @inheritdoc ERC165 function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC2981Royalties).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; /// @title IERC2981Royalties /// @dev Interface for the ERC2981 - Token Royalty standard interface IERC2981Royalties { /// @notice Called with the sale price to determine how much royalty /// is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _value - the sale price of the NFT asset specified by _tokenId /// @return _receiver - address of who should be sent the royalty payment /// @return _royaltyAmount - the royalty payment amount for value sale price function royaltyInfo(uint256 _tokenId, uint256 _value) external view returns (address _receiver, uint256 _royaltyAmount); }
// SPDX-License-Identifier: MIT // Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier) pragma solidity >=0.8.0 <0.9.0; /// @notice A minimal interface describing OpenSea's Wyvern proxy registry. contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } /** @dev This pattern of using an empty contract is cargo-culted directly from OpenSea's example code. TODO: it's likely that the above mapping can be changed to address => address without affecting anything, but further investigation is needed (i.e. is there a subtle reason that OpenSea released it like this?). */ // solhint-disable-next-line no-empty-blocks contract OwnableDelegateProxy { }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_pioneerMerkle","type":"address"},{"internalType":"address","name":"_ogMerkle","type":"address"},{"internalType":"address","name":"_whitelistMerkle","type":"address"}],"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":"bool","name":"live","type":"bool"}],"name":"OgLive","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"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"live","type":"bool"}],"name":"PioneerLive","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"live","type":"bool"}],"name":"WhitelistLive","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"pioneer","type":"uint256"},{"internalType":"uint256","name":"og","type":"uint256"},{"internalType":"uint256","name":"whitelist","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"extension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogMerkle","outputs":[{"internalType":"contract IMerkle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"ogMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"ogPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pioneerLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pioneerLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pioneerMerkle","outputs":[{"internalType":"contract IMerkle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"pioneerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pioneerPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_enable","type":"bool"}],"name":"setAdminPermissions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_extension","type":"string"}],"name":"setExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMerkle","name":"_merkle","type":"address"}],"name":"setOgMerkle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMerkle","name":"_merkle","type":"address"}],"name":"setPioneerMerkle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMerkle","name":"_merkle","type":"address"}],"name":"setWhitelistMerkle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleOgLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePioneerLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelistLive","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":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"internalType":"string","name":"_uri","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"updateContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"updateMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"updateOgLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updateOgPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"updatePioneerLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updatePioneerPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"updateWhitelistLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updateWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkle","outputs":[{"internalType":"contract IMerkle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_weiAmount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6104b0600755670214e8348c4f00006008556702c68af0bb1400006009556703782dace9d90000600a556002600b556001600c819055600d55610100604052603c60a0818152906200406560c03980516200006391600e9160209091019062000223565b5060408051808201909152600580825264173539b7b760d91b6020909201918252620000929160119162000223565b50348015620000a057600080fd5b50604051620040a1380380620040a1833981016040819052620000c391620002e6565b6040518060400160405280600981526020016854726970737465727360b81b8152506040518060400160405280600981526020016854524950535445525360b81b815250600082600090805190602001906200012192919062000223565b5081516200013790600190602085019062000223565b5060805250506005805460ff191690556200015233620001c9565b60408051808201909152338082526102ee602090920191909152600680546001600160b81b03191690911761017760a11b179055601280546001600160a01b039485166001600160a01b0319918216179091556013805493851693821693909317909255601480549190931691161790556200036c565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002319062000330565b90600052602060002090601f016020900481019282620002555760008555620002a0565b82601f106200027057805160ff1916838001178555620002a0565b82800160010185558215620002a0579182015b82811115620002a057825182559160200191906001019062000283565b50620002ae929150620002b2565b5090565b5b80821115620002ae5760008155600101620002b3565b80516001600160a01b0381168114620002e157600080fd5b919050565b600080600060608486031215620002fc57600080fd5b6200030784620002c9565b92506200031760208501620002c9565b91506200032760408501620002c9565b90509250925092565b600181811c908216806200034557607f821691505b6020821081036200036657634e487b7160e01b600052602260045260246000fd5b50919050565b608051613cc1620003a46000396000818161169d015281816117f20152818161279a01528181612bc10152612c020152613cc16000f3fe6080604052600436106103d85760003560e01c80636c0360eb116101fd578063a27284a111610118578063d5abeb01116100ab578063f103b4331161007a578063f103b43314610b25578063f2fde38b14610b45578063f6eba4e914610b65578063fc1a1c3614610b7f578063fd03c50f14610b9557600080fd5b8063d5abeb0114610ac5578063e5747c3b14610adb578063e8a3d48514610af0578063e985e9c514610b0557600080fd5b8063c5b62de1116100e7578063c5b62de114610a5c578063c87b56dd14610a72578063cd88055314610a92578063d2cab05614610ab257600080fd5b8063a27284a1146109f4578063b01ffc0214610a09578063b88d4fde14610a29578063b8d4be2a14610a4957600080fd5b80638c7ea24b1161019057806394eaf9951161015f57806394eaf9951461098057806395d89b411461099f5780639979a194146109b4578063a22cb465146109d457600080fd5b80638c7ea24b146108fd5780638cb620411461091d5780638da5cb5b1461093d578063931688cb1461096057600080fd5b80637e2285aa116101cc5780637e2285aa146108885780637e5b1e24146108a857806385172fb1146108c8578063853828b6146108e857600080fd5b80636c0360eb1461082857806370a082311461083d578063715018a61461085d5780637d341f0e1461087257600080fd5b80632a55205a116102f857806342842e0e1161028b578063568c32a31161025a578063568c32a3146107a65780635c975abb146107bb5780636352211e146107d35780636746e8b3146107f35780636b3c39d71461080857600080fd5b806342842e0e1461073057806345677957146107505780634f6ccce7146107705780634f9134161461079057600080fd5b80632e1a7d4d116102c75780632e1a7d4d146106ba5780632f4eb6e2146106da5780632f745c59146106fa578063302150e51461071a57600080fd5b80632a55205a146106335780632b314dc6146106725780632c512249146106855780632d5537b0146106a557600080fd5b806315f5d8a011610370578063240ff27f1161033f578063240ff27f1461058757806327e235e3146105a7578063285c1af1146105fe57806328bae7261461061357600080fd5b806315f5d8a01461050e57806316c38b3c1461053257806318160ddd1461055257806323b872dd1461056757600080fd5b8063095ea7b3116103ac578063095ea7b31461048c5780630dc28efe146104ae57806311c99d56146104ce57806314121602146104ee57600080fd5b8062822141146103dd57806301ffc9a71461041a57806306fdde031461044a578063081812fc1461046c575b600080fd5b3480156103e957600080fd5b506013546103fd906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561042657600080fd5b5061043a6104353660046132ca565b610baa565b6040519015158152602001610411565b34801561045657600080fd5b5061045f610bd5565b604051610411919061333f565b34801561047857600080fd5b506103fd610487366004613352565b610c67565b34801561049857600080fd5b506104ac6104a7366004613380565b610cf4565b005b3480156104ba57600080fd5b506104ac6104c93660046133ac565b610e09565b3480156104da57600080fd5b506104ac6104e9366004613352565b610ed3565b3480156104fa57600080fd5b506104ac610509366004613352565b610f33565b34801561051a57600080fd5b5061052460095481565b604051908152602001610411565b34801561053e57600080fd5b506104ac61054d3660046133ea565b610f93565b34801561055e57600080fd5b50600254610524565b34801561057357600080fd5b506104ac610582366004613407565b611007565b34801561059357600080fd5b506104ac6105a2366004613448565b611038565b3480156105b357600080fd5b506105e36105c2366004613476565b60166020526000908152604090208054600182015460029092015490919083565b60408051938452602084019290925290820152606001610411565b34801561060a57600080fd5b506104ac6110be565b34801561061f57600080fd5b506104ac61062e366004613476565b611136565b34801561063f57600080fd5b5061065361064e366004613493565b6111b3565b604080516001600160a01b039093168352602083019190915201610411565b6104ac6106803660046134fc565b611208565b34801561069157600080fd5b506104ac6106a0366004613352565b61141c565b3480156106b157600080fd5b5061045f61147c565b3480156106c657600080fd5b506104ac6106d5366004613352565b61150a565b3480156106e657600080fd5b506104ac6106f5366004613352565b6115cb565b34801561070657600080fd5b50610524610715366004613380565b61162b565b34801561072657600080fd5b50610524600d5481565b34801561073c57600080fd5b506104ac61074b366004613407565b6116ee565b34801561075c57600080fd5b506104ac61076b366004613476565b611709565b34801561077c57600080fd5b5061052461078b366004613352565b611786565b34801561079c57600080fd5b50610524600c5481565b3480156107b257600080fd5b506104ac611815565b3480156107c757600080fd5b5060055460ff1661043a565b3480156107df57600080fd5b506103fd6107ee366004613352565b6118c5565b3480156107ff57600080fd5b506104ac611917565b34801561081457600080fd5b506104ac610823366004613352565b611985565b34801561083457600080fd5b5061045f6119e5565b34801561084957600080fd5b50610524610858366004613476565b6119f2565b34801561086957600080fd5b506104ac611ac0565b34801561087e57600080fd5b50610524600b5481565b34801561089457600080fd5b506104ac6108a3366004613606565b611afa565b3480156108b457600080fd5b506104ac6108c3366004613606565b611b68565b3480156108d457600080fd5b506012546103fd906001600160a01b031681565b3480156108f457600080fd5b506104ac611bd6565b34801561090957600080fd5b506104ac610918366004613380565b611c0f565b34801561092957600080fd5b506104ac610938366004613476565b611cb2565b34801561094957600080fd5b5060055461010090046001600160a01b03166103fd565b34801561096c57600080fd5b506104ac61097b366004613606565b611d2f565b34801561098c57600080fd5b5060105461043a90610100900460ff1681565b3480156109ab57600080fd5b5061045f611d9d565b3480156109c057600080fd5b5060105461043a9062010000900460ff1681565b3480156109e057600080fd5b506104ac6109ef366004613448565b611dac565b348015610a0057600080fd5b506104ac611e70565b348015610a1557600080fd5b506104ac610a24366004613352565b611f0f565b348015610a3557600080fd5b506104ac610a4436600461364f565b611f6f565b6104ac610a573660046134fc565b611fa1565b348015610a6857600080fd5b5061052460085481565b348015610a7e57600080fd5b5061045f610a8d366004613352565b6121a4565b348015610a9e57600080fd5b506014546103fd906001600160a01b031681565b6104ac610ac03660046134fc565b6122e7565b348015610ad157600080fd5b5061052460075481565b348015610ae757600080fd5b506104ac6124f6565b348015610afc57600080fd5b5061045f612564565b348015610b1157600080fd5b5061043a610b203660046136cf565b612571565b348015610b3157600080fd5b506104ac610b40366004613352565b6125cc565b348015610b5157600080fd5b506104ac610b60366004613476565b61262c565b348015610b7157600080fd5b5060105461043a9060ff1681565b348015610b8b57600080fd5b50610524600a5481565b348015610ba157600080fd5b506104ac6126ca565b60006001600160e01b0319821663780e9d6360e01b1480610bcf5750610bcf82612771565b92915050565b606060008054610be4906136fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c10906136fd565b8015610c5d5780601f10610c3257610100808354040283529160200191610c5d565b820191906000526020600020905b815481529060010190602001808311610c4057829003601f168201915b5050505050905090565b6000610c7282612796565b610cd85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b6000610cff826118c5565b9050806001600160a01b0316836001600160a01b031603610d6c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610ccf565b336001600160a01b0382161480610d885750610d888133612571565b610dfa5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610ccf565b610e04838361281e565b505050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480610e4857503360009081526015602052604090205460ff165b610e645760405162461bcd60e51b8152600401610ccf90613737565b60075482610e7160025490565b610e7b9190613773565b1115610e995760405162461bcd60e51b8152600401610ccf9061378b565b60005b82811015610e0457610ec18282610eb260025490565b610ebc9190613773565b61288c565b80610ecb816137b3565b915050610e9c565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480610f1257503360009081526015602052604090205460ff165b610f2e5760405162461bcd60e51b8152600401610ccf90613737565b600d55565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480610f7257503360009081526015602052604090205460ff165b610f8e5760405162461bcd60e51b8152600401610ccf90613737565b600b55565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480610fd257503360009081526015602052604090205460ff165b610fee5760405162461bcd60e51b8152600401610ccf90613737565b8015610fff57610ffc6128a6565b50565b610ffc61291b565b6110113382612995565b61102d5760405162461bcd60e51b8152600401610ccf906137cc565b610e04838383612a5f565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061107757503360009081526015602052604090205460ff165b6110935760405162461bcd60e51b8152600401610ccf90613737565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614806110fd57503360009081526015602052604090205460ff165b6111195760405162461bcd60e51b8152600401610ccf90613737565b611121611e70565b61112c6108986125cc565b6111346126ca565b565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061117557503360009081526015602052604090205460ff165b6111915760405162461bcd60e51b8152600401610ccf90613737565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b604080518082019091526006546001600160a01b038116808352600160a01b90910462ffffff16602083018190529091600091612710906111f4908661381d565b6111fe9190613852565b9150509250929050565b60055460ff161561122b5760405162461bcd60e51b8152600401610ccf90613866565b32331461124a5760405162461bcd60e51b8152600401610ccf90613890565b600061125560025490565b9050600083116112775760405162461bcd60e51b8152600401610ccf906138bc565b601054610100900460ff1661129e5760405162461bcd60e51b8152600401610ccf906138e6565b6009546112ab908461381d565b3410156112ca5760405162461bcd60e51b8152600401610ccf90613908565b600c54336000908152601660205260409020600101546112eb908590613773565b11156113095760405162461bcd60e51b8152600401610ccf90613931565b60135460405163f0ba58a160e01b81526001600160a01b039091169063f0ba58a19061133b903390869060040161395c565b602060405180830381865afa158015611358573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137c91906139b2565b6113985760405162461bcd60e51b8152600401610ccf906139cf565b6007546113a58483613773565b11156113c35760405162461bcd60e51b8152600401610ccf9061378b565b33600090815260166020526040812060010180548592906113e5908490613773565b90915550600090505b838110156114165761140433610ebc8385613773565b8061140e816137b3565b9150506113ee565b50505050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061145b57503360009081526015602052604090205460ff165b6114775760405162461bcd60e51b8152600401610ccf90613737565b600c55565b60118054611489906136fd565b80601f01602080910402602001604051908101604052809291908181526020018280546114b5906136fd565b80156115025780601f106114d757610100808354040283529160200191611502565b820191906000526020600020905b8154815290600101906020018083116114e557829003601f168201915b505050505081565b6005546001600160a01b0361010090910416331461153a5760405162461bcd60e51b8152600401610ccf906139f5565b604051600090339083908381818185875af1925050503d806000811461157c576040519150601f19603f3d011682016040523d82523d6000602084013e611581565b606091505b50509050806115c75760405162461bcd60e51b81526020600482015260126024820152714661696c656420746f20776974686472617760701b6044820152606401610ccf565b5050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061160a57503360009081526015602052604090205460ff165b6116265760405162461bcd60e51b8152600401610ccf90613737565b600855565b6000611636836119f2565b82106116545760405162461bcd60e51b8152600401610ccf90613a2a565b6000805b6002548110156116d5576002818154811061167557611675613a75565b6000918252602090912001546001600160a01b03908116908616036116cd578382036116c6577f0000000000000000000000000000000000000000000000000000000000000000019150610bcf9050565b6001909101905b600101611658565b5060405162461bcd60e51b8152600401610ccf90613a2a565b610e0483838360405180602001604052806000815250611f6f565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061174857503360009081526015602052604090205460ff165b6117645760405162461bcd60e51b8152600401610ccf90613737565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b60025460009082106117ef5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610ccf565b507f00000000000000000000000000000000000000000000000000000000000000000190565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061185457503360009081526015602052604090205460ff165b6118705760405162461bcd60e51b8152600401610ccf90613737565b6010805462ff0000198116620100009182900460ff1615918202179091556040518181527f033fcfd9cc0d1245d0975739b3bd6fa38727f20cfda54f4c8f817e2825ee7b8c906020015b60405180910390a150565b60008060026118d384612bbd565b815481106118e3576118e3613a75565b6000918252602090912001546001600160a01b0316905080610bcf5760405162461bcd60e51b8152600401610ccf90613a8b565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061195657503360009081526015602052604090205460ff165b6119725760405162461bcd60e51b8152600401610ccf90613737565b61197d6127106125cc565b611134611815565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614806119c457503360009081526015602052604090205460ff165b6119e05760405162461bcd60e51b8152600401610ccf90613737565b600955565b600e8054611489906136fd565b60006001600160a01b038216611a5d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610ccf565b6000805b600254811015611ab95760028181548110611a7e57611a7e613a75565b6000918252602090912001546001600160a01b0390811690851603611aa957611aa6826137b3565b91505b611ab2816137b3565b9050611a61565b5092915050565b6005546001600160a01b03610100909104163314611af05760405162461bcd60e51b8152600401610ccf906139f5565b6111346000612c26565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611b3957503360009081526015602052604090205460ff165b611b555760405162461bcd60e51b8152600401610ccf90613737565b80516115c790601190602084019061321b565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611ba757503360009081526015602052604090205460ff165b611bc35760405162461bcd60e51b8152600401610ccf90613737565b80516115c790600f90602084019061321b565b6005546001600160a01b03610100909104163314611c065760405162461bcd60e51b8152600401610ccf906139f5565b6111344761150a565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611c4e57503360009081526015602052604090205460ff165b611c6a5760405162461bcd60e51b8152600401610ccf90613737565b604080518082019091526001600160a01b03831680825262ffffff83166020909201829052600680546001600160b81b031916909117600160a01b9092029190911790555050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611cf157503360009081526015602052604090205460ff165b611d0d5760405162461bcd60e51b8152600401610ccf90613737565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611d6e57503360009081526015602052604090205460ff165b611d8a5760405162461bcd60e51b8152600401610ccf90613737565b80516115c790600e90602084019061321b565b606060018054610be4906136fd565b336001600160a01b03831603611e045760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ccf565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611eaf57503360009081526015602052604090205460ff165b611ecb5760405162461bcd60e51b8152600401610ccf90613737565b6010805460ff81161560ff1990911681179091556040518181527f348f78b784d47460f4b7f7d20b1d53efa5644edf0c13017ab799b527583bab8c906020016118ba565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611f4e57503360009081526015602052604090205460ff165b611f6a5760405162461bcd60e51b8152600401610ccf90613737565b600a55565b611f793383612995565b611f955760405162461bcd60e51b8152600401610ccf906137cc565b61141684848484612c80565b60055460ff1615611fc45760405162461bcd60e51b8152600401610ccf90613866565b323314611fe35760405162461bcd60e51b8152600401610ccf90613890565b6000611fee60025490565b9050600083116120105760405162461bcd60e51b8152600401610ccf906138bc565b60105460ff166120325760405162461bcd60e51b8152600401610ccf906138e6565b60085461203f908461381d565b34101561205e5760405162461bcd60e51b8152600401610ccf90613908565b600b543360009081526016602052604090205461207c908590613773565b111561209a5760405162461bcd60e51b8152600401610ccf90613931565b60125460405163f0ba58a160e01b81526001600160a01b039091169063f0ba58a1906120cc903390869060040161395c565b602060405180830381865afa1580156120e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061210d91906139b2565b6121295760405162461bcd60e51b8152600401610ccf906139cf565b6007546121368483613773565b11156121545760405162461bcd60e51b8152600401610ccf9061378b565b3360009081526016602052604081208054859290612173908490613773565b90915550600090505b838110156114165761219233610ebc8385613773565b8061219c816137b3565b91505061217c565b60606121af82612796565b6122055760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656044820152603760f91b6064820152608401610ccf565b6000600e8054612214906136fd565b80601f0160208091040260200160405190810160405280929190818152602001828054612240906136fd565b801561228d5780601f106122625761010080835404028352916020019161228d565b820191906000526020600020905b81548152906001019060200180831161227057829003601f168201915b5050505050905060008151116122b257604051806020016040528060008152506122e0565b806122bc84612cb3565b60116040516020016122d093929190613ad4565b6040516020818303038152906040525b9392505050565b60055460ff161561230a5760405162461bcd60e51b8152600401610ccf90613866565b3233146123295760405162461bcd60e51b8152600401610ccf90613890565b600061233460025490565b9050600083116123565760405162461bcd60e51b8152600401610ccf906138bc565b60105462010000900460ff1661237e5760405162461bcd60e51b8152600401610ccf906138e6565b600a5461238b908461381d565b3410156123aa5760405162461bcd60e51b8152600401610ccf90613908565b600d54336000908152601660205260409020600201546123cb908590613773565b11156123e95760405162461bcd60e51b8152600401610ccf90613931565b60145460405163f0ba58a160e01b81526001600160a01b039091169063f0ba58a19061241b903390869060040161395c565b602060405180830381865afa158015612438573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245c91906139b2565b6124785760405162461bcd60e51b8152600401610ccf906139cf565b6007546124858483613773565b11156124a35760405162461bcd60e51b8152600401610ccf9061378b565b33600090815260166020526040812060020180548592906124c5908490613773565b90915550600090505b83811015611416576124e433610ebc8385613773565b806124ee816137b3565b9150506124ce565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061253557503360009081526015602052604090205460ff165b6125515760405162461bcd60e51b8152600401610ccf90613737565b6125596126ca565b6111346119646125cc565b600f8054611489906136fd565b6001600160a01b03808316600090815260046020908152604080832093851683529290529081205460ff16806125ac57506125ac8383612db4565b806122e057503360009081526015602052604090205460ff169392505050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061260b57503360009081526015602052604090205460ff165b6126275760405162461bcd60e51b8152600401610ccf90613737565b600755565b6005546001600160a01b0361010090910416331461265c5760405162461bcd60e51b8152600401610ccf906139f5565b6001600160a01b0381166126c15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ccf565b610ffc81612c26565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061270957503360009081526015602052604090205460ff165b6127255760405162461bcd60e51b8152600401610ccf90613737565b6010805461ff001981166101009182900460ff1615918202179091556040518181527f1add7b0a60634de50577363636c4569cdef30136caef7ff1fc7cbce966c85e7b906020016118ba565b60006001600160e01b0319821663152a902d60e11b1480610bcf5750610bcf82612df3565b60007f00000000000000000000000000000000000000000000000000000000000000008210156127c857506000919050565b60006127d383612bbd565b600254909150811080156122e0575060006001600160a01b03166002828154811061280057612800613a75565b6000918252602090912001546001600160a01b031614159392505050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612853826118c5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6115c7828260405180602001604052806000815250612e18565b60055460ff16156128c95760405162461bcd60e51b8152600401610ccf90613866565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128fe3390565b6040516001600160a01b03909116815260200160405180910390a1565b60055460ff166129645760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610ccf565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336128fe565b60006129a082612796565b612a015760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610ccf565b6000612a0c836118c5565b9050806001600160a01b0316846001600160a01b03161480612a475750836001600160a01b0316612a3c84610c67565b6001600160a01b0316145b80612a575750612a578185612571565b949350505050565b826001600160a01b0316612a72826118c5565b6001600160a01b031614612ada5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610ccf565b6001600160a01b038216612b3c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610ccf565b612b4760008261281e565b816002612b5383612bbd565b81548110612b6357612b63613a75565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60007f0000000000000000000000000000000000000000000000000000000000000000821015612bff5760405162461bcd60e51b8152600401610ccf90613a8b565b507f0000000000000000000000000000000000000000000000000000000000000000900390565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612c8b848484612a5f565b612c9784848484612e4b565b6114165760405162461bcd60e51b8152600401610ccf90613b97565b606081600003612cda5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612d045780612cee816137b3565b9150612cfd9050600a83613852565b9150612cde565b60008167ffffffffffffffff811115612d1f57612d1f6134b5565b6040519080825280601f01601f191660200182016040528015612d49576020820181803683370190505b5090505b8415612a5757612d5e600183613be9565b9150612d6b600a86613c00565b612d76906030613773565b60f81b818381518110612d8b57612d8b613a75565b60200101906001600160f81b031916908160001a905350612dad600a86613852565b9450612d4d565b600080612dc084612f4c565b90506001600160a01b03811615801590612a575750826001600160a01b0316816001600160a01b03161491505092915050565b60006001600160e01b0319821663780e9d6360e01b1480610bcf5750610bcf826130a3565b612e2283836130f3565b612e2f6000848484612e4b565b610e045760405162461bcd60e51b8152600401610ccf90613b97565b60006001600160a01b0384163b15612f4157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e8f903390899088908890600401613c14565b6020604051808303816000875af1925050508015612eca575060408051601f3d908101601f19168201909252612ec791810190613c51565b60015b612f27573d808015612ef8576040519150601f19603f3d011682016040523d82523d6000602084013e612efd565b606091505b508051600003612f1f5760405162461bcd60e51b8152600401610ccf90613b97565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612a57565b506001949350505050565b600080468060018114612f815760898114612f9d5760048114612fb957620138818114612fd5576105398114612ff157613009565b73a5409ec958c83c3f309868babaca7c86dcb077c19250613009565b7358807bad0b376efc12f5ad86aac70e78ed67deae9250613009565b73f57b2c51ded3a29e6891aba85459d600256cf3179250613009565b73ff7ca10af37178bdd056628ef42fd7f799fac77c9250613009565b73e1a2bbc877b29adbc56d2659dbcb0ae14ee6207192505b506001600160a01b03821615806130205750806089145b8061302d57508062013881145b15613039575092915050565b60405163c455279160e01b81526001600160a01b03858116600483015283169063c455279190602401602060405180830381865afa15801561307f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a579190613c6e565b60006001600160e01b031982166380ac58cd60e01b14806130d457506001600160e01b03198216635b5e139f60e01b145b80610bcf57506301ffc9a760e01b6001600160e01b0319831614610bcf565b6001600160a01b0382166131495760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ccf565b61315281612796565b1561319f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ccf565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613227906136fd565b90600052602060002090601f016020900481019282613249576000855561328f565b82601f1061326257805160ff191683800117855561328f565b8280016001018555821561328f579182015b8281111561328f578251825591602001919060010190613274565b5061329b92915061329f565b5090565b5b8082111561329b57600081556001016132a0565b6001600160e01b031981168114610ffc57600080fd5b6000602082840312156132dc57600080fd5b81356122e0816132b4565b60005b838110156133025781810151838201526020016132ea565b838111156114165750506000910152565b6000815180845261332b8160208601602086016132e7565b601f01601f19169290920160200192915050565b6020815260006122e06020830184613313565b60006020828403121561336457600080fd5b5035919050565b6001600160a01b0381168114610ffc57600080fd5b6000806040838503121561339357600080fd5b823561339e8161336b565b946020939093013593505050565b600080604083850312156133bf57600080fd5b8235915060208301356133d18161336b565b809150509250929050565b8015158114610ffc57600080fd5b6000602082840312156133fc57600080fd5b81356122e0816133dc565b60008060006060848603121561341c57600080fd5b83356134278161336b565b925060208401356134378161336b565b929592945050506040919091013590565b6000806040838503121561345b57600080fd5b82356134668161336b565b915060208301356133d1816133dc565b60006020828403121561348857600080fd5b81356122e08161336b565b600080604083850312156134a657600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156134f4576134f46134b5565b604052919050565b6000806040838503121561350f57600080fd5b8235915060208084013567ffffffffffffffff8082111561352f57600080fd5b818601915086601f83011261354357600080fd5b813581811115613555576135556134b5565b8060051b91506135668483016134cb565b818152918301840191848101908984111561358057600080fd5b938501935b8385101561359e57843582529385019390850190613585565b8096505050505050509250929050565b600067ffffffffffffffff8311156135c8576135c86134b5565b6135db601f8401601f19166020016134cb565b90508281528383830111156135ef57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561361857600080fd5b813567ffffffffffffffff81111561362f57600080fd5b8201601f8101841361364057600080fd5b612a57848235602084016135ae565b6000806000806080858703121561366557600080fd5b84356136708161336b565b935060208501356136808161336b565b925060408501359150606085013567ffffffffffffffff8111156136a357600080fd5b8501601f810187136136b457600080fd5b6136c3878235602084016135ae565b91505092959194509250565b600080604083850312156136e257600080fd5b82356136ed8161336b565b915060208301356133d18161336b565b600181811c9082168061371157607f821691505b60208210810361373157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b155b985d5d1a1bdc9a5e995960a21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156137865761378661375d565b500190565b6020808252600e908201526d4578636565647320537570706c7960901b604082015260600190565b6000600182016137c5576137c561375d565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008160001904831182151516156138375761383761375d565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826138615761386161383c565b500490565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526012908201527121b0b63632b91034b9903737ba103ab9b2b960711b604082015260600190565b60208082526010908201526f4d75737420657863656564205a65726f60801b604082015260600190565b6020808252600890820152674e6f74206c69766560c01b604082015260600190565b6020808252600f908201526e496e636f727265637420507269636560881b604082015260600190565b602080825260119082015270115e18d959591cc8185b1b1bd8d85d1959607a1b604082015260600190565b6001600160a01b038316815260406020808301829052835191830182905260009184820191906060850190845b818110156139a557845183529383019391830191600101613989565b5090979650505050505050565b6000602082840312156139c457600080fd5b81516122e0816133dc565b6020808252600c908201526b139bdd081d995c9a599a595960a21b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b600084516020613ae78285838a016132e7565b855191840191613afa8184848a016132e7565b8554920191600090600181811c9080831680613b1757607f831692505b8583108103613b3457634e487b7160e01b85526022600452602485fd5b808015613b485760018114613b5957613b86565b60ff19851688528388019550613b86565b60008b81526020902060005b85811015613b7e5781548a820152908401908801613b65565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082821015613bfb57613bfb61375d565b500390565b600082613c0f57613c0f61383c565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613c4790830184613313565b9695505050505050565b600060208284031215613c6357600080fd5b81516122e0816132b4565b600060208284031215613c8057600080fd5b81516122e08161336b56fea26469706673582212209a3c1e57347b3768ac4e8ed4831b7b332ee6b3b680122d49452afb9aa120cd1364736f6c634300080d0033697066732e696f2f697066732f516d634e4668736f703774793942534445544e51566a773141334442363754447272694b48786a434233385365512f000000000000000000000000f8e4ff4cb25ff6ee18401fe3916d166f39acda1b000000000000000000000000b39c1f0d7166ed77a039d3cc774dac28446a24c50000000000000000000000001b0b1348fbcf4e7555530750d610b75a84704339
Deployed Bytecode
0x6080604052600436106103d85760003560e01c80636c0360eb116101fd578063a27284a111610118578063d5abeb01116100ab578063f103b4331161007a578063f103b43314610b25578063f2fde38b14610b45578063f6eba4e914610b65578063fc1a1c3614610b7f578063fd03c50f14610b9557600080fd5b8063d5abeb0114610ac5578063e5747c3b14610adb578063e8a3d48514610af0578063e985e9c514610b0557600080fd5b8063c5b62de1116100e7578063c5b62de114610a5c578063c87b56dd14610a72578063cd88055314610a92578063d2cab05614610ab257600080fd5b8063a27284a1146109f4578063b01ffc0214610a09578063b88d4fde14610a29578063b8d4be2a14610a4957600080fd5b80638c7ea24b1161019057806394eaf9951161015f57806394eaf9951461098057806395d89b411461099f5780639979a194146109b4578063a22cb465146109d457600080fd5b80638c7ea24b146108fd5780638cb620411461091d5780638da5cb5b1461093d578063931688cb1461096057600080fd5b80637e2285aa116101cc5780637e2285aa146108885780637e5b1e24146108a857806385172fb1146108c8578063853828b6146108e857600080fd5b80636c0360eb1461082857806370a082311461083d578063715018a61461085d5780637d341f0e1461087257600080fd5b80632a55205a116102f857806342842e0e1161028b578063568c32a31161025a578063568c32a3146107a65780635c975abb146107bb5780636352211e146107d35780636746e8b3146107f35780636b3c39d71461080857600080fd5b806342842e0e1461073057806345677957146107505780634f6ccce7146107705780634f9134161461079057600080fd5b80632e1a7d4d116102c75780632e1a7d4d146106ba5780632f4eb6e2146106da5780632f745c59146106fa578063302150e51461071a57600080fd5b80632a55205a146106335780632b314dc6146106725780632c512249146106855780632d5537b0146106a557600080fd5b806315f5d8a011610370578063240ff27f1161033f578063240ff27f1461058757806327e235e3146105a7578063285c1af1146105fe57806328bae7261461061357600080fd5b806315f5d8a01461050e57806316c38b3c1461053257806318160ddd1461055257806323b872dd1461056757600080fd5b8063095ea7b3116103ac578063095ea7b31461048c5780630dc28efe146104ae57806311c99d56146104ce57806314121602146104ee57600080fd5b8062822141146103dd57806301ffc9a71461041a57806306fdde031461044a578063081812fc1461046c575b600080fd5b3480156103e957600080fd5b506013546103fd906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561042657600080fd5b5061043a6104353660046132ca565b610baa565b6040519015158152602001610411565b34801561045657600080fd5b5061045f610bd5565b604051610411919061333f565b34801561047857600080fd5b506103fd610487366004613352565b610c67565b34801561049857600080fd5b506104ac6104a7366004613380565b610cf4565b005b3480156104ba57600080fd5b506104ac6104c93660046133ac565b610e09565b3480156104da57600080fd5b506104ac6104e9366004613352565b610ed3565b3480156104fa57600080fd5b506104ac610509366004613352565b610f33565b34801561051a57600080fd5b5061052460095481565b604051908152602001610411565b34801561053e57600080fd5b506104ac61054d3660046133ea565b610f93565b34801561055e57600080fd5b50600254610524565b34801561057357600080fd5b506104ac610582366004613407565b611007565b34801561059357600080fd5b506104ac6105a2366004613448565b611038565b3480156105b357600080fd5b506105e36105c2366004613476565b60166020526000908152604090208054600182015460029092015490919083565b60408051938452602084019290925290820152606001610411565b34801561060a57600080fd5b506104ac6110be565b34801561061f57600080fd5b506104ac61062e366004613476565b611136565b34801561063f57600080fd5b5061065361064e366004613493565b6111b3565b604080516001600160a01b039093168352602083019190915201610411565b6104ac6106803660046134fc565b611208565b34801561069157600080fd5b506104ac6106a0366004613352565b61141c565b3480156106b157600080fd5b5061045f61147c565b3480156106c657600080fd5b506104ac6106d5366004613352565b61150a565b3480156106e657600080fd5b506104ac6106f5366004613352565b6115cb565b34801561070657600080fd5b50610524610715366004613380565b61162b565b34801561072657600080fd5b50610524600d5481565b34801561073c57600080fd5b506104ac61074b366004613407565b6116ee565b34801561075c57600080fd5b506104ac61076b366004613476565b611709565b34801561077c57600080fd5b5061052461078b366004613352565b611786565b34801561079c57600080fd5b50610524600c5481565b3480156107b257600080fd5b506104ac611815565b3480156107c757600080fd5b5060055460ff1661043a565b3480156107df57600080fd5b506103fd6107ee366004613352565b6118c5565b3480156107ff57600080fd5b506104ac611917565b34801561081457600080fd5b506104ac610823366004613352565b611985565b34801561083457600080fd5b5061045f6119e5565b34801561084957600080fd5b50610524610858366004613476565b6119f2565b34801561086957600080fd5b506104ac611ac0565b34801561087e57600080fd5b50610524600b5481565b34801561089457600080fd5b506104ac6108a3366004613606565b611afa565b3480156108b457600080fd5b506104ac6108c3366004613606565b611b68565b3480156108d457600080fd5b506012546103fd906001600160a01b031681565b3480156108f457600080fd5b506104ac611bd6565b34801561090957600080fd5b506104ac610918366004613380565b611c0f565b34801561092957600080fd5b506104ac610938366004613476565b611cb2565b34801561094957600080fd5b5060055461010090046001600160a01b03166103fd565b34801561096c57600080fd5b506104ac61097b366004613606565b611d2f565b34801561098c57600080fd5b5060105461043a90610100900460ff1681565b3480156109ab57600080fd5b5061045f611d9d565b3480156109c057600080fd5b5060105461043a9062010000900460ff1681565b3480156109e057600080fd5b506104ac6109ef366004613448565b611dac565b348015610a0057600080fd5b506104ac611e70565b348015610a1557600080fd5b506104ac610a24366004613352565b611f0f565b348015610a3557600080fd5b506104ac610a4436600461364f565b611f6f565b6104ac610a573660046134fc565b611fa1565b348015610a6857600080fd5b5061052460085481565b348015610a7e57600080fd5b5061045f610a8d366004613352565b6121a4565b348015610a9e57600080fd5b506014546103fd906001600160a01b031681565b6104ac610ac03660046134fc565b6122e7565b348015610ad157600080fd5b5061052460075481565b348015610ae757600080fd5b506104ac6124f6565b348015610afc57600080fd5b5061045f612564565b348015610b1157600080fd5b5061043a610b203660046136cf565b612571565b348015610b3157600080fd5b506104ac610b40366004613352565b6125cc565b348015610b5157600080fd5b506104ac610b60366004613476565b61262c565b348015610b7157600080fd5b5060105461043a9060ff1681565b348015610b8b57600080fd5b50610524600a5481565b348015610ba157600080fd5b506104ac6126ca565b60006001600160e01b0319821663780e9d6360e01b1480610bcf5750610bcf82612771565b92915050565b606060008054610be4906136fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c10906136fd565b8015610c5d5780601f10610c3257610100808354040283529160200191610c5d565b820191906000526020600020905b815481529060010190602001808311610c4057829003601f168201915b5050505050905090565b6000610c7282612796565b610cd85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b6000610cff826118c5565b9050806001600160a01b0316836001600160a01b031603610d6c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610ccf565b336001600160a01b0382161480610d885750610d888133612571565b610dfa5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610ccf565b610e04838361281e565b505050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480610e4857503360009081526015602052604090205460ff165b610e645760405162461bcd60e51b8152600401610ccf90613737565b60075482610e7160025490565b610e7b9190613773565b1115610e995760405162461bcd60e51b8152600401610ccf9061378b565b60005b82811015610e0457610ec18282610eb260025490565b610ebc9190613773565b61288c565b80610ecb816137b3565b915050610e9c565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480610f1257503360009081526015602052604090205460ff165b610f2e5760405162461bcd60e51b8152600401610ccf90613737565b600d55565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480610f7257503360009081526015602052604090205460ff165b610f8e5760405162461bcd60e51b8152600401610ccf90613737565b600b55565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480610fd257503360009081526015602052604090205460ff165b610fee5760405162461bcd60e51b8152600401610ccf90613737565b8015610fff57610ffc6128a6565b50565b610ffc61291b565b6110113382612995565b61102d5760405162461bcd60e51b8152600401610ccf906137cc565b610e04838383612a5f565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061107757503360009081526015602052604090205460ff165b6110935760405162461bcd60e51b8152600401610ccf90613737565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614806110fd57503360009081526015602052604090205460ff165b6111195760405162461bcd60e51b8152600401610ccf90613737565b611121611e70565b61112c6108986125cc565b6111346126ca565b565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061117557503360009081526015602052604090205460ff165b6111915760405162461bcd60e51b8152600401610ccf90613737565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b604080518082019091526006546001600160a01b038116808352600160a01b90910462ffffff16602083018190529091600091612710906111f4908661381d565b6111fe9190613852565b9150509250929050565b60055460ff161561122b5760405162461bcd60e51b8152600401610ccf90613866565b32331461124a5760405162461bcd60e51b8152600401610ccf90613890565b600061125560025490565b9050600083116112775760405162461bcd60e51b8152600401610ccf906138bc565b601054610100900460ff1661129e5760405162461bcd60e51b8152600401610ccf906138e6565b6009546112ab908461381d565b3410156112ca5760405162461bcd60e51b8152600401610ccf90613908565b600c54336000908152601660205260409020600101546112eb908590613773565b11156113095760405162461bcd60e51b8152600401610ccf90613931565b60135460405163f0ba58a160e01b81526001600160a01b039091169063f0ba58a19061133b903390869060040161395c565b602060405180830381865afa158015611358573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137c91906139b2565b6113985760405162461bcd60e51b8152600401610ccf906139cf565b6007546113a58483613773565b11156113c35760405162461bcd60e51b8152600401610ccf9061378b565b33600090815260166020526040812060010180548592906113e5908490613773565b90915550600090505b838110156114165761140433610ebc8385613773565b8061140e816137b3565b9150506113ee565b50505050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061145b57503360009081526015602052604090205460ff165b6114775760405162461bcd60e51b8152600401610ccf90613737565b600c55565b60118054611489906136fd565b80601f01602080910402602001604051908101604052809291908181526020018280546114b5906136fd565b80156115025780601f106114d757610100808354040283529160200191611502565b820191906000526020600020905b8154815290600101906020018083116114e557829003601f168201915b505050505081565b6005546001600160a01b0361010090910416331461153a5760405162461bcd60e51b8152600401610ccf906139f5565b604051600090339083908381818185875af1925050503d806000811461157c576040519150601f19603f3d011682016040523d82523d6000602084013e611581565b606091505b50509050806115c75760405162461bcd60e51b81526020600482015260126024820152714661696c656420746f20776974686472617760701b6044820152606401610ccf565b5050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061160a57503360009081526015602052604090205460ff165b6116265760405162461bcd60e51b8152600401610ccf90613737565b600855565b6000611636836119f2565b82106116545760405162461bcd60e51b8152600401610ccf90613a2a565b6000805b6002548110156116d5576002818154811061167557611675613a75565b6000918252602090912001546001600160a01b03908116908616036116cd578382036116c6577f0000000000000000000000000000000000000000000000000000000000000000019150610bcf9050565b6001909101905b600101611658565b5060405162461bcd60e51b8152600401610ccf90613a2a565b610e0483838360405180602001604052806000815250611f6f565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061174857503360009081526015602052604090205460ff165b6117645760405162461bcd60e51b8152600401610ccf90613737565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b60025460009082106117ef5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610ccf565b507f00000000000000000000000000000000000000000000000000000000000000000190565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061185457503360009081526015602052604090205460ff165b6118705760405162461bcd60e51b8152600401610ccf90613737565b6010805462ff0000198116620100009182900460ff1615918202179091556040518181527f033fcfd9cc0d1245d0975739b3bd6fa38727f20cfda54f4c8f817e2825ee7b8c906020015b60405180910390a150565b60008060026118d384612bbd565b815481106118e3576118e3613a75565b6000918252602090912001546001600160a01b0316905080610bcf5760405162461bcd60e51b8152600401610ccf90613a8b565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061195657503360009081526015602052604090205460ff165b6119725760405162461bcd60e51b8152600401610ccf90613737565b61197d6127106125cc565b611134611815565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614806119c457503360009081526015602052604090205460ff165b6119e05760405162461bcd60e51b8152600401610ccf90613737565b600955565b600e8054611489906136fd565b60006001600160a01b038216611a5d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610ccf565b6000805b600254811015611ab95760028181548110611a7e57611a7e613a75565b6000918252602090912001546001600160a01b0390811690851603611aa957611aa6826137b3565b91505b611ab2816137b3565b9050611a61565b5092915050565b6005546001600160a01b03610100909104163314611af05760405162461bcd60e51b8152600401610ccf906139f5565b6111346000612c26565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611b3957503360009081526015602052604090205460ff165b611b555760405162461bcd60e51b8152600401610ccf90613737565b80516115c790601190602084019061321b565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611ba757503360009081526015602052604090205460ff165b611bc35760405162461bcd60e51b8152600401610ccf90613737565b80516115c790600f90602084019061321b565b6005546001600160a01b03610100909104163314611c065760405162461bcd60e51b8152600401610ccf906139f5565b6111344761150a565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611c4e57503360009081526015602052604090205460ff165b611c6a5760405162461bcd60e51b8152600401610ccf90613737565b604080518082019091526001600160a01b03831680825262ffffff83166020909201829052600680546001600160b81b031916909117600160a01b9092029190911790555050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611cf157503360009081526015602052604090205460ff165b611d0d5760405162461bcd60e51b8152600401610ccf90613737565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611d6e57503360009081526015602052604090205460ff165b611d8a5760405162461bcd60e51b8152600401610ccf90613737565b80516115c790600e90602084019061321b565b606060018054610be4906136fd565b336001600160a01b03831603611e045760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ccf565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611eaf57503360009081526015602052604090205460ff165b611ecb5760405162461bcd60e51b8152600401610ccf90613737565b6010805460ff81161560ff1990911681179091556040518181527f348f78b784d47460f4b7f7d20b1d53efa5644edf0c13017ab799b527583bab8c906020016118ba565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611f4e57503360009081526015602052604090205460ff165b611f6a5760405162461bcd60e51b8152600401610ccf90613737565b600a55565b611f793383612995565b611f955760405162461bcd60e51b8152600401610ccf906137cc565b61141684848484612c80565b60055460ff1615611fc45760405162461bcd60e51b8152600401610ccf90613866565b323314611fe35760405162461bcd60e51b8152600401610ccf90613890565b6000611fee60025490565b9050600083116120105760405162461bcd60e51b8152600401610ccf906138bc565b60105460ff166120325760405162461bcd60e51b8152600401610ccf906138e6565b60085461203f908461381d565b34101561205e5760405162461bcd60e51b8152600401610ccf90613908565b600b543360009081526016602052604090205461207c908590613773565b111561209a5760405162461bcd60e51b8152600401610ccf90613931565b60125460405163f0ba58a160e01b81526001600160a01b039091169063f0ba58a1906120cc903390869060040161395c565b602060405180830381865afa1580156120e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061210d91906139b2565b6121295760405162461bcd60e51b8152600401610ccf906139cf565b6007546121368483613773565b11156121545760405162461bcd60e51b8152600401610ccf9061378b565b3360009081526016602052604081208054859290612173908490613773565b90915550600090505b838110156114165761219233610ebc8385613773565b8061219c816137b3565b91505061217c565b60606121af82612796565b6122055760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656044820152603760f91b6064820152608401610ccf565b6000600e8054612214906136fd565b80601f0160208091040260200160405190810160405280929190818152602001828054612240906136fd565b801561228d5780601f106122625761010080835404028352916020019161228d565b820191906000526020600020905b81548152906001019060200180831161227057829003601f168201915b5050505050905060008151116122b257604051806020016040528060008152506122e0565b806122bc84612cb3565b60116040516020016122d093929190613ad4565b6040516020818303038152906040525b9392505050565b60055460ff161561230a5760405162461bcd60e51b8152600401610ccf90613866565b3233146123295760405162461bcd60e51b8152600401610ccf90613890565b600061233460025490565b9050600083116123565760405162461bcd60e51b8152600401610ccf906138bc565b60105462010000900460ff1661237e5760405162461bcd60e51b8152600401610ccf906138e6565b600a5461238b908461381d565b3410156123aa5760405162461bcd60e51b8152600401610ccf90613908565b600d54336000908152601660205260409020600201546123cb908590613773565b11156123e95760405162461bcd60e51b8152600401610ccf90613931565b60145460405163f0ba58a160e01b81526001600160a01b039091169063f0ba58a19061241b903390869060040161395c565b602060405180830381865afa158015612438573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245c91906139b2565b6124785760405162461bcd60e51b8152600401610ccf906139cf565b6007546124858483613773565b11156124a35760405162461bcd60e51b8152600401610ccf9061378b565b33600090815260166020526040812060020180548592906124c5908490613773565b90915550600090505b83811015611416576124e433610ebc8385613773565b806124ee816137b3565b9150506124ce565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061253557503360009081526015602052604090205460ff165b6125515760405162461bcd60e51b8152600401610ccf90613737565b6125596126ca565b6111346119646125cc565b600f8054611489906136fd565b6001600160a01b03808316600090815260046020908152604080832093851683529290529081205460ff16806125ac57506125ac8383612db4565b806122e057503360009081526015602052604090205460ff169392505050565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061260b57503360009081526015602052604090205460ff165b6126275760405162461bcd60e51b8152600401610ccf90613737565b600755565b6005546001600160a01b0361010090910416331461265c5760405162461bcd60e51b8152600401610ccf906139f5565b6001600160a01b0381166126c15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ccf565b610ffc81612c26565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061270957503360009081526015602052604090205460ff165b6127255760405162461bcd60e51b8152600401610ccf90613737565b6010805461ff001981166101009182900460ff1615918202179091556040518181527f1add7b0a60634de50577363636c4569cdef30136caef7ff1fc7cbce966c85e7b906020016118ba565b60006001600160e01b0319821663152a902d60e11b1480610bcf5750610bcf82612df3565b60007f00000000000000000000000000000000000000000000000000000000000000008210156127c857506000919050565b60006127d383612bbd565b600254909150811080156122e0575060006001600160a01b03166002828154811061280057612800613a75565b6000918252602090912001546001600160a01b031614159392505050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612853826118c5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6115c7828260405180602001604052806000815250612e18565b60055460ff16156128c95760405162461bcd60e51b8152600401610ccf90613866565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128fe3390565b6040516001600160a01b03909116815260200160405180910390a1565b60055460ff166129645760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610ccf565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336128fe565b60006129a082612796565b612a015760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610ccf565b6000612a0c836118c5565b9050806001600160a01b0316846001600160a01b03161480612a475750836001600160a01b0316612a3c84610c67565b6001600160a01b0316145b80612a575750612a578185612571565b949350505050565b826001600160a01b0316612a72826118c5565b6001600160a01b031614612ada5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610ccf565b6001600160a01b038216612b3c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610ccf565b612b4760008261281e565b816002612b5383612bbd565b81548110612b6357612b63613a75565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60007f0000000000000000000000000000000000000000000000000000000000000000821015612bff5760405162461bcd60e51b8152600401610ccf90613a8b565b507f0000000000000000000000000000000000000000000000000000000000000000900390565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612c8b848484612a5f565b612c9784848484612e4b565b6114165760405162461bcd60e51b8152600401610ccf90613b97565b606081600003612cda5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612d045780612cee816137b3565b9150612cfd9050600a83613852565b9150612cde565b60008167ffffffffffffffff811115612d1f57612d1f6134b5565b6040519080825280601f01601f191660200182016040528015612d49576020820181803683370190505b5090505b8415612a5757612d5e600183613be9565b9150612d6b600a86613c00565b612d76906030613773565b60f81b818381518110612d8b57612d8b613a75565b60200101906001600160f81b031916908160001a905350612dad600a86613852565b9450612d4d565b600080612dc084612f4c565b90506001600160a01b03811615801590612a575750826001600160a01b0316816001600160a01b03161491505092915050565b60006001600160e01b0319821663780e9d6360e01b1480610bcf5750610bcf826130a3565b612e2283836130f3565b612e2f6000848484612e4b565b610e045760405162461bcd60e51b8152600401610ccf90613b97565b60006001600160a01b0384163b15612f4157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e8f903390899088908890600401613c14565b6020604051808303816000875af1925050508015612eca575060408051601f3d908101601f19168201909252612ec791810190613c51565b60015b612f27573d808015612ef8576040519150601f19603f3d011682016040523d82523d6000602084013e612efd565b606091505b508051600003612f1f5760405162461bcd60e51b8152600401610ccf90613b97565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612a57565b506001949350505050565b600080468060018114612f815760898114612f9d5760048114612fb957620138818114612fd5576105398114612ff157613009565b73a5409ec958c83c3f309868babaca7c86dcb077c19250613009565b7358807bad0b376efc12f5ad86aac70e78ed67deae9250613009565b73f57b2c51ded3a29e6891aba85459d600256cf3179250613009565b73ff7ca10af37178bdd056628ef42fd7f799fac77c9250613009565b73e1a2bbc877b29adbc56d2659dbcb0ae14ee6207192505b506001600160a01b03821615806130205750806089145b8061302d57508062013881145b15613039575092915050565b60405163c455279160e01b81526001600160a01b03858116600483015283169063c455279190602401602060405180830381865afa15801561307f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a579190613c6e565b60006001600160e01b031982166380ac58cd60e01b14806130d457506001600160e01b03198216635b5e139f60e01b145b80610bcf57506301ffc9a760e01b6001600160e01b0319831614610bcf565b6001600160a01b0382166131495760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ccf565b61315281612796565b1561319f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ccf565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613227906136fd565b90600052602060002090601f016020900481019282613249576000855561328f565b82601f1061326257805160ff191683800117855561328f565b8280016001018555821561328f579182015b8281111561328f578251825591602001919060010190613274565b5061329b92915061329f565b5090565b5b8082111561329b57600081556001016132a0565b6001600160e01b031981168114610ffc57600080fd5b6000602082840312156132dc57600080fd5b81356122e0816132b4565b60005b838110156133025781810151838201526020016132ea565b838111156114165750506000910152565b6000815180845261332b8160208601602086016132e7565b601f01601f19169290920160200192915050565b6020815260006122e06020830184613313565b60006020828403121561336457600080fd5b5035919050565b6001600160a01b0381168114610ffc57600080fd5b6000806040838503121561339357600080fd5b823561339e8161336b565b946020939093013593505050565b600080604083850312156133bf57600080fd5b8235915060208301356133d18161336b565b809150509250929050565b8015158114610ffc57600080fd5b6000602082840312156133fc57600080fd5b81356122e0816133dc565b60008060006060848603121561341c57600080fd5b83356134278161336b565b925060208401356134378161336b565b929592945050506040919091013590565b6000806040838503121561345b57600080fd5b82356134668161336b565b915060208301356133d1816133dc565b60006020828403121561348857600080fd5b81356122e08161336b565b600080604083850312156134a657600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156134f4576134f46134b5565b604052919050565b6000806040838503121561350f57600080fd5b8235915060208084013567ffffffffffffffff8082111561352f57600080fd5b818601915086601f83011261354357600080fd5b813581811115613555576135556134b5565b8060051b91506135668483016134cb565b818152918301840191848101908984111561358057600080fd5b938501935b8385101561359e57843582529385019390850190613585565b8096505050505050509250929050565b600067ffffffffffffffff8311156135c8576135c86134b5565b6135db601f8401601f19166020016134cb565b90508281528383830111156135ef57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561361857600080fd5b813567ffffffffffffffff81111561362f57600080fd5b8201601f8101841361364057600080fd5b612a57848235602084016135ae565b6000806000806080858703121561366557600080fd5b84356136708161336b565b935060208501356136808161336b565b925060408501359150606085013567ffffffffffffffff8111156136a357600080fd5b8501601f810187136136b457600080fd5b6136c3878235602084016135ae565b91505092959194509250565b600080604083850312156136e257600080fd5b82356136ed8161336b565b915060208301356133d18161336b565b600181811c9082168061371157607f821691505b60208210810361373157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b155b985d5d1a1bdc9a5e995960a21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156137865761378661375d565b500190565b6020808252600e908201526d4578636565647320537570706c7960901b604082015260600190565b6000600182016137c5576137c561375d565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008160001904831182151516156138375761383761375d565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826138615761386161383c565b500490565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526012908201527121b0b63632b91034b9903737ba103ab9b2b960711b604082015260600190565b60208082526010908201526f4d75737420657863656564205a65726f60801b604082015260600190565b6020808252600890820152674e6f74206c69766560c01b604082015260600190565b6020808252600f908201526e496e636f727265637420507269636560881b604082015260600190565b602080825260119082015270115e18d959591cc8185b1b1bd8d85d1959607a1b604082015260600190565b6001600160a01b038316815260406020808301829052835191830182905260009184820191906060850190845b818110156139a557845183529383019391830191600101613989565b5090979650505050505050565b6000602082840312156139c457600080fd5b81516122e0816133dc565b6020808252600c908201526b139bdd081d995c9a599a595960a21b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b600084516020613ae78285838a016132e7565b855191840191613afa8184848a016132e7565b8554920191600090600181811c9080831680613b1757607f831692505b8583108103613b3457634e487b7160e01b85526022600452602485fd5b808015613b485760018114613b5957613b86565b60ff19851688528388019550613b86565b60008b81526020902060005b85811015613b7e5781548a820152908401908801613b65565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082821015613bfb57613bfb61375d565b500390565b600082613c0f57613c0f61383c565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613c4790830184613313565b9695505050505050565b600060208284031215613c6357600080fd5b81516122e0816132b4565b600060208284031215613c8057600080fd5b81516122e08161336b56fea26469706673582212209a3c1e57347b3768ac4e8ed4831b7b332ee6b3b680122d49452afb9aa120cd1364736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f8e4ff4cb25ff6ee18401fe3916d166f39acda1b000000000000000000000000b39c1f0d7166ed77a039d3cc774dac28446a24c50000000000000000000000001b0b1348fbcf4e7555530750d610b75a84704339
-----Decoded View---------------
Arg [0] : _pioneerMerkle (address): 0xf8E4FF4Cb25ff6eE18401fE3916d166F39acDa1B
Arg [1] : _ogMerkle (address): 0xB39C1f0d7166ED77A039d3cC774dac28446A24c5
Arg [2] : _whitelistMerkle (address): 0x1B0B1348fbCF4E7555530750D610B75A84704339
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000f8e4ff4cb25ff6ee18401fe3916d166f39acda1b
Arg [1] : 000000000000000000000000b39c1f0d7166ed77a039d3cc774dac28446a24c5
Arg [2] : 0000000000000000000000001b0b1348fbcf4e7555530750d610b75a84704339
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.