ERC-721
Overview
Max Total Supply
18 BANA
Holders
12
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BANALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
NFT
Compiler Version
v0.8.9+commit.e5eed63a
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.9; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract NFT is ERC721A, Ownable, Pausable, PaymentSplitter { using SafeMath for uint256; uint256 public constant maxSupply = 333; uint256 public constant max = 30; uint256 public price = 0.0088 ether; string public baseTokenURI; uint256[] private _shares = [65, 35]; address[] private _shareholders = [ 0xB284b81a3B41cD87D8d5999e296b5441b434e08e, 0xbA62693ccf70Af6d99106cE5a05F504cC74010B0 ]; constructor() ERC721A("Banana", "BANA") PaymentSplitter(_shareholders, _shares) {} function _startTokenId() internal pure override returns (uint256) { return 1; } modifier enoughSupply(uint256 _amount) { require( _totalMinted().add(_amount) <= maxSupply, "Minting would exceed max supply" ); _; } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } function withdraw() external onlyOwner { for (uint256 sh; sh < _shareholders.length; sh++) { address payable wallet = payable(_shareholders[sh]); release(wallet); } } function mint(uint256 _amount) external payable whenNotPaused enoughSupply(_amount) { require(msg.value >= price.mul(_amount), "Not enough ETH"); require( _numberMinted(msg.sender).add(_amount) <= max, "Minting would exceed address allowance" ); _safeMint(msg.sender, _amount); } function teamMint(uint256 _amount) external onlyOwner enoughSupply(_amount) { _safeMint(msg.sender, _amount); } function setMintPrice(uint256 _mintPrice) external onlyOwner { price = _mintPrice; } function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner { baseTokenURI = _baseTokenURI; } function _baseURI() internal view override returns (string memory) { return baseTokenURI; } }
// 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 AuxQueryForZeroAddress(); 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 extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev 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**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // 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 (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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 (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); }
// 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) (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); }
{ "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":[],"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":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","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":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","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":"_amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052661f438daa0600006010556040518060400160405280604160ff168152602001602360ff1681525060129060026200003e929190620006d9565b50604051806040016040528073b284b81a3b41cd87d8d5999e296b5441b434e08e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173ba62693ccf70af6d99106ce5a05f504cc74010b073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506013906002620000e692919062000730565b50348015620000f457600080fd5b5060138054806020026020016040519081016040528092919081815260200182805480156200017957602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116200012e575b50505050506012805480602002602001604051908101604052809291908181526020018280548015620001cc57602002820191906000526020600020905b815481526020019060010190808311620001b7575b50505050506040518060400160405280600681526020017f42616e616e6100000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f42414e4100000000000000000000000000000000000000000000000000000000815250816002908051906020019062000255929190620007bf565b5080600390805190602001906200026e929190620007bf565b506200027f620003c860201b60201c565b6000819055505050620002a76200029b620003d160201b60201c565b620003d960201b60201c565b6000600860146101000a81548160ff021916908315150217905550805182511462000309576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030090620008f6565b60405180910390fd5b600082511162000350576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003479062000968565b60405180910390fd5b60005b8251811015620003bf57620003a98382815181106200037757620003766200098a565b5b60200260200101518383815181106200039557620003946200098a565b5b60200260200101516200049f60201b60201c565b8080620003b690620009f2565b91505062000353565b50505062000d27565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000512576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005099062000ab6565b60405180910390fd5b6000811162000558576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200054f9062000b28565b60405180910390fd5b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620005dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005d49062000bc0565b60405180910390fd5b600d829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060095462000694919062000be2565b6009819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620006cd92919062000c95565b60405180910390a15050565b8280548282559060005260206000209081019282156200071d579160200282015b828111156200071c578251829060ff16905591602001919060010190620006fa565b5b5090506200072c919062000850565b5090565b828054828255906000526020600020908101928215620007ac579160200282015b82811115620007ab5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000751565b5b509050620007bb919062000850565b5090565b828054620007cd9062000cf1565b90600052602060002090601f016020900481019282620007f157600085556200083d565b82601f106200080c57805160ff19168380011785556200083d565b828001600101855582156200083d579182015b828111156200083c5782518255916020019190600101906200081f565b5b5090506200084c919062000850565b5090565b5b808211156200086b57600081600090555060010162000851565b5090565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b6000620008de6032836200086f565b9150620008eb8262000880565b604082019050919050565b600060208201905081810360008301526200091181620008cf565b9050919050565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b600062000950601a836200086f565b91506200095d8262000918565b602082019050919050565b60006020820190508181036000830152620009838162000941565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b6000620009ff82620009e8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000a355762000a34620009b9565b5b600182019050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b600062000a9e602c836200086f565b915062000aab8262000a40565b604082019050919050565b6000602082019050818103600083015262000ad18162000a8f565b9050919050565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b600062000b10601d836200086f565b915062000b1d8262000ad8565b602082019050919050565b6000602082019050818103600083015262000b438162000b01565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b600062000ba8602b836200086f565b915062000bb58262000b4a565b604082019050919050565b6000602082019050818103600083015262000bdb8162000b99565b9050919050565b600062000bef82620009e8565b915062000bfc83620009e8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000c345762000c33620009b9565b5b828201905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000c6c8262000c3f565b9050919050565b62000c7e8162000c5f565b82525050565b62000c8f81620009e8565b82525050565b600060408201905062000cac600083018562000c73565b62000cbb602083018462000c84565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000d0a57607f821691505b6020821081141562000d215762000d2062000cc2565b5b50919050565b614c2f8062000d376000396000f3fe6080604052600436106102295760003560e01c8063715018a611610123578063b88d4fde116100ab578063d79779b21161006f578063d79779b214610831578063e33b7de31461086e578063e985e9c514610899578063f2fde38b146108d6578063f4a0a528146108ff57610270565b8063b88d4fde14610738578063c87b56dd14610761578063ce7c2ac21461079e578063d547cfb7146107db578063d5abeb011461080657610270565b806395d89b41116100f257806395d89b41146106605780639852595c1461068b578063a035b1fe146106c8578063a0712d68146106f3578063a22cb4651461070f57610270565b8063715018a6146105ca5780638456cb59146105e15780638b83209b146105f85780638da5cb5b1461063557610270565b80633a98ef39116101b157806348b750441161017557806348b75044146104d15780635c975abb146104fa5780636352211e146105255780636ac5db191461056257806370a082311461058d57610270565b80633a98ef39146104125780633ccfd60b1461043d5780633f4ba83a14610454578063406072a91461046b57806342842e0e146104a857610270565b806318160ddd116101f857806318160ddd14610343578063191655871461036e57806323b872dd146103975780632fbba115146103c057806330176e13146103e957610270565b806301ffc9a71461027557806306fdde03146102b2578063081812fc146102dd578063095ea7b31461031a57610270565b36610270577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610257610928565b3460405161026692919061381b565b60405180910390a1005b600080fd5b34801561028157600080fd5b5061029c600480360381019061029791906138b0565b610930565b6040516102a991906138f8565b60405180910390f35b3480156102be57600080fd5b506102c7610a12565b6040516102d491906139ac565b60405180910390f35b3480156102e957600080fd5b5061030460048036038101906102ff91906139fa565b610aa4565b6040516103119190613a27565b60405180910390f35b34801561032657600080fd5b50610341600480360381019061033c9190613a6e565b610b20565b005b34801561034f57600080fd5b50610358610c2b565b6040516103659190613aae565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190613b07565b610c42565b005b3480156103a357600080fd5b506103be60048036038101906103b99190613b34565b610ded565b005b3480156103cc57600080fd5b506103e760048036038101906103e291906139fa565b610dfd565b005b3480156103f557600080fd5b50610410600480360381019061040b9190613cbc565b610ee6565b005b34801561041e57600080fd5b50610427610f7c565b6040516104349190613aae565b60405180910390f35b34801561044957600080fd5b50610452610f86565b005b34801561046057600080fd5b50610469611075565b005b34801561047757600080fd5b50610492600480360381019061048d9190613d43565b6110fb565b60405161049f9190613aae565b60405180910390f35b3480156104b457600080fd5b506104cf60048036038101906104ca9190613b34565b611182565b005b3480156104dd57600080fd5b506104f860048036038101906104f39190613d43565b6111a2565b005b34801561050657600080fd5b5061050f61146a565b60405161051c91906138f8565b60405180910390f35b34801561053157600080fd5b5061054c600480360381019061054791906139fa565b611481565b6040516105599190613a27565b60405180910390f35b34801561056e57600080fd5b50610577611497565b6040516105849190613aae565b60405180910390f35b34801561059957600080fd5b506105b460048036038101906105af9190613d83565b61149c565b6040516105c19190613aae565b60405180910390f35b3480156105d657600080fd5b506105df61156c565b005b3480156105ed57600080fd5b506105f66115f4565b005b34801561060457600080fd5b5061061f600480360381019061061a91906139fa565b61167a565b60405161062c9190613a27565b60405180910390f35b34801561064157600080fd5b5061064a6116c2565b6040516106579190613a27565b60405180910390f35b34801561066c57600080fd5b506106756116ec565b60405161068291906139ac565b60405180910390f35b34801561069757600080fd5b506106b260048036038101906106ad9190613d83565b61177e565b6040516106bf9190613aae565b60405180910390f35b3480156106d457600080fd5b506106dd6117c7565b6040516106ea9190613aae565b60405180910390f35b61070d600480360381019061070891906139fa565b6117cd565b005b34801561071b57600080fd5b5061073660048036038101906107319190613ddc565b611937565b005b34801561074457600080fd5b5061075f600480360381019061075a9190613ebd565b611aaf565b005b34801561076d57600080fd5b50610788600480360381019061078391906139fa565b611b2b565b60405161079591906139ac565b60405180910390f35b3480156107aa57600080fd5b506107c560048036038101906107c09190613d83565b611bca565b6040516107d29190613aae565b60405180910390f35b3480156107e757600080fd5b506107f0611c13565b6040516107fd91906139ac565b60405180910390f35b34801561081257600080fd5b5061081b611ca1565b6040516108289190613aae565b60405180910390f35b34801561083d57600080fd5b5061085860048036038101906108539190613f40565b611ca7565b6040516108659190613aae565b60405180910390f35b34801561087a57600080fd5b50610883611cf0565b6040516108909190613aae565b60405180910390f35b3480156108a557600080fd5b506108c060048036038101906108bb9190613f6d565b611cfa565b6040516108cd91906138f8565b60405180910390f35b3480156108e257600080fd5b506108fd60048036038101906108f89190613d83565b611d8e565b005b34801561090b57600080fd5b50610926600480360381019061092191906139fa565b611e86565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109fb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a0b5750610a0a82611f0c565b5b9050919050565b606060028054610a2190613fdc565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4d90613fdc565b8015610a9a5780601f10610a6f57610100808354040283529160200191610a9a565b820191906000526020600020905b815481529060010190602001808311610a7d57829003601f168201915b5050505050905090565b6000610aaf82611f76565b610ae5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b2b82611481565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b93576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bb2610928565b73ffffffffffffffffffffffffffffffffffffffff1614158015610be45750610be281610bdd610928565b611cfa565b155b15610c1b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c26838383611fc4565b505050565b6000610c35612076565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90614080565b60405180910390fd5b6000610cce611cf0565b47610cd991906140cf565b90506000610cf08383610ceb8661177e565b61207f565b90506000811415610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d90614197565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d8591906140cf565b9250508190555080600a6000828254610d9e91906140cf565b92505081905550610daf83826120ed565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610de0929190614216565b60405180910390a1505050565b610df88383836121e1565b505050565b610e05610928565b73ffffffffffffffffffffffffffffffffffffffff16610e236116c2565b73ffffffffffffffffffffffffffffffffffffffff1614610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e709061428b565b60405180910390fd5b8061014d610e9782610e896126d2565b6126e590919063ffffffff16565b1115610ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecf906142f7565b60405180910390fd5b610ee233836126fb565b5050565b610eee610928565b73ffffffffffffffffffffffffffffffffffffffff16610f0c6116c2565b73ffffffffffffffffffffffffffffffffffffffff1614610f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f599061428b565b60405180910390fd5b8060119080519060200190610f789291906136db565b5050565b6000600954905090565b610f8e610928565b73ffffffffffffffffffffffffffffffffffffffff16610fac6116c2565b73ffffffffffffffffffffffffffffffffffffffff1614611002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff99061428b565b60405180910390fd5b60005b6013805490508110156110725760006013828154811061102857611027614317565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061105e81610c42565b50808061106a90614346565b915050611005565b50565b61107d610928565b73ffffffffffffffffffffffffffffffffffffffff1661109b6116c2565b73ffffffffffffffffffffffffffffffffffffffff16146110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e89061428b565b60405180910390fd5b6110f9612719565b565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61119d83838360405180602001604052806000815250611aaf565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b90614080565b60405180910390fd5b600061122f83611ca7565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112689190613a27565b60206040518083038186803b15801561128057600080fd5b505afa158015611294573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b891906143a4565b6112c291906140cf565b905060006112da83836112d587876110fb565b61207f565b90506000811415611320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131790614197565b60405180910390fd5b80600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113ac91906140cf565b9250508190555080600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461140291906140cf565b925050819055506114148484836127bb565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a848360405161145c92919061381b565b60405180910390a250505050565b6000600860149054906101000a900460ff16905090565b600061148c82612841565b600001519050919050565b601e81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611504576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611574610928565b73ffffffffffffffffffffffffffffffffffffffff166115926116c2565b73ffffffffffffffffffffffffffffffffffffffff16146115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df9061428b565b60405180910390fd5b6115f26000612ad0565b565b6115fc610928565b73ffffffffffffffffffffffffffffffffffffffff1661161a6116c2565b73ffffffffffffffffffffffffffffffffffffffff1614611670576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116679061428b565b60405180910390fd5b611678612b96565b565b6000600d82815481106116905761168f614317565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546116fb90613fdc565b80601f016020809104026020016040519081016040528092919081815260200182805461172790613fdc565b80156117745780601f1061174957610100808354040283529160200191611774565b820191906000526020600020905b81548152906001019060200180831161175757829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60105481565b6117d561146a565b15611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c9061441d565b60405180910390fd5b8061014d611833826118256126d2565b6126e590919063ffffffff16565b1115611874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186b906142f7565b60405180910390fd5b61188982601054612c3990919063ffffffff16565b3410156118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c290614489565b60405180910390fd5b601e6118e8836118da33612c4f565b6126e590919063ffffffff16565b1115611929576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119209061451b565b60405180910390fd5b61193333836126fb565b5050565b61193f610928565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006119b1610928565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a5e610928565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aa391906138f8565b60405180910390a35050565b611aba8484846121e1565b611ad98373ffffffffffffffffffffffffffffffffffffffff16612d1f565b8015611aee5750611aec84848484612d42565b155b15611b25576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611b3682611f76565b611b6c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611b76612ea2565b9050600081511415611b975760405180602001604052806000815250611bc2565b80611ba184612f34565b604051602001611bb2929190614577565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60118054611c2090613fdc565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4c90613fdc565b8015611c995780601f10611c6e57610100808354040283529160200191611c99565b820191906000526020600020905b815481529060010190602001808311611c7c57829003601f168201915b505050505081565b61014d81565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d96610928565b73ffffffffffffffffffffffffffffffffffffffff16611db46116c2565b73ffffffffffffffffffffffffffffffffffffffff1614611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e019061428b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e719061460d565b60405180910390fd5b611e8381612ad0565b50565b611e8e610928565b73ffffffffffffffffffffffffffffffffffffffff16611eac6116c2565b73ffffffffffffffffffffffffffffffffffffffff1614611f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef99061428b565b60405180910390fd5b8060108190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611f81612076565b11158015611f90575060005482105b8015611fbd575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054856120d0919061462d565b6120da91906146b6565b6120e491906146e7565b90509392505050565b80471015612130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212790614767565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612156906147b8565b60006040518083038185875af1925050503d8060008114612193576040519150601f19603f3d011682016040523d82523d6000602084013e612198565b606091505b50509050806121dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d39061483f565b60405180910390fd5b505050565b60006121ec82612841565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612213610928565b73ffffffffffffffffffffffffffffffffffffffff16148061224657506122458260000151612240610928565b611cfa565b5b8061228b5750612254610928565b73ffffffffffffffffffffffffffffffffffffffff1661227384610aa4565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806122c4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461232d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612394576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123a18585856001613095565b6123b16000848460000151611fc4565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612662576000548110156126615782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126cb858585600161309b565b5050505050565b60006126dc612076565b60005403905090565b600081836126f391906140cf565b905092915050565b6127158282604051806020016040528060008152506130a1565b5050565b61272161146a565b612760576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612757906148ab565b60405180910390fd5b6000600860146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6127a4610928565b6040516127b19190613a27565b60405180910390a1565b61283c8363a9059cbb60e01b84846040516024016127da92919061381b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506130b3565b505050565b612849613761565b600082905080612857612076565b11158015612866575060005481105b15612a99576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612a9757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461297b578092505050612acb565b5b600115612a9657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a91578092505050612acb565b61297c565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612b9e61146a565b15612bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd59061441d565b60405180910390fd5b6001600860146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612c22610928565b604051612c2f9190613a27565b60405180910390a1565b60008183612c47919061462d565b905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cb7576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d68610928565b8786866040518563ffffffff1660e01b8152600401612d8a9493929190614920565b602060405180830381600087803b158015612da457600080fd5b505af1925050508015612dd557506040513d601f19601f82011682018060405250810190612dd29190614981565b60015b612e4f573d8060008114612e05576040519150601f19603f3d011682016040523d82523d6000602084013e612e0a565b606091505b50600081511415612e47576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060118054612eb190613fdc565b80601f0160208091040260200160405190810160405280929190818152602001828054612edd90613fdc565b8015612f2a5780601f10612eff57610100808354040283529160200191612f2a565b820191906000526020600020905b815481529060010190602001808311612f0d57829003601f168201915b5050505050905090565b60606000821415612f7c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613090565b600082905060005b60008214612fae578080612f9790614346565b915050600a82612fa791906146b6565b9150612f84565b60008167ffffffffffffffff811115612fca57612fc9613b91565b5b6040519080825280601f01601f191660200182016040528015612ffc5781602001600182028036833780820191505090505b5090505b600085146130895760018261301591906146e7565b9150600a8561302491906149ae565b603061303091906140cf565b60f81b81838151811061304657613045614317565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561308291906146b6565b9450613000565b8093505050505b919050565b50505050565b50505050565b6130ae838383600161317a565b505050565b6000613115826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166135489092919063ffffffff16565b9050600081511115613175578080602001905181019061313591906149f4565b613174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316b90614a93565b60405180910390fd5b5b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156131e7576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613222576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61322f6000868387613095565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156133f957506133f88773ffffffffffffffffffffffffffffffffffffffff16612d1f565b5b156134bf575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461346e6000888480600101955088612d42565b6134a4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156133ff5782600054146134ba57600080fd5b61352b565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156134c0575b816000819055505050613541600086838761309b565b5050505050565b60606135578484600085613560565b90509392505050565b6060824710156135a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359c90614b25565b60405180910390fd5b6135ae85612d1f565b6135ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e490614b91565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516136169190614be2565b60006040518083038185875af1925050503d8060008114613653576040519150601f19603f3d011682016040523d82523d6000602084013e613658565b606091505b5091509150613668828286613674565b92505050949350505050565b60608315613684578290506136d4565b6000835111156136975782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136cb91906139ac565b60405180910390fd5b9392505050565b8280546136e790613fdc565b90600052602060002090601f0160209004810192826137095760008555613750565b82601f1061372257805160ff1916838001178555613750565b82800160010185558215613750579182015b8281111561374f578251825591602001919060010190613734565b5b50905061375d91906137a4565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156137bd5760008160009055506001016137a5565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137ec826137c1565b9050919050565b6137fc816137e1565b82525050565b6000819050919050565b61381581613802565b82525050565b600060408201905061383060008301856137f3565b61383d602083018461380c565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61388d81613858565b811461389857600080fd5b50565b6000813590506138aa81613884565b92915050565b6000602082840312156138c6576138c561384e565b5b60006138d48482850161389b565b91505092915050565b60008115159050919050565b6138f2816138dd565b82525050565b600060208201905061390d60008301846138e9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561394d578082015181840152602081019050613932565b8381111561395c576000848401525b50505050565b6000601f19601f8301169050919050565b600061397e82613913565b613988818561391e565b935061399881856020860161392f565b6139a181613962565b840191505092915050565b600060208201905081810360008301526139c68184613973565b905092915050565b6139d781613802565b81146139e257600080fd5b50565b6000813590506139f4816139ce565b92915050565b600060208284031215613a1057613a0f61384e565b5b6000613a1e848285016139e5565b91505092915050565b6000602082019050613a3c60008301846137f3565b92915050565b613a4b816137e1565b8114613a5657600080fd5b50565b600081359050613a6881613a42565b92915050565b60008060408385031215613a8557613a8461384e565b5b6000613a9385828601613a59565b9250506020613aa4858286016139e5565b9150509250929050565b6000602082019050613ac3600083018461380c565b92915050565b6000613ad4826137c1565b9050919050565b613ae481613ac9565b8114613aef57600080fd5b50565b600081359050613b0181613adb565b92915050565b600060208284031215613b1d57613b1c61384e565b5b6000613b2b84828501613af2565b91505092915050565b600080600060608486031215613b4d57613b4c61384e565b5b6000613b5b86828701613a59565b9350506020613b6c86828701613a59565b9250506040613b7d868287016139e5565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bc982613962565b810181811067ffffffffffffffff82111715613be857613be7613b91565b5b80604052505050565b6000613bfb613844565b9050613c078282613bc0565b919050565b600067ffffffffffffffff821115613c2757613c26613b91565b5b613c3082613962565b9050602081019050919050565b82818337600083830152505050565b6000613c5f613c5a84613c0c565b613bf1565b905082815260208101848484011115613c7b57613c7a613b8c565b5b613c86848285613c3d565b509392505050565b600082601f830112613ca357613ca2613b87565b5b8135613cb3848260208601613c4c565b91505092915050565b600060208284031215613cd257613cd161384e565b5b600082013567ffffffffffffffff811115613cf057613cef613853565b5b613cfc84828501613c8e565b91505092915050565b6000613d10826137e1565b9050919050565b613d2081613d05565b8114613d2b57600080fd5b50565b600081359050613d3d81613d17565b92915050565b60008060408385031215613d5a57613d5961384e565b5b6000613d6885828601613d2e565b9250506020613d7985828601613a59565b9150509250929050565b600060208284031215613d9957613d9861384e565b5b6000613da784828501613a59565b91505092915050565b613db9816138dd565b8114613dc457600080fd5b50565b600081359050613dd681613db0565b92915050565b60008060408385031215613df357613df261384e565b5b6000613e0185828601613a59565b9250506020613e1285828601613dc7565b9150509250929050565b600067ffffffffffffffff821115613e3757613e36613b91565b5b613e4082613962565b9050602081019050919050565b6000613e60613e5b84613e1c565b613bf1565b905082815260208101848484011115613e7c57613e7b613b8c565b5b613e87848285613c3d565b509392505050565b600082601f830112613ea457613ea3613b87565b5b8135613eb4848260208601613e4d565b91505092915050565b60008060008060808587031215613ed757613ed661384e565b5b6000613ee587828801613a59565b9450506020613ef687828801613a59565b9350506040613f07878288016139e5565b925050606085013567ffffffffffffffff811115613f2857613f27613853565b5b613f3487828801613e8f565b91505092959194509250565b600060208284031215613f5657613f5561384e565b5b6000613f6484828501613d2e565b91505092915050565b60008060408385031215613f8457613f8361384e565b5b6000613f9285828601613a59565b9250506020613fa385828601613a59565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ff457607f821691505b6020821081141561400857614007613fad565b5b50919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b600061406a60268361391e565b91506140758261400e565b604082019050919050565b600060208201905081810360008301526140998161405d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140da82613802565b91506140e583613802565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561411a576141196140a0565b5b828201905092915050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000614181602b8361391e565b915061418c82614125565b604082019050919050565b600060208201905081810360008301526141b081614174565b9050919050565b6000819050919050565b60006141dc6141d76141d2846137c1565b6141b7565b6137c1565b9050919050565b60006141ee826141c1565b9050919050565b6000614200826141e3565b9050919050565b614210816141f5565b82525050565b600060408201905061422b6000830185614207565b614238602083018461380c565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061427560208361391e565b91506142808261423f565b602082019050919050565b600060208201905081810360008301526142a481614268565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b60006142e1601f8361391e565b91506142ec826142ab565b602082019050919050565b60006020820190508181036000830152614310816142d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061435182613802565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614384576143836140a0565b5b600182019050919050565b60008151905061439e816139ce565b92915050565b6000602082840312156143ba576143b961384e565b5b60006143c88482850161438f565b91505092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061440760108361391e565b9150614412826143d1565b602082019050919050565b60006020820190508181036000830152614436816143fa565b9050919050565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b6000614473600e8361391e565b915061447e8261443d565b602082019050919050565b600060208201905081810360008301526144a281614466565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206164647265737320616c6c60008201527f6f77616e63650000000000000000000000000000000000000000000000000000602082015250565b600061450560268361391e565b9150614510826144a9565b604082019050919050565b60006020820190508181036000830152614534816144f8565b9050919050565b600081905092915050565b600061455182613913565b61455b818561453b565b935061456b81856020860161392f565b80840191505092915050565b60006145838285614546565b915061458f8284614546565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145f760268361391e565b91506146028261459b565b604082019050919050565b60006020820190508181036000830152614626816145ea565b9050919050565b600061463882613802565b915061464383613802565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561467c5761467b6140a0565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146c182613802565b91506146cc83613802565b9250826146dc576146db614687565b5b828204905092915050565b60006146f282613802565b91506146fd83613802565b9250828210156147105761470f6140a0565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614751601d8361391e565b915061475c8261471b565b602082019050919050565b6000602082019050818103600083015261478081614744565b9050919050565b600081905092915050565b50565b60006147a2600083614787565b91506147ad82614792565b600082019050919050565b60006147c382614795565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614829603a8361391e565b9150614834826147cd565b604082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061489560148361391e565b91506148a08261485f565b602082019050919050565b600060208201905081810360008301526148c481614888565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006148f2826148cb565b6148fc81856148d6565b935061490c81856020860161392f565b61491581613962565b840191505092915050565b600060808201905061493560008301876137f3565b61494260208301866137f3565b61494f604083018561380c565b818103606083015261496181846148e7565b905095945050505050565b60008151905061497b81613884565b92915050565b6000602082840312156149975761499661384e565b5b60006149a58482850161496c565b91505092915050565b60006149b982613802565b91506149c483613802565b9250826149d4576149d3614687565b5b828206905092915050565b6000815190506149ee81613db0565b92915050565b600060208284031215614a0a57614a0961384e565b5b6000614a18848285016149df565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000614a7d602a8361391e565b9150614a8882614a21565b604082019050919050565b60006020820190508181036000830152614aac81614a70565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000614b0f60268361391e565b9150614b1a82614ab3565b604082019050919050565b60006020820190508181036000830152614b3e81614b02565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614b7b601d8361391e565b9150614b8682614b45565b602082019050919050565b60006020820190508181036000830152614baa81614b6e565b9050919050565b6000614bbc826148cb565b614bc68185614787565b9350614bd681856020860161392f565b80840191505092915050565b6000614bee8284614bb1565b91508190509291505056fea2646970667358221220461dde08c74c9a449f70b8542a66a0e78254e3fd5e4ad85ffd4fee08c156f81964736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102295760003560e01c8063715018a611610123578063b88d4fde116100ab578063d79779b21161006f578063d79779b214610831578063e33b7de31461086e578063e985e9c514610899578063f2fde38b146108d6578063f4a0a528146108ff57610270565b8063b88d4fde14610738578063c87b56dd14610761578063ce7c2ac21461079e578063d547cfb7146107db578063d5abeb011461080657610270565b806395d89b41116100f257806395d89b41146106605780639852595c1461068b578063a035b1fe146106c8578063a0712d68146106f3578063a22cb4651461070f57610270565b8063715018a6146105ca5780638456cb59146105e15780638b83209b146105f85780638da5cb5b1461063557610270565b80633a98ef39116101b157806348b750441161017557806348b75044146104d15780635c975abb146104fa5780636352211e146105255780636ac5db191461056257806370a082311461058d57610270565b80633a98ef39146104125780633ccfd60b1461043d5780633f4ba83a14610454578063406072a91461046b57806342842e0e146104a857610270565b806318160ddd116101f857806318160ddd14610343578063191655871461036e57806323b872dd146103975780632fbba115146103c057806330176e13146103e957610270565b806301ffc9a71461027557806306fdde03146102b2578063081812fc146102dd578063095ea7b31461031a57610270565b36610270577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610257610928565b3460405161026692919061381b565b60405180910390a1005b600080fd5b34801561028157600080fd5b5061029c600480360381019061029791906138b0565b610930565b6040516102a991906138f8565b60405180910390f35b3480156102be57600080fd5b506102c7610a12565b6040516102d491906139ac565b60405180910390f35b3480156102e957600080fd5b5061030460048036038101906102ff91906139fa565b610aa4565b6040516103119190613a27565b60405180910390f35b34801561032657600080fd5b50610341600480360381019061033c9190613a6e565b610b20565b005b34801561034f57600080fd5b50610358610c2b565b6040516103659190613aae565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190613b07565b610c42565b005b3480156103a357600080fd5b506103be60048036038101906103b99190613b34565b610ded565b005b3480156103cc57600080fd5b506103e760048036038101906103e291906139fa565b610dfd565b005b3480156103f557600080fd5b50610410600480360381019061040b9190613cbc565b610ee6565b005b34801561041e57600080fd5b50610427610f7c565b6040516104349190613aae565b60405180910390f35b34801561044957600080fd5b50610452610f86565b005b34801561046057600080fd5b50610469611075565b005b34801561047757600080fd5b50610492600480360381019061048d9190613d43565b6110fb565b60405161049f9190613aae565b60405180910390f35b3480156104b457600080fd5b506104cf60048036038101906104ca9190613b34565b611182565b005b3480156104dd57600080fd5b506104f860048036038101906104f39190613d43565b6111a2565b005b34801561050657600080fd5b5061050f61146a565b60405161051c91906138f8565b60405180910390f35b34801561053157600080fd5b5061054c600480360381019061054791906139fa565b611481565b6040516105599190613a27565b60405180910390f35b34801561056e57600080fd5b50610577611497565b6040516105849190613aae565b60405180910390f35b34801561059957600080fd5b506105b460048036038101906105af9190613d83565b61149c565b6040516105c19190613aae565b60405180910390f35b3480156105d657600080fd5b506105df61156c565b005b3480156105ed57600080fd5b506105f66115f4565b005b34801561060457600080fd5b5061061f600480360381019061061a91906139fa565b61167a565b60405161062c9190613a27565b60405180910390f35b34801561064157600080fd5b5061064a6116c2565b6040516106579190613a27565b60405180910390f35b34801561066c57600080fd5b506106756116ec565b60405161068291906139ac565b60405180910390f35b34801561069757600080fd5b506106b260048036038101906106ad9190613d83565b61177e565b6040516106bf9190613aae565b60405180910390f35b3480156106d457600080fd5b506106dd6117c7565b6040516106ea9190613aae565b60405180910390f35b61070d600480360381019061070891906139fa565b6117cd565b005b34801561071b57600080fd5b5061073660048036038101906107319190613ddc565b611937565b005b34801561074457600080fd5b5061075f600480360381019061075a9190613ebd565b611aaf565b005b34801561076d57600080fd5b50610788600480360381019061078391906139fa565b611b2b565b60405161079591906139ac565b60405180910390f35b3480156107aa57600080fd5b506107c560048036038101906107c09190613d83565b611bca565b6040516107d29190613aae565b60405180910390f35b3480156107e757600080fd5b506107f0611c13565b6040516107fd91906139ac565b60405180910390f35b34801561081257600080fd5b5061081b611ca1565b6040516108289190613aae565b60405180910390f35b34801561083d57600080fd5b5061085860048036038101906108539190613f40565b611ca7565b6040516108659190613aae565b60405180910390f35b34801561087a57600080fd5b50610883611cf0565b6040516108909190613aae565b60405180910390f35b3480156108a557600080fd5b506108c060048036038101906108bb9190613f6d565b611cfa565b6040516108cd91906138f8565b60405180910390f35b3480156108e257600080fd5b506108fd60048036038101906108f89190613d83565b611d8e565b005b34801561090b57600080fd5b50610926600480360381019061092191906139fa565b611e86565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109fb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a0b5750610a0a82611f0c565b5b9050919050565b606060028054610a2190613fdc565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4d90613fdc565b8015610a9a5780601f10610a6f57610100808354040283529160200191610a9a565b820191906000526020600020905b815481529060010190602001808311610a7d57829003601f168201915b5050505050905090565b6000610aaf82611f76565b610ae5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b2b82611481565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b93576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bb2610928565b73ffffffffffffffffffffffffffffffffffffffff1614158015610be45750610be281610bdd610928565b611cfa565b155b15610c1b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c26838383611fc4565b505050565b6000610c35612076565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90614080565b60405180910390fd5b6000610cce611cf0565b47610cd991906140cf565b90506000610cf08383610ceb8661177e565b61207f565b90506000811415610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d90614197565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d8591906140cf565b9250508190555080600a6000828254610d9e91906140cf565b92505081905550610daf83826120ed565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610de0929190614216565b60405180910390a1505050565b610df88383836121e1565b505050565b610e05610928565b73ffffffffffffffffffffffffffffffffffffffff16610e236116c2565b73ffffffffffffffffffffffffffffffffffffffff1614610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e709061428b565b60405180910390fd5b8061014d610e9782610e896126d2565b6126e590919063ffffffff16565b1115610ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecf906142f7565b60405180910390fd5b610ee233836126fb565b5050565b610eee610928565b73ffffffffffffffffffffffffffffffffffffffff16610f0c6116c2565b73ffffffffffffffffffffffffffffffffffffffff1614610f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f599061428b565b60405180910390fd5b8060119080519060200190610f789291906136db565b5050565b6000600954905090565b610f8e610928565b73ffffffffffffffffffffffffffffffffffffffff16610fac6116c2565b73ffffffffffffffffffffffffffffffffffffffff1614611002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff99061428b565b60405180910390fd5b60005b6013805490508110156110725760006013828154811061102857611027614317565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061105e81610c42565b50808061106a90614346565b915050611005565b50565b61107d610928565b73ffffffffffffffffffffffffffffffffffffffff1661109b6116c2565b73ffffffffffffffffffffffffffffffffffffffff16146110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e89061428b565b60405180910390fd5b6110f9612719565b565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61119d83838360405180602001604052806000815250611aaf565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b90614080565b60405180910390fd5b600061122f83611ca7565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112689190613a27565b60206040518083038186803b15801561128057600080fd5b505afa158015611294573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b891906143a4565b6112c291906140cf565b905060006112da83836112d587876110fb565b61207f565b90506000811415611320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131790614197565b60405180910390fd5b80600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113ac91906140cf565b9250508190555080600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461140291906140cf565b925050819055506114148484836127bb565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a848360405161145c92919061381b565b60405180910390a250505050565b6000600860149054906101000a900460ff16905090565b600061148c82612841565b600001519050919050565b601e81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611504576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611574610928565b73ffffffffffffffffffffffffffffffffffffffff166115926116c2565b73ffffffffffffffffffffffffffffffffffffffff16146115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df9061428b565b60405180910390fd5b6115f26000612ad0565b565b6115fc610928565b73ffffffffffffffffffffffffffffffffffffffff1661161a6116c2565b73ffffffffffffffffffffffffffffffffffffffff1614611670576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116679061428b565b60405180910390fd5b611678612b96565b565b6000600d82815481106116905761168f614317565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546116fb90613fdc565b80601f016020809104026020016040519081016040528092919081815260200182805461172790613fdc565b80156117745780601f1061174957610100808354040283529160200191611774565b820191906000526020600020905b81548152906001019060200180831161175757829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60105481565b6117d561146a565b15611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c9061441d565b60405180910390fd5b8061014d611833826118256126d2565b6126e590919063ffffffff16565b1115611874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186b906142f7565b60405180910390fd5b61188982601054612c3990919063ffffffff16565b3410156118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c290614489565b60405180910390fd5b601e6118e8836118da33612c4f565b6126e590919063ffffffff16565b1115611929576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119209061451b565b60405180910390fd5b61193333836126fb565b5050565b61193f610928565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006119b1610928565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a5e610928565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aa391906138f8565b60405180910390a35050565b611aba8484846121e1565b611ad98373ffffffffffffffffffffffffffffffffffffffff16612d1f565b8015611aee5750611aec84848484612d42565b155b15611b25576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611b3682611f76565b611b6c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611b76612ea2565b9050600081511415611b975760405180602001604052806000815250611bc2565b80611ba184612f34565b604051602001611bb2929190614577565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60118054611c2090613fdc565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4c90613fdc565b8015611c995780601f10611c6e57610100808354040283529160200191611c99565b820191906000526020600020905b815481529060010190602001808311611c7c57829003601f168201915b505050505081565b61014d81565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d96610928565b73ffffffffffffffffffffffffffffffffffffffff16611db46116c2565b73ffffffffffffffffffffffffffffffffffffffff1614611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e019061428b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e719061460d565b60405180910390fd5b611e8381612ad0565b50565b611e8e610928565b73ffffffffffffffffffffffffffffffffffffffff16611eac6116c2565b73ffffffffffffffffffffffffffffffffffffffff1614611f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef99061428b565b60405180910390fd5b8060108190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611f81612076565b11158015611f90575060005482105b8015611fbd575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054856120d0919061462d565b6120da91906146b6565b6120e491906146e7565b90509392505050565b80471015612130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212790614767565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612156906147b8565b60006040518083038185875af1925050503d8060008114612193576040519150601f19603f3d011682016040523d82523d6000602084013e612198565b606091505b50509050806121dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d39061483f565b60405180910390fd5b505050565b60006121ec82612841565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612213610928565b73ffffffffffffffffffffffffffffffffffffffff16148061224657506122458260000151612240610928565b611cfa565b5b8061228b5750612254610928565b73ffffffffffffffffffffffffffffffffffffffff1661227384610aa4565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806122c4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461232d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612394576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123a18585856001613095565b6123b16000848460000151611fc4565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612662576000548110156126615782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126cb858585600161309b565b5050505050565b60006126dc612076565b60005403905090565b600081836126f391906140cf565b905092915050565b6127158282604051806020016040528060008152506130a1565b5050565b61272161146a565b612760576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612757906148ab565b60405180910390fd5b6000600860146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6127a4610928565b6040516127b19190613a27565b60405180910390a1565b61283c8363a9059cbb60e01b84846040516024016127da92919061381b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506130b3565b505050565b612849613761565b600082905080612857612076565b11158015612866575060005481105b15612a99576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612a9757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461297b578092505050612acb565b5b600115612a9657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a91578092505050612acb565b61297c565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612b9e61146a565b15612bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd59061441d565b60405180910390fd5b6001600860146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612c22610928565b604051612c2f9190613a27565b60405180910390a1565b60008183612c47919061462d565b905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cb7576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d68610928565b8786866040518563ffffffff1660e01b8152600401612d8a9493929190614920565b602060405180830381600087803b158015612da457600080fd5b505af1925050508015612dd557506040513d601f19601f82011682018060405250810190612dd29190614981565b60015b612e4f573d8060008114612e05576040519150601f19603f3d011682016040523d82523d6000602084013e612e0a565b606091505b50600081511415612e47576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060118054612eb190613fdc565b80601f0160208091040260200160405190810160405280929190818152602001828054612edd90613fdc565b8015612f2a5780601f10612eff57610100808354040283529160200191612f2a565b820191906000526020600020905b815481529060010190602001808311612f0d57829003601f168201915b5050505050905090565b60606000821415612f7c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613090565b600082905060005b60008214612fae578080612f9790614346565b915050600a82612fa791906146b6565b9150612f84565b60008167ffffffffffffffff811115612fca57612fc9613b91565b5b6040519080825280601f01601f191660200182016040528015612ffc5781602001600182028036833780820191505090505b5090505b600085146130895760018261301591906146e7565b9150600a8561302491906149ae565b603061303091906140cf565b60f81b81838151811061304657613045614317565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561308291906146b6565b9450613000565b8093505050505b919050565b50505050565b50505050565b6130ae838383600161317a565b505050565b6000613115826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166135489092919063ffffffff16565b9050600081511115613175578080602001905181019061313591906149f4565b613174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316b90614a93565b60405180910390fd5b5b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156131e7576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613222576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61322f6000868387613095565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156133f957506133f88773ffffffffffffffffffffffffffffffffffffffff16612d1f565b5b156134bf575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461346e6000888480600101955088612d42565b6134a4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156133ff5782600054146134ba57600080fd5b61352b565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156134c0575b816000819055505050613541600086838761309b565b5050505050565b60606135578484600085613560565b90509392505050565b6060824710156135a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359c90614b25565b60405180910390fd5b6135ae85612d1f565b6135ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e490614b91565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516136169190614be2565b60006040518083038185875af1925050503d8060008114613653576040519150601f19603f3d011682016040523d82523d6000602084013e613658565b606091505b5091509150613668828286613674565b92505050949350505050565b60608315613684578290506136d4565b6000835111156136975782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136cb91906139ac565b60405180910390fd5b9392505050565b8280546136e790613fdc565b90600052602060002090601f0160209004810192826137095760008555613750565b82601f1061372257805160ff1916838001178555613750565b82800160010185558215613750579182015b8281111561374f578251825591602001919060010190613734565b5b50905061375d91906137a4565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156137bd5760008160009055506001016137a5565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137ec826137c1565b9050919050565b6137fc816137e1565b82525050565b6000819050919050565b61381581613802565b82525050565b600060408201905061383060008301856137f3565b61383d602083018461380c565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61388d81613858565b811461389857600080fd5b50565b6000813590506138aa81613884565b92915050565b6000602082840312156138c6576138c561384e565b5b60006138d48482850161389b565b91505092915050565b60008115159050919050565b6138f2816138dd565b82525050565b600060208201905061390d60008301846138e9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561394d578082015181840152602081019050613932565b8381111561395c576000848401525b50505050565b6000601f19601f8301169050919050565b600061397e82613913565b613988818561391e565b935061399881856020860161392f565b6139a181613962565b840191505092915050565b600060208201905081810360008301526139c68184613973565b905092915050565b6139d781613802565b81146139e257600080fd5b50565b6000813590506139f4816139ce565b92915050565b600060208284031215613a1057613a0f61384e565b5b6000613a1e848285016139e5565b91505092915050565b6000602082019050613a3c60008301846137f3565b92915050565b613a4b816137e1565b8114613a5657600080fd5b50565b600081359050613a6881613a42565b92915050565b60008060408385031215613a8557613a8461384e565b5b6000613a9385828601613a59565b9250506020613aa4858286016139e5565b9150509250929050565b6000602082019050613ac3600083018461380c565b92915050565b6000613ad4826137c1565b9050919050565b613ae481613ac9565b8114613aef57600080fd5b50565b600081359050613b0181613adb565b92915050565b600060208284031215613b1d57613b1c61384e565b5b6000613b2b84828501613af2565b91505092915050565b600080600060608486031215613b4d57613b4c61384e565b5b6000613b5b86828701613a59565b9350506020613b6c86828701613a59565b9250506040613b7d868287016139e5565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bc982613962565b810181811067ffffffffffffffff82111715613be857613be7613b91565b5b80604052505050565b6000613bfb613844565b9050613c078282613bc0565b919050565b600067ffffffffffffffff821115613c2757613c26613b91565b5b613c3082613962565b9050602081019050919050565b82818337600083830152505050565b6000613c5f613c5a84613c0c565b613bf1565b905082815260208101848484011115613c7b57613c7a613b8c565b5b613c86848285613c3d565b509392505050565b600082601f830112613ca357613ca2613b87565b5b8135613cb3848260208601613c4c565b91505092915050565b600060208284031215613cd257613cd161384e565b5b600082013567ffffffffffffffff811115613cf057613cef613853565b5b613cfc84828501613c8e565b91505092915050565b6000613d10826137e1565b9050919050565b613d2081613d05565b8114613d2b57600080fd5b50565b600081359050613d3d81613d17565b92915050565b60008060408385031215613d5a57613d5961384e565b5b6000613d6885828601613d2e565b9250506020613d7985828601613a59565b9150509250929050565b600060208284031215613d9957613d9861384e565b5b6000613da784828501613a59565b91505092915050565b613db9816138dd565b8114613dc457600080fd5b50565b600081359050613dd681613db0565b92915050565b60008060408385031215613df357613df261384e565b5b6000613e0185828601613a59565b9250506020613e1285828601613dc7565b9150509250929050565b600067ffffffffffffffff821115613e3757613e36613b91565b5b613e4082613962565b9050602081019050919050565b6000613e60613e5b84613e1c565b613bf1565b905082815260208101848484011115613e7c57613e7b613b8c565b5b613e87848285613c3d565b509392505050565b600082601f830112613ea457613ea3613b87565b5b8135613eb4848260208601613e4d565b91505092915050565b60008060008060808587031215613ed757613ed661384e565b5b6000613ee587828801613a59565b9450506020613ef687828801613a59565b9350506040613f07878288016139e5565b925050606085013567ffffffffffffffff811115613f2857613f27613853565b5b613f3487828801613e8f565b91505092959194509250565b600060208284031215613f5657613f5561384e565b5b6000613f6484828501613d2e565b91505092915050565b60008060408385031215613f8457613f8361384e565b5b6000613f9285828601613a59565b9250506020613fa385828601613a59565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ff457607f821691505b6020821081141561400857614007613fad565b5b50919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b600061406a60268361391e565b91506140758261400e565b604082019050919050565b600060208201905081810360008301526140998161405d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140da82613802565b91506140e583613802565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561411a576141196140a0565b5b828201905092915050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000614181602b8361391e565b915061418c82614125565b604082019050919050565b600060208201905081810360008301526141b081614174565b9050919050565b6000819050919050565b60006141dc6141d76141d2846137c1565b6141b7565b6137c1565b9050919050565b60006141ee826141c1565b9050919050565b6000614200826141e3565b9050919050565b614210816141f5565b82525050565b600060408201905061422b6000830185614207565b614238602083018461380c565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061427560208361391e565b91506142808261423f565b602082019050919050565b600060208201905081810360008301526142a481614268565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b60006142e1601f8361391e565b91506142ec826142ab565b602082019050919050565b60006020820190508181036000830152614310816142d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061435182613802565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614384576143836140a0565b5b600182019050919050565b60008151905061439e816139ce565b92915050565b6000602082840312156143ba576143b961384e565b5b60006143c88482850161438f565b91505092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061440760108361391e565b9150614412826143d1565b602082019050919050565b60006020820190508181036000830152614436816143fa565b9050919050565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b6000614473600e8361391e565b915061447e8261443d565b602082019050919050565b600060208201905081810360008301526144a281614466565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206164647265737320616c6c60008201527f6f77616e63650000000000000000000000000000000000000000000000000000602082015250565b600061450560268361391e565b9150614510826144a9565b604082019050919050565b60006020820190508181036000830152614534816144f8565b9050919050565b600081905092915050565b600061455182613913565b61455b818561453b565b935061456b81856020860161392f565b80840191505092915050565b60006145838285614546565b915061458f8284614546565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145f760268361391e565b91506146028261459b565b604082019050919050565b60006020820190508181036000830152614626816145ea565b9050919050565b600061463882613802565b915061464383613802565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561467c5761467b6140a0565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146c182613802565b91506146cc83613802565b9250826146dc576146db614687565b5b828204905092915050565b60006146f282613802565b91506146fd83613802565b9250828210156147105761470f6140a0565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614751601d8361391e565b915061475c8261471b565b602082019050919050565b6000602082019050818103600083015261478081614744565b9050919050565b600081905092915050565b50565b60006147a2600083614787565b91506147ad82614792565b600082019050919050565b60006147c382614795565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614829603a8361391e565b9150614834826147cd565b604082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061489560148361391e565b91506148a08261485f565b602082019050919050565b600060208201905081810360008301526148c481614888565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006148f2826148cb565b6148fc81856148d6565b935061490c81856020860161392f565b61491581613962565b840191505092915050565b600060808201905061493560008301876137f3565b61494260208301866137f3565b61494f604083018561380c565b818103606083015261496181846148e7565b905095945050505050565b60008151905061497b81613884565b92915050565b6000602082840312156149975761499661384e565b5b60006149a58482850161496c565b91505092915050565b60006149b982613802565b91506149c483613802565b9250826149d4576149d3614687565b5b828206905092915050565b6000815190506149ee81613db0565b92915050565b600060208284031215614a0a57614a0961384e565b5b6000614a18848285016149df565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000614a7d602a8361391e565b9150614a8882614a21565b604082019050919050565b60006020820190508181036000830152614aac81614a70565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000614b0f60268361391e565b9150614b1a82614ab3565b604082019050919050565b60006020820190508181036000830152614b3e81614b02565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614b7b601d8361391e565b9150614b8682614b45565b602082019050919050565b60006020820190508181036000830152614baa81614b6e565b9050919050565b6000614bbc826148cb565b614bc68185614787565b9350614bd681856020860161392f565b80840191505092915050565b6000614bee8284614bb1565b91508190509291505056fea2646970667358221220461dde08c74c9a449f70b8542a66a0e78254e3fd5e4ad85ffd4fee08c156f81964736f6c63430008090033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.