Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 90 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 17592476 | 392 days ago | IN | 0 ETH | 0.00319537 | ||||
Set Approval For... | 16424048 | 556 days ago | IN | 0 ETH | 0.00096259 | ||||
Release | 16414079 | 558 days ago | IN | 0 ETH | 0.00109532 | ||||
Release | 16414060 | 558 days ago | IN | 0 ETH | 0.00478757 | ||||
Set Approval For... | 16412719 | 558 days ago | IN | 0 ETH | 0.00075642 | ||||
Safe Transfer Fr... | 16412700 | 558 days ago | IN | 0 ETH | 0.00118822 | ||||
Set Approval For... | 16412629 | 558 days ago | IN | 0 ETH | 0.00038545 | ||||
Set Approval For... | 16412545 | 558 days ago | IN | 0 ETH | 0.00067952 | ||||
Transfer From | 16412493 | 558 days ago | IN | 0 ETH | 0.001023 | ||||
Transfer Ownersh... | 16412410 | 558 days ago | IN | 0 ETH | 0.00052399 | ||||
Gift | 16412409 | 558 days ago | IN | 0 ETH | 0.00515008 | ||||
Set Max Gift Sup... | 16412409 | 558 days ago | IN | 0 ETH | 0.00065557 | ||||
Safe Transfer Fr... | 16411538 | 558 days ago | IN | 0 ETH | 0.00111341 | ||||
Public Sale Mint | 16411458 | 558 days ago | IN | 0.06 ETH | 0.00177663 | ||||
Public Sale Mint | 16410738 | 558 days ago | IN | 0.06 ETH | 0.00163888 | ||||
Public Sale Mint | 16410212 | 558 days ago | IN | 0.06 ETH | 0.0016958 | ||||
Set Approval For... | 16409817 | 558 days ago | IN | 0 ETH | 0.00071513 | ||||
Safe Transfer Fr... | 16409235 | 558 days ago | IN | 0 ETH | 0.00118337 | ||||
Set Approval For... | 16409151 | 558 days ago | IN | 0 ETH | 0.00077298 | ||||
Public Sale Mint | 16408467 | 558 days ago | IN | 0.06 ETH | 0.00248737 | ||||
Public Sale Mint | 16408204 | 558 days ago | IN | 0.06 ETH | 0.00292004 | ||||
Public Sale Mint | 16408099 | 558 days ago | IN | 0.06 ETH | 0.00165332 | ||||
Public Sale Mint | 16407565 | 558 days ago | IN | 0.06 ETH | 0.00178811 | ||||
Public Sale Mint | 16407304 | 558 days ago | IN | 0.06 ETH | 0.00192537 | ||||
Safe Transfer Fr... | 16407003 | 558 days ago | IN | 0 ETH | 0.00127303 |
Loading...
Loading
Contract Name:
BlueTrackerERC721A
Compiler Version
v0.8.4+commit.c7e474f2
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.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./ERC721A.sol"; /* ______ _ _____ _ | ___ \ | |_ _| | | | |_/ / |_ _ ___| |_ __ __ _ ___| | _____ _ __ | ___ \ | | | |/ _ \ | '__/ _` |/ __| |/ / _ \ '__| | |_/ / | |_| | __/ | | | (_| | (__| < __/ | \____/|_|\__,_|\___\_/_| \__,_|\___|_|\_\___|_| */ /// @title Bluetracker NFT contract. contract BlueTrackerERC721A is Ownable, ERC721A, PaymentSplitter { using Strings for uint; enum Step { Before, PublicSale, SoldOut } // Private string private _baseTokenUri; uint private teamLength; uint private maxPublic = 700; uint private maxGift = 77; uint private currentGift = 0; // Public uint public maxSupply = maxPublic + maxGift; Step public sellingStep; uint public publicSalePrice = 0.06 ether; uint public constant MAX_PER_WALLET_PUBLIC = 1; mapping(address => uint) public publicAddresses; //Constructor of the collection constructor(string memory baseTokenUri, address[] memory _team, uint[] memory _teamShares) ERC721A("Bluetracker - Access token", "BT") PaymentSplitter(_team, _teamShares) { _baseTokenUri = baseTokenUri; teamLength = _team.length; } /** * @notice Ensure that the transaction comes from a user and not a contract */ modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } /** * @notice Publicly mint a _quantity of NFT to the _account **/ function publicSaleMint() external payable callerIsUser { require(sellingStep == Step.PublicSale, "Public sale not activated or soldout"); require(msg.value == publicSalePrice, "Funds given do not match requested price"); require(publicAddresses[msg.sender] + 1 <= MAX_PER_WALLET_PUBLIC, "Max amount already reached for public"); require(totalSupply() + 1 - currentGift <= maxPublic, "Reached max supply"); publicAddresses[msg.sender] += 1; _safeMint(msg.sender, 1); if(totalSupply() - currentGift >= maxPublic) { sellingStep = Step.SoldOut; } } /** * @notice Gift a _quantity of NFT to the _account **/ function gift(address[] calldata _to, uint[] calldata _quantity, uint totalQuantity) external onlyOwner { require(sellingStep > Step.Before, "Gift can happen only during public or soldout space"); require(currentGift + totalQuantity <= maxGift, "Max supply for gift exceed"); uint receiverLength = _to.length; require(receiverLength == _quantity.length, "Different amount of parameters send between receiver and quantity"); for(uint i = 0; i < receiverLength; i++) { _safeMint(_to[i], _quantity[i]); } currentGift += totalQuantity; } /** * @notice Define the base revealed for the NFT */ function setbaseTokenUri(string memory baseTokenUri) external onlyOwner { _baseTokenUri = baseTokenUri; } /** * @notice Change the supply for the public * * @param newPublicSupply The new public supply */ function setMaxPublicSupply(uint newPublicSupply) external onlyOwner { maxPublic = newPublicSupply; maxSupply = maxPublic + maxGift; } /** * @notice Change the supply for the gifts * * @param newGiftSupply The new gift supply */ function setMaxGiftSupply(uint newGiftSupply) external onlyOwner { maxGift = newGiftSupply; maxSupply = maxPublic + maxGift; } /** * @notice Change the public price * * @param newPriceValue The new public price */ function setPublicPrice(uint newPriceValue) external onlyOwner { publicSalePrice = newPriceValue; } /** * @notice Change the current step to the new _step * * @param newStep The new step for the contract */ function setStep(uint newStep) external onlyOwner { sellingStep = Step(newStep); } /** * @notice Allows to get the complete URI of a specific NFT by his ID * * @param _nftId The id of the NFT * * @return The token URI of the NFT which has _nftId Id **/ function tokenURI(uint _nftId) public view virtual override returns (string memory) { require(_exists(_nftId), "This NFT doesn't exist."); return _baseTokenUri; } /** * @notice Pay everyone in the team */ function releaseAll() external onlyOwner { for(uint i = 0 ; i < teamLength ; i++) { release(payable(payee(i))); } } receive() override external payable { revert('Only if you mint'); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary 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 { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @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. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is 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 { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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 { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; import "../token/ERC20/utils/SafeERC20.sol"; import "../utils/Address.sol"; import "../utils/Context.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. The distribution of shares is set at the * time of contract deployment and can't be updated thereafter. * * `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. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, 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; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @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 total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @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 amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(IERC20 token, address account) public view returns (uint256) { uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); return _pendingPayment(account, totalReceived, released(token, account)); } /** * @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 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(token, account); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @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 // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseTokenUri","type":"string"},{"internalType":"address[]","name":"_team","type":"address[]"},{"internalType":"uint256[]","name":"_teamShares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","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":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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":"MAX_PER_WALLET_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_quantity","type":"uint256[]"},{"internalType":"uint256","name":"totalQuantity","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellingStep","outputs":[{"internalType":"enum BlueTrackerERC721A.Step","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newGiftSupply","type":"uint256"}],"name":"setMaxGiftSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPublicSupply","type":"uint256"}],"name":"setMaxPublicSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPriceValue","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStep","type":"uint256"}],"name":"setStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenUri","type":"string"}],"name":"setbaseTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526102bc601255604d601355600060145560135460125462000026919062000b7b565b60155566d529ae9e8600006017553480156200004157600080fd5b5060405162005c3638038062005c36833981810160405281019062000067919062000850565b81816040518060400160405280601a81526020017f426c7565747261636b6572202d2041636365737320746f6b656e0000000000008152506040518060400160405280600281526020017f4254000000000000000000000000000000000000000000000000000000000000815250620000f5620000e9620002b160201b60201c565b620002b960201b60201c565b81600390805190602001906200010d929190620005bc565b50806004908051906020019062000126929190620005bc565b50620001376200037d60201b60201c565b6001819055505050805182511462000186576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200017d9062000a25565b60405180910390fd5b6000825111620001cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001c49062000a69565b60405180910390fd5b60005b825181101562000284576200026e83828151811062000218577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518383815181106200025a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516200038260201b60201c565b80806200027b9062000cb8565b915050620001d0565b50505082601090805190602001906200029f929190620005bc565b50815160118190555050505062000f17565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003ec9062000a03565b60405180910390fd5b600081116200043b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004329062000a8b565b60405180910390fd5b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620004c0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004b79062000a47565b60405180910390fd5b600d829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060095462000577919062000b7b565b6009819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620005b0929190620009d6565b60405180910390a15050565b828054620005ca9062000c4c565b90600052602060002090601f016020900481019282620005ee57600085556200063a565b82601f106200060957805160ff19168380011785556200063a565b828001600101855582156200063a579182015b82811115620006395782518255916020019190600101906200061c565b5b5090506200064991906200064d565b5090565b5b80821115620006685760008160009055506001016200064e565b5090565b6000620006836200067d8462000ad6565b62000aad565b90508083825260208201905082856020860282011115620006a357600080fd5b60005b85811015620006d75781620006bc88826200079b565b845260208401935060208301925050600181019050620006a6565b5050509392505050565b6000620006f8620006f28462000b05565b62000aad565b905080838252602082019050828560208602820111156200071857600080fd5b60005b858110156200074c578162000731888262000839565b8452602084019350602083019250506001810190506200071b565b5050509392505050565b60006200076d620007678462000b34565b62000aad565b9050828152602081018484840111156200078657600080fd5b6200079384828562000c16565b509392505050565b600081519050620007ac8162000ee3565b92915050565b600082601f830112620007c457600080fd5b8151620007d68482602086016200066c565b91505092915050565b600082601f830112620007f157600080fd5b815162000803848260208601620006e1565b91505092915050565b600082601f8301126200081e57600080fd5b81516200083084826020860162000756565b91505092915050565b6000815190506200084a8162000efd565b92915050565b6000806000606084860312156200086657600080fd5b600084015167ffffffffffffffff8111156200088157600080fd5b6200088f868287016200080c565b935050602084015167ffffffffffffffff811115620008ad57600080fd5b620008bb86828701620007b2565b925050604084015167ffffffffffffffff811115620008d957600080fd5b620008e786828701620007df565b9150509250925092565b620008fc8162000bd8565b82525050565b600062000911602c8362000b6a565b91506200091e8262000da4565b604082019050919050565b60006200093860328362000b6a565b9150620009458262000df3565b604082019050919050565b60006200095f602b8362000b6a565b91506200096c8262000e42565b604082019050919050565b600062000986601a8362000b6a565b9150620009938262000e91565b602082019050919050565b6000620009ad601d8362000b6a565b9150620009ba8262000eba565b602082019050919050565b620009d08162000c0c565b82525050565b6000604082019050620009ed6000830185620008f1565b620009fc6020830184620009c5565b9392505050565b6000602082019050818103600083015262000a1e8162000902565b9050919050565b6000602082019050818103600083015262000a408162000929565b9050919050565b6000602082019050818103600083015262000a628162000950565b9050919050565b6000602082019050818103600083015262000a848162000977565b9050919050565b6000602082019050818103600083015262000aa6816200099e565b9050919050565b600062000ab962000acc565b905062000ac7828262000c82565b919050565b6000604051905090565b600067ffffffffffffffff82111562000af45762000af362000d64565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000b235762000b2262000d64565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000b525762000b5162000d64565b5b62000b5d8262000d93565b9050602081019050919050565b600082825260208201905092915050565b600062000b888262000c0c565b915062000b958362000c0c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000bcd5762000bcc62000d06565b5b828201905092915050565b600062000be58262000bec565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000c3657808201518184015260208101905062000c19565b8381111562000c46576000848401525b50505050565b6000600282049050600182168062000c6557607f821691505b6020821081141562000c7c5762000c7b62000d35565b5b50919050565b62000c8d8262000d93565b810181811067ffffffffffffffff8211171562000caf5762000cae62000d64565b5b80604052505050565b600062000cc58262000c0c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000cfb5762000cfa62000d06565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000eee8162000bd8565b811462000efa57600080fd5b50565b62000f088162000c0c565b811462000f1457600080fd5b50565b614d0f8062000f276000396000f3fe60806040526004361061024a5760003560e01c80638b83209b11610139578063c87b56dd116100b6578063d79779b21161007a578063d79779b2146108e9578063e33b7de314610926578063e5bcf06314610951578063e985e9c51461097a578063f2fde38b146109b7578063f8dcbddb146109e05761028a565b8063c87b56dd1461080f578063cbccefb21461084c578063ce7c2ac214610877578063d2eb86ee146108b4578063d5abeb01146108be5761028a565b8063a22cb465116100fd578063a22cb4651461071a578063a3f8eace14610743578063b88d4fde14610780578063c45ac050146107a9578063c6275255146107e65761028a565b80638b83209b1461061f5780638da5cb5b1461065c57806395d89b41146106875780639852595c146106b25780639b6860c8146106ef5761028a565b8063406072a9116101c757806364affb401161018b57806364affb401461053a57806370a0823114610565578063715018a6146105a257806380090c04146105b9578063882ae248146105f65761028a565b8063406072a91461045757806342842e0e1461049457806348b75044146104bd5780635be7fde8146104e65780636352211e146104fd5761028a565b8063095ea7b31161020e578063095ea7b31461038657806318160ddd146103af57806319165587146103da57806323b872dd146104035780633a98ef391461042c5761028a565b806301ffc9a71461028f57806306fdde03146102cc578063081812fc146102f7578063087b5c36146103345780630943d0741461035d5761028a565b3661028a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102819061424e565b60405180910390fd5b600080fd5b34801561029b57600080fd5b506102b660048036038101906102b191906139fd565b610a09565b6040516102c39190613fd6565b60405180910390f35b3480156102d857600080fd5b506102e1610aeb565b6040516102ee919061400c565b60405180910390f35b34801561030357600080fd5b5061031e60048036038101906103199190613af5565b610b7d565b60405161032b9190613f1d565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613af5565b610bf9565b005b34801561036957600080fd5b50610384600480360381019061037f9190613ab4565b610c21565b005b34801561039257600080fd5b506103ad60048036038101906103a8919061390f565b610c43565b005b3480156103bb57600080fd5b506103c4610d4e565b6040516103d1919061428e565b60405180910390f35b3480156103e657600080fd5b5061040160048036038101906103fc91906137a4565b610d65565b005b34801561040f57600080fd5b5061042a60048036038101906104259190613809565b610eee565b005b34801561043857600080fd5b50610441610efe565b60405161044e919061428e565b60405180910390f35b34801561046357600080fd5b5061047e60048036038101906104799190613a78565b610f08565b60405161048b919061428e565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b69190613809565b610f8f565b005b3480156104c957600080fd5b506104e460048036038101906104df9190613a78565b610faf565b005b3480156104f257600080fd5b506104fb6111cc565b005b34801561050957600080fd5b50610524600480360381019061051f9190613af5565b611208565b6040516105319190613f1d565b60405180910390f35b34801561054657600080fd5b5061054f61121e565b60405161055c919061428e565b60405180910390f35b34801561057157600080fd5b5061058c6004803603810190610587919061377b565b611223565b604051610599919061428e565b60405180910390f35b3480156105ae57600080fd5b506105b76112f3565b005b3480156105c557600080fd5b506105e060048036038101906105db919061377b565b611307565b6040516105ed919061428e565b60405180910390f35b34801561060257600080fd5b5061061d6004803603810190610618919061394b565b61131f565b005b34801561062b57600080fd5b5061064660048036038101906106419190613af5565b61155e565b6040516106539190613f1d565b60405180910390f35b34801561066857600080fd5b506106716115cc565b60405161067e9190613f1d565b60405180910390f35b34801561069357600080fd5b5061069c6115f5565b6040516106a9919061400c565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d4919061377b565b611687565b6040516106e6919061428e565b60405180910390f35b3480156106fb57600080fd5b506107046116d0565b604051610711919061428e565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c91906138d3565b6116d6565b005b34801561074f57600080fd5b5061076a6004803603810190610765919061377b565b61184e565b604051610777919061428e565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190613858565b611881565b005b3480156107b557600080fd5b506107d060048036038101906107cb9190613a78565b6118fd565b6040516107dd919061428e565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190613af5565b6119bb565b005b34801561081b57600080fd5b5061083660048036038101906108319190613af5565b6119cd565b604051610843919061400c565b60405180910390f35b34801561085857600080fd5b50610861611aa9565b60405161086e9190613ff1565b60405180910390f35b34801561088357600080fd5b5061089e6004803603810190610899919061377b565b611abc565b6040516108ab919061428e565b60405180910390f35b6108bc611b05565b005b3480156108ca57600080fd5b506108d3611e3f565b6040516108e0919061428e565b60405180910390f35b3480156108f557600080fd5b50610910600480360381019061090b9190613a4f565b611e45565b60405161091d919061428e565b60405180910390f35b34801561093257600080fd5b5061093b611e8e565b604051610948919061428e565b60405180910390f35b34801561095d57600080fd5b5061097860048036038101906109739190613af5565b611e98565b005b34801561098657600080fd5b506109a1600480360381019061099c91906137cd565b611ec0565b6040516109ae9190613fd6565b60405180910390f35b3480156109c357600080fd5b506109de60048036038101906109d9919061377b565b611f54565b005b3480156109ec57600080fd5b50610a076004803603810190610a029190613af5565b611fd8565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ad457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ae45750610ae38261206b565b5b9050919050565b606060038054610afa906145bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610b26906145bd565b8015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b5050505050905090565b6000610b88826120d5565b610bbe576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610c01612123565b80601381905550601354601254610c189190614373565b60158190555050565b610c29612123565b8060109080519060200190610c3f929190613474565b5050565b6000610c4e82611208565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cb6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cd56121a1565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d075750610d0581610d006121a1565b611ec0565b155b15610d3e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d498383836121a9565b505050565b6000610d5861225b565b6002546001540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde906140ae565b60405180910390fd5b6000610df28261184e565b90506000811415610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f9061414e565b60405180910390fd5b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e879190614373565b9250508190555080600a6000828254610ea09190614373565b92505081905550610eb18282612260565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568282604051610ee2929190613f38565b60405180910390a15050565b610ef9838383612354565b505050565b6000600954905090565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610faa83838360405180602001604052806000815250611881565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611031576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611028906140ae565b60405180910390fd5b600061103d83836118fd565b90506000811415611083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107a9061414e565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461110f9190614373565b9250508190555080600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111659190614373565b92505081905550611177838383612845565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a83836040516111bf929190613fad565b60405180910390a2505050565b6111d4612123565b60005b601154811015611205576111f26111ed8261155e565b610d65565b80806111fd90614620565b9150506111d7565b50565b6000611213826128cb565b600001519050919050565b600181565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561128b576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6112fb612123565b6113056000612b5a565b565b60186020528060005260406000206000915090505481565b611327612123565b60006002811115611361577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660009054906101000a900460ff1660028111156113a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b116113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e09061418e565b60405180910390fd5b601354816014546113fa9190614373565b111561143b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611432906141ee565b60405180910390fd5b6000858590509050838390508114611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f9061404e565b60405180910390fd5b60005b8181101561153c576115298787838181106114cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906114e4919061377b565b86868481811061151d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135612c1e565b808061153490614620565b91505061148b565b50816014600082825461154f9190614373565b92505081905550505050505050565b6000600d828154811061159a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611604906145bd565b80601f0160208091040260200160405190810160405280929190818152602001828054611630906145bd565b801561167d5780601f106116525761010080835404028352916020019161167d565b820191906000526020600020905b81548152906001019060200180831161166057829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60175481565b6116de6121a1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611743576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006117506121a1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117fd6121a1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118429190613fd6565b60405180910390a35050565b600080611859611e8e565b476118649190614373565b9050611879838261187486611687565b612c3c565b915050919050565b61188c848484612354565b6118ab8373ffffffffffffffffffffffffffffffffffffffff16612caa565b80156118c057506118be84848484612ccd565b155b156118f7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60008061190984611e45565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016119429190613f1d565b60206040518083038186803b15801561195a57600080fd5b505afa15801561196e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119929190613b1e565b61199c9190614373565b90506119b283826119ad8787610f08565b612c3c565b91505092915050565b6119c3612123565b8060178190555050565b60606119d8826120d5565b611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e9061408e565b60405180910390fd5b60108054611a24906145bd565b80601f0160208091040260200160405190810160405280929190818152602001828054611a50906145bd565b8015611a9d5780601f10611a7257610100808354040283529160200191611a9d565b820191906000526020600020905b815481529060010190602001808311611a8057829003601f168201915b50505050509050919050565b601660009054906101000a900460ff1681565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a9061416e565b60405180910390fd5b60016002811115611bad577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660009054906101000a900460ff166002811115611bf5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2c906141ce565b60405180910390fd5b6017543414611c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c709061420e565b60405180910390fd5b600180601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611cc69190614373565b1115611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe9061402e565b60405180910390fd5b6012546014546001611d17610d4e565b611d219190614373565b611d2b9190614454565b1115611d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d63906140ce565b60405180910390fd5b6001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dbc9190614373565b92505081905550611dce336001612c1e565b601254601454611ddc610d4e565b611de69190614454565b10611e3d576002601660006101000a81548160ff02191690836002811115611e37577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b565b60155481565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b611ea0612123565b80601281905550601354601254611eb79190614373565b60158190555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f5c612123565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc39061406e565b60405180910390fd5b611fd581612b5a565b50565b611fe0612123565b806002811115612019577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660006101000a81548160ff02191690836002811115612063577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816120e061225b565b111580156120ef575060015482105b801561211c575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b61212b6121a1565b73ffffffffffffffffffffffffffffffffffffffff166121496115cc565b73ffffffffffffffffffffffffffffffffffffffff161461219f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612196906141ae565b60405180910390fd5b565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b804710156122a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229a9061410e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516122c990613f08565b60006040518083038185875af1925050503d8060008114612306576040519150601f19603f3d011682016040523d82523d6000602084013e61230b565b606091505b505090508061234f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612346906140ee565b60405180910390fd5b505050565b600061235f826128cb565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166123866121a1565b73ffffffffffffffffffffffffffffffffffffffff1614806123b957506123b882600001516123b36121a1565b611ec0565b5b806123fe57506123c76121a1565b73ffffffffffffffffffffffffffffffffffffffff166123e684610b7d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612437576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146124a0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612507576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125148585856001612e2d565b61252460008484600001516121a9565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156127d5576001548110156127d45782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461283e8585856001612e33565b5050505050565b6128c68363a9059cbb60e01b8484604051602401612864929190613fad565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612e39565b505050565b6128d36134fa565b6000829050806128e161225b565b111580156128f0575060015481105b15612b23576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612b2157600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a05578092505050612b55565b5b600115612b2057818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b1b578092505050612b55565b612a06565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c38828260405180602001604052806000815250612f00565b5050565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612c8d91906143fa565b612c9791906143c9565b612ca19190614454565b90509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cf36121a1565b8786866040518563ffffffff1660e01b8152600401612d159493929190613f61565b602060405180830381600087803b158015612d2f57600080fd5b505af1925050508015612d6057506040513d601f19601f82011682018060405250810190612d5d9190613a26565b60015b612dda573d8060008114612d90576040519150601f19603f3d011682016040523d82523d6000602084013e612d95565b606091505b50600081511415612dd2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b50505050565b6000612e9b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612f129092919063ffffffff16565b9050600081511115612efb5780806020019051810190612ebb91906139d4565b612efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef19061426e565b60405180910390fd5b5b505050565b612f0d8383836001612f2a565b505050565b6060612f2184846000856132f9565b90509392505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612f98576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612fd3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fe06000868387612e2d565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156131aa57506131a98773ffffffffffffffffffffffffffffffffffffffff16612caa565b5b15613270575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461321f6000888480600101955088612ccd565b613255576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156131b057826001541461326b57600080fd5b6132dc565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613271575b8160018190555050506132f26000868387612e33565b5050505050565b60608247101561333e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133359061412e565b60405180910390fd5b61334785612caa565b613386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337d9061422e565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516133af9190613ef1565b60006040518083038185875af1925050503d80600081146133ec576040519150601f19603f3d011682016040523d82523d6000602084013e6133f1565b606091505b509150915061340182828661340d565b92505050949350505050565b6060831561341d5782905061346d565b6000835111156134305782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613464919061400c565b60405180910390fd5b9392505050565b828054613480906145bd565b90600052602060002090601f0160209004810192826134a257600085556134e9565b82601f106134bb57805160ff19168380011785556134e9565b828001600101855582156134e9579182015b828111156134e85782518255916020019190600101906134cd565b5b5090506134f6919061353d565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561355657600081600090555060010161353e565b5090565b600061356d613568846142ce565b6142a9565b90508281526020810184848401111561358557600080fd5b61359084828561457b565b509392505050565b60006135ab6135a6846142ff565b6142a9565b9050828152602081018484840111156135c357600080fd5b6135ce84828561457b565b509392505050565b6000813590506135e581614c4f565b92915050565b6000813590506135fa81614c66565b92915050565b60008083601f84011261361257600080fd5b8235905067ffffffffffffffff81111561362b57600080fd5b60208301915083602082028301111561364357600080fd5b9250929050565b60008083601f84011261365c57600080fd5b8235905067ffffffffffffffff81111561367557600080fd5b60208301915083602082028301111561368d57600080fd5b9250929050565b6000813590506136a381614c7d565b92915050565b6000815190506136b881614c7d565b92915050565b6000813590506136cd81614c94565b92915050565b6000815190506136e281614c94565b92915050565b600082601f8301126136f957600080fd5b813561370984826020860161355a565b91505092915050565b60008135905061372181614cab565b92915050565b600082601f83011261373857600080fd5b8135613748848260208601613598565b91505092915050565b60008135905061376081614cc2565b92915050565b60008151905061377581614cc2565b92915050565b60006020828403121561378d57600080fd5b600061379b848285016135d6565b91505092915050565b6000602082840312156137b657600080fd5b60006137c4848285016135eb565b91505092915050565b600080604083850312156137e057600080fd5b60006137ee858286016135d6565b92505060206137ff858286016135d6565b9150509250929050565b60008060006060848603121561381e57600080fd5b600061382c868287016135d6565b935050602061383d868287016135d6565b925050604061384e86828701613751565b9150509250925092565b6000806000806080858703121561386e57600080fd5b600061387c878288016135d6565b945050602061388d878288016135d6565b935050604061389e87828801613751565b925050606085013567ffffffffffffffff8111156138bb57600080fd5b6138c7878288016136e8565b91505092959194509250565b600080604083850312156138e657600080fd5b60006138f4858286016135d6565b925050602061390585828601613694565b9150509250929050565b6000806040838503121561392257600080fd5b6000613930858286016135d6565b925050602061394185828601613751565b9150509250929050565b60008060008060006060868803121561396357600080fd5b600086013567ffffffffffffffff81111561397d57600080fd5b61398988828901613600565b9550955050602086013567ffffffffffffffff8111156139a857600080fd5b6139b48882890161364a565b935093505060406139c788828901613751565b9150509295509295909350565b6000602082840312156139e657600080fd5b60006139f4848285016136a9565b91505092915050565b600060208284031215613a0f57600080fd5b6000613a1d848285016136be565b91505092915050565b600060208284031215613a3857600080fd5b6000613a46848285016136d3565b91505092915050565b600060208284031215613a6157600080fd5b6000613a6f84828501613712565b91505092915050565b60008060408385031215613a8b57600080fd5b6000613a9985828601613712565b9250506020613aaa858286016135d6565b9150509250929050565b600060208284031215613ac657600080fd5b600082013567ffffffffffffffff811115613ae057600080fd5b613aec84828501613727565b91505092915050565b600060208284031215613b0757600080fd5b6000613b1584828501613751565b91505092915050565b600060208284031215613b3057600080fd5b6000613b3e84828501613766565b91505092915050565b613b5081614533565b82525050565b613b5f81614488565b82525050565b613b6e816144ac565b82525050565b6000613b7f82614330565b613b898185614346565b9350613b9981856020860161458a565b613ba281614754565b840191505092915050565b6000613bb882614330565b613bc28185614357565b9350613bd281856020860161458a565b80840191505092915050565b613be781614545565b82525050565b6000613bf88261433b565b613c028185614362565b9350613c1281856020860161458a565b613c1b81614754565b840191505092915050565b6000613c33602583614362565b9150613c3e82614765565b604082019050919050565b6000613c56604183614362565b9150613c61826147b4565b606082019050919050565b6000613c79602683614362565b9150613c8482614829565b604082019050919050565b6000613c9c601783614362565b9150613ca782614878565b602082019050919050565b6000613cbf602683614362565b9150613cca826148a1565b604082019050919050565b6000613ce2601283614362565b9150613ced826148f0565b602082019050919050565b6000613d05603a83614362565b9150613d1082614919565b604082019050919050565b6000613d28601d83614362565b9150613d3382614968565b602082019050919050565b6000613d4b602683614362565b9150613d5682614991565b604082019050919050565b6000613d6e602b83614362565b9150613d79826149e0565b604082019050919050565b6000613d91601e83614362565b9150613d9c82614a2f565b602082019050919050565b6000613db4603383614362565b9150613dbf82614a58565b604082019050919050565b6000613dd7602083614362565b9150613de282614aa7565b602082019050919050565b6000613dfa602483614362565b9150613e0582614ad0565b604082019050919050565b6000613e1d601a83614362565b9150613e2882614b1f565b602082019050919050565b6000613e40602883614362565b9150613e4b82614b48565b604082019050919050565b6000613e63600083614357565b9150613e6e82614b97565b600082019050919050565b6000613e86601d83614362565b9150613e9182614b9a565b602082019050919050565b6000613ea9601083614362565b9150613eb482614bc3565b602082019050919050565b6000613ecc602a83614362565b9150613ed782614bec565b604082019050919050565b613eeb81614529565b82525050565b6000613efd8284613bad565b915081905092915050565b6000613f1382613e56565b9150819050919050565b6000602082019050613f326000830184613b56565b92915050565b6000604082019050613f4d6000830185613b47565b613f5a6020830184613ee2565b9392505050565b6000608082019050613f766000830187613b56565b613f836020830186613b56565b613f906040830185613ee2565b8181036060830152613fa28184613b74565b905095945050505050565b6000604082019050613fc26000830185613b56565b613fcf6020830184613ee2565b9392505050565b6000602082019050613feb6000830184613b65565b92915050565b60006020820190506140066000830184613bde565b92915050565b600060208201905081810360008301526140268184613bed565b905092915050565b6000602082019050818103600083015261404781613c26565b9050919050565b6000602082019050818103600083015261406781613c49565b9050919050565b6000602082019050818103600083015261408781613c6c565b9050919050565b600060208201905081810360008301526140a781613c8f565b9050919050565b600060208201905081810360008301526140c781613cb2565b9050919050565b600060208201905081810360008301526140e781613cd5565b9050919050565b6000602082019050818103600083015261410781613cf8565b9050919050565b6000602082019050818103600083015261412781613d1b565b9050919050565b6000602082019050818103600083015261414781613d3e565b9050919050565b6000602082019050818103600083015261416781613d61565b9050919050565b6000602082019050818103600083015261418781613d84565b9050919050565b600060208201905081810360008301526141a781613da7565b9050919050565b600060208201905081810360008301526141c781613dca565b9050919050565b600060208201905081810360008301526141e781613ded565b9050919050565b6000602082019050818103600083015261420781613e10565b9050919050565b6000602082019050818103600083015261422781613e33565b9050919050565b6000602082019050818103600083015261424781613e79565b9050919050565b6000602082019050818103600083015261426781613e9c565b9050919050565b6000602082019050818103600083015261428781613ebf565b9050919050565b60006020820190506142a36000830184613ee2565b92915050565b60006142b36142c4565b90506142bf82826145ef565b919050565b6000604051905090565b600067ffffffffffffffff8211156142e9576142e8614725565b5b6142f282614754565b9050602081019050919050565b600067ffffffffffffffff82111561431a57614319614725565b5b61432382614754565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061437e82614529565b915061438983614529565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143be576143bd614669565b5b828201905092915050565b60006143d482614529565b91506143df83614529565b9250826143ef576143ee614698565b5b828204905092915050565b600061440582614529565b915061441083614529565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561444957614448614669565b5b828202905092915050565b600061445f82614529565b915061446a83614529565b92508282101561447d5761447c614669565b5b828203905092915050565b600061449382614509565b9050919050565b60006144a582614509565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006144ef82614488565b9050919050565b600081905061450482614c3b565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061453e82614557565b9050919050565b6000614550826144f6565b9050919050565b600061456282614569565b9050919050565b600061457482614509565b9050919050565b82818337600083830152505050565b60005b838110156145a857808201518184015260208101905061458d565b838111156145b7576000848401525b50505050565b600060028204905060018216806145d557607f821691505b602082108114156145e9576145e86146f6565b5b50919050565b6145f882614754565b810181811067ffffffffffffffff8211171561461757614616614725565b5b80604052505050565b600061462b82614529565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561465e5761465d614669565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d617820616d6f756e7420616c7265616479207265616368656420666f72207060008201527f75626c6963000000000000000000000000000000000000000000000000000000602082015250565b7f446966666572656e7420616d6f756e74206f6620706172616d6574657273207360008201527f656e64206265747765656e20726563656976657220616e64207175616e74697460208201527f7900000000000000000000000000000000000000000000000000000000000000604082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f54686973204e465420646f65736e27742065786973742e000000000000000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f52656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f476966742063616e2068617070656e206f6e6c7920647572696e67207075626c60008201527f6963206f7220736f6c646f757420737061636500000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5075626c69632073616c65206e6f7420616374697661746564206f7220736f6c60008201527f646f757400000000000000000000000000000000000000000000000000000000602082015250565b7f4d617820737570706c7920666f72206769667420657863656564000000000000600082015250565b7f46756e647320676976656e20646f206e6f74206d61746368207265717565737460008201527f6564207072696365000000000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f4f6e6c7920696620796f75206d696e7400000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60038110614c4c57614c4b6146c7565b5b50565b614c5881614488565b8114614c6357600080fd5b50565b614c6f8161449a565b8114614c7a57600080fd5b50565b614c86816144ac565b8114614c9157600080fd5b50565b614c9d816144b8565b8114614ca857600080fd5b50565b614cb4816144e4565b8114614cbf57600080fd5b50565b614ccb81614529565b8114614cd657600080fd5b5056fea26469706673582212204fca2a28dd5330e93fe0ed8e6d16d968b2a3c75e01acb3db8676ec4927de378264736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000042697066733a2f2f516d505439515433467375386b75476372713546766a6733335a65773353513331676468375a4a51446a7254505a2f64656661756c742e6a736f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000e41e20fb4cf4d4b67c24b99b19b22f5f198fcb5000000000000000000000000619118858d8a9edf52603f398acff4434f72d7850000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000028
Deployed Bytecode
0x60806040526004361061024a5760003560e01c80638b83209b11610139578063c87b56dd116100b6578063d79779b21161007a578063d79779b2146108e9578063e33b7de314610926578063e5bcf06314610951578063e985e9c51461097a578063f2fde38b146109b7578063f8dcbddb146109e05761028a565b8063c87b56dd1461080f578063cbccefb21461084c578063ce7c2ac214610877578063d2eb86ee146108b4578063d5abeb01146108be5761028a565b8063a22cb465116100fd578063a22cb4651461071a578063a3f8eace14610743578063b88d4fde14610780578063c45ac050146107a9578063c6275255146107e65761028a565b80638b83209b1461061f5780638da5cb5b1461065c57806395d89b41146106875780639852595c146106b25780639b6860c8146106ef5761028a565b8063406072a9116101c757806364affb401161018b57806364affb401461053a57806370a0823114610565578063715018a6146105a257806380090c04146105b9578063882ae248146105f65761028a565b8063406072a91461045757806342842e0e1461049457806348b75044146104bd5780635be7fde8146104e65780636352211e146104fd5761028a565b8063095ea7b31161020e578063095ea7b31461038657806318160ddd146103af57806319165587146103da57806323b872dd146104035780633a98ef391461042c5761028a565b806301ffc9a71461028f57806306fdde03146102cc578063081812fc146102f7578063087b5c36146103345780630943d0741461035d5761028a565b3661028a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102819061424e565b60405180910390fd5b600080fd5b34801561029b57600080fd5b506102b660048036038101906102b191906139fd565b610a09565b6040516102c39190613fd6565b60405180910390f35b3480156102d857600080fd5b506102e1610aeb565b6040516102ee919061400c565b60405180910390f35b34801561030357600080fd5b5061031e60048036038101906103199190613af5565b610b7d565b60405161032b9190613f1d565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613af5565b610bf9565b005b34801561036957600080fd5b50610384600480360381019061037f9190613ab4565b610c21565b005b34801561039257600080fd5b506103ad60048036038101906103a8919061390f565b610c43565b005b3480156103bb57600080fd5b506103c4610d4e565b6040516103d1919061428e565b60405180910390f35b3480156103e657600080fd5b5061040160048036038101906103fc91906137a4565b610d65565b005b34801561040f57600080fd5b5061042a60048036038101906104259190613809565b610eee565b005b34801561043857600080fd5b50610441610efe565b60405161044e919061428e565b60405180910390f35b34801561046357600080fd5b5061047e60048036038101906104799190613a78565b610f08565b60405161048b919061428e565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b69190613809565b610f8f565b005b3480156104c957600080fd5b506104e460048036038101906104df9190613a78565b610faf565b005b3480156104f257600080fd5b506104fb6111cc565b005b34801561050957600080fd5b50610524600480360381019061051f9190613af5565b611208565b6040516105319190613f1d565b60405180910390f35b34801561054657600080fd5b5061054f61121e565b60405161055c919061428e565b60405180910390f35b34801561057157600080fd5b5061058c6004803603810190610587919061377b565b611223565b604051610599919061428e565b60405180910390f35b3480156105ae57600080fd5b506105b76112f3565b005b3480156105c557600080fd5b506105e060048036038101906105db919061377b565b611307565b6040516105ed919061428e565b60405180910390f35b34801561060257600080fd5b5061061d6004803603810190610618919061394b565b61131f565b005b34801561062b57600080fd5b5061064660048036038101906106419190613af5565b61155e565b6040516106539190613f1d565b60405180910390f35b34801561066857600080fd5b506106716115cc565b60405161067e9190613f1d565b60405180910390f35b34801561069357600080fd5b5061069c6115f5565b6040516106a9919061400c565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d4919061377b565b611687565b6040516106e6919061428e565b60405180910390f35b3480156106fb57600080fd5b506107046116d0565b604051610711919061428e565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c91906138d3565b6116d6565b005b34801561074f57600080fd5b5061076a6004803603810190610765919061377b565b61184e565b604051610777919061428e565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190613858565b611881565b005b3480156107b557600080fd5b506107d060048036038101906107cb9190613a78565b6118fd565b6040516107dd919061428e565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190613af5565b6119bb565b005b34801561081b57600080fd5b5061083660048036038101906108319190613af5565b6119cd565b604051610843919061400c565b60405180910390f35b34801561085857600080fd5b50610861611aa9565b60405161086e9190613ff1565b60405180910390f35b34801561088357600080fd5b5061089e6004803603810190610899919061377b565b611abc565b6040516108ab919061428e565b60405180910390f35b6108bc611b05565b005b3480156108ca57600080fd5b506108d3611e3f565b6040516108e0919061428e565b60405180910390f35b3480156108f557600080fd5b50610910600480360381019061090b9190613a4f565b611e45565b60405161091d919061428e565b60405180910390f35b34801561093257600080fd5b5061093b611e8e565b604051610948919061428e565b60405180910390f35b34801561095d57600080fd5b5061097860048036038101906109739190613af5565b611e98565b005b34801561098657600080fd5b506109a1600480360381019061099c91906137cd565b611ec0565b6040516109ae9190613fd6565b60405180910390f35b3480156109c357600080fd5b506109de60048036038101906109d9919061377b565b611f54565b005b3480156109ec57600080fd5b50610a076004803603810190610a029190613af5565b611fd8565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ad457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ae45750610ae38261206b565b5b9050919050565b606060038054610afa906145bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610b26906145bd565b8015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b5050505050905090565b6000610b88826120d5565b610bbe576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610c01612123565b80601381905550601354601254610c189190614373565b60158190555050565b610c29612123565b8060109080519060200190610c3f929190613474565b5050565b6000610c4e82611208565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cb6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cd56121a1565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d075750610d0581610d006121a1565b611ec0565b155b15610d3e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d498383836121a9565b505050565b6000610d5861225b565b6002546001540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde906140ae565b60405180910390fd5b6000610df28261184e565b90506000811415610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f9061414e565b60405180910390fd5b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e879190614373565b9250508190555080600a6000828254610ea09190614373565b92505081905550610eb18282612260565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568282604051610ee2929190613f38565b60405180910390a15050565b610ef9838383612354565b505050565b6000600954905090565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610faa83838360405180602001604052806000815250611881565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611031576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611028906140ae565b60405180910390fd5b600061103d83836118fd565b90506000811415611083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107a9061414e565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461110f9190614373565b9250508190555080600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111659190614373565b92505081905550611177838383612845565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a83836040516111bf929190613fad565b60405180910390a2505050565b6111d4612123565b60005b601154811015611205576111f26111ed8261155e565b610d65565b80806111fd90614620565b9150506111d7565b50565b6000611213826128cb565b600001519050919050565b600181565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561128b576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6112fb612123565b6113056000612b5a565b565b60186020528060005260406000206000915090505481565b611327612123565b60006002811115611361577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660009054906101000a900460ff1660028111156113a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b116113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e09061418e565b60405180910390fd5b601354816014546113fa9190614373565b111561143b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611432906141ee565b60405180910390fd5b6000858590509050838390508114611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f9061404e565b60405180910390fd5b60005b8181101561153c576115298787838181106114cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906114e4919061377b565b86868481811061151d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135612c1e565b808061153490614620565b91505061148b565b50816014600082825461154f9190614373565b92505081905550505050505050565b6000600d828154811061159a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611604906145bd565b80601f0160208091040260200160405190810160405280929190818152602001828054611630906145bd565b801561167d5780601f106116525761010080835404028352916020019161167d565b820191906000526020600020905b81548152906001019060200180831161166057829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60175481565b6116de6121a1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611743576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006117506121a1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117fd6121a1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118429190613fd6565b60405180910390a35050565b600080611859611e8e565b476118649190614373565b9050611879838261187486611687565b612c3c565b915050919050565b61188c848484612354565b6118ab8373ffffffffffffffffffffffffffffffffffffffff16612caa565b80156118c057506118be84848484612ccd565b155b156118f7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60008061190984611e45565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016119429190613f1d565b60206040518083038186803b15801561195a57600080fd5b505afa15801561196e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119929190613b1e565b61199c9190614373565b90506119b283826119ad8787610f08565b612c3c565b91505092915050565b6119c3612123565b8060178190555050565b60606119d8826120d5565b611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e9061408e565b60405180910390fd5b60108054611a24906145bd565b80601f0160208091040260200160405190810160405280929190818152602001828054611a50906145bd565b8015611a9d5780601f10611a7257610100808354040283529160200191611a9d565b820191906000526020600020905b815481529060010190602001808311611a8057829003601f168201915b50505050509050919050565b601660009054906101000a900460ff1681565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a9061416e565b60405180910390fd5b60016002811115611bad577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660009054906101000a900460ff166002811115611bf5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2c906141ce565b60405180910390fd5b6017543414611c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c709061420e565b60405180910390fd5b600180601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611cc69190614373565b1115611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe9061402e565b60405180910390fd5b6012546014546001611d17610d4e565b611d219190614373565b611d2b9190614454565b1115611d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d63906140ce565b60405180910390fd5b6001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dbc9190614373565b92505081905550611dce336001612c1e565b601254601454611ddc610d4e565b611de69190614454565b10611e3d576002601660006101000a81548160ff02191690836002811115611e37577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b565b60155481565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b611ea0612123565b80601281905550601354601254611eb79190614373565b60158190555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f5c612123565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc39061406e565b60405180910390fd5b611fd581612b5a565b50565b611fe0612123565b806002811115612019577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660006101000a81548160ff02191690836002811115612063577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816120e061225b565b111580156120ef575060015482105b801561211c575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b61212b6121a1565b73ffffffffffffffffffffffffffffffffffffffff166121496115cc565b73ffffffffffffffffffffffffffffffffffffffff161461219f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612196906141ae565b60405180910390fd5b565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b804710156122a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229a9061410e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516122c990613f08565b60006040518083038185875af1925050503d8060008114612306576040519150601f19603f3d011682016040523d82523d6000602084013e61230b565b606091505b505090508061234f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612346906140ee565b60405180910390fd5b505050565b600061235f826128cb565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166123866121a1565b73ffffffffffffffffffffffffffffffffffffffff1614806123b957506123b882600001516123b36121a1565b611ec0565b5b806123fe57506123c76121a1565b73ffffffffffffffffffffffffffffffffffffffff166123e684610b7d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612437576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146124a0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612507576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125148585856001612e2d565b61252460008484600001516121a9565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156127d5576001548110156127d45782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461283e8585856001612e33565b5050505050565b6128c68363a9059cbb60e01b8484604051602401612864929190613fad565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612e39565b505050565b6128d36134fa565b6000829050806128e161225b565b111580156128f0575060015481105b15612b23576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612b2157600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a05578092505050612b55565b5b600115612b2057818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b1b578092505050612b55565b612a06565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c38828260405180602001604052806000815250612f00565b5050565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612c8d91906143fa565b612c9791906143c9565b612ca19190614454565b90509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cf36121a1565b8786866040518563ffffffff1660e01b8152600401612d159493929190613f61565b602060405180830381600087803b158015612d2f57600080fd5b505af1925050508015612d6057506040513d601f19601f82011682018060405250810190612d5d9190613a26565b60015b612dda573d8060008114612d90576040519150601f19603f3d011682016040523d82523d6000602084013e612d95565b606091505b50600081511415612dd2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b50505050565b6000612e9b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612f129092919063ffffffff16565b9050600081511115612efb5780806020019051810190612ebb91906139d4565b612efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef19061426e565b60405180910390fd5b5b505050565b612f0d8383836001612f2a565b505050565b6060612f2184846000856132f9565b90509392505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612f98576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612fd3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fe06000868387612e2d565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156131aa57506131a98773ffffffffffffffffffffffffffffffffffffffff16612caa565b5b15613270575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461321f6000888480600101955088612ccd565b613255576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156131b057826001541461326b57600080fd5b6132dc565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613271575b8160018190555050506132f26000868387612e33565b5050505050565b60608247101561333e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133359061412e565b60405180910390fd5b61334785612caa565b613386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337d9061422e565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516133af9190613ef1565b60006040518083038185875af1925050503d80600081146133ec576040519150601f19603f3d011682016040523d82523d6000602084013e6133f1565b606091505b509150915061340182828661340d565b92505050949350505050565b6060831561341d5782905061346d565b6000835111156134305782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613464919061400c565b60405180910390fd5b9392505050565b828054613480906145bd565b90600052602060002090601f0160209004810192826134a257600085556134e9565b82601f106134bb57805160ff19168380011785556134e9565b828001600101855582156134e9579182015b828111156134e85782518255916020019190600101906134cd565b5b5090506134f6919061353d565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561355657600081600090555060010161353e565b5090565b600061356d613568846142ce565b6142a9565b90508281526020810184848401111561358557600080fd5b61359084828561457b565b509392505050565b60006135ab6135a6846142ff565b6142a9565b9050828152602081018484840111156135c357600080fd5b6135ce84828561457b565b509392505050565b6000813590506135e581614c4f565b92915050565b6000813590506135fa81614c66565b92915050565b60008083601f84011261361257600080fd5b8235905067ffffffffffffffff81111561362b57600080fd5b60208301915083602082028301111561364357600080fd5b9250929050565b60008083601f84011261365c57600080fd5b8235905067ffffffffffffffff81111561367557600080fd5b60208301915083602082028301111561368d57600080fd5b9250929050565b6000813590506136a381614c7d565b92915050565b6000815190506136b881614c7d565b92915050565b6000813590506136cd81614c94565b92915050565b6000815190506136e281614c94565b92915050565b600082601f8301126136f957600080fd5b813561370984826020860161355a565b91505092915050565b60008135905061372181614cab565b92915050565b600082601f83011261373857600080fd5b8135613748848260208601613598565b91505092915050565b60008135905061376081614cc2565b92915050565b60008151905061377581614cc2565b92915050565b60006020828403121561378d57600080fd5b600061379b848285016135d6565b91505092915050565b6000602082840312156137b657600080fd5b60006137c4848285016135eb565b91505092915050565b600080604083850312156137e057600080fd5b60006137ee858286016135d6565b92505060206137ff858286016135d6565b9150509250929050565b60008060006060848603121561381e57600080fd5b600061382c868287016135d6565b935050602061383d868287016135d6565b925050604061384e86828701613751565b9150509250925092565b6000806000806080858703121561386e57600080fd5b600061387c878288016135d6565b945050602061388d878288016135d6565b935050604061389e87828801613751565b925050606085013567ffffffffffffffff8111156138bb57600080fd5b6138c7878288016136e8565b91505092959194509250565b600080604083850312156138e657600080fd5b60006138f4858286016135d6565b925050602061390585828601613694565b9150509250929050565b6000806040838503121561392257600080fd5b6000613930858286016135d6565b925050602061394185828601613751565b9150509250929050565b60008060008060006060868803121561396357600080fd5b600086013567ffffffffffffffff81111561397d57600080fd5b61398988828901613600565b9550955050602086013567ffffffffffffffff8111156139a857600080fd5b6139b48882890161364a565b935093505060406139c788828901613751565b9150509295509295909350565b6000602082840312156139e657600080fd5b60006139f4848285016136a9565b91505092915050565b600060208284031215613a0f57600080fd5b6000613a1d848285016136be565b91505092915050565b600060208284031215613a3857600080fd5b6000613a46848285016136d3565b91505092915050565b600060208284031215613a6157600080fd5b6000613a6f84828501613712565b91505092915050565b60008060408385031215613a8b57600080fd5b6000613a9985828601613712565b9250506020613aaa858286016135d6565b9150509250929050565b600060208284031215613ac657600080fd5b600082013567ffffffffffffffff811115613ae057600080fd5b613aec84828501613727565b91505092915050565b600060208284031215613b0757600080fd5b6000613b1584828501613751565b91505092915050565b600060208284031215613b3057600080fd5b6000613b3e84828501613766565b91505092915050565b613b5081614533565b82525050565b613b5f81614488565b82525050565b613b6e816144ac565b82525050565b6000613b7f82614330565b613b898185614346565b9350613b9981856020860161458a565b613ba281614754565b840191505092915050565b6000613bb882614330565b613bc28185614357565b9350613bd281856020860161458a565b80840191505092915050565b613be781614545565b82525050565b6000613bf88261433b565b613c028185614362565b9350613c1281856020860161458a565b613c1b81614754565b840191505092915050565b6000613c33602583614362565b9150613c3e82614765565b604082019050919050565b6000613c56604183614362565b9150613c61826147b4565b606082019050919050565b6000613c79602683614362565b9150613c8482614829565b604082019050919050565b6000613c9c601783614362565b9150613ca782614878565b602082019050919050565b6000613cbf602683614362565b9150613cca826148a1565b604082019050919050565b6000613ce2601283614362565b9150613ced826148f0565b602082019050919050565b6000613d05603a83614362565b9150613d1082614919565b604082019050919050565b6000613d28601d83614362565b9150613d3382614968565b602082019050919050565b6000613d4b602683614362565b9150613d5682614991565b604082019050919050565b6000613d6e602b83614362565b9150613d79826149e0565b604082019050919050565b6000613d91601e83614362565b9150613d9c82614a2f565b602082019050919050565b6000613db4603383614362565b9150613dbf82614a58565b604082019050919050565b6000613dd7602083614362565b9150613de282614aa7565b602082019050919050565b6000613dfa602483614362565b9150613e0582614ad0565b604082019050919050565b6000613e1d601a83614362565b9150613e2882614b1f565b602082019050919050565b6000613e40602883614362565b9150613e4b82614b48565b604082019050919050565b6000613e63600083614357565b9150613e6e82614b97565b600082019050919050565b6000613e86601d83614362565b9150613e9182614b9a565b602082019050919050565b6000613ea9601083614362565b9150613eb482614bc3565b602082019050919050565b6000613ecc602a83614362565b9150613ed782614bec565b604082019050919050565b613eeb81614529565b82525050565b6000613efd8284613bad565b915081905092915050565b6000613f1382613e56565b9150819050919050565b6000602082019050613f326000830184613b56565b92915050565b6000604082019050613f4d6000830185613b47565b613f5a6020830184613ee2565b9392505050565b6000608082019050613f766000830187613b56565b613f836020830186613b56565b613f906040830185613ee2565b8181036060830152613fa28184613b74565b905095945050505050565b6000604082019050613fc26000830185613b56565b613fcf6020830184613ee2565b9392505050565b6000602082019050613feb6000830184613b65565b92915050565b60006020820190506140066000830184613bde565b92915050565b600060208201905081810360008301526140268184613bed565b905092915050565b6000602082019050818103600083015261404781613c26565b9050919050565b6000602082019050818103600083015261406781613c49565b9050919050565b6000602082019050818103600083015261408781613c6c565b9050919050565b600060208201905081810360008301526140a781613c8f565b9050919050565b600060208201905081810360008301526140c781613cb2565b9050919050565b600060208201905081810360008301526140e781613cd5565b9050919050565b6000602082019050818103600083015261410781613cf8565b9050919050565b6000602082019050818103600083015261412781613d1b565b9050919050565b6000602082019050818103600083015261414781613d3e565b9050919050565b6000602082019050818103600083015261416781613d61565b9050919050565b6000602082019050818103600083015261418781613d84565b9050919050565b600060208201905081810360008301526141a781613da7565b9050919050565b600060208201905081810360008301526141c781613dca565b9050919050565b600060208201905081810360008301526141e781613ded565b9050919050565b6000602082019050818103600083015261420781613e10565b9050919050565b6000602082019050818103600083015261422781613e33565b9050919050565b6000602082019050818103600083015261424781613e79565b9050919050565b6000602082019050818103600083015261426781613e9c565b9050919050565b6000602082019050818103600083015261428781613ebf565b9050919050565b60006020820190506142a36000830184613ee2565b92915050565b60006142b36142c4565b90506142bf82826145ef565b919050565b6000604051905090565b600067ffffffffffffffff8211156142e9576142e8614725565b5b6142f282614754565b9050602081019050919050565b600067ffffffffffffffff82111561431a57614319614725565b5b61432382614754565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061437e82614529565b915061438983614529565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143be576143bd614669565b5b828201905092915050565b60006143d482614529565b91506143df83614529565b9250826143ef576143ee614698565b5b828204905092915050565b600061440582614529565b915061441083614529565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561444957614448614669565b5b828202905092915050565b600061445f82614529565b915061446a83614529565b92508282101561447d5761447c614669565b5b828203905092915050565b600061449382614509565b9050919050565b60006144a582614509565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006144ef82614488565b9050919050565b600081905061450482614c3b565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061453e82614557565b9050919050565b6000614550826144f6565b9050919050565b600061456282614569565b9050919050565b600061457482614509565b9050919050565b82818337600083830152505050565b60005b838110156145a857808201518184015260208101905061458d565b838111156145b7576000848401525b50505050565b600060028204905060018216806145d557607f821691505b602082108114156145e9576145e86146f6565b5b50919050565b6145f882614754565b810181811067ffffffffffffffff8211171561461757614616614725565b5b80604052505050565b600061462b82614529565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561465e5761465d614669565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d617820616d6f756e7420616c7265616479207265616368656420666f72207060008201527f75626c6963000000000000000000000000000000000000000000000000000000602082015250565b7f446966666572656e7420616d6f756e74206f6620706172616d6574657273207360008201527f656e64206265747765656e20726563656976657220616e64207175616e74697460208201527f7900000000000000000000000000000000000000000000000000000000000000604082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f54686973204e465420646f65736e27742065786973742e000000000000000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f52656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f476966742063616e2068617070656e206f6e6c7920647572696e67207075626c60008201527f6963206f7220736f6c646f757420737061636500000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5075626c69632073616c65206e6f7420616374697661746564206f7220736f6c60008201527f646f757400000000000000000000000000000000000000000000000000000000602082015250565b7f4d617820737570706c7920666f72206769667420657863656564000000000000600082015250565b7f46756e647320676976656e20646f206e6f74206d61746368207265717565737460008201527f6564207072696365000000000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f4f6e6c7920696620796f75206d696e7400000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60038110614c4c57614c4b6146c7565b5b50565b614c5881614488565b8114614c6357600080fd5b50565b614c6f8161449a565b8114614c7a57600080fd5b50565b614c86816144ac565b8114614c9157600080fd5b50565b614c9d816144b8565b8114614ca857600080fd5b50565b614cb4816144e4565b8114614cbf57600080fd5b50565b614ccb81614529565b8114614cd657600080fd5b5056fea26469706673582212204fca2a28dd5330e93fe0ed8e6d16d968b2a3c75e01acb3db8676ec4927de378264736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000042697066733a2f2f516d505439515433467375386b75476372713546766a6733335a65773353513331676468375a4a51446a7254505a2f64656661756c742e6a736f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000e41e20fb4cf4d4b67c24b99b19b22f5f198fcb5000000000000000000000000619118858d8a9edf52603f398acff4434f72d7850000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000028
-----Decoded View---------------
Arg [0] : baseTokenUri (string): ipfs://QmPT9QT3Fsu8kuGcrq5Fvjg33Zew3SQ31gdh7ZJQDjrTPZ/default.json
Arg [1] : _team (address[]): 0x0E41E20fb4Cf4D4b67C24b99b19b22F5f198fcb5,0x619118858d8A9Edf52603f398Acff4434F72D785
Arg [2] : _teamShares (uint256[]): 60,40
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [4] : 697066733a2f2f516d505439515433467375386b75476372713546766a673333
Arg [5] : 5a65773353513331676468375a4a51446a7254505a2f64656661756c742e6a73
Arg [6] : 6f6e000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 0000000000000000000000000e41e20fb4cf4d4b67c24b99b19b22f5f198fcb5
Arg [9] : 000000000000000000000000619118858d8a9edf52603f398acff4434f72d785
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 000000000000000000000000000000000000000000000000000000000000003c
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000028
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.