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 169 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 14540901 | 921 days ago | IN | 0 ETH | 0.001195 | ||||
Set Approval For... | 14347393 | 951 days ago | IN | 0 ETH | 0.0023408 | ||||
Set Approval For... | 14347391 | 951 days ago | IN | 0 ETH | 0.00174433 | ||||
Withdraw Split | 14303087 | 958 days ago | IN | 0 ETH | 0.00366091 | ||||
Mint | 14302615 | 958 days ago | IN | 0.16 ETH | 0.0047999 | ||||
Mint | 14302612 | 958 days ago | IN | 0.4 ETH | 0.00936207 | ||||
Mint | 14302610 | 958 days ago | IN | 0.4 ETH | 0.00936207 | ||||
Set Approval For... | 14283696 | 961 days ago | IN | 0 ETH | 0.0016383 | ||||
Set Approval For... | 14278999 | 961 days ago | IN | 0 ETH | 0.00282041 | ||||
Set Approval For... | 14278872 | 961 days ago | IN | 0 ETH | 0.00123788 | ||||
Set Approval For... | 14278871 | 961 days ago | IN | 0 ETH | 0.00232736 | ||||
Withdraw Split | 14278143 | 962 days ago | IN | 0 ETH | 0.01914088 | ||||
Set Approval For... | 14278075 | 962 days ago | IN | 0 ETH | 0.00413042 | ||||
Set Approval For... | 14278032 | 962 days ago | IN | 0 ETH | 0.0023549 | ||||
Set Approval For... | 14277998 | 962 days ago | IN | 0 ETH | 0.00313067 | ||||
Set Approval For... | 14277979 | 962 days ago | IN | 0 ETH | 0.00317439 | ||||
Mint | 14277948 | 962 days ago | IN | 0.04 ETH | 0.0057602 | ||||
Mint | 14277948 | 962 days ago | IN | 0.24 ETH | 0.00734851 | ||||
Set Approval For... | 14277924 | 962 days ago | IN | 0 ETH | 0.00300613 | ||||
Set Approval For... | 14277913 | 962 days ago | IN | 0 ETH | 0.00329891 | ||||
Set Approval For... | 14277912 | 962 days ago | IN | 0 ETH | 0.00298619 | ||||
Mint | 14277909 | 962 days ago | IN | 0.08 ETH | 0.00550212 | ||||
Mint | 14277909 | 962 days ago | IN | 0.18 ETH | 0.00654396 | ||||
Mint | 14277903 | 962 days ago | IN | 0.08 ETH | 0.0044644 | ||||
Mint | 14277903 | 962 days ago | IN | 0.08 ETH | 0.00638274 |
Loading...
Loading
Contract Name:
howlerzmfers
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 "erc721a/contracts/ERC721A.sol"; contract howlerzmfers is Ownable, ERC721A, PaymentSplitter{ //FOR PRODUCTION uint256 public constant MAX_QTY = 5555; uint256 public constant FREE_SUPPLY = 500; uint256 public constant PRICE = 0.02 ether; uint256 public constant QTY_PER_MINT = 20; address[] private addressList = [ 0x03EBd2D76E9EcD3666f05AA624ED2f653AaEb41e, 0x088a807Cd88696273380B533a4F3bF37071A078D ]; uint256[] private shareList = [50, 50]; uint256 public MintedAmount = 0; bool public canRenounceOwnership = false; bool public paused = false; bool public saleLive = false; bool public revealed = false; string private baseTokenURI; string private notRevealedUri; constructor(string memory _notRevealedUri) ERC721A("howlerz mfers", "MFHOWL") PaymentSplitter( addressList, shareList) { notRevealedUri = _notRevealedUri; } function mint(uint256 amount) external payable { require( MintedAmount + amount <= MAX_QTY, "AMOUNT EXCEEDS MAX SUPPLY" ); require(amount <= QTY_PER_MINT, "AMOUNT OVER MAX MINT AMOUNT"); require(!paused, "SALE IS PAUSED"); require(saleLive, "SALE NOT LIVE"); if (MintedAmount + amount > FREE_SUPPLY) { require(msg.value >= PRICE * amount, "INSUFFICIENT ETH"); } MintedAmount += amount; _safeMint(msg.sender, amount); } function setNotRevealedURI(string memory _notRevealedURI) external onlyOwner { notRevealedUri = _notRevealedURI; } function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner { baseTokenURI = _baseTokenURI; } function _baseURI() internal view override virtual returns (string memory) { return baseTokenURI; } function setRevealed(bool _state) external onlyOwner { revealed = _state; } function setPaused(bool _state) external onlyOwner { paused = _state; } function setSaleLive(bool _state) external onlyOwner { saleLive = _state; } function setCanRenounceOwnership(bool _state) external onlyOwner { canRenounceOwnership = _state; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if(!revealed) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, Strings.toString(tokenId))) : ""; } function renounceOwnership() override public onlyOwner{ require(canRenounceOwnership,"Not the time to Renounce Ownership"); _transferOwnership(address(0)); } function withdrawSplit() public onlyOwner { for (uint256 i = 0; i < addressList.length; i++) { address payable wallet = payable(addressList[i]); release(wallet); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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. * * `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 Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + totalReleased(); uint256 payment = _pendingPayment(account, totalReceived, released(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 totalReceived = token.balanceOf(address(this)) + totalReleased(token); uint256 payment = _pendingPayment(account, totalReceived, released(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 // 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 MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); 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 and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 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**128 - 1 (max value of uint128). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { 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; } // Compiler will pack the following // _currentIndex and _burnCounter into a single 256bit word. // The tokenId of the next token to be minted. uint128 internal _currentIndex; // The number of tokens burned. uint128 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_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex times unchecked { return _currentIndex - _burnCounter; } } /** * @dev See {IERC721Enumerable-tokenByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenByIndex(uint256 index) public view override returns (uint256) { uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (!ownership.burned) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert TokenIndexOutOfBounds(); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } // Execution should never reach this point. revert(); } /** * @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 || interfaceId == type(IERC721Enumerable).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); } function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * 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 (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 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 (!_checkOnERC721Received(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 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 > 3.4e38 (2**128) - 1 // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 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; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } _currentIndex = uint128(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**128. 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 Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _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**128. 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 address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.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)); } } /** * @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.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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); }
{ "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":"_notRevealedUri","type":"string"}],"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":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","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":"FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_QTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"QTY_PER_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canRenounceOwnership","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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 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":[{"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":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setCanRenounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setSaleLive","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"},{"inputs":[],"name":"withdrawSplit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260405180604001604052807303ebd2d76e9ecd3666f05aa624ed2f653aaeb41e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173088a807cd88696273380b533a4f3bf37071a078d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600f906002620000ab9291906200078a565b506040518060400160405280603260ff168152602001603260ff168152506010906002620000db92919062000819565b5060006011556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055506000601260026101000a81548160ff0219169083151502179055506000601260036101000a81548160ff0219169083151502179055503480156200015a57600080fd5b506040516200620238038062006202833981810160405281019062000180919062000992565b600f8054806020026020016040519081016040528092919081815260200182805480156200020457602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311620001b9575b505050505060108054806020026020016040519081016040528092919081815260200182805480156200025757602002820191906000526020600020905b81548152602001906001019080831162000242575b50505050506040518060400160405280600d81526020017f686f776c65727a206d66657273000000000000000000000000000000000000008152506040518060400160405280600681526020017f4d46484f574c0000000000000000000000000000000000000000000000000000815250620002e8620002dc6200048460201b60201c565b6200048c60201b60201c565b81600290805190602001906200030092919062000870565b5080600390805190602001906200031992919062000870565b505050805182511462000363576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035a9062000b0b565b60405180910390fd5b6000825111620003aa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003a19062000b4f565b60405180910390fd5b60005b825181101562000461576200044b838281518110620003f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183838151811062000437577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516200055060201b60201c565b8080620004589062000d40565b915050620003ad565b50505080601490805190602001906200047c92919062000870565b505062000f6b565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620005c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005ba9062000ae9565b60405180910390fd5b6000811162000609576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006009062000b71565b60405180910390fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146200068e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006859062000b2d565b60405180910390fd5b600c829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060085462000745919062000c03565b6008819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200077e92919062000abc565b60405180910390a15050565b82805482825590600052602060002090810192821562000806579160200282015b82811115620008055782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620007ab565b5b50905062000815919062000901565b5090565b8280548282559060005260206000209081019282156200085d579160200282015b828111156200085c578251829060ff169055916020019190600101906200083a565b5b5090506200086c919062000901565b5090565b8280546200087e9062000cd4565b90600052602060002090601f016020900481019282620008a25760008555620008ee565b82601f10620008bd57805160ff1916838001178555620008ee565b82800160010185558215620008ee579182015b82811115620008ed578251825591602001919060010190620008d0565b5b509050620008fd919062000901565b5090565b5b808211156200091c57600081600090555060010162000902565b5090565b600062000937620009318462000bbc565b62000b93565b9050828152602081018484840111156200095057600080fd5b6200095d84828562000c9e565b509392505050565b600082601f8301126200097757600080fd5b81516200098984826020860162000920565b91505092915050565b600060208284031215620009a557600080fd5b600082015167ffffffffffffffff811115620009c057600080fd5b620009ce8482850162000965565b91505092915050565b620009e28162000c60565b82525050565b6000620009f7602c8362000bf2565b915062000a048262000e2c565b604082019050919050565b600062000a1e60328362000bf2565b915062000a2b8262000e7b565b604082019050919050565b600062000a45602b8362000bf2565b915062000a528262000eca565b604082019050919050565b600062000a6c601a8362000bf2565b915062000a798262000f19565b602082019050919050565b600062000a93601d8362000bf2565b915062000aa08262000f42565b602082019050919050565b62000ab68162000c94565b82525050565b600060408201905062000ad36000830185620009d7565b62000ae2602083018462000aab565b9392505050565b6000602082019050818103600083015262000b0481620009e8565b9050919050565b6000602082019050818103600083015262000b268162000a0f565b9050919050565b6000602082019050818103600083015262000b488162000a36565b9050919050565b6000602082019050818103600083015262000b6a8162000a5d565b9050919050565b6000602082019050818103600083015262000b8c8162000a84565b9050919050565b600062000b9f62000bb2565b905062000bad828262000d0a565b919050565b6000604051905090565b600067ffffffffffffffff82111562000bda5762000bd962000dec565b5b62000be58262000e1b565b9050602081019050919050565b600082825260208201905092915050565b600062000c108262000c94565b915062000c1d8362000c94565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000c555762000c5462000d8e565b5b828201905092915050565b600062000c6d8262000c74565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000cbe57808201518184015260208101905062000ca1565b8381111562000cce576000848401525b50505050565b6000600282049050600182168062000ced57607f821691505b6020821081141562000d045762000d0362000dbd565b5b50919050565b62000d158262000e1b565b810181811067ffffffffffffffff8211171562000d375762000d3662000dec565b5b80604052505050565b600062000d4d8262000c94565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000d835762000d8262000d8e565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b6152878062000f7b6000396000f3fe6080604052600436106102765760003560e01c806370a082311161014f578063a22cb465116100c1578063e081b7811161007a578063e081b781146109da578063e0a8085314610a05578063e33b7de314610a2e578063e985e9c514610a59578063f2c4ce1e14610a96578063f2fde38b14610abf576102bd565b8063a22cb465146108ba578063a50e89ff146108e3578063b88d4fde146108fa578063c87b56dd14610923578063ce7c2ac214610960578063d79779b21461099d576102bd565b80638d859f3e116101135780638d859f3e146107b55780638da5cb5b146107e057806395d89b411461080b5780639852595c146108365780639858cf1914610873578063a0712d681461089e576102bd565b806370a08231146106ce578063715018a61461070b5780637b2ca38614610722578063845d1f8a1461074d5780638b83209b14610778576102bd565b80633a98ef39116101e85780634def4d1a116101ac5780634def4d1a146105aa5780634f6ccce7146105d3578063518302271461061057806355b597181461063b5780635c975abb146106665780636352211e14610691576102bd565b80633a98ef39146104c75780633c4c7bb4146104f2578063406072a91461051b57806342842e0e1461055857806348b7504414610581576102bd565b806318160ddd1161023a57806318160ddd146103b957806319165587146103e45780631c96cae91461040d57806323b872dd146104385780632f745c591461046157806330176e131461049e576102bd565b806301ffc9a7146102c257806306fdde03146102ff578063081812fc1461032a578063095ea7b31461036757806316c38b3c14610390576102bd565b366102bd577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102a4610ae8565b346040516102b39291906146df565b60405180910390a1005b600080fd5b3480156102ce57600080fd5b506102e960048036038101906102e49190614152565b610af0565b6040516102f69190614708565b60405180910390f35b34801561030b57600080fd5b50610314610c3a565b6040516103219190614723565b60405180910390f35b34801561033657600080fd5b50610351600480360381019061034c919061424a565b610ccc565b60405161035e919061464f565b60405180910390f35b34801561037357600080fd5b5061038e600480360381019061038991906140c4565b610d48565b005b34801561039c57600080fd5b506103b760048036038101906103b29190614100565b610e53565b005b3480156103c557600080fd5b506103ce610eec565b6040516103db9190614945565b60405180910390f35b3480156103f057600080fd5b5061040b60048036038101906104069190613f59565b610f44565b005b34801561041957600080fd5b506104226110ef565b60405161042f9190614945565b60405180910390f35b34801561044457600080fd5b5061045f600480360381019061045a9190613fbe565b6110f5565b005b34801561046d57600080fd5b50610488600480360381019061048391906140c4565b611105565b6040516104959190614945565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c09190614209565b61130d565b005b3480156104d357600080fd5b506104dc6113a3565b6040516104e99190614945565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190614100565b6113ad565b005b34801561052757600080fd5b50610542600480360381019061053d91906141cd565b611446565b60405161054f9190614945565b60405180910390f35b34801561056457600080fd5b5061057f600480360381019061057a9190613fbe565b6114cd565b005b34801561058d57600080fd5b506105a860048036038101906105a391906141cd565b6114ed565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190614100565b6117b5565b005b3480156105df57600080fd5b506105fa60048036038101906105f5919061424a565b61184e565b6040516106079190614945565b60405180910390f35b34801561061c57600080fd5b506106256119c1565b6040516106329190614708565b60405180910390f35b34801561064757600080fd5b506106506119d4565b60405161065d9190614945565b60405180910390f35b34801561067257600080fd5b5061067b6119d9565b6040516106889190614708565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b3919061424a565b6119ec565b6040516106c5919061464f565b60405180910390f35b3480156106da57600080fd5b506106f560048036038101906106f09190613f30565b611a02565b6040516107029190614945565b60405180910390f35b34801561071757600080fd5b50610720611ad2565b005b34801561072e57600080fd5b50610737611ba9565b6040516107449190614708565b60405180910390f35b34801561075957600080fd5b50610762611bbc565b60405161076f9190614945565b60405180910390f35b34801561078457600080fd5b5061079f600480360381019061079a919061424a565b611bc2565b6040516107ac919061464f565b60405180910390f35b3480156107c157600080fd5b506107ca611c30565b6040516107d79190614945565b60405180910390f35b3480156107ec57600080fd5b506107f5611c3b565b604051610802919061464f565b60405180910390f35b34801561081757600080fd5b50610820611c64565b60405161082d9190614723565b60405180910390f35b34801561084257600080fd5b5061085d60048036038101906108589190613f30565b611cf6565b60405161086a9190614945565b60405180910390f35b34801561087f57600080fd5b50610888611d3f565b6040516108959190614945565b60405180910390f35b6108b860048036038101906108b3919061424a565b611d45565b005b3480156108c657600080fd5b506108e160048036038101906108dc9190614088565b611f0d565b005b3480156108ef57600080fd5b506108f8612085565b005b34801561090657600080fd5b50610921600480360381019061091c919061400d565b61219a565b005b34801561092f57600080fd5b5061094a6004803603810190610945919061424a565b6121ed565b6040516109579190614723565b60405180910390f35b34801561096c57600080fd5b5061098760048036038101906109829190613f30565b61233b565b6040516109949190614945565b60405180910390f35b3480156109a957600080fd5b506109c460048036038101906109bf91906141a4565b612384565b6040516109d19190614945565b60405180910390f35b3480156109e657600080fd5b506109ef6123cd565b6040516109fc9190614708565b60405180910390f35b348015610a1157600080fd5b50610a2c6004803603810190610a279190614100565b6123e0565b005b348015610a3a57600080fd5b50610a43612479565b604051610a509190614945565b60405180910390f35b348015610a6557600080fd5b50610a806004803603810190610a7b9190613f82565b612483565b604051610a8d9190614708565b60405180910390f35b348015610aa257600080fd5b50610abd6004803603810190610ab89190614209565b612517565b005b348015610acb57600080fd5b50610ae66004803603810190610ae19190613f30565b6125ad565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bbb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c2357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c335750610c32826126a5565b5b9050919050565b606060028054610c4990614c5a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7590614c5a565b8015610cc25780601f10610c9757610100808354040283529160200191610cc2565b820191906000526020600020905b815481529060010190602001808311610ca557829003601f168201915b5050505050905090565b6000610cd78261270f565b610d0d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d53826119ec565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dbb576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dda610ae8565b73ffffffffffffffffffffffffffffffffffffffff1614158015610e0c5750610e0a81610e05610ae8565b612483565b155b15610e43576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e4e838383612778565b505050565b610e5b610ae8565b73ffffffffffffffffffffffffffffffffffffffff16610e79611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690614845565b60405180910390fd5b80601260016101000a81548160ff02191690831515021790555050565b6000600160109054906101000a90046fffffffffffffffffffffffffffffffff16600160009054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90614765565b60405180910390fd5b6000610fd0612479565b47610fdb9190614a35565b90506000610ff28383610fed86611cf6565b61282a565b90506000811415611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f906147e5565b60405180910390fd5b80600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110879190614a35565b9250508190555080600960008282546110a09190614a35565b925050819055506110b18382612898565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516110e292919061466a565b60405180910390a1505050565b6115b381565b61110083838361298c565b505050565b600061111083611a02565b8210611148576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015611301576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561126057506112f4565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146112a057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112f257868414156112e9578195505050505050611307565b83806001019450505b505b8080600101915050611183565b50600080fd5b92915050565b611315610ae8565b73ffffffffffffffffffffffffffffffffffffffff16611333611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614611389576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138090614845565b60405180910390fd5b806013908051906020019061139f929190613cbd565b5050565b6000600854905090565b6113b5610ae8565b73ffffffffffffffffffffffffffffffffffffffff166113d3611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614611429576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142090614845565b60405180910390fd5b80601260026101000a81548160ff02191690831515021790555050565b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6114e88383836040518060200160405280600081525061219a565b505050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161156f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156690614765565b60405180910390fd5b600061157a83612384565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016115b3919061464f565b60206040518083038186803b1580156115cb57600080fd5b505afa1580156115df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116039190614273565b61160d9190614a35565b9050600061162583836116208787611446565b61282a565b9050600081141561166b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611662906147e5565b60405180910390fd5b80600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116f79190614a35565b9250508190555080600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461174d9190614a35565b9250508190555061175f848483612eab565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a84836040516117a79291906146df565b60405180910390a250505050565b6117bd610ae8565b73ffffffffffffffffffffffffffffffffffffffff166117db611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614611831576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182890614845565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b600080600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b82811015611989576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161197b578583141561197257819450505050506119bc565b82806001019350505b508080600101915050611888565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b601260039054906101000a900460ff1681565b601481565b601260019054906101000a900460ff1681565b60006119f782612f31565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a6a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611ada610ae8565b73ffffffffffffffffffffffffffffffffffffffff16611af8611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590614845565b60405180910390fd5b601260009054906101000a900460ff16611b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b94906148a5565b60405180910390fd5b611ba760006131db565b565b601260009054906101000a900460ff1681565b60115481565b6000600c8281548110611bfe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b66470de4df82000081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611c7390614c5a565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9f90614c5a565b8015611cec5780601f10611cc157610100808354040283529160200191611cec565b820191906000526020600020905b815481529060010190602001808311611ccf57829003601f168201915b5050505050905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6101f481565b6115b381601154611d569190614a35565b1115611d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e90614885565b60405180910390fd5b6014811115611ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd290614925565b60405180910390fd5b601260019054906101000a900460ff1615611e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2290614905565b60405180910390fd5b601260029054906101000a900460ff16611e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7190614825565b60405180910390fd5b6101f481601154611e8b9190614a35565b1115611ee7578066470de4df820000611ea49190614abc565b341015611ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611edd90614805565b60405180910390fd5b5b8060116000828254611ef99190614a35565b92505081905550611f0a338261329f565b50565b611f15610ae8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f7a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611f87610ae8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612034610ae8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120799190614708565b60405180910390a35050565b61208d610ae8565b73ffffffffffffffffffffffffffffffffffffffff166120ab611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614612101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f890614845565b60405180910390fd5b60005b600f80549050811015612197576000600f828154811061214d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061218381610f44565b50808061218f90614cbd565b915050612104565b50565b6121a584848461298c565b6121b1848484846132bd565b6121e7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606121f88261270f565b612237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222e90614865565b60405180910390fd5b601260039054906101000a900460ff166122dd576014805461225890614c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461228490614c5a565b80156122d15780601f106122a6576101008083540402835291602001916122d1565b820191906000526020600020905b8154815290600101906020018083116122b457829003601f168201915b50505050509050612336565b60006122e761344b565b905060008151116123075760405180602001604052806000815250612332565b80612311846134dd565b604051602001612322929190614616565b6040516020818303038152906040525b9150505b919050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601260029054906101000a900460ff1681565b6123e8610ae8565b73ffffffffffffffffffffffffffffffffffffffff16612406611c3b565b73ffffffffffffffffffffffffffffffffffffffff161461245c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245390614845565b60405180910390fd5b80601260036101000a81548160ff02191690831515021790555050565b6000600954905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61251f610ae8565b73ffffffffffffffffffffffffffffffffffffffff1661253d611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614612593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258a90614845565b60405180910390fd5b80601490805190602001906125a9929190613cbd565b5050565b6125b5610ae8565b73ffffffffffffffffffffffffffffffffffffffff166125d3611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614612629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262090614845565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269090614745565b60405180910390fd5b6126a2816131db565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015612771575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600081600854600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561287b9190614abc565b6128859190614a8b565b61288f9190614b16565b90509392505050565b804710156128db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d2906147a5565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129019061463a565b60006040518083038185875af1925050503d806000811461293e576040519150601f19603f3d011682016040523d82523d6000602084013e612943565b606091505b5050905080612987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297e90614785565b60405180910390fd5b505050565b600061299782612f31565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166129be610ae8565b73ffffffffffffffffffffffffffffffffffffffff1614806129f157506129f082600001516129eb610ae8565b612483565b5b80612a3657506129ff610ae8565b73ffffffffffffffffffffffffffffffffffffffff16612a1e84610ccc565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612a6f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612ad8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b3f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b4c858585600161368a565b612b5c6000848460000151612778565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612e3b57600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612e3a5782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ea48585856001613690565b5050505050565b612f2c8363a9059cbb60e01b8484604051602401612eca9291906146df565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613696565b505050565b612f39613d43565b6000829050600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156131a4576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516131a257600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130865780925050506131d6565b5b6001156131a157818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461319c5780925050506131d6565b613087565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6132b982826040518060200160405280600081525061375d565b5050565b60006132de8473ffffffffffffffffffffffffffffffffffffffff1661376f565b1561343e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613307610ae8565b8786866040518563ffffffff1660e01b81526004016133299493929190614693565b602060405180830381600087803b15801561334357600080fd5b505af192505050801561337457506040513d601f19601f82011682018060405250810190613371919061417b565b60015b6133ee573d80600081146133a4576040519150601f19603f3d011682016040523d82523d6000602084013e6133a9565b606091505b506000815114156133e6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613443565b600190505b949350505050565b60606013805461345a90614c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461348690614c5a565b80156134d35780601f106134a8576101008083540402835291602001916134d3565b820191906000526020600020905b8154815290600101906020018083116134b657829003601f168201915b5050505050905090565b60606000821415613525576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613685565b600082905060005b6000821461355757808061354090614cbd565b915050600a826135509190614a8b565b915061352d565b60008167ffffffffffffffff811115613599577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135cb5781602001600182028036833780820191505090505b5090505b6000851461367e576001826135e49190614b16565b9150600a856135f39190614d06565b60306135ff9190614a35565b60f81b81838151811061363b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856136779190614a8b565b94506135cf565b8093505050505b919050565b50505050565b50505050565b60006136f8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137929092919063ffffffff16565b905060008151111561375857808060200190518101906137189190614129565b613757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374e906148e5565b60405180910390fd5b5b505050565b61376a83838360016137aa565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606137a18484600085613b42565b90509392505050565b6000600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613846576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613881576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61388e600086838761368a565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613af357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015613aa75750613aa560008884886132bd565b155b15613ade576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613a2c565b5080600160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050613b3b6000868387613690565b5050505050565b606082471015613b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b7e906147c5565b60405180910390fd5b613b908561376f565b613bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bc6906148c5565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613bf891906145ff565b60006040518083038185875af1925050503d8060008114613c35576040519150601f19603f3d011682016040523d82523d6000602084013e613c3a565b606091505b5091509150613c4a828286613c56565b92505050949350505050565b60608315613c6657829050613cb6565b600083511115613c795782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cad9190614723565b60405180910390fd5b9392505050565b828054613cc990614c5a565b90600052602060002090601f016020900481019282613ceb5760008555613d32565b82601f10613d0457805160ff1916838001178555613d32565b82800160010185558215613d32579182015b82811115613d31578251825591602001919060010190613d16565b5b509050613d3f9190613d86565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613d9f576000816000905550600101613d87565b5090565b6000613db6613db184614985565b614960565b905082815260208101848484011115613dce57600080fd5b613dd9848285614c18565b509392505050565b6000613df4613def846149b6565b614960565b905082815260208101848484011115613e0c57600080fd5b613e17848285614c18565b509392505050565b600081359050613e2e816151c7565b92915050565b600081359050613e43816151de565b92915050565b600081359050613e58816151f5565b92915050565b600081519050613e6d816151f5565b92915050565b600081359050613e828161520c565b92915050565b600081519050613e978161520c565b92915050565b600082601f830112613eae57600080fd5b8135613ebe848260208601613da3565b91505092915050565b600081359050613ed681615223565b92915050565b600082601f830112613eed57600080fd5b8135613efd848260208601613de1565b91505092915050565b600081359050613f158161523a565b92915050565b600081519050613f2a8161523a565b92915050565b600060208284031215613f4257600080fd5b6000613f5084828501613e1f565b91505092915050565b600060208284031215613f6b57600080fd5b6000613f7984828501613e34565b91505092915050565b60008060408385031215613f9557600080fd5b6000613fa385828601613e1f565b9250506020613fb485828601613e1f565b9150509250929050565b600080600060608486031215613fd357600080fd5b6000613fe186828701613e1f565b9350506020613ff286828701613e1f565b925050604061400386828701613f06565b9150509250925092565b6000806000806080858703121561402357600080fd5b600061403187828801613e1f565b945050602061404287828801613e1f565b935050604061405387828801613f06565b925050606085013567ffffffffffffffff81111561407057600080fd5b61407c87828801613e9d565b91505092959194509250565b6000806040838503121561409b57600080fd5b60006140a985828601613e1f565b92505060206140ba85828601613e49565b9150509250929050565b600080604083850312156140d757600080fd5b60006140e585828601613e1f565b92505060206140f685828601613f06565b9150509250929050565b60006020828403121561411257600080fd5b600061412084828501613e49565b91505092915050565b60006020828403121561413b57600080fd5b600061414984828501613e5e565b91505092915050565b60006020828403121561416457600080fd5b600061417284828501613e73565b91505092915050565b60006020828403121561418d57600080fd5b600061419b84828501613e88565b91505092915050565b6000602082840312156141b657600080fd5b60006141c484828501613ec7565b91505092915050565b600080604083850312156141e057600080fd5b60006141ee85828601613ec7565b92505060206141ff85828601613e1f565b9150509250929050565b60006020828403121561421b57600080fd5b600082013567ffffffffffffffff81111561423557600080fd5b61424184828501613edc565b91505092915050565b60006020828403121561425c57600080fd5b600061426a84828501613f06565b91505092915050565b60006020828403121561428557600080fd5b600061429384828501613f1b565b91505092915050565b6142a581614be2565b82525050565b6142b481614b4a565b82525050565b6142c381614b6e565b82525050565b60006142d4826149e7565b6142de81856149fd565b93506142ee818560208601614c27565b6142f781614df3565b840191505092915050565b600061430d826149e7565b6143178185614a0e565b9350614327818560208601614c27565b80840191505092915050565b600061433e826149f2565b6143488185614a19565b9350614358818560208601614c27565b61436181614df3565b840191505092915050565b6000614377826149f2565b6143818185614a2a565b9350614391818560208601614c27565b80840191505092915050565b60006143aa602683614a19565b91506143b582614e04565b604082019050919050565b60006143cd602683614a19565b91506143d882614e53565b604082019050919050565b60006143f0603a83614a19565b91506143fb82614ea2565b604082019050919050565b6000614413601d83614a19565b915061441e82614ef1565b602082019050919050565b6000614436602683614a19565b915061444182614f1a565b604082019050919050565b6000614459602b83614a19565b915061446482614f69565b604082019050919050565b600061447c601083614a19565b915061448782614fb8565b602082019050919050565b600061449f600d83614a19565b91506144aa82614fe1565b602082019050919050565b60006144c2602083614a19565b91506144cd8261500a565b602082019050919050565b60006144e5602f83614a19565b91506144f082615033565b604082019050919050565b6000614508601983614a19565b915061451382615082565b602082019050919050565b600061452b602283614a19565b9150614536826150ab565b604082019050919050565b600061454e600083614a0e565b9150614559826150fa565b600082019050919050565b6000614571601d83614a19565b915061457c826150fd565b602082019050919050565b6000614594602a83614a19565b915061459f82615126565b604082019050919050565b60006145b7600e83614a19565b91506145c282615175565b602082019050919050565b60006145da601b83614a19565b91506145e58261519e565b602082019050919050565b6145f981614bd8565b82525050565b600061460b8284614302565b915081905092915050565b6000614622828561436c565b915061462e828461436c565b91508190509392505050565b600061464582614541565b9150819050919050565b600060208201905061466460008301846142ab565b92915050565b600060408201905061467f600083018561429c565b61468c60208301846145f0565b9392505050565b60006080820190506146a860008301876142ab565b6146b560208301866142ab565b6146c260408301856145f0565b81810360608301526146d481846142c9565b905095945050505050565b60006040820190506146f460008301856142ab565b61470160208301846145f0565b9392505050565b600060208201905061471d60008301846142ba565b92915050565b6000602082019050818103600083015261473d8184614333565b905092915050565b6000602082019050818103600083015261475e8161439d565b9050919050565b6000602082019050818103600083015261477e816143c0565b9050919050565b6000602082019050818103600083015261479e816143e3565b9050919050565b600060208201905081810360008301526147be81614406565b9050919050565b600060208201905081810360008301526147de81614429565b9050919050565b600060208201905081810360008301526147fe8161444c565b9050919050565b6000602082019050818103600083015261481e8161446f565b9050919050565b6000602082019050818103600083015261483e81614492565b9050919050565b6000602082019050818103600083015261485e816144b5565b9050919050565b6000602082019050818103600083015261487e816144d8565b9050919050565b6000602082019050818103600083015261489e816144fb565b9050919050565b600060208201905081810360008301526148be8161451e565b9050919050565b600060208201905081810360008301526148de81614564565b9050919050565b600060208201905081810360008301526148fe81614587565b9050919050565b6000602082019050818103600083015261491e816145aa565b9050919050565b6000602082019050818103600083015261493e816145cd565b9050919050565b600060208201905061495a60008301846145f0565b92915050565b600061496a61497b565b90506149768282614c8c565b919050565b6000604051905090565b600067ffffffffffffffff8211156149a05761499f614dc4565b5b6149a982614df3565b9050602081019050919050565b600067ffffffffffffffff8211156149d1576149d0614dc4565b5b6149da82614df3565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a4082614bd8565b9150614a4b83614bd8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a8057614a7f614d37565b5b828201905092915050565b6000614a9682614bd8565b9150614aa183614bd8565b925082614ab157614ab0614d66565b5b828204905092915050565b6000614ac782614bd8565b9150614ad283614bd8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b0b57614b0a614d37565b5b828202905092915050565b6000614b2182614bd8565b9150614b2c83614bd8565b925082821015614b3f57614b3e614d37565b5b828203905092915050565b6000614b5582614bb8565b9050919050565b6000614b6782614bb8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614bb182614b4a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614bed82614bf4565b9050919050565b6000614bff82614c06565b9050919050565b6000614c1182614bb8565b9050919050565b82818337600083830152505050565b60005b83811015614c45578082015181840152602081019050614c2a565b83811115614c54576000848401525b50505050565b60006002820490506001821680614c7257607f821691505b60208210811415614c8657614c85614d95565b5b50919050565b614c9582614df3565b810181811067ffffffffffffffff82111715614cb457614cb3614dc4565b5b80604052505050565b6000614cc882614bd8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614cfb57614cfa614d37565b5b600182019050919050565b6000614d1182614bd8565b9150614d1c83614bd8565b925082614d2c57614d2b614d66565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f494e53554646494349454e542045544800000000000000000000000000000000600082015250565b7f53414c45204e4f54204c49564500000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f414d4f554e542045584345454453204d415820535550504c5900000000000000600082015250565b7f4e6f74207468652074696d6520746f2052656e6f756e6365204f776e6572736860008201527f6970000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f53414c4520495320504155534544000000000000000000000000000000000000600082015250565b7f414d4f554e54204f564552204d4158204d494e5420414d4f554e540000000000600082015250565b6151d081614b4a565b81146151db57600080fd5b50565b6151e781614b5c565b81146151f257600080fd5b50565b6151fe81614b6e565b811461520957600080fd5b50565b61521581614b7a565b811461522057600080fd5b50565b61522c81614ba6565b811461523757600080fd5b50565b61524381614bd8565b811461524e57600080fd5b5056fea2646970667358221220cdde80c83a132e95676bafcfda8b4b80bea8c323e6cfe082242e1e60c43d7c0f64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d61583546315a39644c5a5231654563556831766e3469456a6a794335544b514455523244716831476f5072672f00000000000000000000
Deployed Bytecode
0x6080604052600436106102765760003560e01c806370a082311161014f578063a22cb465116100c1578063e081b7811161007a578063e081b781146109da578063e0a8085314610a05578063e33b7de314610a2e578063e985e9c514610a59578063f2c4ce1e14610a96578063f2fde38b14610abf576102bd565b8063a22cb465146108ba578063a50e89ff146108e3578063b88d4fde146108fa578063c87b56dd14610923578063ce7c2ac214610960578063d79779b21461099d576102bd565b80638d859f3e116101135780638d859f3e146107b55780638da5cb5b146107e057806395d89b411461080b5780639852595c146108365780639858cf1914610873578063a0712d681461089e576102bd565b806370a08231146106ce578063715018a61461070b5780637b2ca38614610722578063845d1f8a1461074d5780638b83209b14610778576102bd565b80633a98ef39116101e85780634def4d1a116101ac5780634def4d1a146105aa5780634f6ccce7146105d3578063518302271461061057806355b597181461063b5780635c975abb146106665780636352211e14610691576102bd565b80633a98ef39146104c75780633c4c7bb4146104f2578063406072a91461051b57806342842e0e1461055857806348b7504414610581576102bd565b806318160ddd1161023a57806318160ddd146103b957806319165587146103e45780631c96cae91461040d57806323b872dd146104385780632f745c591461046157806330176e131461049e576102bd565b806301ffc9a7146102c257806306fdde03146102ff578063081812fc1461032a578063095ea7b31461036757806316c38b3c14610390576102bd565b366102bd577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102a4610ae8565b346040516102b39291906146df565b60405180910390a1005b600080fd5b3480156102ce57600080fd5b506102e960048036038101906102e49190614152565b610af0565b6040516102f69190614708565b60405180910390f35b34801561030b57600080fd5b50610314610c3a565b6040516103219190614723565b60405180910390f35b34801561033657600080fd5b50610351600480360381019061034c919061424a565b610ccc565b60405161035e919061464f565b60405180910390f35b34801561037357600080fd5b5061038e600480360381019061038991906140c4565b610d48565b005b34801561039c57600080fd5b506103b760048036038101906103b29190614100565b610e53565b005b3480156103c557600080fd5b506103ce610eec565b6040516103db9190614945565b60405180910390f35b3480156103f057600080fd5b5061040b60048036038101906104069190613f59565b610f44565b005b34801561041957600080fd5b506104226110ef565b60405161042f9190614945565b60405180910390f35b34801561044457600080fd5b5061045f600480360381019061045a9190613fbe565b6110f5565b005b34801561046d57600080fd5b50610488600480360381019061048391906140c4565b611105565b6040516104959190614945565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c09190614209565b61130d565b005b3480156104d357600080fd5b506104dc6113a3565b6040516104e99190614945565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190614100565b6113ad565b005b34801561052757600080fd5b50610542600480360381019061053d91906141cd565b611446565b60405161054f9190614945565b60405180910390f35b34801561056457600080fd5b5061057f600480360381019061057a9190613fbe565b6114cd565b005b34801561058d57600080fd5b506105a860048036038101906105a391906141cd565b6114ed565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190614100565b6117b5565b005b3480156105df57600080fd5b506105fa60048036038101906105f5919061424a565b61184e565b6040516106079190614945565b60405180910390f35b34801561061c57600080fd5b506106256119c1565b6040516106329190614708565b60405180910390f35b34801561064757600080fd5b506106506119d4565b60405161065d9190614945565b60405180910390f35b34801561067257600080fd5b5061067b6119d9565b6040516106889190614708565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b3919061424a565b6119ec565b6040516106c5919061464f565b60405180910390f35b3480156106da57600080fd5b506106f560048036038101906106f09190613f30565b611a02565b6040516107029190614945565b60405180910390f35b34801561071757600080fd5b50610720611ad2565b005b34801561072e57600080fd5b50610737611ba9565b6040516107449190614708565b60405180910390f35b34801561075957600080fd5b50610762611bbc565b60405161076f9190614945565b60405180910390f35b34801561078457600080fd5b5061079f600480360381019061079a919061424a565b611bc2565b6040516107ac919061464f565b60405180910390f35b3480156107c157600080fd5b506107ca611c30565b6040516107d79190614945565b60405180910390f35b3480156107ec57600080fd5b506107f5611c3b565b604051610802919061464f565b60405180910390f35b34801561081757600080fd5b50610820611c64565b60405161082d9190614723565b60405180910390f35b34801561084257600080fd5b5061085d60048036038101906108589190613f30565b611cf6565b60405161086a9190614945565b60405180910390f35b34801561087f57600080fd5b50610888611d3f565b6040516108959190614945565b60405180910390f35b6108b860048036038101906108b3919061424a565b611d45565b005b3480156108c657600080fd5b506108e160048036038101906108dc9190614088565b611f0d565b005b3480156108ef57600080fd5b506108f8612085565b005b34801561090657600080fd5b50610921600480360381019061091c919061400d565b61219a565b005b34801561092f57600080fd5b5061094a6004803603810190610945919061424a565b6121ed565b6040516109579190614723565b60405180910390f35b34801561096c57600080fd5b5061098760048036038101906109829190613f30565b61233b565b6040516109949190614945565b60405180910390f35b3480156109a957600080fd5b506109c460048036038101906109bf91906141a4565b612384565b6040516109d19190614945565b60405180910390f35b3480156109e657600080fd5b506109ef6123cd565b6040516109fc9190614708565b60405180910390f35b348015610a1157600080fd5b50610a2c6004803603810190610a279190614100565b6123e0565b005b348015610a3a57600080fd5b50610a43612479565b604051610a509190614945565b60405180910390f35b348015610a6557600080fd5b50610a806004803603810190610a7b9190613f82565b612483565b604051610a8d9190614708565b60405180910390f35b348015610aa257600080fd5b50610abd6004803603810190610ab89190614209565b612517565b005b348015610acb57600080fd5b50610ae66004803603810190610ae19190613f30565b6125ad565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bbb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c2357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c335750610c32826126a5565b5b9050919050565b606060028054610c4990614c5a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7590614c5a565b8015610cc25780601f10610c9757610100808354040283529160200191610cc2565b820191906000526020600020905b815481529060010190602001808311610ca557829003601f168201915b5050505050905090565b6000610cd78261270f565b610d0d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d53826119ec565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dbb576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dda610ae8565b73ffffffffffffffffffffffffffffffffffffffff1614158015610e0c5750610e0a81610e05610ae8565b612483565b155b15610e43576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e4e838383612778565b505050565b610e5b610ae8565b73ffffffffffffffffffffffffffffffffffffffff16610e79611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690614845565b60405180910390fd5b80601260016101000a81548160ff02191690831515021790555050565b6000600160109054906101000a90046fffffffffffffffffffffffffffffffff16600160009054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90614765565b60405180910390fd5b6000610fd0612479565b47610fdb9190614a35565b90506000610ff28383610fed86611cf6565b61282a565b90506000811415611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f906147e5565b60405180910390fd5b80600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110879190614a35565b9250508190555080600960008282546110a09190614a35565b925050819055506110b18382612898565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516110e292919061466a565b60405180910390a1505050565b6115b381565b61110083838361298c565b505050565b600061111083611a02565b8210611148576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015611301576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561126057506112f4565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146112a057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112f257868414156112e9578195505050505050611307565b83806001019450505b505b8080600101915050611183565b50600080fd5b92915050565b611315610ae8565b73ffffffffffffffffffffffffffffffffffffffff16611333611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614611389576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138090614845565b60405180910390fd5b806013908051906020019061139f929190613cbd565b5050565b6000600854905090565b6113b5610ae8565b73ffffffffffffffffffffffffffffffffffffffff166113d3611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614611429576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142090614845565b60405180910390fd5b80601260026101000a81548160ff02191690831515021790555050565b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6114e88383836040518060200160405280600081525061219a565b505050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161156f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156690614765565b60405180910390fd5b600061157a83612384565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016115b3919061464f565b60206040518083038186803b1580156115cb57600080fd5b505afa1580156115df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116039190614273565b61160d9190614a35565b9050600061162583836116208787611446565b61282a565b9050600081141561166b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611662906147e5565b60405180910390fd5b80600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116f79190614a35565b9250508190555080600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461174d9190614a35565b9250508190555061175f848483612eab565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a84836040516117a79291906146df565b60405180910390a250505050565b6117bd610ae8565b73ffffffffffffffffffffffffffffffffffffffff166117db611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614611831576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182890614845565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b600080600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b82811015611989576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161197b578583141561197257819450505050506119bc565b82806001019350505b508080600101915050611888565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b601260039054906101000a900460ff1681565b601481565b601260019054906101000a900460ff1681565b60006119f782612f31565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a6a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611ada610ae8565b73ffffffffffffffffffffffffffffffffffffffff16611af8611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590614845565b60405180910390fd5b601260009054906101000a900460ff16611b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b94906148a5565b60405180910390fd5b611ba760006131db565b565b601260009054906101000a900460ff1681565b60115481565b6000600c8281548110611bfe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b66470de4df82000081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611c7390614c5a565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9f90614c5a565b8015611cec5780601f10611cc157610100808354040283529160200191611cec565b820191906000526020600020905b815481529060010190602001808311611ccf57829003601f168201915b5050505050905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6101f481565b6115b381601154611d569190614a35565b1115611d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e90614885565b60405180910390fd5b6014811115611ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd290614925565b60405180910390fd5b601260019054906101000a900460ff1615611e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2290614905565b60405180910390fd5b601260029054906101000a900460ff16611e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7190614825565b60405180910390fd5b6101f481601154611e8b9190614a35565b1115611ee7578066470de4df820000611ea49190614abc565b341015611ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611edd90614805565b60405180910390fd5b5b8060116000828254611ef99190614a35565b92505081905550611f0a338261329f565b50565b611f15610ae8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f7a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611f87610ae8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612034610ae8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120799190614708565b60405180910390a35050565b61208d610ae8565b73ffffffffffffffffffffffffffffffffffffffff166120ab611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614612101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f890614845565b60405180910390fd5b60005b600f80549050811015612197576000600f828154811061214d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061218381610f44565b50808061218f90614cbd565b915050612104565b50565b6121a584848461298c565b6121b1848484846132bd565b6121e7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606121f88261270f565b612237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222e90614865565b60405180910390fd5b601260039054906101000a900460ff166122dd576014805461225890614c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461228490614c5a565b80156122d15780601f106122a6576101008083540402835291602001916122d1565b820191906000526020600020905b8154815290600101906020018083116122b457829003601f168201915b50505050509050612336565b60006122e761344b565b905060008151116123075760405180602001604052806000815250612332565b80612311846134dd565b604051602001612322929190614616565b6040516020818303038152906040525b9150505b919050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601260029054906101000a900460ff1681565b6123e8610ae8565b73ffffffffffffffffffffffffffffffffffffffff16612406611c3b565b73ffffffffffffffffffffffffffffffffffffffff161461245c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245390614845565b60405180910390fd5b80601260036101000a81548160ff02191690831515021790555050565b6000600954905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61251f610ae8565b73ffffffffffffffffffffffffffffffffffffffff1661253d611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614612593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258a90614845565b60405180910390fd5b80601490805190602001906125a9929190613cbd565b5050565b6125b5610ae8565b73ffffffffffffffffffffffffffffffffffffffff166125d3611c3b565b73ffffffffffffffffffffffffffffffffffffffff1614612629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262090614845565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269090614745565b60405180910390fd5b6126a2816131db565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015612771575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600081600854600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561287b9190614abc565b6128859190614a8b565b61288f9190614b16565b90509392505050565b804710156128db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d2906147a5565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129019061463a565b60006040518083038185875af1925050503d806000811461293e576040519150601f19603f3d011682016040523d82523d6000602084013e612943565b606091505b5050905080612987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297e90614785565b60405180910390fd5b505050565b600061299782612f31565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166129be610ae8565b73ffffffffffffffffffffffffffffffffffffffff1614806129f157506129f082600001516129eb610ae8565b612483565b5b80612a3657506129ff610ae8565b73ffffffffffffffffffffffffffffffffffffffff16612a1e84610ccc565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612a6f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612ad8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b3f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b4c858585600161368a565b612b5c6000848460000151612778565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612e3b57600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612e3a5782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ea48585856001613690565b5050505050565b612f2c8363a9059cbb60e01b8484604051602401612eca9291906146df565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613696565b505050565b612f39613d43565b6000829050600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156131a4576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516131a257600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130865780925050506131d6565b5b6001156131a157818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461319c5780925050506131d6565b613087565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6132b982826040518060200160405280600081525061375d565b5050565b60006132de8473ffffffffffffffffffffffffffffffffffffffff1661376f565b1561343e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613307610ae8565b8786866040518563ffffffff1660e01b81526004016133299493929190614693565b602060405180830381600087803b15801561334357600080fd5b505af192505050801561337457506040513d601f19601f82011682018060405250810190613371919061417b565b60015b6133ee573d80600081146133a4576040519150601f19603f3d011682016040523d82523d6000602084013e6133a9565b606091505b506000815114156133e6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613443565b600190505b949350505050565b60606013805461345a90614c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461348690614c5a565b80156134d35780601f106134a8576101008083540402835291602001916134d3565b820191906000526020600020905b8154815290600101906020018083116134b657829003601f168201915b5050505050905090565b60606000821415613525576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613685565b600082905060005b6000821461355757808061354090614cbd565b915050600a826135509190614a8b565b915061352d565b60008167ffffffffffffffff811115613599577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135cb5781602001600182028036833780820191505090505b5090505b6000851461367e576001826135e49190614b16565b9150600a856135f39190614d06565b60306135ff9190614a35565b60f81b81838151811061363b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856136779190614a8b565b94506135cf565b8093505050505b919050565b50505050565b50505050565b60006136f8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137929092919063ffffffff16565b905060008151111561375857808060200190518101906137189190614129565b613757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374e906148e5565b60405180910390fd5b5b505050565b61376a83838360016137aa565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606137a18484600085613b42565b90509392505050565b6000600160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613846576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613881576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61388e600086838761368a565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613af357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015613aa75750613aa560008884886132bd565b155b15613ade576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613a2c565b5080600160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050613b3b6000868387613690565b5050505050565b606082471015613b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b7e906147c5565b60405180910390fd5b613b908561376f565b613bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bc6906148c5565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613bf891906145ff565b60006040518083038185875af1925050503d8060008114613c35576040519150601f19603f3d011682016040523d82523d6000602084013e613c3a565b606091505b5091509150613c4a828286613c56565b92505050949350505050565b60608315613c6657829050613cb6565b600083511115613c795782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cad9190614723565b60405180910390fd5b9392505050565b828054613cc990614c5a565b90600052602060002090601f016020900481019282613ceb5760008555613d32565b82601f10613d0457805160ff1916838001178555613d32565b82800160010185558215613d32579182015b82811115613d31578251825591602001919060010190613d16565b5b509050613d3f9190613d86565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613d9f576000816000905550600101613d87565b5090565b6000613db6613db184614985565b614960565b905082815260208101848484011115613dce57600080fd5b613dd9848285614c18565b509392505050565b6000613df4613def846149b6565b614960565b905082815260208101848484011115613e0c57600080fd5b613e17848285614c18565b509392505050565b600081359050613e2e816151c7565b92915050565b600081359050613e43816151de565b92915050565b600081359050613e58816151f5565b92915050565b600081519050613e6d816151f5565b92915050565b600081359050613e828161520c565b92915050565b600081519050613e978161520c565b92915050565b600082601f830112613eae57600080fd5b8135613ebe848260208601613da3565b91505092915050565b600081359050613ed681615223565b92915050565b600082601f830112613eed57600080fd5b8135613efd848260208601613de1565b91505092915050565b600081359050613f158161523a565b92915050565b600081519050613f2a8161523a565b92915050565b600060208284031215613f4257600080fd5b6000613f5084828501613e1f565b91505092915050565b600060208284031215613f6b57600080fd5b6000613f7984828501613e34565b91505092915050565b60008060408385031215613f9557600080fd5b6000613fa385828601613e1f565b9250506020613fb485828601613e1f565b9150509250929050565b600080600060608486031215613fd357600080fd5b6000613fe186828701613e1f565b9350506020613ff286828701613e1f565b925050604061400386828701613f06565b9150509250925092565b6000806000806080858703121561402357600080fd5b600061403187828801613e1f565b945050602061404287828801613e1f565b935050604061405387828801613f06565b925050606085013567ffffffffffffffff81111561407057600080fd5b61407c87828801613e9d565b91505092959194509250565b6000806040838503121561409b57600080fd5b60006140a985828601613e1f565b92505060206140ba85828601613e49565b9150509250929050565b600080604083850312156140d757600080fd5b60006140e585828601613e1f565b92505060206140f685828601613f06565b9150509250929050565b60006020828403121561411257600080fd5b600061412084828501613e49565b91505092915050565b60006020828403121561413b57600080fd5b600061414984828501613e5e565b91505092915050565b60006020828403121561416457600080fd5b600061417284828501613e73565b91505092915050565b60006020828403121561418d57600080fd5b600061419b84828501613e88565b91505092915050565b6000602082840312156141b657600080fd5b60006141c484828501613ec7565b91505092915050565b600080604083850312156141e057600080fd5b60006141ee85828601613ec7565b92505060206141ff85828601613e1f565b9150509250929050565b60006020828403121561421b57600080fd5b600082013567ffffffffffffffff81111561423557600080fd5b61424184828501613edc565b91505092915050565b60006020828403121561425c57600080fd5b600061426a84828501613f06565b91505092915050565b60006020828403121561428557600080fd5b600061429384828501613f1b565b91505092915050565b6142a581614be2565b82525050565b6142b481614b4a565b82525050565b6142c381614b6e565b82525050565b60006142d4826149e7565b6142de81856149fd565b93506142ee818560208601614c27565b6142f781614df3565b840191505092915050565b600061430d826149e7565b6143178185614a0e565b9350614327818560208601614c27565b80840191505092915050565b600061433e826149f2565b6143488185614a19565b9350614358818560208601614c27565b61436181614df3565b840191505092915050565b6000614377826149f2565b6143818185614a2a565b9350614391818560208601614c27565b80840191505092915050565b60006143aa602683614a19565b91506143b582614e04565b604082019050919050565b60006143cd602683614a19565b91506143d882614e53565b604082019050919050565b60006143f0603a83614a19565b91506143fb82614ea2565b604082019050919050565b6000614413601d83614a19565b915061441e82614ef1565b602082019050919050565b6000614436602683614a19565b915061444182614f1a565b604082019050919050565b6000614459602b83614a19565b915061446482614f69565b604082019050919050565b600061447c601083614a19565b915061448782614fb8565b602082019050919050565b600061449f600d83614a19565b91506144aa82614fe1565b602082019050919050565b60006144c2602083614a19565b91506144cd8261500a565b602082019050919050565b60006144e5602f83614a19565b91506144f082615033565b604082019050919050565b6000614508601983614a19565b915061451382615082565b602082019050919050565b600061452b602283614a19565b9150614536826150ab565b604082019050919050565b600061454e600083614a0e565b9150614559826150fa565b600082019050919050565b6000614571601d83614a19565b915061457c826150fd565b602082019050919050565b6000614594602a83614a19565b915061459f82615126565b604082019050919050565b60006145b7600e83614a19565b91506145c282615175565b602082019050919050565b60006145da601b83614a19565b91506145e58261519e565b602082019050919050565b6145f981614bd8565b82525050565b600061460b8284614302565b915081905092915050565b6000614622828561436c565b915061462e828461436c565b91508190509392505050565b600061464582614541565b9150819050919050565b600060208201905061466460008301846142ab565b92915050565b600060408201905061467f600083018561429c565b61468c60208301846145f0565b9392505050565b60006080820190506146a860008301876142ab565b6146b560208301866142ab565b6146c260408301856145f0565b81810360608301526146d481846142c9565b905095945050505050565b60006040820190506146f460008301856142ab565b61470160208301846145f0565b9392505050565b600060208201905061471d60008301846142ba565b92915050565b6000602082019050818103600083015261473d8184614333565b905092915050565b6000602082019050818103600083015261475e8161439d565b9050919050565b6000602082019050818103600083015261477e816143c0565b9050919050565b6000602082019050818103600083015261479e816143e3565b9050919050565b600060208201905081810360008301526147be81614406565b9050919050565b600060208201905081810360008301526147de81614429565b9050919050565b600060208201905081810360008301526147fe8161444c565b9050919050565b6000602082019050818103600083015261481e8161446f565b9050919050565b6000602082019050818103600083015261483e81614492565b9050919050565b6000602082019050818103600083015261485e816144b5565b9050919050565b6000602082019050818103600083015261487e816144d8565b9050919050565b6000602082019050818103600083015261489e816144fb565b9050919050565b600060208201905081810360008301526148be8161451e565b9050919050565b600060208201905081810360008301526148de81614564565b9050919050565b600060208201905081810360008301526148fe81614587565b9050919050565b6000602082019050818103600083015261491e816145aa565b9050919050565b6000602082019050818103600083015261493e816145cd565b9050919050565b600060208201905061495a60008301846145f0565b92915050565b600061496a61497b565b90506149768282614c8c565b919050565b6000604051905090565b600067ffffffffffffffff8211156149a05761499f614dc4565b5b6149a982614df3565b9050602081019050919050565b600067ffffffffffffffff8211156149d1576149d0614dc4565b5b6149da82614df3565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a4082614bd8565b9150614a4b83614bd8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a8057614a7f614d37565b5b828201905092915050565b6000614a9682614bd8565b9150614aa183614bd8565b925082614ab157614ab0614d66565b5b828204905092915050565b6000614ac782614bd8565b9150614ad283614bd8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b0b57614b0a614d37565b5b828202905092915050565b6000614b2182614bd8565b9150614b2c83614bd8565b925082821015614b3f57614b3e614d37565b5b828203905092915050565b6000614b5582614bb8565b9050919050565b6000614b6782614bb8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614bb182614b4a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614bed82614bf4565b9050919050565b6000614bff82614c06565b9050919050565b6000614c1182614bb8565b9050919050565b82818337600083830152505050565b60005b83811015614c45578082015181840152602081019050614c2a565b83811115614c54576000848401525b50505050565b60006002820490506001821680614c7257607f821691505b60208210811415614c8657614c85614d95565b5b50919050565b614c9582614df3565b810181811067ffffffffffffffff82111715614cb457614cb3614dc4565b5b80604052505050565b6000614cc882614bd8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614cfb57614cfa614d37565b5b600182019050919050565b6000614d1182614bd8565b9150614d1c83614bd8565b925082614d2c57614d2b614d66565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f494e53554646494349454e542045544800000000000000000000000000000000600082015250565b7f53414c45204e4f54204c49564500000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f414d4f554e542045584345454453204d415820535550504c5900000000000000600082015250565b7f4e6f74207468652074696d6520746f2052656e6f756e6365204f776e6572736860008201527f6970000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f53414c4520495320504155534544000000000000000000000000000000000000600082015250565b7f414d4f554e54204f564552204d4158204d494e5420414d4f554e540000000000600082015250565b6151d081614b4a565b81146151db57600080fd5b50565b6151e781614b5c565b81146151f257600080fd5b50565b6151fe81614b6e565b811461520957600080fd5b50565b61521581614b7a565b811461522057600080fd5b50565b61522c81614ba6565b811461523757600080fd5b50565b61524381614bd8565b811461524e57600080fd5b5056fea2646970667358221220cdde80c83a132e95676bafcfda8b4b80bea8c323e6cfe082242e1e60c43d7c0f64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d61583546315a39644c5a5231654563556831766e3469456a6a794335544b514455523244716831476f5072672f00000000000000000000
-----Decoded View---------------
Arg [0] : _notRevealedUri (string): ipfs://QmaX5F1Z9dLZR1eEcUh1vn4iEjjyC5TKQDUR2Dqh1GoPrg/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d61583546315a39644c5a5231654563556831766e346945
Arg [3] : 6a6a794335544b514455523244716831476f5072672f00000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.