Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 14 from a total of 14 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Seed Wl2 | 15095907 | 726 days ago | IN | 0 ETH | 0.0051925 | ||||
Withdraw Money | 15095836 | 726 days ago | IN | 0 ETH | 0.00108943 | ||||
Mint | 15095826 | 726 days ago | IN | 0.24 ETH | 0.0039661 | ||||
Mint | 15095813 | 726 days ago | IN | 0.24 ETH | 0.00308359 | ||||
Set Phase1Start | 15095771 | 726 days ago | IN | 0 ETH | 0.0005115 | ||||
Seed Wl2 | 15095713 | 726 days ago | IN | 0 ETH | 0.00219996 | ||||
Set Phase1Start | 15095568 | 726 days ago | IN | 0 ETH | 0.00058064 | ||||
Set Phase2Start | 15095565 | 726 days ago | IN | 0 ETH | 0.00048587 | ||||
Set Max Collecti... | 15095334 | 726 days ago | IN | 0 ETH | 0.00066785 | ||||
Set Phase1Start | 15095190 | 726 days ago | IN | 0 ETH | 0.00049961 | ||||
Seed Og | 15093886 | 726 days ago | IN | 0 ETH | 0.04783871 | ||||
Set Phase1Start | 15093798 | 726 days ago | IN | 0 ETH | 0.00029471 | ||||
Dev Mint | 15093695 | 726 days ago | IN | 0 ETH | 0.00143203 | ||||
0x60806040 | 15093669 | 726 days ago | IN | Create: Zenogakki | 0 ETH | 0.17173064 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
15095836 | 726 days ago | 0.48 ETH |
Loading...
Loading
Contract Name:
Zenogakki
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Project Zenogakki // Contract developed by Culture Cubs Venture Labs // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "erc721a/contracts/ERC721A.sol"; contract Zenogakki is Ownable, ERC721A, ReentrancyGuard { uint256 public constant PRESALE_PRICE = 0.24 ether; uint256 public constant MINT_PRICE = 0.28 ether; uint256 public constant MAX_COLLECTION_SIZE = 10000; uint256 public constant MAX_PUBLIC_SIZE = 7500; uint256 public constant MAX_PER_WALLET = 5; uint256 public constant MAX_CUT = 6.75 ether; uint256 public constant OG_MAX_MINT = 4; // includes 1 free NFT offered on first mint uint256 public constant WL_MAX_MINT = 2; uint256 public maxPerWallet; uint256 public maxCollectionSize; uint256 public maxPublicSize; uint256 public phase1Start = 1657209600; // Thursday, July 7, 2022 4:00:00 PM GMT uint256 public phase2Start = 1657213200; // Thursday, July 7, 2022 5:00:00 PM GMT uint256 public publicStart = 1657220400; // Thursday, July 7, 2022 7:00:00 PM GMT uint256 public publicEnd = 1657245600; // Friday, July 8, 2022 2:00:00 AM GMT mapping(address => bool) public og; mapping(address => bool) public wl1; mapping(address => bool) public wl2; mapping(address => bool) public ogHasClaimed; uint256 revenueCut; address cutAddress = 0xAc047cF33CBAcEd70E77Efb41Cff705A31031d26; constructor(uint256 toTreasury) ERC721A("Zenogakki", "ZENO") { maxCollectionSize = MAX_COLLECTION_SIZE; maxPublicSize = MAX_PUBLIC_SIZE; maxPerWallet = MAX_PER_WALLET; _mintERC2309(msg.sender, toTreasury); } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function mint(uint256 quantity) external payable callerIsUser { require(block.timestamp > phase1Start, "Mint has not yet started"); require(block.timestamp < publicEnd, "Mint is over"); require(quantity > 0, "Buy at least 1 NFT"); uint256 maxMint = allowanceForCurrentPhase(msg.sender); // any OG minting gets a free NFT. uint256 mintQty = quantity; if (og[msg.sender] && !ogHasClaimed[msg.sender]) { ++mintQty; ogHasClaimed[msg.sender] = true; } require(_totalMinted() + mintQty <= maxPublicSize, "Reached max public supply"); require(_numberMinted(msg.sender) + mintQty <= maxMint, "cannot mint this quantity"); uint256 price = PRESALE_PRICE; if (block.timestamp > publicStart) { price = MINT_PRICE; } require(msg.value >= price * quantity, "Need to send more ETH."); _mint(msg.sender, mintQty); refundIfOver(price * quantity); } function allowanceForCurrentPhase(address minter) internal view returns (uint256) { if (block.timestamp > publicStart) { return maxPerWallet; } else if (og[minter]) { return OG_MAX_MINT; } else if (wl1[minter] || (block.timestamp > phase2Start && wl2[minter])) { return WL_MAX_MINT; } else { return 0; } } function devMint(address to, uint256 quantity) external onlyOwner { require(_totalMinted() + quantity <= maxCollectionSize, "reached max supply"); _mint(to, quantity); } function refundIfOver(uint256 price) private { if (msg.value > price) { payable(msg.sender).transfer(msg.value - price); } } // allows to add or remove addresses from the list. function seedOg(address[] calldata addresses, bool allow) external onlyOwner { for (uint256 i = 0; i < addresses.length; ++i) { og[addresses[i]] = allow; } } function seedWl1(address[] calldata addresses, bool allow) external onlyOwner { for (uint256 i = 0; i < addresses.length; ++i) { wl1[addresses[i]] = allow; } } function seedWl2(address[] calldata addresses, bool allow) external onlyOwner { for (uint256 i = 0; i < addresses.length; ++i) { wl2[addresses[i]] = allow; } } // metadata URI string private _baseTokenURI = "ipfs://bafybeibnnksw3ugblhjdqjjnbjty7m6hfkzdjt5yl3y6ujes7g25rovkem/"; function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function setMaxCollectionSize(uint256 maxCollectionSize_) external onlyOwner { // Can only be decreased require(maxCollectionSize_ < maxCollectionSize); maxCollectionSize = maxCollectionSize_; } function setMaxPublicSize(uint256 maxPublicSize_) external onlyOwner { // Can only be decreased require(maxPublicSize_ < maxPublicSize); maxPublicSize = maxPublicSize_; } function setMaxPerWallet(uint256 maxPerWallet_) external onlyOwner { maxPerWallet = maxPerWallet_; } function setPhase1Start(uint256 phase1Start_) external onlyOwner { phase1Start = phase1Start_; } function setPhase2Start(uint256 phase2Start_) external onlyOwner { phase2Start = phase2Start_; } function setPublicStart(uint256 publicStart_) external onlyOwner { publicStart = publicStart_; } function setPublicEnd(uint256 publicEnd_) external onlyOwner { publicEnd = publicEnd_; } function setCutAddress(address cutAddress_) external onlyOwner { cutAddress = cutAddress_; } function withdrawMoney() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function withdrawCut() external nonReentrant { require(msg.sender == cutAddress || msg.sender == owner(), 'You cannot call this function'); if (revenueCut < MAX_CUT) { uint256 cut = MAX_CUT - revenueCut; if (cut > address(this).balance) { cut = address(this).balance; } revenueCut += cut; (bool cutSuccess, ) = cutAddress.call{value: cut}(""); require(cutSuccess, "Cut transfer failed."); } } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @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); // ============================== // IERC721Metadata // ============================== /** * @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); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), 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-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 { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"toTreasury","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_COLLECTION_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_CUT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","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":"maxCollectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"og","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ogHasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase1Start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase2Start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool","name":"allow","type":"bool"}],"name":"seedOg","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool","name":"allow","type":"bool"}],"name":"seedWl1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool","name":"allow","type":"bool"}],"name":"seedWl2","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"cutAddress_","type":"address"}],"name":"setCutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxCollectionSize_","type":"uint256"}],"name":"setMaxCollectionSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPerWallet_","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPublicSize_","type":"uint256"}],"name":"setMaxPublicSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"phase1Start_","type":"uint256"}],"name":"setPhase1Start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"phase2Start_","type":"uint256"}],"name":"setPhase2Start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicEnd_","type":"uint256"}],"name":"setPublicEnd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicStart_","type":"uint256"}],"name":"setPublicStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[],"name":"withdrawCut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wl1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wl2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526362c70300600d556362c71110600e556362c72d30600f556362c78fa060105573ac047cf33cbaced70e77efb41cff705a31031d26601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180608001604052806043815260200162004c0c6043913960179080519060200190620000aa92919062000572565b50348015620000b857600080fd5b5060405162004c4f38038062004c4f8339818101604052810190620000de919062000662565b6040518060400160405280600981526020017f5a656e6f67616b6b6900000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f5a454e4f000000000000000000000000000000000000000000000000000000008152506200016a6200015e620001ef60201b60201c565b620001f760201b60201c565b81600390805190602001906200018292919062000572565b5080600490805190602001906200019b92919062000572565b50620001ac620002bb60201b60201c565b60018190555050506001600981905550612710600b81905550611d4c600c819055506005600a81905550620001e83382620002c060201b60201c565b5062000726565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200032e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000820362000369576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611388821115620003a6576040517f3db1f9af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620003bb6000848385620004f260201b60201c565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200044a836200042c6000866000620004f860201b60201c565b6200043d856200052860201b60201c565b176200053860201b60201c565b60056000838152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16827fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d600186860103604051620004c79190620006a5565b60405180910390a4818101600181905550620004ed60008483856200056360201b60201c565b505050565b50505050565b60008060e883901c905060e8620005178686846200056960201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b8280546200058090620006f1565b90600052602060002090601f016020900481019282620005a45760008555620005f0565b82601f10620005bf57805160ff1916838001178555620005f0565b82800160010185558215620005f0579182015b82811115620005ef578251825591602001919060010190620005d2565b5b509050620005ff919062000603565b5090565b5b808211156200061e57600081600090555060010162000604565b5090565b600080fd5b6000819050919050565b6200063c8162000627565b81146200064857600080fd5b50565b6000815190506200065c8162000631565b92915050565b6000602082840312156200067b576200067a62000622565b5b60006200068b848285016200064b565b91505092915050565b6200069f8162000627565b82525050565b6000602082019050620006bc600083018462000694565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200070a57607f821691505b60208210810362000720576200071f620006c2565b5b50919050565b6144d680620007366000396000f3fe60806040526004361061031a5760003560e01c80637e775eb7116101ab578063c002d23d116100f7578063e268e4d311610095578063ea47ea581161006f578063ea47ea5814610bc7578063eee0483814610bde578063f2fde38b14610c07578063ff57d87314610c305761031a565b8063e268e4d314610b36578063e3eedef914610b5f578063e985e9c514610b8a5761031a565b8063d9f84bc8116100d1578063d9f84bc814610a68578063da781c0f14610a91578063dc33e68114610ace578063ddd5fe7214610b0b5761031a565b8063c002d23d146109c3578063c87b56dd146109ee578063d21189ee14610a2b5761031a565b8063a0712d6811610164578063ac4460021161013e578063ac4460021461091d578063b465f7f614610934578063b88d4fde1461095d578063bccadb0b146109865761031a565b8063a0712d68146108ad578063a22cb465146108c9578063a5f4c6ff146108f25761031a565b80637e775eb7146107b15780638712a356146107da5780638cfdc852146108055780638da5cb5b1461082e57806395d89b41146108595780639b402960146108845761031a565b806342842e0e1161026a57806362dc6e2111610223578063715018a6116101fd578063715018a61461071b5780637c7baca6146107325780637ce0ee7c1461075d5780637d4577f9146107865761031a565b806362dc6e21146106765780636352211e146106a157806370a08231146106de5761031a565b806342842e0e1461056a578063453c2310146105935780634efc7c67146105be57806355f804b3146105fb5780635617141714610624578063627804af1461064d5761031a565b80630f2cdd6c116102d7578063201eb13f116102b1578063201eb13f146104c257806320689b8f146104ed57806323b872dd146105165780634035cc6c1461053f5761031a565b80630f2cdd6c1461044357806317574b0b1461046e57806318160ddd146104975761031a565b806301ffc9a71461031f57806306fdde031461035c578063081812fc14610387578063095ea7b3146103c45780630acae9a7146103ed5780630d0f38b814610418575b600080fd5b34801561032b57600080fd5b5061034660048036038101906103419190613465565b610c5b565b60405161035391906134ad565b60405180910390f35b34801561036857600080fd5b50610371610ced565b60405161037e9190613561565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a991906135b9565b610d7f565b6040516103bb9190613627565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e6919061366e565b610dfb565b005b3480156103f957600080fd5b50610402610f3c565b60405161040f91906136bd565b60405180910390f35b34801561042457600080fd5b5061042d610f42565b60405161043a91906136bd565b60405180910390f35b34801561044f57600080fd5b50610458610f47565b60405161046591906136bd565b60405180910390f35b34801561047a57600080fd5b50610495600480360381019061049091906136d8565b610f4c565b005b3480156104a357600080fd5b506104ac61100c565b6040516104b991906136bd565b60405180910390f35b3480156104ce57600080fd5b506104d7611023565b6040516104e491906136bd565b60405180910390f35b3480156104f957600080fd5b50610514600480360381019061050f9190613796565b611029565b005b34801561052257600080fd5b5061053d600480360381019061053891906137f6565b611148565b005b34801561054b57600080fd5b5061055461146a565b60405161056191906136bd565b60405180910390f35b34801561057657600080fd5b50610591600480360381019061058c91906137f6565b611470565b005b34801561059f57600080fd5b506105a8611490565b6040516105b591906136bd565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e091906136d8565b611496565b6040516105f291906134ad565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d919061389f565b6114b6565b005b34801561063057600080fd5b5061064b600480360381019061064691906135b9565b611548565b005b34801561065957600080fd5b50610674600480360381019061066f919061366e565b6115ce565b005b34801561068257600080fd5b5061068b6116af565b60405161069891906136bd565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c391906135b9565b6116bb565b6040516106d59190613627565b60405180910390f35b3480156106ea57600080fd5b50610705600480360381019061070091906136d8565b6116cd565b60405161071291906136bd565b60405180910390f35b34801561072757600080fd5b50610730611785565b005b34801561073e57600080fd5b5061074761180d565b60405161075491906136bd565b60405180910390f35b34801561076957600080fd5b50610784600480360381019061077f9190613796565b611813565b005b34801561079257600080fd5b5061079b611932565b6040516107a891906136bd565b60405180910390f35b3480156107bd57600080fd5b506107d860048036038101906107d391906135b9565b611938565b005b3480156107e657600080fd5b506107ef6119cc565b6040516107fc91906136bd565b60405180910390f35b34801561081157600080fd5b5061082c60048036038101906108279190613796565b6119d1565b005b34801561083a57600080fd5b50610843611af0565b6040516108509190613627565b60405180910390f35b34801561086557600080fd5b5061086e611b19565b60405161087b9190613561565b60405180910390f35b34801561089057600080fd5b506108ab60048036038101906108a691906135b9565b611bab565b005b6108c760048036038101906108c291906135b9565b611c31565b005b3480156108d557600080fd5b506108f060048036038101906108eb91906138ec565b611fcb565b005b3480156108fe57600080fd5b50610907612142565b60405161091491906136bd565b60405180910390f35b34801561092957600080fd5b50610932612148565b005b34801561094057600080fd5b5061095b600480360381019061095691906135b9565b6122c8565b005b34801561096957600080fd5b50610984600480360381019061097f9190613a5c565b61235c565b005b34801561099257600080fd5b506109ad60048036038101906109a891906136d8565b6123cf565b6040516109ba91906134ad565b60405180910390f35b3480156109cf57600080fd5b506109d86123ef565b6040516109e591906136bd565b60405180910390f35b3480156109fa57600080fd5b50610a156004803603810190610a1091906135b9565b6123fb565b604051610a229190613561565b60405180910390f35b348015610a3757600080fd5b50610a526004803603810190610a4d91906136d8565b612499565b604051610a5f91906134ad565b60405180910390f35b348015610a7457600080fd5b50610a8f6004803603810190610a8a91906135b9565b6124b9565b005b348015610a9d57600080fd5b50610ab86004803603810190610ab391906136d8565b61253f565b604051610ac591906134ad565b60405180910390f35b348015610ada57600080fd5b50610af56004803603810190610af091906136d8565b61255f565b604051610b0291906136bd565b60405180910390f35b348015610b1757600080fd5b50610b20612571565b604051610b2d91906136bd565b60405180910390f35b348015610b4257600080fd5b50610b5d6004803603810190610b5891906135b9565b612577565b005b348015610b6b57600080fd5b50610b746125fd565b604051610b8191906136bd565b60405180910390f35b348015610b9657600080fd5b50610bb16004803603810190610bac9190613adf565b612609565b604051610bbe91906134ad565b60405180910390f35b348015610bd357600080fd5b50610bdc61269d565b005b348015610bea57600080fd5b50610c056004803603810190610c0091906135b9565b6128e3565b005b348015610c1357600080fd5b50610c2e6004803603810190610c2991906136d8565b612969565b005b348015610c3c57600080fd5b50610c45612a60565b604051610c5291906136bd565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610cb657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ce65750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060038054610cfc90613b4e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2890613b4e565b8015610d755780601f10610d4a57610100808354040283529160200191610d75565b820191906000526020600020905b815481529060010190602001808311610d5857829003601f168201915b5050505050905090565b6000610d8a82612a66565b610dc0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e06826116bb565b90508073ffffffffffffffffffffffffffffffffffffffff16610e27612ac5565b73ffffffffffffffffffffffffffffffffffffffff1614610e8a57610e5381610e4e612ac5565b612609565b610e89576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60105481565b600281565b600581565b610f54612acd565b73ffffffffffffffffffffffffffffffffffffffff16610f72611af0565b73ffffffffffffffffffffffffffffffffffffffff1614610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90613bcb565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611016612ad5565b6002546001540303905090565b600b5481565b611031612acd565b73ffffffffffffffffffffffffffffffffffffffff1661104f611af0565b73ffffffffffffffffffffffffffffffffffffffff16146110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109c90613bcb565b60405180910390fd5b60005b838390508110156111425781601260008686858181106110cb576110ca613beb565b5b90506020020160208101906110e091906136d8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508061113b90613c49565b90506110a8565b50505050565b600061115382612ada565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111ba576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806111c684612ba6565b915091506111dc81876111d7612ac5565b612bc8565b611228576111f1866111ec612ac5565b612609565b611227576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361128e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61129b8686866001612c0c565b80156112a657600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061137485611350888887612c12565b7c020000000000000000000000000000000000000000000000000000000017612c3a565b600560008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113fa57600060018501905060006005600083815260200190815260200160002054036113f85760015481146113f7578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114628686866001612c65565b505050505050565b61271081565b61148b8383836040518060200160405280600081525061235c565b505050565b600a5481565b60116020528060005260406000206000915054906101000a900460ff1681565b6114be612acd565b73ffffffffffffffffffffffffffffffffffffffff166114dc611af0565b73ffffffffffffffffffffffffffffffffffffffff1614611532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152990613bcb565b60405180910390fd5b818160179190611543929190613356565b505050565b611550612acd565b73ffffffffffffffffffffffffffffffffffffffff1661156e611af0565b73ffffffffffffffffffffffffffffffffffffffff16146115c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bb90613bcb565b60405180910390fd5b80600f8190555050565b6115d6612acd565b73ffffffffffffffffffffffffffffffffffffffff166115f4611af0565b73ffffffffffffffffffffffffffffffffffffffff161461164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164190613bcb565b60405180910390fd5b600b5481611656612c6b565b6116609190613c91565b11156116a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169890613d33565b60405180910390fd5b6116ab8282612c7e565b5050565b670354a6ba7a18000081565b60006116c682612ada565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611734576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61178d612acd565b73ffffffffffffffffffffffffffffffffffffffff166117ab611af0565b73ffffffffffffffffffffffffffffffffffffffff1614611801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f890613bcb565b60405180910390fd5b61180b6000612e51565b565b600c5481565b61181b612acd565b73ffffffffffffffffffffffffffffffffffffffff16611839611af0565b73ffffffffffffffffffffffffffffffffffffffff161461188f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188690613bcb565b60405180910390fd5b60005b8383905081101561192c5781601360008686858181106118b5576118b4613beb565b5b90506020020160208101906118ca91906136d8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508061192590613c49565b9050611892565b50505050565b611d4c81565b611940612acd565b73ffffffffffffffffffffffffffffffffffffffff1661195e611af0565b73ffffffffffffffffffffffffffffffffffffffff16146119b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ab90613bcb565b60405180910390fd5b600b5481106119c257600080fd5b80600b8190555050565b600481565b6119d9612acd565b73ffffffffffffffffffffffffffffffffffffffff166119f7611af0565b73ffffffffffffffffffffffffffffffffffffffff1614611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4490613bcb565b60405180910390fd5b60005b83839050811015611aea578160116000868685818110611a7357611a72613beb565b5b9050602002016020810190611a8891906136d8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080611ae390613c49565b9050611a50565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611b2890613b4e565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5490613b4e565b8015611ba15780601f10611b7657610100808354040283529160200191611ba1565b820191906000526020600020905b815481529060010190602001808311611b8457829003601f168201915b5050505050905090565b611bb3612acd565b73ffffffffffffffffffffffffffffffffffffffff16611bd1611af0565b73ffffffffffffffffffffffffffffffffffffffff1614611c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1e90613bcb565b60405180910390fd5b80600d8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9690613d9f565b60405180910390fd5b600d544211611ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cda90613e0b565b60405180910390fd5b6010544210611d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1e90613e77565b60405180910390fd5b60008111611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190613ee3565b60405180910390fd5b6000611d7533612f15565b90506000829050601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015611e1f5750601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611e895780611e2e90613c49565b90506001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600c5481611e95612c6b565b611e9f9190613c91565b1115611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed790613f4f565b60405180910390fd5b8181611eeb3361304c565b611ef59190613c91565b1115611f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2d90613fbb565b60405180910390fd5b6000670354a6ba7a1800009050600f54421115611f59576703e2c284391c000090505b8381611f659190613fdb565b341015611fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9e90614081565b60405180910390fd5b611fb13383612c7e565b611fc58482611fc09190613fdb565b6130a3565b50505050565b611fd3612ac5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612037576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060086000612044612ac5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120f1612ac5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161213691906134ad565b60405180910390a35050565b600f5481565b612150612acd565b73ffffffffffffffffffffffffffffffffffffffff1661216e611af0565b73ffffffffffffffffffffffffffffffffffffffff16146121c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bb90613bcb565b60405180910390fd5b600260095403612209576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612200906140ed565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516122379061413e565b60006040518083038185875af1925050503d8060008114612274576040519150601f19603f3d011682016040523d82523d6000602084013e612279565b606091505b50509050806122bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b49061419f565b60405180910390fd5b506001600981905550565b6122d0612acd565b73ffffffffffffffffffffffffffffffffffffffff166122ee611af0565b73ffffffffffffffffffffffffffffffffffffffff1614612344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233b90613bcb565b60405180910390fd5b600c54811061235257600080fd5b80600c8190555050565b612367848484611148565b60008373ffffffffffffffffffffffffffffffffffffffff163b146123c95761239284848484613101565b6123c8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60126020528060005260406000206000915054906101000a900460ff1681565b6703e2c284391c000081565b606061240682612a66565b61243c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612446613251565b905060008151036124665760405180602001604052806000815250612491565b80612470846132e3565b6040516020016124819291906141fb565b6040516020818303038152906040525b915050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b6124c1612acd565b73ffffffffffffffffffffffffffffffffffffffff166124df611af0565b73ffffffffffffffffffffffffffffffffffffffff1614612535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252c90613bcb565b60405180910390fd5b8060108190555050565b60146020528060005260406000206000915054906101000a900460ff1681565b600061256a8261304c565b9050919050565b600d5481565b61257f612acd565b73ffffffffffffffffffffffffffffffffffffffff1661259d611af0565b73ffffffffffffffffffffffffffffffffffffffff16146125f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ea90613bcb565b60405180910390fd5b80600a8190555050565b675dacd13ca9e3000081565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6002600954036126e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d9906140ed565b60405180910390fd5b6002600981905550601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806127785750612749611af0565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6127b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ae9061426b565b60405180910390fd5b675dacd13ca9e3000060155410156128d9576000601554675dacd13ca9e300006127e1919061428b565b9050478111156127ef574790505b80601560008282546128019190613c91565b925050819055506000601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826040516128509061413e565b60006040518083038185875af1925050503d806000811461288d576040519150601f19603f3d011682016040523d82523d6000602084013e612892565b606091505b50509050806128d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cd9061430b565b60405180910390fd5b50505b6001600981905550565b6128eb612acd565b73ffffffffffffffffffffffffffffffffffffffff16612909611af0565b73ffffffffffffffffffffffffffffffffffffffff161461295f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295690613bcb565b60405180910390fd5b80600e8190555050565b612971612acd565b73ffffffffffffffffffffffffffffffffffffffff1661298f611af0565b73ffffffffffffffffffffffffffffffffffffffff16146129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc90613bcb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4b9061439d565b60405180910390fd5b612a5d81612e51565b50565b600e5481565b600081612a71612ad5565b11158015612a80575060015482105b8015612abe575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b600090565b60008082905080612ae9612ad5565b11612b6f57600154811015612b6e5760006005600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612b6c575b60008103612b62576005600083600190039350838152602001908152602001600020549050612b38565b8092505050612ba1565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600790508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612c2986868461333d565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612c75612ad5565b60015403905090565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ceb576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612d25576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d326000848385612c0c565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612da983612d9a6000866000612c12565b612da385613346565b17612c3a565b60056000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612dcd57806001819055505050612e4c6000848385612c65565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600f54421115612f2b57600a549050613047565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612f865760049050613047565b601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806130345750600e54421180156130335750601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b5b156130425760029050613047565b600090505b919050565b600067ffffffffffffffff6040600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b803411156130fe573373ffffffffffffffffffffffffffffffffffffffff166108fc82346130d1919061428b565b9081150290604051600060405180830381858888f193505050501580156130fc573d6000803e3d6000fd5b505b50565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613127612ac5565b8786866040518563ffffffff1660e01b81526004016131499493929190614412565b6020604051808303816000875af192505050801561318557506040513d601f19601f820116820180604052508101906131829190614473565b60015b6131fe573d80600081146131b5576040519150601f19603f3d011682016040523d82523d6000602084013e6131ba565b606091505b5060008151036131f6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606017805461326090613b4e565b80601f016020809104026020016040519081016040528092919081815260200182805461328c90613b4e565b80156132d95780601f106132ae576101008083540402835291602001916132d9565b820191906000526020600020905b8154815290600101906020018083116132bc57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561332957600183039250600a81066030018353600a81049050613309565b508181036020830392508083525050919050565b60009392505050565b60006001821460e11b9050919050565b82805461336290613b4e565b90600052602060002090601f01602090048101928261338457600085556133cb565b82601f1061339d57803560ff19168380011785556133cb565b828001600101855582156133cb579182015b828111156133ca5782358255916020019190600101906133af565b5b5090506133d891906133dc565b5090565b5b808211156133f55760008160009055506001016133dd565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134428161340d565b811461344d57600080fd5b50565b60008135905061345f81613439565b92915050565b60006020828403121561347b5761347a613403565b5b600061348984828501613450565b91505092915050565b60008115159050919050565b6134a781613492565b82525050565b60006020820190506134c2600083018461349e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135025780820151818401526020810190506134e7565b83811115613511576000848401525b50505050565b6000601f19601f8301169050919050565b6000613533826134c8565b61353d81856134d3565b935061354d8185602086016134e4565b61355681613517565b840191505092915050565b6000602082019050818103600083015261357b8184613528565b905092915050565b6000819050919050565b61359681613583565b81146135a157600080fd5b50565b6000813590506135b38161358d565b92915050565b6000602082840312156135cf576135ce613403565b5b60006135dd848285016135a4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613611826135e6565b9050919050565b61362181613606565b82525050565b600060208201905061363c6000830184613618565b92915050565b61364b81613606565b811461365657600080fd5b50565b60008135905061366881613642565b92915050565b6000806040838503121561368557613684613403565b5b600061369385828601613659565b92505060206136a4858286016135a4565b9150509250929050565b6136b781613583565b82525050565b60006020820190506136d260008301846136ae565b92915050565b6000602082840312156136ee576136ed613403565b5b60006136fc84828501613659565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261372a57613729613705565b5b8235905067ffffffffffffffff8111156137475761374661370a565b5b6020830191508360208202830111156137635761376261370f565b5b9250929050565b61377381613492565b811461377e57600080fd5b50565b6000813590506137908161376a565b92915050565b6000806000604084860312156137af576137ae613403565b5b600084013567ffffffffffffffff8111156137cd576137cc613408565b5b6137d986828701613714565b935093505060206137ec86828701613781565b9150509250925092565b60008060006060848603121561380f5761380e613403565b5b600061381d86828701613659565b935050602061382e86828701613659565b925050604061383f868287016135a4565b9150509250925092565b60008083601f84011261385f5761385e613705565b5b8235905067ffffffffffffffff81111561387c5761387b61370a565b5b6020830191508360018202830111156138985761389761370f565b5b9250929050565b600080602083850312156138b6576138b5613403565b5b600083013567ffffffffffffffff8111156138d4576138d3613408565b5b6138e085828601613849565b92509250509250929050565b6000806040838503121561390357613902613403565b5b600061391185828601613659565b925050602061392285828601613781565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61396982613517565b810181811067ffffffffffffffff8211171561398857613987613931565b5b80604052505050565b600061399b6133f9565b90506139a78282613960565b919050565b600067ffffffffffffffff8211156139c7576139c6613931565b5b6139d082613517565b9050602081019050919050565b82818337600083830152505050565b60006139ff6139fa846139ac565b613991565b905082815260208101848484011115613a1b57613a1a61392c565b5b613a268482856139dd565b509392505050565b600082601f830112613a4357613a42613705565b5b8135613a538482602086016139ec565b91505092915050565b60008060008060808587031215613a7657613a75613403565b5b6000613a8487828801613659565b9450506020613a9587828801613659565b9350506040613aa6878288016135a4565b925050606085013567ffffffffffffffff811115613ac757613ac6613408565b5b613ad387828801613a2e565b91505092959194509250565b60008060408385031215613af657613af5613403565b5b6000613b0485828601613659565b9250506020613b1585828601613659565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b6657607f821691505b602082108103613b7957613b78613b1f565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613bb56020836134d3565b9150613bc082613b7f565b602082019050919050565b60006020820190508181036000830152613be481613ba8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c5482613583565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c8657613c85613c1a565b5b600182019050919050565b6000613c9c82613583565b9150613ca783613583565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cdc57613cdb613c1a565b5b828201905092915050565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b6000613d1d6012836134d3565b9150613d2882613ce7565b602082019050919050565b60006020820190508181036000830152613d4c81613d10565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613d89601e836134d3565b9150613d9482613d53565b602082019050919050565b60006020820190508181036000830152613db881613d7c565b9050919050565b7f4d696e7420686173206e6f742079657420737461727465640000000000000000600082015250565b6000613df56018836134d3565b9150613e0082613dbf565b602082019050919050565b60006020820190508181036000830152613e2481613de8565b9050919050565b7f4d696e74206973206f7665720000000000000000000000000000000000000000600082015250565b6000613e61600c836134d3565b9150613e6c82613e2b565b602082019050919050565b60006020820190508181036000830152613e9081613e54565b9050919050565b7f427579206174206c656173742031204e46540000000000000000000000000000600082015250565b6000613ecd6012836134d3565b9150613ed882613e97565b602082019050919050565b60006020820190508181036000830152613efc81613ec0565b9050919050565b7f52656163686564206d6178207075626c696320737570706c7900000000000000600082015250565b6000613f396019836134d3565b9150613f4482613f03565b602082019050919050565b60006020820190508181036000830152613f6881613f2c565b9050919050565b7f63616e6e6f74206d696e742074686973207175616e7469747900000000000000600082015250565b6000613fa56019836134d3565b9150613fb082613f6f565b602082019050919050565b60006020820190508181036000830152613fd481613f98565b9050919050565b6000613fe682613583565b9150613ff183613583565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561402a57614029613c1a565b5b828202905092915050565b7f4e65656420746f2073656e64206d6f7265204554482e00000000000000000000600082015250565b600061406b6016836134d3565b915061407682614035565b602082019050919050565b6000602082019050818103600083015261409a8161405e565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006140d7601f836134d3565b91506140e2826140a1565b602082019050919050565b60006020820190508181036000830152614106816140ca565b9050919050565b600081905092915050565b50565b600061412860008361410d565b915061413382614118565b600082019050919050565b60006141498261411b565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006141896010836134d3565b915061419482614153565b602082019050919050565b600060208201905081810360008301526141b88161417c565b9050919050565b600081905092915050565b60006141d5826134c8565b6141df81856141bf565b93506141ef8185602086016134e4565b80840191505092915050565b600061420782856141ca565b915061421382846141ca565b91508190509392505050565b7f596f752063616e6e6f742063616c6c20746869732066756e6374696f6e000000600082015250565b6000614255601d836134d3565b91506142608261421f565b602082019050919050565b6000602082019050818103600083015261428481614248565b9050919050565b600061429682613583565b91506142a183613583565b9250828210156142b4576142b3613c1a565b5b828203905092915050565b7f437574207472616e73666572206661696c65642e000000000000000000000000600082015250565b60006142f56014836134d3565b9150614300826142bf565b602082019050919050565b60006020820190508181036000830152614324816142e8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006143876026836134d3565b91506143928261432b565b604082019050919050565b600060208201905081810360008301526143b68161437a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143e4826143bd565b6143ee81856143c8565b93506143fe8185602086016134e4565b61440781613517565b840191505092915050565b60006080820190506144276000830187613618565b6144346020830186613618565b61444160408301856136ae565b818103606083015261445381846143d9565b905095945050505050565b60008151905061446d81613439565b92915050565b60006020828403121561448957614488613403565b5b60006144978482850161445e565b9150509291505056fea26469706673582212205324243179f400a517af904223d3eee3a7f9bec366af90698f846e73aceaefec64736f6c634300080e0033697066733a2f2f62616679626569626e6e6b7377337567626c686a64716a6a6e626a7479376d3668666b7a646a7435796c337936756a657337673235726f766b656d2f000000000000000000000000000000000000000000000000000000000000015e
Deployed Bytecode
0x60806040526004361061031a5760003560e01c80637e775eb7116101ab578063c002d23d116100f7578063e268e4d311610095578063ea47ea581161006f578063ea47ea5814610bc7578063eee0483814610bde578063f2fde38b14610c07578063ff57d87314610c305761031a565b8063e268e4d314610b36578063e3eedef914610b5f578063e985e9c514610b8a5761031a565b8063d9f84bc8116100d1578063d9f84bc814610a68578063da781c0f14610a91578063dc33e68114610ace578063ddd5fe7214610b0b5761031a565b8063c002d23d146109c3578063c87b56dd146109ee578063d21189ee14610a2b5761031a565b8063a0712d6811610164578063ac4460021161013e578063ac4460021461091d578063b465f7f614610934578063b88d4fde1461095d578063bccadb0b146109865761031a565b8063a0712d68146108ad578063a22cb465146108c9578063a5f4c6ff146108f25761031a565b80637e775eb7146107b15780638712a356146107da5780638cfdc852146108055780638da5cb5b1461082e57806395d89b41146108595780639b402960146108845761031a565b806342842e0e1161026a57806362dc6e2111610223578063715018a6116101fd578063715018a61461071b5780637c7baca6146107325780637ce0ee7c1461075d5780637d4577f9146107865761031a565b806362dc6e21146106765780636352211e146106a157806370a08231146106de5761031a565b806342842e0e1461056a578063453c2310146105935780634efc7c67146105be57806355f804b3146105fb5780635617141714610624578063627804af1461064d5761031a565b80630f2cdd6c116102d7578063201eb13f116102b1578063201eb13f146104c257806320689b8f146104ed57806323b872dd146105165780634035cc6c1461053f5761031a565b80630f2cdd6c1461044357806317574b0b1461046e57806318160ddd146104975761031a565b806301ffc9a71461031f57806306fdde031461035c578063081812fc14610387578063095ea7b3146103c45780630acae9a7146103ed5780630d0f38b814610418575b600080fd5b34801561032b57600080fd5b5061034660048036038101906103419190613465565b610c5b565b60405161035391906134ad565b60405180910390f35b34801561036857600080fd5b50610371610ced565b60405161037e9190613561565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a991906135b9565b610d7f565b6040516103bb9190613627565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e6919061366e565b610dfb565b005b3480156103f957600080fd5b50610402610f3c565b60405161040f91906136bd565b60405180910390f35b34801561042457600080fd5b5061042d610f42565b60405161043a91906136bd565b60405180910390f35b34801561044f57600080fd5b50610458610f47565b60405161046591906136bd565b60405180910390f35b34801561047a57600080fd5b50610495600480360381019061049091906136d8565b610f4c565b005b3480156104a357600080fd5b506104ac61100c565b6040516104b991906136bd565b60405180910390f35b3480156104ce57600080fd5b506104d7611023565b6040516104e491906136bd565b60405180910390f35b3480156104f957600080fd5b50610514600480360381019061050f9190613796565b611029565b005b34801561052257600080fd5b5061053d600480360381019061053891906137f6565b611148565b005b34801561054b57600080fd5b5061055461146a565b60405161056191906136bd565b60405180910390f35b34801561057657600080fd5b50610591600480360381019061058c91906137f6565b611470565b005b34801561059f57600080fd5b506105a8611490565b6040516105b591906136bd565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e091906136d8565b611496565b6040516105f291906134ad565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d919061389f565b6114b6565b005b34801561063057600080fd5b5061064b600480360381019061064691906135b9565b611548565b005b34801561065957600080fd5b50610674600480360381019061066f919061366e565b6115ce565b005b34801561068257600080fd5b5061068b6116af565b60405161069891906136bd565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c391906135b9565b6116bb565b6040516106d59190613627565b60405180910390f35b3480156106ea57600080fd5b50610705600480360381019061070091906136d8565b6116cd565b60405161071291906136bd565b60405180910390f35b34801561072757600080fd5b50610730611785565b005b34801561073e57600080fd5b5061074761180d565b60405161075491906136bd565b60405180910390f35b34801561076957600080fd5b50610784600480360381019061077f9190613796565b611813565b005b34801561079257600080fd5b5061079b611932565b6040516107a891906136bd565b60405180910390f35b3480156107bd57600080fd5b506107d860048036038101906107d391906135b9565b611938565b005b3480156107e657600080fd5b506107ef6119cc565b6040516107fc91906136bd565b60405180910390f35b34801561081157600080fd5b5061082c60048036038101906108279190613796565b6119d1565b005b34801561083a57600080fd5b50610843611af0565b6040516108509190613627565b60405180910390f35b34801561086557600080fd5b5061086e611b19565b60405161087b9190613561565b60405180910390f35b34801561089057600080fd5b506108ab60048036038101906108a691906135b9565b611bab565b005b6108c760048036038101906108c291906135b9565b611c31565b005b3480156108d557600080fd5b506108f060048036038101906108eb91906138ec565b611fcb565b005b3480156108fe57600080fd5b50610907612142565b60405161091491906136bd565b60405180910390f35b34801561092957600080fd5b50610932612148565b005b34801561094057600080fd5b5061095b600480360381019061095691906135b9565b6122c8565b005b34801561096957600080fd5b50610984600480360381019061097f9190613a5c565b61235c565b005b34801561099257600080fd5b506109ad60048036038101906109a891906136d8565b6123cf565b6040516109ba91906134ad565b60405180910390f35b3480156109cf57600080fd5b506109d86123ef565b6040516109e591906136bd565b60405180910390f35b3480156109fa57600080fd5b50610a156004803603810190610a1091906135b9565b6123fb565b604051610a229190613561565b60405180910390f35b348015610a3757600080fd5b50610a526004803603810190610a4d91906136d8565b612499565b604051610a5f91906134ad565b60405180910390f35b348015610a7457600080fd5b50610a8f6004803603810190610a8a91906135b9565b6124b9565b005b348015610a9d57600080fd5b50610ab86004803603810190610ab391906136d8565b61253f565b604051610ac591906134ad565b60405180910390f35b348015610ada57600080fd5b50610af56004803603810190610af091906136d8565b61255f565b604051610b0291906136bd565b60405180910390f35b348015610b1757600080fd5b50610b20612571565b604051610b2d91906136bd565b60405180910390f35b348015610b4257600080fd5b50610b5d6004803603810190610b5891906135b9565b612577565b005b348015610b6b57600080fd5b50610b746125fd565b604051610b8191906136bd565b60405180910390f35b348015610b9657600080fd5b50610bb16004803603810190610bac9190613adf565b612609565b604051610bbe91906134ad565b60405180910390f35b348015610bd357600080fd5b50610bdc61269d565b005b348015610bea57600080fd5b50610c056004803603810190610c0091906135b9565b6128e3565b005b348015610c1357600080fd5b50610c2e6004803603810190610c2991906136d8565b612969565b005b348015610c3c57600080fd5b50610c45612a60565b604051610c5291906136bd565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610cb657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ce65750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060038054610cfc90613b4e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2890613b4e565b8015610d755780601f10610d4a57610100808354040283529160200191610d75565b820191906000526020600020905b815481529060010190602001808311610d5857829003601f168201915b5050505050905090565b6000610d8a82612a66565b610dc0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e06826116bb565b90508073ffffffffffffffffffffffffffffffffffffffff16610e27612ac5565b73ffffffffffffffffffffffffffffffffffffffff1614610e8a57610e5381610e4e612ac5565b612609565b610e89576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60105481565b600281565b600581565b610f54612acd565b73ffffffffffffffffffffffffffffffffffffffff16610f72611af0565b73ffffffffffffffffffffffffffffffffffffffff1614610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90613bcb565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611016612ad5565b6002546001540303905090565b600b5481565b611031612acd565b73ffffffffffffffffffffffffffffffffffffffff1661104f611af0565b73ffffffffffffffffffffffffffffffffffffffff16146110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109c90613bcb565b60405180910390fd5b60005b838390508110156111425781601260008686858181106110cb576110ca613beb565b5b90506020020160208101906110e091906136d8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508061113b90613c49565b90506110a8565b50505050565b600061115382612ada565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111ba576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806111c684612ba6565b915091506111dc81876111d7612ac5565b612bc8565b611228576111f1866111ec612ac5565b612609565b611227576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361128e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61129b8686866001612c0c565b80156112a657600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061137485611350888887612c12565b7c020000000000000000000000000000000000000000000000000000000017612c3a565b600560008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113fa57600060018501905060006005600083815260200190815260200160002054036113f85760015481146113f7578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114628686866001612c65565b505050505050565b61271081565b61148b8383836040518060200160405280600081525061235c565b505050565b600a5481565b60116020528060005260406000206000915054906101000a900460ff1681565b6114be612acd565b73ffffffffffffffffffffffffffffffffffffffff166114dc611af0565b73ffffffffffffffffffffffffffffffffffffffff1614611532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152990613bcb565b60405180910390fd5b818160179190611543929190613356565b505050565b611550612acd565b73ffffffffffffffffffffffffffffffffffffffff1661156e611af0565b73ffffffffffffffffffffffffffffffffffffffff16146115c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bb90613bcb565b60405180910390fd5b80600f8190555050565b6115d6612acd565b73ffffffffffffffffffffffffffffffffffffffff166115f4611af0565b73ffffffffffffffffffffffffffffffffffffffff161461164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164190613bcb565b60405180910390fd5b600b5481611656612c6b565b6116609190613c91565b11156116a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169890613d33565b60405180910390fd5b6116ab8282612c7e565b5050565b670354a6ba7a18000081565b60006116c682612ada565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611734576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61178d612acd565b73ffffffffffffffffffffffffffffffffffffffff166117ab611af0565b73ffffffffffffffffffffffffffffffffffffffff1614611801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f890613bcb565b60405180910390fd5b61180b6000612e51565b565b600c5481565b61181b612acd565b73ffffffffffffffffffffffffffffffffffffffff16611839611af0565b73ffffffffffffffffffffffffffffffffffffffff161461188f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188690613bcb565b60405180910390fd5b60005b8383905081101561192c5781601360008686858181106118b5576118b4613beb565b5b90506020020160208101906118ca91906136d8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508061192590613c49565b9050611892565b50505050565b611d4c81565b611940612acd565b73ffffffffffffffffffffffffffffffffffffffff1661195e611af0565b73ffffffffffffffffffffffffffffffffffffffff16146119b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ab90613bcb565b60405180910390fd5b600b5481106119c257600080fd5b80600b8190555050565b600481565b6119d9612acd565b73ffffffffffffffffffffffffffffffffffffffff166119f7611af0565b73ffffffffffffffffffffffffffffffffffffffff1614611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4490613bcb565b60405180910390fd5b60005b83839050811015611aea578160116000868685818110611a7357611a72613beb565b5b9050602002016020810190611a8891906136d8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080611ae390613c49565b9050611a50565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611b2890613b4e565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5490613b4e565b8015611ba15780601f10611b7657610100808354040283529160200191611ba1565b820191906000526020600020905b815481529060010190602001808311611b8457829003601f168201915b5050505050905090565b611bb3612acd565b73ffffffffffffffffffffffffffffffffffffffff16611bd1611af0565b73ffffffffffffffffffffffffffffffffffffffff1614611c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1e90613bcb565b60405180910390fd5b80600d8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9690613d9f565b60405180910390fd5b600d544211611ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cda90613e0b565b60405180910390fd5b6010544210611d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1e90613e77565b60405180910390fd5b60008111611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190613ee3565b60405180910390fd5b6000611d7533612f15565b90506000829050601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015611e1f5750601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611e895780611e2e90613c49565b90506001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600c5481611e95612c6b565b611e9f9190613c91565b1115611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed790613f4f565b60405180910390fd5b8181611eeb3361304c565b611ef59190613c91565b1115611f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2d90613fbb565b60405180910390fd5b6000670354a6ba7a1800009050600f54421115611f59576703e2c284391c000090505b8381611f659190613fdb565b341015611fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9e90614081565b60405180910390fd5b611fb13383612c7e565b611fc58482611fc09190613fdb565b6130a3565b50505050565b611fd3612ac5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612037576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060086000612044612ac5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120f1612ac5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161213691906134ad565b60405180910390a35050565b600f5481565b612150612acd565b73ffffffffffffffffffffffffffffffffffffffff1661216e611af0565b73ffffffffffffffffffffffffffffffffffffffff16146121c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bb90613bcb565b60405180910390fd5b600260095403612209576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612200906140ed565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516122379061413e565b60006040518083038185875af1925050503d8060008114612274576040519150601f19603f3d011682016040523d82523d6000602084013e612279565b606091505b50509050806122bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b49061419f565b60405180910390fd5b506001600981905550565b6122d0612acd565b73ffffffffffffffffffffffffffffffffffffffff166122ee611af0565b73ffffffffffffffffffffffffffffffffffffffff1614612344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233b90613bcb565b60405180910390fd5b600c54811061235257600080fd5b80600c8190555050565b612367848484611148565b60008373ffffffffffffffffffffffffffffffffffffffff163b146123c95761239284848484613101565b6123c8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60126020528060005260406000206000915054906101000a900460ff1681565b6703e2c284391c000081565b606061240682612a66565b61243c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612446613251565b905060008151036124665760405180602001604052806000815250612491565b80612470846132e3565b6040516020016124819291906141fb565b6040516020818303038152906040525b915050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b6124c1612acd565b73ffffffffffffffffffffffffffffffffffffffff166124df611af0565b73ffffffffffffffffffffffffffffffffffffffff1614612535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252c90613bcb565b60405180910390fd5b8060108190555050565b60146020528060005260406000206000915054906101000a900460ff1681565b600061256a8261304c565b9050919050565b600d5481565b61257f612acd565b73ffffffffffffffffffffffffffffffffffffffff1661259d611af0565b73ffffffffffffffffffffffffffffffffffffffff16146125f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ea90613bcb565b60405180910390fd5b80600a8190555050565b675dacd13ca9e3000081565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6002600954036126e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d9906140ed565b60405180910390fd5b6002600981905550601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806127785750612749611af0565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6127b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ae9061426b565b60405180910390fd5b675dacd13ca9e3000060155410156128d9576000601554675dacd13ca9e300006127e1919061428b565b9050478111156127ef574790505b80601560008282546128019190613c91565b925050819055506000601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826040516128509061413e565b60006040518083038185875af1925050503d806000811461288d576040519150601f19603f3d011682016040523d82523d6000602084013e612892565b606091505b50509050806128d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cd9061430b565b60405180910390fd5b50505b6001600981905550565b6128eb612acd565b73ffffffffffffffffffffffffffffffffffffffff16612909611af0565b73ffffffffffffffffffffffffffffffffffffffff161461295f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295690613bcb565b60405180910390fd5b80600e8190555050565b612971612acd565b73ffffffffffffffffffffffffffffffffffffffff1661298f611af0565b73ffffffffffffffffffffffffffffffffffffffff16146129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc90613bcb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4b9061439d565b60405180910390fd5b612a5d81612e51565b50565b600e5481565b600081612a71612ad5565b11158015612a80575060015482105b8015612abe575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b600090565b60008082905080612ae9612ad5565b11612b6f57600154811015612b6e5760006005600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612b6c575b60008103612b62576005600083600190039350838152602001908152602001600020549050612b38565b8092505050612ba1565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600790508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612c2986868461333d565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612c75612ad5565b60015403905090565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ceb576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612d25576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d326000848385612c0c565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612da983612d9a6000866000612c12565b612da385613346565b17612c3a565b60056000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612dcd57806001819055505050612e4c6000848385612c65565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600f54421115612f2b57600a549050613047565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612f865760049050613047565b601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806130345750600e54421180156130335750601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b5b156130425760029050613047565b600090505b919050565b600067ffffffffffffffff6040600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b803411156130fe573373ffffffffffffffffffffffffffffffffffffffff166108fc82346130d1919061428b565b9081150290604051600060405180830381858888f193505050501580156130fc573d6000803e3d6000fd5b505b50565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613127612ac5565b8786866040518563ffffffff1660e01b81526004016131499493929190614412565b6020604051808303816000875af192505050801561318557506040513d601f19601f820116820180604052508101906131829190614473565b60015b6131fe573d80600081146131b5576040519150601f19603f3d011682016040523d82523d6000602084013e6131ba565b606091505b5060008151036131f6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606017805461326090613b4e565b80601f016020809104026020016040519081016040528092919081815260200182805461328c90613b4e565b80156132d95780601f106132ae576101008083540402835291602001916132d9565b820191906000526020600020905b8154815290600101906020018083116132bc57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561332957600183039250600a81066030018353600a81049050613309565b508181036020830392508083525050919050565b60009392505050565b60006001821460e11b9050919050565b82805461336290613b4e565b90600052602060002090601f01602090048101928261338457600085556133cb565b82601f1061339d57803560ff19168380011785556133cb565b828001600101855582156133cb579182015b828111156133ca5782358255916020019190600101906133af565b5b5090506133d891906133dc565b5090565b5b808211156133f55760008160009055506001016133dd565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134428161340d565b811461344d57600080fd5b50565b60008135905061345f81613439565b92915050565b60006020828403121561347b5761347a613403565b5b600061348984828501613450565b91505092915050565b60008115159050919050565b6134a781613492565b82525050565b60006020820190506134c2600083018461349e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135025780820151818401526020810190506134e7565b83811115613511576000848401525b50505050565b6000601f19601f8301169050919050565b6000613533826134c8565b61353d81856134d3565b935061354d8185602086016134e4565b61355681613517565b840191505092915050565b6000602082019050818103600083015261357b8184613528565b905092915050565b6000819050919050565b61359681613583565b81146135a157600080fd5b50565b6000813590506135b38161358d565b92915050565b6000602082840312156135cf576135ce613403565b5b60006135dd848285016135a4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613611826135e6565b9050919050565b61362181613606565b82525050565b600060208201905061363c6000830184613618565b92915050565b61364b81613606565b811461365657600080fd5b50565b60008135905061366881613642565b92915050565b6000806040838503121561368557613684613403565b5b600061369385828601613659565b92505060206136a4858286016135a4565b9150509250929050565b6136b781613583565b82525050565b60006020820190506136d260008301846136ae565b92915050565b6000602082840312156136ee576136ed613403565b5b60006136fc84828501613659565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261372a57613729613705565b5b8235905067ffffffffffffffff8111156137475761374661370a565b5b6020830191508360208202830111156137635761376261370f565b5b9250929050565b61377381613492565b811461377e57600080fd5b50565b6000813590506137908161376a565b92915050565b6000806000604084860312156137af576137ae613403565b5b600084013567ffffffffffffffff8111156137cd576137cc613408565b5b6137d986828701613714565b935093505060206137ec86828701613781565b9150509250925092565b60008060006060848603121561380f5761380e613403565b5b600061381d86828701613659565b935050602061382e86828701613659565b925050604061383f868287016135a4565b9150509250925092565b60008083601f84011261385f5761385e613705565b5b8235905067ffffffffffffffff81111561387c5761387b61370a565b5b6020830191508360018202830111156138985761389761370f565b5b9250929050565b600080602083850312156138b6576138b5613403565b5b600083013567ffffffffffffffff8111156138d4576138d3613408565b5b6138e085828601613849565b92509250509250929050565b6000806040838503121561390357613902613403565b5b600061391185828601613659565b925050602061392285828601613781565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61396982613517565b810181811067ffffffffffffffff8211171561398857613987613931565b5b80604052505050565b600061399b6133f9565b90506139a78282613960565b919050565b600067ffffffffffffffff8211156139c7576139c6613931565b5b6139d082613517565b9050602081019050919050565b82818337600083830152505050565b60006139ff6139fa846139ac565b613991565b905082815260208101848484011115613a1b57613a1a61392c565b5b613a268482856139dd565b509392505050565b600082601f830112613a4357613a42613705565b5b8135613a538482602086016139ec565b91505092915050565b60008060008060808587031215613a7657613a75613403565b5b6000613a8487828801613659565b9450506020613a9587828801613659565b9350506040613aa6878288016135a4565b925050606085013567ffffffffffffffff811115613ac757613ac6613408565b5b613ad387828801613a2e565b91505092959194509250565b60008060408385031215613af657613af5613403565b5b6000613b0485828601613659565b9250506020613b1585828601613659565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b6657607f821691505b602082108103613b7957613b78613b1f565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613bb56020836134d3565b9150613bc082613b7f565b602082019050919050565b60006020820190508181036000830152613be481613ba8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c5482613583565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c8657613c85613c1a565b5b600182019050919050565b6000613c9c82613583565b9150613ca783613583565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cdc57613cdb613c1a565b5b828201905092915050565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b6000613d1d6012836134d3565b9150613d2882613ce7565b602082019050919050565b60006020820190508181036000830152613d4c81613d10565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613d89601e836134d3565b9150613d9482613d53565b602082019050919050565b60006020820190508181036000830152613db881613d7c565b9050919050565b7f4d696e7420686173206e6f742079657420737461727465640000000000000000600082015250565b6000613df56018836134d3565b9150613e0082613dbf565b602082019050919050565b60006020820190508181036000830152613e2481613de8565b9050919050565b7f4d696e74206973206f7665720000000000000000000000000000000000000000600082015250565b6000613e61600c836134d3565b9150613e6c82613e2b565b602082019050919050565b60006020820190508181036000830152613e9081613e54565b9050919050565b7f427579206174206c656173742031204e46540000000000000000000000000000600082015250565b6000613ecd6012836134d3565b9150613ed882613e97565b602082019050919050565b60006020820190508181036000830152613efc81613ec0565b9050919050565b7f52656163686564206d6178207075626c696320737570706c7900000000000000600082015250565b6000613f396019836134d3565b9150613f4482613f03565b602082019050919050565b60006020820190508181036000830152613f6881613f2c565b9050919050565b7f63616e6e6f74206d696e742074686973207175616e7469747900000000000000600082015250565b6000613fa56019836134d3565b9150613fb082613f6f565b602082019050919050565b60006020820190508181036000830152613fd481613f98565b9050919050565b6000613fe682613583565b9150613ff183613583565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561402a57614029613c1a565b5b828202905092915050565b7f4e65656420746f2073656e64206d6f7265204554482e00000000000000000000600082015250565b600061406b6016836134d3565b915061407682614035565b602082019050919050565b6000602082019050818103600083015261409a8161405e565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006140d7601f836134d3565b91506140e2826140a1565b602082019050919050565b60006020820190508181036000830152614106816140ca565b9050919050565b600081905092915050565b50565b600061412860008361410d565b915061413382614118565b600082019050919050565b60006141498261411b565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006141896010836134d3565b915061419482614153565b602082019050919050565b600060208201905081810360008301526141b88161417c565b9050919050565b600081905092915050565b60006141d5826134c8565b6141df81856141bf565b93506141ef8185602086016134e4565b80840191505092915050565b600061420782856141ca565b915061421382846141ca565b91508190509392505050565b7f596f752063616e6e6f742063616c6c20746869732066756e6374696f6e000000600082015250565b6000614255601d836134d3565b91506142608261421f565b602082019050919050565b6000602082019050818103600083015261428481614248565b9050919050565b600061429682613583565b91506142a183613583565b9250828210156142b4576142b3613c1a565b5b828203905092915050565b7f437574207472616e73666572206661696c65642e000000000000000000000000600082015250565b60006142f56014836134d3565b9150614300826142bf565b602082019050919050565b60006020820190508181036000830152614324816142e8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006143876026836134d3565b91506143928261432b565b604082019050919050565b600060208201905081810360008301526143b68161437a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143e4826143bd565b6143ee81856143c8565b93506143fe8185602086016134e4565b61440781613517565b840191505092915050565b60006080820190506144276000830187613618565b6144346020830186613618565b61444160408301856136ae565b818103606083015261445381846143d9565b905095945050505050565b60008151905061446d81613439565b92915050565b60006020828403121561448957614488613403565b5b60006144978482850161445e565b9150509291505056fea26469706673582212205324243179f400a517af904223d3eee3a7f9bec366af90698f846e73aceaefec64736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000015e
-----Decoded View---------------
Arg [0] : toTreasury (uint256): 350
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000015e
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.