Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 75 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Pause Sale | 18187266 | 392 days ago | IN | 0 ETH | 0.00028644 | ||||
Safe Transfer Fr... | 17780160 | 449 days ago | IN | 0 ETH | 0.00204448 | ||||
Safe Transfer Fr... | 17780146 | 449 days ago | IN | 0 ETH | 0.00219461 | ||||
Set NFT Price | 17770245 | 451 days ago | IN | 0 ETH | 0.00099606 | ||||
Set NFT Price | 17720120 | 458 days ago | IN | 0 ETH | 0.00111485 | ||||
Set NFT Price | 17712791 | 459 days ago | IN | 0 ETH | 0.00052053 | ||||
Set NFT Price | 17691905 | 462 days ago | IN | 0 ETH | 0.00100288 | ||||
Set NFT Price | 17677557 | 464 days ago | IN | 0 ETH | 0.00091041 | ||||
Set NFT Price | 17641734 | 469 days ago | IN | 0 ETH | 0.00059974 | ||||
Withdraw Payment... | 17629715 | 470 days ago | IN | 0 ETH | 0.00415359 | ||||
Mint | 17629191 | 471 days ago | IN | 2.46 ETH | 0.00489518 | ||||
Set NFT Price | 17627679 | 471 days ago | IN | 0 ETH | 0.00156867 | ||||
Withdraw Payment... | 17615715 | 472 days ago | IN | 0 ETH | 0.00234619 | ||||
Set NFT Price | 17613287 | 473 days ago | IN | 0 ETH | 0.00165738 | ||||
Mint | 17594540 | 475 days ago | IN | 1.24 ETH | 0.00281818 | ||||
Set NFT Price | 17592144 | 476 days ago | IN | 0 ETH | 0.00090264 | ||||
Set NFT Price | 17578011 | 478 days ago | IN | 0 ETH | 0.00061079 | ||||
Set NFT Price | 17542443 | 483 days ago | IN | 0 ETH | 0.00048435 | ||||
Set NFT Price | 17533815 | 484 days ago | IN | 0 ETH | 0.00040855 | ||||
Set NFT Price | 17527922 | 485 days ago | IN | 0 ETH | 0.00070619 | ||||
Set NFT Price | 17494119 | 489 days ago | IN | 0 ETH | 0.00104098 | ||||
Set NFT Price | 17484828 | 491 days ago | IN | 0 ETH | 0.00056025 | ||||
Set NFT Price | 17464040 | 494 days ago | IN | 0 ETH | 0.00044347 | ||||
Set NFT Price | 17428541 | 499 days ago | IN | 0 ETH | 0.0005944 | ||||
Set NFT Price | 17421416 | 500 days ago | IN | 0 ETH | 0.00077927 |
Latest 22 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
17629715 | 470 days ago | 0.0861 ETH | ||||
17629715 | 470 days ago | 2.3739 ETH | ||||
17615715 | 472 days ago | 0.0434 ETH | ||||
17615715 | 472 days ago | 1.1966 ETH | ||||
17231397 | 527 days ago | 0.04445 ETH | ||||
17231397 | 527 days ago | 1.22555 ETH | ||||
17203819 | 530 days ago | 0.0434 ETH | ||||
17203819 | 530 days ago | 1.1966 ETH | ||||
17196229 | 531 days ago | 0.0434 ETH | ||||
17196229 | 531 days ago | 1.1966 ETH | ||||
17174071 | 535 days ago | 0.04445 ETH | ||||
17174071 | 535 days ago | 1.22555 ETH | ||||
16970647 | 563 days ago | 0.1008 ETH | ||||
16970647 | 563 days ago | 2.7792 ETH | ||||
16778642 | 590 days ago | 0.0504 ETH | ||||
16778642 | 590 days ago | 1.3896 ETH | ||||
16759695 | 593 days ago | 0.0504 ETH | ||||
16759695 | 593 days ago | 1.3896 ETH | ||||
16736051 | 596 days ago | 0.0504 ETH | ||||
16736051 | 596 days ago | 1.3896 ETH | ||||
16721315 | 598 days ago | 0.0504 ETH | ||||
16721315 | 598 days ago | 1.3896 ETH |
Loading...
Loading
Contract Name:
FounderCard
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /*** __ __ _______ _____ _ _ _ _ \ \ / / |__ __| | __ \(_) (_) | | | \ \ /\ / /_ _ _ _| | ___ ___ | | | |_ __ _ _| |_ __ _| | \ \/ \/ / _` | | | | |/ _ \ / _ \| | | | |/ _` | | __/ _` | | \ /\ / (_| | |_| | | (_) | (_) | |__| | | (_| | | || (_| | | \/ \/ \__,_|\__, |_|\___/ \___/|_____/|_|\__, |_|\__\__,_|_| __/ | __/ | |___/ |___/ ***/ pragma solidity 0.8.13; import "@openzeppelin/contracts/utils/Strings.sol"; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "operator-filter-registry/src/DefaultOperatorFilterer.sol"; contract FounderCard is ERC721A, Ownable, PaymentSplitter, DefaultOperatorFilterer { using MerkleProof for bytes32[]; using Strings for uint256; uint16 public reservedNFTsAmount; bytes32 public merkleRoot; bytes32 public emailMerkleRoot; string private baseURI; bool public saleStarted = false; bool public publicSaleStarted = false; uint16 public constant totalNFTs = 500; uint16 public constant reservedNFTS = 50; uint256 public nftPrice = 1.44 ether; address[] private payees = [0x7605DAD9EEfbd22490ba228Ad756a6256045c5FE, 0x30d6B3497e967B72013e921aAf5d5ee9915B1010]; uint256[] private payeesShares = [9650, 350]; constructor(string memory name, string memory symbol) ERC721A(name, symbol) PaymentSplitter(payees, payeesShares) { reservedNFTsAmount = 0; } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal pure override returns (uint256) { return 1; } function setBaseURI(string memory _baseUri) public onlyOwner { baseURI = _baseUri; } // Crossmint function with allowlist verification function mintTo( uint256 amount, bytes32[] memory proof, bytes32 leaf, address to ) external payable canMint(amount) { address crossmintEth = 0xdAb1a1854214684acE522439684a145E62505233; require(msg.sender == crossmintEth, "This function can be called by the Crossmint address only."); require(proof.verify(emailMerkleRoot, leaf), "You are not in the list"); _mint(to, amount); } // public minting Crossmint function function mintTo(uint256 amount, address to) external payable canMint(amount) { address crossmintEth = 0xdAb1a1854214684acE522439684a145E62505233; require(msg.sender == crossmintEth, "This function can be called by the Crossmint address only."); require(publicSaleStarted == true, "The public sale is paused"); _mint(to, amount); } // Mint function with allowlist verification and public sale function mint( bytes32[] memory proof, bytes32 leaf, uint256 amount ) external payable canMint(amount) isInAllowlist(proof, leaf) { _mint(msg.sender, amount); } function reserveNFT(address to, uint16 amount) external onlyOwner { require(reservedNFTsAmount + amount <= reservedNFTS, "Out of stock"); reservedNFTsAmount += amount; _mint(to, amount); } function startSale() external onlyOwner { saleStarted = true; } function pauseSale() external onlyOwner { saleStarted = false; } function togglePublicSale() external onlyOwner { publicSaleStarted = !publicSaleStarted; } function setMerkleRoot(bytes32 _root) external onlyOwner { merkleRoot = _root; } function setEmailMerkleRoot(bytes32 _root) external onlyOwner { emailMerkleRoot = _root; } function setNFTPrice(uint256 price) external onlyOwner { nftPrice = price; } function withdraw() external onlyOwner { (bool os, ) = payable(msg.sender).call{value: address(this).balance}(""); require(os, "Ether transfer failed"); } function withdrawPaymentSplitter() external onlyOwner { for (uint256 i = 0; i < payees.length; i++) { address payable wallet = payable(payees[i]); release(wallet); } } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "URI query for nonexistent token"); return string(abi.encodePacked(baseURI, tokenId.toString())); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } modifier canMint(uint256 amount) { require(msg.value == (nftPrice * amount), "The price is invalid"); require(saleStarted == true, "The sale is paused"); require(totalSupply() - reservedNFTsAmount + amount <= totalNFTs - reservedNFTS, "Mint limit reached"); _; } modifier isInAllowlist(bytes32[] memory proof, bytes32 leaf) { if (publicSaleStarted == false) { require(proof.verify(merkleRoot, leaf), "You are not in the list"); } _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // 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 `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID 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 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual 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 virtual { 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; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ 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: [ERC165](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. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ 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 ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * 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 initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev 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); } /** * @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 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)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(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 `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns 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)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @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 virtual { uint256 startTokenId = _currentIndex; 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 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _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 virtual { 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 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 virtual { _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 Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @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) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(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++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { 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 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 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; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @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 virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * 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(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores 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 via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @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() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 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`, * 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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` 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 payable; /** * @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 payable; /** * @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](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emailMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"address","name":"to","type":"address"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"reserveNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedNFTS","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedNFTsAmount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setEmailMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setNFTPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalNFTs","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawPaymentSplitter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055506713fbe85edc9000006013556040518060400160405280737605dad9eefbd22490ba228ad756a6256045c5fe73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017330d6b3497e967b72013e921aaf5d5ee9915b101073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506014906002620000ed929190620008e1565b5060405180604001604052806125b261ffff16815260200161015e61ffff1681525060159060026200012192919062000970565b503480156200012f57600080fd5b5060405162005c6438038062005c64833981810160405281019062000155919062000c15565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016014805480602002602001604051908101604052809291908181526020018280548015620001f057602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311620001a5575b505050505060158054806020026020016040519081016040528092919081815260200182805480156200024357602002820191906000526020600020905b8154815260200190600101908083116200022e575b50505050508585816002908051906020019062000262929190620009c8565b5080600390805190602001906200027b929190620009c8565b506200028c620005d160201b60201c565b6000819055505050620002b4620002a8620005da60201b60201c565b620005e260201b60201c565b8051825114620002fb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f29062000d21565b60405180910390fd5b600082511162000342576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003399062000d93565b60405180910390fd5b60005b8251811015620003b1576200039b83828151811062000369576200036862000db5565b5b602002602001015183838151811062000387576200038662000db5565b5b6020026020010151620006a860201b60201c565b8080620003a89062000e1d565b91505062000345565b50505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620005a95780156200046f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200043592919062000eaf565b600060405180830381600087803b1580156200045057600080fd5b505af115801562000465573d6000803e3d6000fd5b50505050620005a8565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000529576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620004ef92919062000eaf565b600060405180830381600087803b1580156200050a57600080fd5b505af11580156200051f573d6000803e3d6000fd5b50505050620005a7565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000572919062000edc565b600060405180830381600087803b1580156200058d57600080fd5b505af1158015620005a2573d6000803e3d6000fd5b505050505b5b5b50506000600e60006101000a81548161ffff021916908361ffff16021790555050506200119a565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200071a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007119062000f6f565b60405180910390fd5b6000811162000760576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007579062000fe1565b60405180910390fd5b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620007e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007dc9062001079565b60405180910390fd5b600d829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806009546200089c91906200109b565b6009819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620008d592919062001109565b60405180910390a15050565b8280548282559060005260206000209081019282156200095d579160200282015b828111156200095c5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000902565b5b5090506200096c919062000a59565b5090565b828054828255906000526020600020908101928215620009b5579160200282015b82811115620009b4578251829061ffff1690559160200191906001019062000991565b5b509050620009c4919062000a59565b5090565b828054620009d69062001165565b90600052602060002090601f016020900481019282620009fa576000855562000a46565b82601f1062000a1557805160ff191683800117855562000a46565b8280016001018555821562000a46579182015b8281111562000a4557825182559160200191906001019062000a28565b5b50905062000a55919062000a59565b5090565b5b8082111562000a7457600081600090555060010162000a5a565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000ae18262000a96565b810181811067ffffffffffffffff8211171562000b035762000b0262000aa7565b5b80604052505050565b600062000b1862000a78565b905062000b26828262000ad6565b919050565b600067ffffffffffffffff82111562000b495762000b4862000aa7565b5b62000b548262000a96565b9050602081019050919050565b60005b8381101562000b8157808201518184015260208101905062000b64565b8381111562000b91576000848401525b50505050565b600062000bae62000ba88462000b2b565b62000b0c565b90508281526020810184848401111562000bcd5762000bcc62000a91565b5b62000bda84828562000b61565b509392505050565b600082601f83011262000bfa5762000bf962000a8c565b5b815162000c0c84826020860162000b97565b91505092915050565b6000806040838503121562000c2f5762000c2e62000a82565b5b600083015167ffffffffffffffff81111562000c505762000c4f62000a87565b5b62000c5e8582860162000be2565b925050602083015167ffffffffffffffff81111562000c825762000c8162000a87565b5b62000c908582860162000be2565b9150509250929050565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b600062000d0960328362000c9a565b915062000d168262000cab565b604082019050919050565b6000602082019050818103600083015262000d3c8162000cfa565b9050919050565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b600062000d7b601a8362000c9a565b915062000d888262000d43565b602082019050919050565b6000602082019050818103600083015262000dae8162000d6c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b600062000e2a8262000e13565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362000e5f5762000e5e62000de4565b5b600182019050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000e978262000e6a565b9050919050565b62000ea98162000e8a565b82525050565b600060408201905062000ec6600083018562000e9e565b62000ed5602083018462000e9e565b9392505050565b600060208201905062000ef3600083018462000e9e565b92915050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b600062000f57602c8362000c9a565b915062000f648262000ef9565b604082019050919050565b6000602082019050818103600083015262000f8a8162000f48565b9050919050565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b600062000fc9601d8362000c9a565b915062000fd68262000f91565b602082019050919050565b6000602082019050818103600083015262000ffc8162000fba565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b600062001061602b8362000c9a565b91506200106e8262001003565b604082019050919050565b60006020820190508181036000830152620010948162001052565b9050919050565b6000620010a88262000e13565b9150620010b58362000e13565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620010ed57620010ec62000de4565b5b828201905092915050565b620011038162000e13565b82525050565b600060408201905062001120600083018562000e9e565b6200112f6020830184620010f8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200117e57607f821691505b60208210810362001194576200119362001136565b5b50919050565b614aba80620011aa6000396000f3fe6080604052600436106102765760003560e01c8063715018a61161014f578063b723b34e116100c1578063d37c36f91161007a578063d37c36f914610904578063e222c7f91461092f578063e33b7de314610946578063e985e9c514610971578063f2fde38b146109ae578063fbf4ece6146109d7576102bd565b8063b723b34e1461080d578063b74e94cf14610829578063b88d4fde14610852578063c4fee1d61461086e578063c87b56dd1461088a578063ce7c2ac2146108c7576102bd565b80638da5cb5b116101135780638da5cb5b1461070f57806395d89b411461073a5780639852595c14610765578063a22cb465146107a2578063a2e91477146107cb578063b66a0e5d146107f6576102bd565b8063715018a6146106405780637cb647591461065757806380519b931461068057806381530b68146106a95780638b83209b146106d2576102bd565b80633a98ef39116101e857806355367ba9116101ac57806355367ba91461054457806355f804b31461055b5780635a8dc0d4146105845780635c474f9e1461059b5780636352211e146105c657806370a0823114610603576102bd565b80633a98ef39146104905780633ccfd60b146104bb5780633cdc5db2146104d257806341f43434146104fd57806342842e0e14610528576102bd565b80630d39fc811161023a5780630d39fc81146103ae57806318160ddd146103d9578063191655871461040457806323b872dd1461042d5780632b1c5053146104495780632eb4a7ab14610465576102bd565b806301ffc9a7146102c257806306fdde03146102ff578063081812fc1461032a578063095ea7b3146103675780630d0e96da14610383576102bd565b366102bd577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102a4610a02565b346040516102b39291906132e0565b60405180910390a1005b600080fd5b3480156102ce57600080fd5b506102e960048036038101906102e49190613375565b610a0a565b6040516102f691906133bd565b60405180910390f35b34801561030b57600080fd5b50610314610a9c565b6040516103219190613471565b60405180910390f35b34801561033657600080fd5b50610351600480360381019061034c91906134bf565b610b2e565b60405161035e91906134ec565b60405180910390f35b610381600480360381019061037c9190613533565b610bad565b005b34801561038f57600080fd5b50610398610bc6565b6040516103a59190613590565b60405180910390f35b3480156103ba57600080fd5b506103c3610bcc565b6040516103d091906135ab565b60405180910390f35b3480156103e557600080fd5b506103ee610bd2565b6040516103fb91906135ab565b60405180910390f35b34801561041057600080fd5b5061042b60048036038101906104269190613604565b610be9565b005b61044760048036038101906104429190613631565b610e50565b005b610463600480360381019061045e9190613802565b610e9f565b005b34801561047157600080fd5b5061047a611051565b6040516104879190613880565b60405180910390f35b34801561049c57600080fd5b506104a5611057565b6040516104b291906135ab565b60405180910390f35b3480156104c757600080fd5b506104d0611061565b005b3480156104de57600080fd5b506104e761118c565b6040516104f49190613590565b60405180910390f35b34801561050957600080fd5b506105126111a0565b60405161051f91906138fa565b60405180910390f35b610542600480360381019061053d9190613631565b6111b2565b005b34801561055057600080fd5b50610559611201565b005b34801561056757600080fd5b50610582600480360381019061057d91906139ca565b61129a565b005b34801561059057600080fd5b50610599611330565b005b3480156105a757600080fd5b506105b061141f565b6040516105bd91906133bd565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e891906134bf565b611432565b6040516105fa91906134ec565b60405180910390f35b34801561060f57600080fd5b5061062a60048036038101906106259190613a13565b611444565b60405161063791906135ab565b60405180910390f35b34801561064c57600080fd5b506106556114fc565b005b34801561066357600080fd5b5061067e60048036038101906106799190613a40565b611584565b005b34801561068c57600080fd5b506106a760048036038101906106a29190613a40565b61160a565b005b3480156106b557600080fd5b506106d060048036038101906106cb91906134bf565b611690565b005b3480156106de57600080fd5b506106f960048036038101906106f491906134bf565b611716565b60405161070691906134ec565b60405180910390f35b34801561071b57600080fd5b5061072461175e565b60405161073191906134ec565b60405180910390f35b34801561074657600080fd5b5061074f611788565b60405161075c9190613471565b60405180910390f35b34801561077157600080fd5b5061078c60048036038101906107879190613a13565b61181a565b60405161079991906135ab565b60405180910390f35b3480156107ae57600080fd5b506107c960048036038101906107c49190613a99565b611863565b005b3480156107d757600080fd5b506107e061187c565b6040516107ed91906133bd565b60405180910390f35b34801561080257600080fd5b5061080b61188f565b005b61082760048036038101906108229190613ad9565b611928565b005b34801561083557600080fd5b50610850600480360381019061084b9190613b45565b611b41565b005b61086c60048036038101906108679190613c26565b611c6f565b005b61088860048036038101906108839190613ca9565b611cc0565b005b34801561089657600080fd5b506108b160048036038101906108ac91906134bf565b611edb565b6040516108be9190613471565b60405180910390f35b3480156108d357600080fd5b506108ee60048036038101906108e99190613a13565b611f57565b6040516108fb91906135ab565b60405180910390f35b34801561091057600080fd5b50610919611fa0565b6040516109269190613880565b60405180910390f35b34801561093b57600080fd5b50610944611fa6565b005b34801561095257600080fd5b5061095b61204e565b60405161096891906135ab565b60405180910390f35b34801561097d57600080fd5b5061099860048036038101906109939190613d2c565b612058565b6040516109a591906133bd565b60405180910390f35b3480156109ba57600080fd5b506109d560048036038101906109d09190613a13565b6120ec565b005b3480156109e357600080fd5b506109ec6121e3565b6040516109f99190613590565b60405180910390f35b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a955750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610aab90613d9b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad790613d9b565b8015610b245780601f10610af957610100808354040283529160200191610b24565b820191906000526020600020905b815481529060010190602001808311610b0757829003601f168201915b5050505050905090565b6000610b39826121e8565b610b6f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610bb781612247565b610bc18383612344565b505050565b6101f481565b60135481565b6000610bdc612488565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6290613e3e565b60405180910390fd5b6000600a5447610c7b9190613e8d565b90506000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600954600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610d0d9190613ee3565b610d179190613f6c565b610d219190613f9d565b905060008103610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d90614043565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610db19190613e8d565b600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600a54610e029190613e8d565b600a81905550610e128382612491565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610e43929190614084565b60405180910390a1505050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e8e57610e8d33612247565b5b610e99848484612585565b50505050565b8080601354610eae9190613ee3565b3414610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee6906140f9565b60405180910390fd5b60011515601260009054906101000a900460ff16151514610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c90614165565b60405180910390fd5b60326101f4610f549190614185565b61ffff1681600e60009054906101000a900461ffff1661ffff16610f76610bd2565b610f809190613f9d565b610f8a9190613e8d565b1115610fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc290614205565b60405180910390fd5b838360001515601260019054906101000a900460ff1615150361103f57610fff600f5482846128a79092919063ffffffff16565b61103e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103590614271565b60405180910390fd5b5b611049338561295d565b505050505050565b600f5481565b6000600954905090565b611069610a02565b73ffffffffffffffffffffffffffffffffffffffff1661108761175e565b73ffffffffffffffffffffffffffffffffffffffff16146110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d4906142dd565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516111039061432e565b60006040518083038185875af1925050503d8060008114611140576040519150601f19603f3d011682016040523d82523d6000602084013e611145565b606091505b5050905080611189576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111809061438f565b60405180910390fd5b50565b600e60009054906101000a900461ffff1681565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111f0576111ef33612247565b5b6111fb848484612b18565b50505050565b611209610a02565b73ffffffffffffffffffffffffffffffffffffffff1661122761175e565b73ffffffffffffffffffffffffffffffffffffffff161461127d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611274906142dd565b60405180910390fd5b6000601260006101000a81548160ff021916908315150217905550565b6112a2610a02565b73ffffffffffffffffffffffffffffffffffffffff166112c061175e565b73ffffffffffffffffffffffffffffffffffffffff1614611316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130d906142dd565b60405180910390fd5b806011908051906020019061132c9291906131e3565b5050565b611338610a02565b73ffffffffffffffffffffffffffffffffffffffff1661135661175e565b73ffffffffffffffffffffffffffffffffffffffff16146113ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a3906142dd565b60405180910390fd5b60005b60148054905081101561141c576000601482815481106113d2576113d16143af565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061140881610be9565b508080611414906143de565b9150506113af565b50565b601260009054906101000a900460ff1681565b600061143d82612b38565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114ab576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611504610a02565b73ffffffffffffffffffffffffffffffffffffffff1661152261175e565b73ffffffffffffffffffffffffffffffffffffffff1614611578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156f906142dd565b60405180910390fd5b6115826000612c04565b565b61158c610a02565b73ffffffffffffffffffffffffffffffffffffffff166115aa61175e565b73ffffffffffffffffffffffffffffffffffffffff1614611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f7906142dd565b60405180910390fd5b80600f8190555050565b611612610a02565b73ffffffffffffffffffffffffffffffffffffffff1661163061175e565b73ffffffffffffffffffffffffffffffffffffffff1614611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d906142dd565b60405180910390fd5b8060108190555050565b611698610a02565b73ffffffffffffffffffffffffffffffffffffffff166116b661175e565b73ffffffffffffffffffffffffffffffffffffffff161461170c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611703906142dd565b60405180910390fd5b8060138190555050565b6000600d828154811061172c5761172b6143af565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461179790613d9b565b80601f01602080910402602001604051908101604052809291908181526020018280546117c390613d9b565b80156118105780601f106117e557610100808354040283529160200191611810565b820191906000526020600020905b8154815290600101906020018083116117f357829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b8161186d81612247565b6118778383612cca565b505050565b601260019054906101000a900460ff1681565b611897610a02565b73ffffffffffffffffffffffffffffffffffffffff166118b561175e565b73ffffffffffffffffffffffffffffffffffffffff161461190b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611902906142dd565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b81806013546119379190613ee3565b3414611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f906140f9565b60405180910390fd5b60011515601260009054906101000a900460ff161515146119ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c590614165565b60405180910390fd5b60326101f46119dd9190614185565b61ffff1681600e60009054906101000a900461ffff1661ffff166119ff610bd2565b611a099190613f9d565b611a139190613e8d565b1115611a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4b90614205565b60405180910390fd5b600073dab1a1854214684ace522439684a145e6250523390508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad290614498565b60405180910390fd5b60011515601260019054906101000a900460ff16151514611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2890614504565b60405180910390fd5b611b3b838561295d565b50505050565b611b49610a02565b73ffffffffffffffffffffffffffffffffffffffff16611b6761175e565b73ffffffffffffffffffffffffffffffffffffffff1614611bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb4906142dd565b60405180910390fd5b603261ffff1681600e60009054906101000a900461ffff16611bdf9190614524565b61ffff161115611c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1b906145a8565b60405180910390fd5b80600e60008282829054906101000a900461ffff16611c439190614524565b92506101000a81548161ffff021916908361ffff160217905550611c6b828261ffff1661295d565b5050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611cad57611cac33612247565b5b611cb985858585612dd5565b5050505050565b8380601354611ccf9190613ee3565b3414611d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d07906140f9565b60405180910390fd5b60011515601260009054906101000a900460ff16151514611d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5d90614165565b60405180910390fd5b60326101f4611d759190614185565b61ffff1681600e60009054906101000a900461ffff1661ffff16611d97610bd2565b611da19190613f9d565b611dab9190613e8d565b1115611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de390614205565b60405180910390fd5b600073dab1a1854214684ace522439684a145e6250523390508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6a90614498565b60405180910390fd5b611e8a60105485876128a79092919063ffffffff16565b611ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec090614271565b60405180910390fd5b611ed3838761295d565b505050505050565b6060611ee6826121e8565b611f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1c90614614565b60405180910390fd5b6011611f3083612e48565b604051602001611f41929190614704565b6040516020818303038152906040529050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60105481565b611fae610a02565b73ffffffffffffffffffffffffffffffffffffffff16611fcc61175e565b73ffffffffffffffffffffffffffffffffffffffff1614612022576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612019906142dd565b60405180910390fd5b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120f4610a02565b73ffffffffffffffffffffffffffffffffffffffff1661211261175e565b73ffffffffffffffffffffffffffffffffffffffff1614612168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215f906142dd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036121d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ce9061479a565b60405180910390fd5b6121e081612c04565b50565b603281565b6000816121f3612488565b11158015612202575060005482105b8015612240575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612341576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016122be9291906147ba565b602060405180830381865afa1580156122db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ff91906147f8565b61234057806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161233791906134ec565b60405180910390fd5b5b50565b600061234f82611432565b90508073ffffffffffffffffffffffffffffffffffffffff16612370612fa8565b73ffffffffffffffffffffffffffffffffffffffff16146123d35761239c81612397612fa8565b612058565b6123d2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b804710156124d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cb90614871565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516124fa9061432e565b60006040518083038185875af1925050503d8060008114612537576040519150601f19603f3d011682016040523d82523d6000602084013e61253c565b606091505b5050905080612580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257790614903565b60405180910390fd5b505050565b600061259082612b38565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146125f7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061260384612fb0565b915091506126198187612614612fa8565b612fd7565b6126655761262e86612629612fa8565b612058565b612664576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036126cb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126d8868686600161301b565b80156126e357600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506127b18561278d888887613021565b7c020000000000000000000000000000000000000000000000000000000017613049565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036128375760006001850190506000600460008381526020019081526020016000205403612835576000548114612834578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461289f8686866001613074565b505050505050565b60008082905060005b855181101561294f5760008682815181106128ce576128cd6143af565b5b6020026020010151905080831161290f5782816040516020016128f2929190614944565b60405160208183030381529060405280519060200120925061293b565b8083604051602001612922929190614944565b6040516020818303038152906040528051906020012092505b508080612947906143de565b9150506128b0565b508381149150509392505050565b6000805490506000820361299d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129aa600084838561301b565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612a2183612a126000866000613021565b612a1b8561307a565b17613049565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612ac257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612a87565b5060008203612afd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612b136000848385613074565b505050565b612b3383838360405180602001604052806000815250611c6f565b505050565b60008082905080612b47612488565b11612bcd57600054811015612bcc5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612bca575b60008103612bc0576004600083600190039350838152602001908152602001600020549050612b96565b8092505050612bff565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060076000612cd7612fa8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612d84612fa8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dc991906133bd565b60405180910390a35050565b612de0848484610e50565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612e4257612e0b8484848461308a565b612e41576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606060008203612e8f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fa3565b600082905060005b60008214612ec1578080612eaa906143de565b915050600a82612eba9190613f6c565b9150612e97565b60008167ffffffffffffffff811115612edd57612edc613689565b5b6040519080825280601f01601f191660200182016040528015612f0f5781602001600182028036833780820191505090505b5090505b60008514612f9c57600182612f289190613f9d565b9150600a85612f379190614970565b6030612f439190613e8d565b60f81b818381518110612f5957612f586143af565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f959190613f6c565b9450612f13565b8093505050505b919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86130388686846131da565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006001821460e11b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130b0612fa8565b8786866040518563ffffffff1660e01b81526004016130d294939291906149f6565b6020604051808303816000875af192505050801561310e57506040513d601f19601f8201168201806040525081019061310b9190614a57565b60015b613187573d806000811461313e576040519150601f19603f3d011682016040523d82523d6000602084013e613143565b606091505b50600081510361317f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b8280546131ef90613d9b565b90600052602060002090601f0160209004810192826132115760008555613258565b82601f1061322a57805160ff1916838001178555613258565b82800160010185558215613258579182015b8281111561325757825182559160200191906001019061323c565b5b5090506132659190613269565b5090565b5b8082111561328257600081600090555060010161326a565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132b182613286565b9050919050565b6132c1816132a6565b82525050565b6000819050919050565b6132da816132c7565b82525050565b60006040820190506132f560008301856132b8565b61330260208301846132d1565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133528161331d565b811461335d57600080fd5b50565b60008135905061336f81613349565b92915050565b60006020828403121561338b5761338a613313565b5b600061339984828501613360565b91505092915050565b60008115159050919050565b6133b7816133a2565b82525050565b60006020820190506133d260008301846133ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134125780820151818401526020810190506133f7565b83811115613421576000848401525b50505050565b6000601f19601f8301169050919050565b6000613443826133d8565b61344d81856133e3565b935061345d8185602086016133f4565b61346681613427565b840191505092915050565b6000602082019050818103600083015261348b8184613438565b905092915050565b61349c816132c7565b81146134a757600080fd5b50565b6000813590506134b981613493565b92915050565b6000602082840312156134d5576134d4613313565b5b60006134e3848285016134aa565b91505092915050565b600060208201905061350160008301846132b8565b92915050565b613510816132a6565b811461351b57600080fd5b50565b60008135905061352d81613507565b92915050565b6000806040838503121561354a57613549613313565b5b60006135588582860161351e565b9250506020613569858286016134aa565b9150509250929050565b600061ffff82169050919050565b61358a81613573565b82525050565b60006020820190506135a56000830184613581565b92915050565b60006020820190506135c060008301846132d1565b92915050565b60006135d182613286565b9050919050565b6135e1816135c6565b81146135ec57600080fd5b50565b6000813590506135fe816135d8565b92915050565b60006020828403121561361a57613619613313565b5b6000613628848285016135ef565b91505092915050565b60008060006060848603121561364a57613649613313565b5b60006136588682870161351e565b93505060206136698682870161351e565b925050604061367a868287016134aa565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136c182613427565b810181811067ffffffffffffffff821117156136e0576136df613689565b5b80604052505050565b60006136f3613309565b90506136ff82826136b8565b919050565b600067ffffffffffffffff82111561371f5761371e613689565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61374881613735565b811461375357600080fd5b50565b6000813590506137658161373f565b92915050565b600061377e61377984613704565b6136e9565b905080838252602082019050602084028301858111156137a1576137a0613730565b5b835b818110156137ca57806137b68882613756565b8452602084019350506020810190506137a3565b5050509392505050565b600082601f8301126137e9576137e8613684565b5b81356137f984826020860161376b565b91505092915050565b60008060006060848603121561381b5761381a613313565b5b600084013567ffffffffffffffff81111561383957613838613318565b5b613845868287016137d4565b935050602061385686828701613756565b9250506040613867868287016134aa565b9150509250925092565b61387a81613735565b82525050565b60006020820190506138956000830184613871565b92915050565b6000819050919050565b60006138c06138bb6138b684613286565b61389b565b613286565b9050919050565b60006138d2826138a5565b9050919050565b60006138e4826138c7565b9050919050565b6138f4816138d9565b82525050565b600060208201905061390f60008301846138eb565b92915050565b600080fd5b600067ffffffffffffffff82111561393557613934613689565b5b61393e82613427565b9050602081019050919050565b82818337600083830152505050565b600061396d6139688461391a565b6136e9565b90508281526020810184848401111561398957613988613915565b5b61399484828561394b565b509392505050565b600082601f8301126139b1576139b0613684565b5b81356139c184826020860161395a565b91505092915050565b6000602082840312156139e0576139df613313565b5b600082013567ffffffffffffffff8111156139fe576139fd613318565b5b613a0a8482850161399c565b91505092915050565b600060208284031215613a2957613a28613313565b5b6000613a378482850161351e565b91505092915050565b600060208284031215613a5657613a55613313565b5b6000613a6484828501613756565b91505092915050565b613a76816133a2565b8114613a8157600080fd5b50565b600081359050613a9381613a6d565b92915050565b60008060408385031215613ab057613aaf613313565b5b6000613abe8582860161351e565b9250506020613acf85828601613a84565b9150509250929050565b60008060408385031215613af057613aef613313565b5b6000613afe858286016134aa565b9250506020613b0f8582860161351e565b9150509250929050565b613b2281613573565b8114613b2d57600080fd5b50565b600081359050613b3f81613b19565b92915050565b60008060408385031215613b5c57613b5b613313565b5b6000613b6a8582860161351e565b9250506020613b7b85828601613b30565b9150509250929050565b600067ffffffffffffffff821115613ba057613b9f613689565b5b613ba982613427565b9050602081019050919050565b6000613bc9613bc484613b85565b6136e9565b905082815260208101848484011115613be557613be4613915565b5b613bf084828561394b565b509392505050565b600082601f830112613c0d57613c0c613684565b5b8135613c1d848260208601613bb6565b91505092915050565b60008060008060808587031215613c4057613c3f613313565b5b6000613c4e8782880161351e565b9450506020613c5f8782880161351e565b9350506040613c70878288016134aa565b925050606085013567ffffffffffffffff811115613c9157613c90613318565b5b613c9d87828801613bf8565b91505092959194509250565b60008060008060808587031215613cc357613cc2613313565b5b6000613cd1878288016134aa565b945050602085013567ffffffffffffffff811115613cf257613cf1613318565b5b613cfe878288016137d4565b9350506040613d0f87828801613756565b9250506060613d208782880161351e565b91505092959194509250565b60008060408385031215613d4357613d42613313565b5b6000613d518582860161351e565b9250506020613d628582860161351e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613db357607f821691505b602082108103613dc657613dc5613d6c565b5b50919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000613e286026836133e3565b9150613e3382613dcc565b604082019050919050565b60006020820190508181036000830152613e5781613e1b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613e98826132c7565b9150613ea3836132c7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ed857613ed7613e5e565b5b828201905092915050565b6000613eee826132c7565b9150613ef9836132c7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f3257613f31613e5e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f77826132c7565b9150613f82836132c7565b925082613f9257613f91613f3d565b5b828204905092915050565b6000613fa8826132c7565b9150613fb3836132c7565b925082821015613fc657613fc5613e5e565b5b828203905092915050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b600061402d602b836133e3565b915061403882613fd1565b604082019050919050565b6000602082019050818103600083015261405c81614020565b9050919050565b600061406e826138c7565b9050919050565b61407e81614063565b82525050565b60006040820190506140996000830185614075565b6140a660208301846132d1565b9392505050565b7f54686520707269636520697320696e76616c6964000000000000000000000000600082015250565b60006140e36014836133e3565b91506140ee826140ad565b602082019050919050565b60006020820190508181036000830152614112816140d6565b9050919050565b7f5468652073616c65206973207061757365640000000000000000000000000000600082015250565b600061414f6012836133e3565b915061415a82614119565b602082019050919050565b6000602082019050818103600083015261417e81614142565b9050919050565b600061419082613573565b915061419b83613573565b9250828210156141ae576141ad613e5e565b5b828203905092915050565b7f4d696e74206c696d697420726561636865640000000000000000000000000000600082015250565b60006141ef6012836133e3565b91506141fa826141b9565b602082019050919050565b6000602082019050818103600083015261421e816141e2565b9050919050565b7f596f7520617265206e6f7420696e20746865206c697374000000000000000000600082015250565b600061425b6017836133e3565b915061426682614225565b602082019050919050565b6000602082019050818103600083015261428a8161424e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142c76020836133e3565b91506142d282614291565b602082019050919050565b600060208201905081810360008301526142f6816142ba565b9050919050565b600081905092915050565b50565b60006143186000836142fd565b915061432382614308565b600082019050919050565b60006143398261430b565b9150819050919050565b7f4574686572207472616e73666572206661696c65640000000000000000000000600082015250565b60006143796015836133e3565b915061438482614343565b602082019050919050565b600060208201905081810360008301526143a88161436c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006143e9826132c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361441b5761441a613e5e565b5b600182019050919050565b7f546869732066756e6374696f6e2063616e2062652063616c6c6564206279207460008201527f68652043726f73736d696e742061646472657373206f6e6c792e000000000000602082015250565b6000614482603a836133e3565b915061448d82614426565b604082019050919050565b600060208201905081810360008301526144b181614475565b9050919050565b7f546865207075626c69632073616c652069732070617573656400000000000000600082015250565b60006144ee6019836133e3565b91506144f9826144b8565b602082019050919050565b6000602082019050818103600083015261451d816144e1565b9050919050565b600061452f82613573565b915061453a83613573565b92508261ffff0382111561455157614550613e5e565b5b828201905092915050565b7f4f7574206f662073746f636b0000000000000000000000000000000000000000600082015250565b6000614592600c836133e3565b915061459d8261455c565b602082019050919050565b600060208201905081810360008301526145c181614585565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b60006145fe601f836133e3565b9150614609826145c8565b602082019050919050565b6000602082019050818103600083015261462d816145f1565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461466181613d9b565b61466b8186614634565b945060018216600081146146865760018114614697576146ca565b60ff198316865281860193506146ca565b6146a08561463f565b60005b838110156146c2578154818901526001820191506020810190506146a3565b838801955050505b50505092915050565b60006146de826133d8565b6146e88185614634565b93506146f88185602086016133f4565b80840191505092915050565b60006147108285614654565b915061471c82846146d3565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147846026836133e3565b915061478f82614728565b604082019050919050565b600060208201905081810360008301526147b381614777565b9050919050565b60006040820190506147cf60008301856132b8565b6147dc60208301846132b8565b9392505050565b6000815190506147f281613a6d565b92915050565b60006020828403121561480e5761480d613313565b5b600061481c848285016147e3565b91505092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061485b601d836133e3565b915061486682614825565b602082019050919050565b6000602082019050818103600083015261488a8161484e565b9050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006148ed603a836133e3565b91506148f882614891565b604082019050919050565b6000602082019050818103600083015261491c816148e0565b9050919050565b6000819050919050565b61493e61493982613735565b614923565b82525050565b6000614950828561492d565b602082019150614960828461492d565b6020820191508190509392505050565b600061497b826132c7565b9150614986836132c7565b92508261499657614995613f3d565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006149c8826149a1565b6149d281856149ac565b93506149e28185602086016133f4565b6149eb81613427565b840191505092915050565b6000608082019050614a0b60008301876132b8565b614a1860208301866132b8565b614a2560408301856132d1565b8181036060830152614a3781846149bd565b905095945050505050565b600081519050614a5181613349565b92915050565b600060208284031215614a6d57614a6c613313565b5b6000614a7b84828501614a42565b9150509291505056fea26469706673582212204681e66246aeb0c3dd02e1835fb22044b23bae70b70fc6b1c5ae08ad20b4191a64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c466f756e64657220436172640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b464f554e44455243415244000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102765760003560e01c8063715018a61161014f578063b723b34e116100c1578063d37c36f91161007a578063d37c36f914610904578063e222c7f91461092f578063e33b7de314610946578063e985e9c514610971578063f2fde38b146109ae578063fbf4ece6146109d7576102bd565b8063b723b34e1461080d578063b74e94cf14610829578063b88d4fde14610852578063c4fee1d61461086e578063c87b56dd1461088a578063ce7c2ac2146108c7576102bd565b80638da5cb5b116101135780638da5cb5b1461070f57806395d89b411461073a5780639852595c14610765578063a22cb465146107a2578063a2e91477146107cb578063b66a0e5d146107f6576102bd565b8063715018a6146106405780637cb647591461065757806380519b931461068057806381530b68146106a95780638b83209b146106d2576102bd565b80633a98ef39116101e857806355367ba9116101ac57806355367ba91461054457806355f804b31461055b5780635a8dc0d4146105845780635c474f9e1461059b5780636352211e146105c657806370a0823114610603576102bd565b80633a98ef39146104905780633ccfd60b146104bb5780633cdc5db2146104d257806341f43434146104fd57806342842e0e14610528576102bd565b80630d39fc811161023a5780630d39fc81146103ae57806318160ddd146103d9578063191655871461040457806323b872dd1461042d5780632b1c5053146104495780632eb4a7ab14610465576102bd565b806301ffc9a7146102c257806306fdde03146102ff578063081812fc1461032a578063095ea7b3146103675780630d0e96da14610383576102bd565b366102bd577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102a4610a02565b346040516102b39291906132e0565b60405180910390a1005b600080fd5b3480156102ce57600080fd5b506102e960048036038101906102e49190613375565b610a0a565b6040516102f691906133bd565b60405180910390f35b34801561030b57600080fd5b50610314610a9c565b6040516103219190613471565b60405180910390f35b34801561033657600080fd5b50610351600480360381019061034c91906134bf565b610b2e565b60405161035e91906134ec565b60405180910390f35b610381600480360381019061037c9190613533565b610bad565b005b34801561038f57600080fd5b50610398610bc6565b6040516103a59190613590565b60405180910390f35b3480156103ba57600080fd5b506103c3610bcc565b6040516103d091906135ab565b60405180910390f35b3480156103e557600080fd5b506103ee610bd2565b6040516103fb91906135ab565b60405180910390f35b34801561041057600080fd5b5061042b60048036038101906104269190613604565b610be9565b005b61044760048036038101906104429190613631565b610e50565b005b610463600480360381019061045e9190613802565b610e9f565b005b34801561047157600080fd5b5061047a611051565b6040516104879190613880565b60405180910390f35b34801561049c57600080fd5b506104a5611057565b6040516104b291906135ab565b60405180910390f35b3480156104c757600080fd5b506104d0611061565b005b3480156104de57600080fd5b506104e761118c565b6040516104f49190613590565b60405180910390f35b34801561050957600080fd5b506105126111a0565b60405161051f91906138fa565b60405180910390f35b610542600480360381019061053d9190613631565b6111b2565b005b34801561055057600080fd5b50610559611201565b005b34801561056757600080fd5b50610582600480360381019061057d91906139ca565b61129a565b005b34801561059057600080fd5b50610599611330565b005b3480156105a757600080fd5b506105b061141f565b6040516105bd91906133bd565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e891906134bf565b611432565b6040516105fa91906134ec565b60405180910390f35b34801561060f57600080fd5b5061062a60048036038101906106259190613a13565b611444565b60405161063791906135ab565b60405180910390f35b34801561064c57600080fd5b506106556114fc565b005b34801561066357600080fd5b5061067e60048036038101906106799190613a40565b611584565b005b34801561068c57600080fd5b506106a760048036038101906106a29190613a40565b61160a565b005b3480156106b557600080fd5b506106d060048036038101906106cb91906134bf565b611690565b005b3480156106de57600080fd5b506106f960048036038101906106f491906134bf565b611716565b60405161070691906134ec565b60405180910390f35b34801561071b57600080fd5b5061072461175e565b60405161073191906134ec565b60405180910390f35b34801561074657600080fd5b5061074f611788565b60405161075c9190613471565b60405180910390f35b34801561077157600080fd5b5061078c60048036038101906107879190613a13565b61181a565b60405161079991906135ab565b60405180910390f35b3480156107ae57600080fd5b506107c960048036038101906107c49190613a99565b611863565b005b3480156107d757600080fd5b506107e061187c565b6040516107ed91906133bd565b60405180910390f35b34801561080257600080fd5b5061080b61188f565b005b61082760048036038101906108229190613ad9565b611928565b005b34801561083557600080fd5b50610850600480360381019061084b9190613b45565b611b41565b005b61086c60048036038101906108679190613c26565b611c6f565b005b61088860048036038101906108839190613ca9565b611cc0565b005b34801561089657600080fd5b506108b160048036038101906108ac91906134bf565b611edb565b6040516108be9190613471565b60405180910390f35b3480156108d357600080fd5b506108ee60048036038101906108e99190613a13565b611f57565b6040516108fb91906135ab565b60405180910390f35b34801561091057600080fd5b50610919611fa0565b6040516109269190613880565b60405180910390f35b34801561093b57600080fd5b50610944611fa6565b005b34801561095257600080fd5b5061095b61204e565b60405161096891906135ab565b60405180910390f35b34801561097d57600080fd5b5061099860048036038101906109939190613d2c565b612058565b6040516109a591906133bd565b60405180910390f35b3480156109ba57600080fd5b506109d560048036038101906109d09190613a13565b6120ec565b005b3480156109e357600080fd5b506109ec6121e3565b6040516109f99190613590565b60405180910390f35b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a955750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610aab90613d9b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad790613d9b565b8015610b245780601f10610af957610100808354040283529160200191610b24565b820191906000526020600020905b815481529060010190602001808311610b0757829003601f168201915b5050505050905090565b6000610b39826121e8565b610b6f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610bb781612247565b610bc18383612344565b505050565b6101f481565b60135481565b6000610bdc612488565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6290613e3e565b60405180910390fd5b6000600a5447610c7b9190613e8d565b90506000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600954600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610d0d9190613ee3565b610d179190613f6c565b610d219190613f9d565b905060008103610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d90614043565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610db19190613e8d565b600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600a54610e029190613e8d565b600a81905550610e128382612491565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610e43929190614084565b60405180910390a1505050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e8e57610e8d33612247565b5b610e99848484612585565b50505050565b8080601354610eae9190613ee3565b3414610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee6906140f9565b60405180910390fd5b60011515601260009054906101000a900460ff16151514610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c90614165565b60405180910390fd5b60326101f4610f549190614185565b61ffff1681600e60009054906101000a900461ffff1661ffff16610f76610bd2565b610f809190613f9d565b610f8a9190613e8d565b1115610fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc290614205565b60405180910390fd5b838360001515601260019054906101000a900460ff1615150361103f57610fff600f5482846128a79092919063ffffffff16565b61103e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103590614271565b60405180910390fd5b5b611049338561295d565b505050505050565b600f5481565b6000600954905090565b611069610a02565b73ffffffffffffffffffffffffffffffffffffffff1661108761175e565b73ffffffffffffffffffffffffffffffffffffffff16146110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d4906142dd565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516111039061432e565b60006040518083038185875af1925050503d8060008114611140576040519150601f19603f3d011682016040523d82523d6000602084013e611145565b606091505b5050905080611189576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111809061438f565b60405180910390fd5b50565b600e60009054906101000a900461ffff1681565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111f0576111ef33612247565b5b6111fb848484612b18565b50505050565b611209610a02565b73ffffffffffffffffffffffffffffffffffffffff1661122761175e565b73ffffffffffffffffffffffffffffffffffffffff161461127d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611274906142dd565b60405180910390fd5b6000601260006101000a81548160ff021916908315150217905550565b6112a2610a02565b73ffffffffffffffffffffffffffffffffffffffff166112c061175e565b73ffffffffffffffffffffffffffffffffffffffff1614611316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130d906142dd565b60405180910390fd5b806011908051906020019061132c9291906131e3565b5050565b611338610a02565b73ffffffffffffffffffffffffffffffffffffffff1661135661175e565b73ffffffffffffffffffffffffffffffffffffffff16146113ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a3906142dd565b60405180910390fd5b60005b60148054905081101561141c576000601482815481106113d2576113d16143af565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061140881610be9565b508080611414906143de565b9150506113af565b50565b601260009054906101000a900460ff1681565b600061143d82612b38565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114ab576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611504610a02565b73ffffffffffffffffffffffffffffffffffffffff1661152261175e565b73ffffffffffffffffffffffffffffffffffffffff1614611578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156f906142dd565b60405180910390fd5b6115826000612c04565b565b61158c610a02565b73ffffffffffffffffffffffffffffffffffffffff166115aa61175e565b73ffffffffffffffffffffffffffffffffffffffff1614611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f7906142dd565b60405180910390fd5b80600f8190555050565b611612610a02565b73ffffffffffffffffffffffffffffffffffffffff1661163061175e565b73ffffffffffffffffffffffffffffffffffffffff1614611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d906142dd565b60405180910390fd5b8060108190555050565b611698610a02565b73ffffffffffffffffffffffffffffffffffffffff166116b661175e565b73ffffffffffffffffffffffffffffffffffffffff161461170c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611703906142dd565b60405180910390fd5b8060138190555050565b6000600d828154811061172c5761172b6143af565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461179790613d9b565b80601f01602080910402602001604051908101604052809291908181526020018280546117c390613d9b565b80156118105780601f106117e557610100808354040283529160200191611810565b820191906000526020600020905b8154815290600101906020018083116117f357829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b8161186d81612247565b6118778383612cca565b505050565b601260019054906101000a900460ff1681565b611897610a02565b73ffffffffffffffffffffffffffffffffffffffff166118b561175e565b73ffffffffffffffffffffffffffffffffffffffff161461190b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611902906142dd565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b81806013546119379190613ee3565b3414611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f906140f9565b60405180910390fd5b60011515601260009054906101000a900460ff161515146119ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c590614165565b60405180910390fd5b60326101f46119dd9190614185565b61ffff1681600e60009054906101000a900461ffff1661ffff166119ff610bd2565b611a099190613f9d565b611a139190613e8d565b1115611a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4b90614205565b60405180910390fd5b600073dab1a1854214684ace522439684a145e6250523390508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad290614498565b60405180910390fd5b60011515601260019054906101000a900460ff16151514611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2890614504565b60405180910390fd5b611b3b838561295d565b50505050565b611b49610a02565b73ffffffffffffffffffffffffffffffffffffffff16611b6761175e565b73ffffffffffffffffffffffffffffffffffffffff1614611bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb4906142dd565b60405180910390fd5b603261ffff1681600e60009054906101000a900461ffff16611bdf9190614524565b61ffff161115611c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1b906145a8565b60405180910390fd5b80600e60008282829054906101000a900461ffff16611c439190614524565b92506101000a81548161ffff021916908361ffff160217905550611c6b828261ffff1661295d565b5050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611cad57611cac33612247565b5b611cb985858585612dd5565b5050505050565b8380601354611ccf9190613ee3565b3414611d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d07906140f9565b60405180910390fd5b60011515601260009054906101000a900460ff16151514611d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5d90614165565b60405180910390fd5b60326101f4611d759190614185565b61ffff1681600e60009054906101000a900461ffff1661ffff16611d97610bd2565b611da19190613f9d565b611dab9190613e8d565b1115611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de390614205565b60405180910390fd5b600073dab1a1854214684ace522439684a145e6250523390508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6a90614498565b60405180910390fd5b611e8a60105485876128a79092919063ffffffff16565b611ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec090614271565b60405180910390fd5b611ed3838761295d565b505050505050565b6060611ee6826121e8565b611f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1c90614614565b60405180910390fd5b6011611f3083612e48565b604051602001611f41929190614704565b6040516020818303038152906040529050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60105481565b611fae610a02565b73ffffffffffffffffffffffffffffffffffffffff16611fcc61175e565b73ffffffffffffffffffffffffffffffffffffffff1614612022576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612019906142dd565b60405180910390fd5b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120f4610a02565b73ffffffffffffffffffffffffffffffffffffffff1661211261175e565b73ffffffffffffffffffffffffffffffffffffffff1614612168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215f906142dd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036121d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ce9061479a565b60405180910390fd5b6121e081612c04565b50565b603281565b6000816121f3612488565b11158015612202575060005482105b8015612240575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612341576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016122be9291906147ba565b602060405180830381865afa1580156122db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ff91906147f8565b61234057806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161233791906134ec565b60405180910390fd5b5b50565b600061234f82611432565b90508073ffffffffffffffffffffffffffffffffffffffff16612370612fa8565b73ffffffffffffffffffffffffffffffffffffffff16146123d35761239c81612397612fa8565b612058565b6123d2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b804710156124d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cb90614871565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516124fa9061432e565b60006040518083038185875af1925050503d8060008114612537576040519150601f19603f3d011682016040523d82523d6000602084013e61253c565b606091505b5050905080612580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257790614903565b60405180910390fd5b505050565b600061259082612b38565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146125f7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061260384612fb0565b915091506126198187612614612fa8565b612fd7565b6126655761262e86612629612fa8565b612058565b612664576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036126cb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126d8868686600161301b565b80156126e357600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506127b18561278d888887613021565b7c020000000000000000000000000000000000000000000000000000000017613049565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036128375760006001850190506000600460008381526020019081526020016000205403612835576000548114612834578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461289f8686866001613074565b505050505050565b60008082905060005b855181101561294f5760008682815181106128ce576128cd6143af565b5b6020026020010151905080831161290f5782816040516020016128f2929190614944565b60405160208183030381529060405280519060200120925061293b565b8083604051602001612922929190614944565b6040516020818303038152906040528051906020012092505b508080612947906143de565b9150506128b0565b508381149150509392505050565b6000805490506000820361299d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129aa600084838561301b565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612a2183612a126000866000613021565b612a1b8561307a565b17613049565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612ac257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612a87565b5060008203612afd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612b136000848385613074565b505050565b612b3383838360405180602001604052806000815250611c6f565b505050565b60008082905080612b47612488565b11612bcd57600054811015612bcc5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612bca575b60008103612bc0576004600083600190039350838152602001908152602001600020549050612b96565b8092505050612bff565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060076000612cd7612fa8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612d84612fa8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dc991906133bd565b60405180910390a35050565b612de0848484610e50565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612e4257612e0b8484848461308a565b612e41576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606060008203612e8f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fa3565b600082905060005b60008214612ec1578080612eaa906143de565b915050600a82612eba9190613f6c565b9150612e97565b60008167ffffffffffffffff811115612edd57612edc613689565b5b6040519080825280601f01601f191660200182016040528015612f0f5781602001600182028036833780820191505090505b5090505b60008514612f9c57600182612f289190613f9d565b9150600a85612f379190614970565b6030612f439190613e8d565b60f81b818381518110612f5957612f586143af565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f959190613f6c565b9450612f13565b8093505050505b919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86130388686846131da565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006001821460e11b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130b0612fa8565b8786866040518563ffffffff1660e01b81526004016130d294939291906149f6565b6020604051808303816000875af192505050801561310e57506040513d601f19601f8201168201806040525081019061310b9190614a57565b60015b613187573d806000811461313e576040519150601f19603f3d011682016040523d82523d6000602084013e613143565b606091505b50600081510361317f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b8280546131ef90613d9b565b90600052602060002090601f0160209004810192826132115760008555613258565b82601f1061322a57805160ff1916838001178555613258565b82800160010185558215613258579182015b8281111561325757825182559160200191906001019061323c565b5b5090506132659190613269565b5090565b5b8082111561328257600081600090555060010161326a565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132b182613286565b9050919050565b6132c1816132a6565b82525050565b6000819050919050565b6132da816132c7565b82525050565b60006040820190506132f560008301856132b8565b61330260208301846132d1565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133528161331d565b811461335d57600080fd5b50565b60008135905061336f81613349565b92915050565b60006020828403121561338b5761338a613313565b5b600061339984828501613360565b91505092915050565b60008115159050919050565b6133b7816133a2565b82525050565b60006020820190506133d260008301846133ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134125780820151818401526020810190506133f7565b83811115613421576000848401525b50505050565b6000601f19601f8301169050919050565b6000613443826133d8565b61344d81856133e3565b935061345d8185602086016133f4565b61346681613427565b840191505092915050565b6000602082019050818103600083015261348b8184613438565b905092915050565b61349c816132c7565b81146134a757600080fd5b50565b6000813590506134b981613493565b92915050565b6000602082840312156134d5576134d4613313565b5b60006134e3848285016134aa565b91505092915050565b600060208201905061350160008301846132b8565b92915050565b613510816132a6565b811461351b57600080fd5b50565b60008135905061352d81613507565b92915050565b6000806040838503121561354a57613549613313565b5b60006135588582860161351e565b9250506020613569858286016134aa565b9150509250929050565b600061ffff82169050919050565b61358a81613573565b82525050565b60006020820190506135a56000830184613581565b92915050565b60006020820190506135c060008301846132d1565b92915050565b60006135d182613286565b9050919050565b6135e1816135c6565b81146135ec57600080fd5b50565b6000813590506135fe816135d8565b92915050565b60006020828403121561361a57613619613313565b5b6000613628848285016135ef565b91505092915050565b60008060006060848603121561364a57613649613313565b5b60006136588682870161351e565b93505060206136698682870161351e565b925050604061367a868287016134aa565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136c182613427565b810181811067ffffffffffffffff821117156136e0576136df613689565b5b80604052505050565b60006136f3613309565b90506136ff82826136b8565b919050565b600067ffffffffffffffff82111561371f5761371e613689565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61374881613735565b811461375357600080fd5b50565b6000813590506137658161373f565b92915050565b600061377e61377984613704565b6136e9565b905080838252602082019050602084028301858111156137a1576137a0613730565b5b835b818110156137ca57806137b68882613756565b8452602084019350506020810190506137a3565b5050509392505050565b600082601f8301126137e9576137e8613684565b5b81356137f984826020860161376b565b91505092915050565b60008060006060848603121561381b5761381a613313565b5b600084013567ffffffffffffffff81111561383957613838613318565b5b613845868287016137d4565b935050602061385686828701613756565b9250506040613867868287016134aa565b9150509250925092565b61387a81613735565b82525050565b60006020820190506138956000830184613871565b92915050565b6000819050919050565b60006138c06138bb6138b684613286565b61389b565b613286565b9050919050565b60006138d2826138a5565b9050919050565b60006138e4826138c7565b9050919050565b6138f4816138d9565b82525050565b600060208201905061390f60008301846138eb565b92915050565b600080fd5b600067ffffffffffffffff82111561393557613934613689565b5b61393e82613427565b9050602081019050919050565b82818337600083830152505050565b600061396d6139688461391a565b6136e9565b90508281526020810184848401111561398957613988613915565b5b61399484828561394b565b509392505050565b600082601f8301126139b1576139b0613684565b5b81356139c184826020860161395a565b91505092915050565b6000602082840312156139e0576139df613313565b5b600082013567ffffffffffffffff8111156139fe576139fd613318565b5b613a0a8482850161399c565b91505092915050565b600060208284031215613a2957613a28613313565b5b6000613a378482850161351e565b91505092915050565b600060208284031215613a5657613a55613313565b5b6000613a6484828501613756565b91505092915050565b613a76816133a2565b8114613a8157600080fd5b50565b600081359050613a9381613a6d565b92915050565b60008060408385031215613ab057613aaf613313565b5b6000613abe8582860161351e565b9250506020613acf85828601613a84565b9150509250929050565b60008060408385031215613af057613aef613313565b5b6000613afe858286016134aa565b9250506020613b0f8582860161351e565b9150509250929050565b613b2281613573565b8114613b2d57600080fd5b50565b600081359050613b3f81613b19565b92915050565b60008060408385031215613b5c57613b5b613313565b5b6000613b6a8582860161351e565b9250506020613b7b85828601613b30565b9150509250929050565b600067ffffffffffffffff821115613ba057613b9f613689565b5b613ba982613427565b9050602081019050919050565b6000613bc9613bc484613b85565b6136e9565b905082815260208101848484011115613be557613be4613915565b5b613bf084828561394b565b509392505050565b600082601f830112613c0d57613c0c613684565b5b8135613c1d848260208601613bb6565b91505092915050565b60008060008060808587031215613c4057613c3f613313565b5b6000613c4e8782880161351e565b9450506020613c5f8782880161351e565b9350506040613c70878288016134aa565b925050606085013567ffffffffffffffff811115613c9157613c90613318565b5b613c9d87828801613bf8565b91505092959194509250565b60008060008060808587031215613cc357613cc2613313565b5b6000613cd1878288016134aa565b945050602085013567ffffffffffffffff811115613cf257613cf1613318565b5b613cfe878288016137d4565b9350506040613d0f87828801613756565b9250506060613d208782880161351e565b91505092959194509250565b60008060408385031215613d4357613d42613313565b5b6000613d518582860161351e565b9250506020613d628582860161351e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613db357607f821691505b602082108103613dc657613dc5613d6c565b5b50919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000613e286026836133e3565b9150613e3382613dcc565b604082019050919050565b60006020820190508181036000830152613e5781613e1b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613e98826132c7565b9150613ea3836132c7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ed857613ed7613e5e565b5b828201905092915050565b6000613eee826132c7565b9150613ef9836132c7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f3257613f31613e5e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f77826132c7565b9150613f82836132c7565b925082613f9257613f91613f3d565b5b828204905092915050565b6000613fa8826132c7565b9150613fb3836132c7565b925082821015613fc657613fc5613e5e565b5b828203905092915050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b600061402d602b836133e3565b915061403882613fd1565b604082019050919050565b6000602082019050818103600083015261405c81614020565b9050919050565b600061406e826138c7565b9050919050565b61407e81614063565b82525050565b60006040820190506140996000830185614075565b6140a660208301846132d1565b9392505050565b7f54686520707269636520697320696e76616c6964000000000000000000000000600082015250565b60006140e36014836133e3565b91506140ee826140ad565b602082019050919050565b60006020820190508181036000830152614112816140d6565b9050919050565b7f5468652073616c65206973207061757365640000000000000000000000000000600082015250565b600061414f6012836133e3565b915061415a82614119565b602082019050919050565b6000602082019050818103600083015261417e81614142565b9050919050565b600061419082613573565b915061419b83613573565b9250828210156141ae576141ad613e5e565b5b828203905092915050565b7f4d696e74206c696d697420726561636865640000000000000000000000000000600082015250565b60006141ef6012836133e3565b91506141fa826141b9565b602082019050919050565b6000602082019050818103600083015261421e816141e2565b9050919050565b7f596f7520617265206e6f7420696e20746865206c697374000000000000000000600082015250565b600061425b6017836133e3565b915061426682614225565b602082019050919050565b6000602082019050818103600083015261428a8161424e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142c76020836133e3565b91506142d282614291565b602082019050919050565b600060208201905081810360008301526142f6816142ba565b9050919050565b600081905092915050565b50565b60006143186000836142fd565b915061432382614308565b600082019050919050565b60006143398261430b565b9150819050919050565b7f4574686572207472616e73666572206661696c65640000000000000000000000600082015250565b60006143796015836133e3565b915061438482614343565b602082019050919050565b600060208201905081810360008301526143a88161436c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006143e9826132c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361441b5761441a613e5e565b5b600182019050919050565b7f546869732066756e6374696f6e2063616e2062652063616c6c6564206279207460008201527f68652043726f73736d696e742061646472657373206f6e6c792e000000000000602082015250565b6000614482603a836133e3565b915061448d82614426565b604082019050919050565b600060208201905081810360008301526144b181614475565b9050919050565b7f546865207075626c69632073616c652069732070617573656400000000000000600082015250565b60006144ee6019836133e3565b91506144f9826144b8565b602082019050919050565b6000602082019050818103600083015261451d816144e1565b9050919050565b600061452f82613573565b915061453a83613573565b92508261ffff0382111561455157614550613e5e565b5b828201905092915050565b7f4f7574206f662073746f636b0000000000000000000000000000000000000000600082015250565b6000614592600c836133e3565b915061459d8261455c565b602082019050919050565b600060208201905081810360008301526145c181614585565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b60006145fe601f836133e3565b9150614609826145c8565b602082019050919050565b6000602082019050818103600083015261462d816145f1565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461466181613d9b565b61466b8186614634565b945060018216600081146146865760018114614697576146ca565b60ff198316865281860193506146ca565b6146a08561463f565b60005b838110156146c2578154818901526001820191506020810190506146a3565b838801955050505b50505092915050565b60006146de826133d8565b6146e88185614634565b93506146f88185602086016133f4565b80840191505092915050565b60006147108285614654565b915061471c82846146d3565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147846026836133e3565b915061478f82614728565b604082019050919050565b600060208201905081810360008301526147b381614777565b9050919050565b60006040820190506147cf60008301856132b8565b6147dc60208301846132b8565b9392505050565b6000815190506147f281613a6d565b92915050565b60006020828403121561480e5761480d613313565b5b600061481c848285016147e3565b91505092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061485b601d836133e3565b915061486682614825565b602082019050919050565b6000602082019050818103600083015261488a8161484e565b9050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006148ed603a836133e3565b91506148f882614891565b604082019050919050565b6000602082019050818103600083015261491c816148e0565b9050919050565b6000819050919050565b61493e61493982613735565b614923565b82525050565b6000614950828561492d565b602082019150614960828461492d565b6020820191508190509392505050565b600061497b826132c7565b9150614986836132c7565b92508261499657614995613f3d565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006149c8826149a1565b6149d281856149ac565b93506149e28185602086016133f4565b6149eb81613427565b840191505092915050565b6000608082019050614a0b60008301876132b8565b614a1860208301866132b8565b614a2560408301856132d1565b8181036060830152614a3781846149bd565b905095945050505050565b600081519050614a5181613349565b92915050565b600060208284031215614a6d57614a6c613313565b5b6000614a7b84828501614a42565b9150509291505056fea26469706673582212204681e66246aeb0c3dd02e1835fb22044b23bae70b70fc6b1c5ae08ad20b4191a64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c466f756e64657220436172640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b464f554e44455243415244000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Founder Card
Arg [1] : symbol (string): FOUNDERCARD
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [3] : 466f756e64657220436172640000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 464f554e44455243415244000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 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.