Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
308 WW
Holders
177
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 WWLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WithinWithout
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Errors.sol"; import "./PaymentSplitter.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract WithinWithout is Context, PaymentSplitter, ERC721, ReentrancyGuard, AccessControl, Ownable { using Address for address; struct Collection { uint256 priceInWei; uint256 maxPresaleMints; uint256 maxReservedMints; uint256 maxSupply; uint256 maxMintsPerPurchase; } struct TokenData { uint256 printsCount; bytes32 tokenHash; } Collection public collection; string public script; event Mint(uint256 indexed tokenId, address indexed minter, bytes32 tokenHash, uint256 fingerprintsBalance); mapping(uint256 => TokenData) public tokenIdToTokenData; uint256 private presaleMintCount = 0; uint256 private reservedMintCount = 0; uint256 public totalSupply = 0; bool public presaleStarted; uint256 public publicSaleStartingBlock; mapping(address => bool) public presaleMints; bytes32 public merkleRootSingleMint; bytes32 public merkleRootDoubleMint; address public prints; string private baseURI_ = "https://www.withinwithout.xyz/api/token/metadata/"; constructor( address[] memory payees_, uint256[] memory shares_, address[] memory admins_, Collection memory collection_, address prints_ ) ERC721("Within/Without", "WW") PaymentSplitter(payees_, shares_) { _grantRole(DEFAULT_ADMIN_ROLE, _msgSender()); for (uint256 i = 0; i < admins_.length; i++) { _grantRole(DEFAULT_ADMIN_ROLE, admins_[i]); } collection = collection_; prints = prints_; } function publicSupplyRemaining() public view returns (uint256) { return collection.maxSupply - totalSupply - (collection.maxReservedMints - reservedMintCount); } function publicSaleStarted() public view returns (bool) { return presaleStarted && block.number >= publicSaleStartingBlock; } function startPresale() external onlyRole(DEFAULT_ADMIN_ROLE) { publicSaleStartingBlock = block.number + 720; // ~ Three hours after presale starts presaleStarted = true; } function updatePublicSaleStartBlock(uint256 startingBlock) external onlyRole(DEFAULT_ADMIN_ROLE) { publicSaleStartingBlock = startingBlock; } function setMerkleRoots(bytes32 merkleRootSingleMint_, bytes32 merkleRootDoubleMint_) external onlyRole(DEFAULT_ADMIN_ROLE) { merkleRootSingleMint = merkleRootSingleMint_; merkleRootDoubleMint = merkleRootDoubleMint_; } function mintReserved(uint256 count) public nonReentrant onlyRole(DEFAULT_ADMIN_ROLE) { if (count == 0) revert CountCannotBeZero(); if (reservedMintCount >= collection.maxReservedMints) revert ReserveMintCountExceeded(); // Edge case: minter wants to buy multiple but we have less supply than their count, // but don't want them to get nothing uint256 remaining = collection.maxReservedMints - reservedMintCount; count = uint256(Math.min(count, remaining)); reservedMintCount += count; handleMint(_msgSender(), count); } function purchasePresale(uint256 count, bytes32[] calldata _merkleProof) external payable nonReentrant { if (!presaleStarted) revert PresaleNotOpen(); if (publicSaleStarted()) revert PublicSaleAlreadyOpen(); if (presaleMintCount >= collection.maxPresaleMints) revert PresaleSoldOut(); if (publicSupplyRemaining() == 0) revert CollectionSoldOut(); if (presaleMints[_msgSender()] == true) revert AlreadyMintedInPresale(); if (count == 0) revert CountCannotBeZero(); if (count > 2) revert CountExceedsMaxMints(); address minter = _msgSender(); bytes32 leaf = keccak256(abi.encodePacked(minter)); if (count == 1) { // @dev: note, everyone in the double mint merkle tree is also in the single mint tree, so people // eligible for 2 mints can mint only 1 if they want if (!MerkleProof.verify(_merkleProof, merkleRootSingleMint, leaf)) revert NotEligible(); } if (count == 2) { if (!MerkleProof.verify(_merkleProof, merkleRootDoubleMint, leaf)) revert NotEligible(); } // Edge case: minter wants to buy multiple but we have less supply than their count, // but don't want them to get nothing uint256 remaining = collection.maxPresaleMints - presaleMintCount; count = uint256(Math.min(count, remaining)); presaleMints[minter] = true; presaleMintCount += count; mint(minter, collection.priceInWei, count); } function purchase(uint256 count) external payable nonReentrant { if (!publicSaleStarted()) revert PublicSaleNotOpen(); if (count == 0) revert CountCannotBeZero(); if (publicSupplyRemaining() == 0) revert CollectionSoldOut(); address minter = _msgSender(); if (count > collection.maxMintsPerPurchase) revert CountExceedsMaxMints(); // Edge case: minter wants to buy multiple but we have less supply than their count, // but don't want them to get nothing count = uint256(Math.min(count, publicSupplyRemaining())); mint(minter, collection.priceInWei, count); } function mint( address minter, uint256 priceInWei, uint256 count ) private { if (minter.isContract()) revert CannotPurchaseFromContract(); uint256 cost = priceInWei * count; if (msg.value < cost) revert InsufficientFundsForPurchase(); if (msg.value > cost) { // Refund any excess payable(minter).transfer(msg.value - cost); } handleMint(minter, count); } function handleMint(address minter, uint256 count) private { for (uint256 i = 0; i < count; i++) { uint256 tokenId = totalSupply; bytes32 tokenHash = keccak256( abi.encodePacked(blockhash(block.number - 1), block.number, block.timestamp, minter, tokenId) ); uint256 fingerprintsBalance = IERC20(prints).balanceOf(minter); tokenIdToTokenData[tokenId] = TokenData(fingerprintsBalance, tokenHash); totalSupply++; _safeMint(minter, tokenId); emit Mint(tokenId, minter, tokenHash, fingerprintsBalance); } } function getTokensOfOwner(address _owner) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](tokenCount); uint256 seen = 0; for (uint256 i; i < totalSupply; i++) { if (ownerOf(i) == _owner) { tokenIds[seen] = i; seen++; } } return tokenIds; } function setBaseURI(string memory uri) external onlyRole(DEFAULT_ADMIN_ROLE) { baseURI_ = uri; } function _baseURI() internal view override returns (string memory) { return baseURI_; } function setScript(string memory script_) external onlyRole(DEFAULT_ADMIN_ROLE) { script = script_; } function updateCollection(Collection memory collection_) external onlyRole(DEFAULT_ADMIN_ROLE) { require(!presaleStarted, "The sale has already started"); collection = collection_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; error InsufficientFundsForPurchase(); error CollectionPaused(); error CollectionSoldOut(); error PresaleNotOpen(); error PresaleSoldOut(); error AlreadyMintedInPresale(); error PublicSaleAlreadyOpen(); error PublicSaleNotOpen(); error NotEligible(); error CountCannotBeZero(); error ReserveMintCountExceeded(); error AccountExceedsMaxMints(); error CountExceedsMaxMints(); error CannotPurchaseFromContract();
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/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 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(payable(account), payment); emit PaymentReleased(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 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @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 virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @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 { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // 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 (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 v4.4.1 (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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"payees_","type":"address[]"},{"internalType":"uint256[]","name":"shares_","type":"uint256[]"},{"internalType":"address[]","name":"admins_","type":"address[]"},{"components":[{"internalType":"uint256","name":"priceInWei","type":"uint256"},{"internalType":"uint256","name":"maxPresaleMints","type":"uint256"},{"internalType":"uint256","name":"maxReservedMints","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxMintsPerPurchase","type":"uint256"}],"internalType":"struct WithinWithout.Collection","name":"collection_","type":"tuple"},{"internalType":"address","name":"prints_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyMintedInPresale","type":"error"},{"inputs":[],"name":"CannotPurchaseFromContract","type":"error"},{"inputs":[],"name":"CollectionSoldOut","type":"error"},{"inputs":[],"name":"CountCannotBeZero","type":"error"},{"inputs":[],"name":"CountExceedsMaxMints","type":"error"},{"inputs":[],"name":"InsufficientFundsForPurchase","type":"error"},{"inputs":[],"name":"NotEligible","type":"error"},{"inputs":[],"name":"PresaleNotOpen","type":"error"},{"inputs":[],"name":"PresaleSoldOut","type":"error"},{"inputs":[],"name":"PublicSaleAlreadyOpen","type":"error"},{"inputs":[],"name":"PublicSaleNotOpen","type":"error"},{"inputs":[],"name":"ReserveMintCountExceeded","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":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"bytes32","name":"tokenHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"fingerprintsBalance","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collection","outputs":[{"internalType":"uint256","name":"priceInWei","type":"uint256"},{"internalType":"uint256","name":"maxPresaleMints","type":"uint256"},{"internalType":"uint256","name":"maxReservedMints","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxMintsPerPurchase","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getTokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"merkleRootDoubleMint","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootSingleMint","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMints","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prints","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSupplyRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"purchasePresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"script","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRootSingleMint_","type":"bytes32"},{"internalType":"bytes32","name":"merkleRootDoubleMint_","type":"bytes32"}],"name":"setMerkleRoots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"script_","type":"string"}],"name":"setScript","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToTokenData","outputs":[{"internalType":"uint256","name":"printsCount","type":"uint256"},{"internalType":"bytes32","name":"tokenHash","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"priceInWei","type":"uint256"},{"internalType":"uint256","name":"maxPresaleMints","type":"uint256"},{"internalType":"uint256","name":"maxReservedMints","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxMintsPerPurchase","type":"uint256"}],"internalType":"struct WithinWithout.Collection","name":"collection_","type":"tuple"}],"name":"updateCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startingBlock","type":"uint256"}],"name":"updatePublicSaleStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260006017556000601855600060195560405180606001604052806031815260200162006ef360319139602090805190602001906200004492919062000811565b503480156200005257600080fd5b5060405162006f2438038062006f24833981810160405281019062000078919062000ac8565b6040518060400160405280600e81526020017f57697468696e2f576974686f75740000000000000000000000000000000000008152506040518060400160405280600281526020017f5757000000000000000000000000000000000000000000000000000000000000815250868680518251146200012d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001249062000ccb565b60405180910390fd5b600082511162000174576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200016b9062000d0f565b60405180910390fd5b60005b82518110156200022b5762000215838281518110620001bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183838151811062000201577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151620003ac60201b60201c565b8080620002229062000ef2565b91505062000177565b50505081600790805190602001906200024692919062000811565b5080600890805190602001906200025f92919062000811565b5050506001600d819055506200028a6200027e620005e660201b60201c565b620005ee60201b60201c565b620002ae6000801b620002a2620005e660201b60201c565b620006b460201b60201c565b60005b83518110156200032757620003116000801b858381518110620002fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151620006b460201b60201c565b80806200031e9062000ef2565b915050620002b1565b50816010600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015590505080601f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505062001151565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200041f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004169062000ca9565b60405180910390fd5b6000811162000465576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200045c9062000d31565b60405180910390fd5b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620004ea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004e19062000ced565b60405180910390fd5b6004829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600054620005a1919062000deb565b6000819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620005da92919062000c7c565b60405180910390a15050565b600033905090565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620006c68282620007a660201b60201c565b620007a2576001600e600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000747620005e660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600e600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8280546200081f9062000e86565b90600052602060002090601f0160209004810192826200084357600085556200088f565b82601f106200085e57805160ff19168380011785556200088f565b828001600101855582156200088f579182015b828111156200088e57825182559160200191906001019062000871565b5b5090506200089e9190620008a2565b5090565b5b80821115620008bd576000816000905550600101620008a3565b5090565b6000620008d8620008d28462000d7c565b62000d53565b90508083825260208201905082856020860282011115620008f857600080fd5b60005b858110156200092c5781620009118882620009ab565b845260208401935060208301925050600181019050620008fb565b5050509392505050565b60006200094d620009478462000dab565b62000d53565b905080838252602082019050828560208602820111156200096d57600080fd5b60005b85811015620009a1578162000986888262000ab1565b84526020840193506020830192505060018101905062000970565b5050509392505050565b600081519050620009bc816200111d565b92915050565b600082601f830112620009d457600080fd5b8151620009e6848260208601620008c1565b91505092915050565b600082601f83011262000a0157600080fd5b815162000a1384826020860162000936565b91505092915050565b600060a0828403121562000a2f57600080fd5b62000a3b60a062000d53565b9050600062000a4d8482850162000ab1565b600083015250602062000a638482850162000ab1565b602083015250604062000a798482850162000ab1565b604083015250606062000a8f8482850162000ab1565b606083015250608062000aa58482850162000ab1565b60808301525092915050565b60008151905062000ac28162001137565b92915050565b6000806000806000610120868803121562000ae257600080fd5b600086015167ffffffffffffffff81111562000afd57600080fd5b62000b0b88828901620009c2565b955050602086015167ffffffffffffffff81111562000b2957600080fd5b62000b3788828901620009ef565b945050604086015167ffffffffffffffff81111562000b5557600080fd5b62000b6388828901620009c2565b935050606062000b768882890162000a1c565b92505061010062000b8a88828901620009ab565b9150509295509295909350565b62000ba28162000e48565b82525050565b600062000bb7602c8362000dda565b915062000bc48262000fde565b604082019050919050565b600062000bde60328362000dda565b915062000beb826200102d565b604082019050919050565b600062000c05602b8362000dda565b915062000c12826200107c565b604082019050919050565b600062000c2c601a8362000dda565b915062000c3982620010cb565b602082019050919050565b600062000c53601d8362000dda565b915062000c6082620010f4565b602082019050919050565b62000c768162000e7c565b82525050565b600060408201905062000c93600083018562000b97565b62000ca2602083018462000c6b565b9392505050565b6000602082019050818103600083015262000cc48162000ba8565b9050919050565b6000602082019050818103600083015262000ce68162000bcf565b9050919050565b6000602082019050818103600083015262000d088162000bf6565b9050919050565b6000602082019050818103600083015262000d2a8162000c1d565b9050919050565b6000602082019050818103600083015262000d4c8162000c44565b9050919050565b600062000d5f62000d72565b905062000d6d828262000ebc565b919050565b6000604051905090565b600067ffffffffffffffff82111562000d9a5762000d9962000f9e565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000dc95762000dc862000f9e565b5b602082029050602081019050919050565b600082825260208201905092915050565b600062000df88262000e7c565b915062000e058362000e7c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000e3d5762000e3c62000f40565b5b828201905092915050565b600062000e558262000e5c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000600282049050600182168062000e9f57607f821691505b6020821081141562000eb65762000eb562000f6f565b5b50919050565b62000ec78262000fcd565b810181811067ffffffffffffffff8211171562000ee95762000ee862000f9e565b5b80604052505050565b600062000eff8262000e7c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000f355762000f3462000f40565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b620011288162000e48565b81146200113457600080fd5b50565b620011428162000e7c565b81146200114e57600080fd5b50565b615d9280620011616000396000f3fe6080604052600436106103035760003560e01c806383c023a411610190578063a96f38dd116100dc578063df6c7fd711610095578063ebe9eb9f1161006f578063ebe9eb9f14610c1d578063efef39a114610c48578063f2fde38b14610c64578063ff50188514610c8d5761034a565b8063df6c7fd714610b8a578063e33b7de314610bb5578063e985e9c514610be05761034a565b8063a96f38dd14610a56578063b88d4fde14610a81578063c87b56dd14610aaa578063ce7c2ac214610ae7578063d547741f14610b24578063d79779b214610b4d5761034a565b80639852595c11610149578063a217fddf11610123578063a217fddf146109ae578063a22cb465146109d9578063a2e9147714610a02578063a8b290c414610a2d5761034a565b80639852595c1461091f5780639a48eb511461095c5780639a5d140b146109855761034a565b806383c023a4146107f957806388f1670b146108245780638b83209b1461084f5780638da5cb5b1461088c57806391d14854146108b757806395d89b41146108f45761034a565b80633a98ef391161024f5780635de6dc551161020857806370a08231116101e257806370a082311461074d578063715018a61461078a57806378a4ab85146107a15780637de1e536146107ca5761034a565b80635de6dc55146106b75780636352211e146106f457806370970d56146107315761034a565b80633a98ef39146105a95780633ecb01b2146105d4578063406072a9146105ff57806342842e0e1461063c5780634b42800e1461066557806355f804b31461068e5761034a565b806313e26ecd116102bc57806323b872dd1161029657806323b872dd146104f1578063248a9ca31461051a5780632f2ff15d1461055757806336568abe146105805761034a565b806313e26ecd1461045f57806318160ddd1461049d57806319165587146104c85761034a565b806301ffc9a71461034f57806304549d6f1461038c57806304c98b2b146103b757806306fdde03146103ce578063081812fc146103f9578063095ea7b3146104365761034a565b3661034a577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610331610cca565b34604051610340929190614cd4565b60405180910390a1005b600080fd5b34801561035b57600080fd5b506103766004803603810190610371919061442f565b610cd2565b6040516103839190614d1f565b60405180910390f35b34801561039857600080fd5b506103a1610ce4565b6040516103ae9190614d1f565b60405180910390f35b3480156103c357600080fd5b506103cc610cf7565b005b3480156103da57600080fd5b506103e3610d3e565b6040516103f09190614d7e565b60405180910390f35b34801561040557600080fd5b50610420600480360381019061041b9190614550565b610dd0565b60405161042d9190614c6d565b60405180910390f35b34801561044257600080fd5b5061045d60048036038101906104589190614352565b610e55565b005b34801561046b57600080fd5b5061048660048036038101906104819190614550565b610f6d565b6040516104949291906150bb565b60405180910390f35b3480156104a957600080fd5b506104b2610f91565b6040516104bf91906150a0565b60405180910390f35b3480156104d457600080fd5b506104ef60048036038101906104ea91906141e7565b610f97565b005b3480156104fd57600080fd5b506105186004803603810190610513919061424c565b611142565b005b34801561052657600080fd5b50610541600480360381019061053c919061438e565b6111a2565b60405161054e9190614d3a565b60405180910390f35b34801561056357600080fd5b5061057e600480360381019061057991906143b7565b6111c2565b005b34801561058c57600080fd5b506105a760048036038101906105a291906143b7565b6111eb565b005b3480156105b557600080fd5b506105be61126e565b6040516105cb91906150a0565b60405180910390f35b3480156105e057600080fd5b506105e9611277565b6040516105f69190614d3a565b60405180910390f35b34801561060b57600080fd5b50610626600480360381019061062191906144aa565b61127d565b60405161063391906150a0565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e919061424c565b611304565b005b34801561067157600080fd5b5061068c60048036038101906106879190614527565b611324565b005b34801561069a57600080fd5b506106b560048036038101906106b091906144e6565b6113c5565b005b3480156106c357600080fd5b506106de60048036038101906106d991906141e7565b6113f5565b6040516106eb9190614cfd565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190614550565b611535565b6040516107289190614c6d565b60405180910390f35b61074b600480360381019061074691906145a2565b6115e7565b005b34801561075957600080fd5b50610774600480360381019061076f91906141e7565b611a4b565b60405161078191906150a0565b60405180910390f35b34801561079657600080fd5b5061079f611b03565b005b3480156107ad57600080fd5b506107c860048036038101906107c391906144e6565b611b8b565b005b3480156107d657600080fd5b506107df611bbb565b6040516107f09594939291906150e4565b60405180910390f35b34801561080557600080fd5b5061080e611bdf565b60405161081b9190614c6d565b60405180910390f35b34801561083057600080fd5b50610839611c05565b60405161084691906150a0565b60405180910390f35b34801561085b57600080fd5b5061087660048036038101906108719190614550565b611c0b565b6040516108839190614c6d565b60405180910390f35b34801561089857600080fd5b506108a1611c79565b6040516108ae9190614c6d565b60405180910390f35b3480156108c357600080fd5b506108de60048036038101906108d991906143b7565b611ca3565b6040516108eb9190614d1f565b60405180910390f35b34801561090057600080fd5b50610909611d0e565b6040516109169190614d7e565b60405180910390f35b34801561092b57600080fd5b50610946600480360381019061094191906141e7565b611da0565b60405161095391906150a0565b60405180910390f35b34801561096857600080fd5b50610983600480360381019061097e91906143f3565b611de9565b005b34801561099157600080fd5b506109ac60048036038101906109a79190614550565b611e11565b005b3480156109ba57600080fd5b506109c3611f49565b6040516109d09190614d3a565b60405180910390f35b3480156109e557600080fd5b50610a0060048036038101906109fb9190614316565b611f50565b005b348015610a0e57600080fd5b50610a17611f66565b604051610a249190614d1f565b60405180910390f35b348015610a3957600080fd5b50610a546004803603810190610a4f9190614550565b611f8b565b005b348015610a6257600080fd5b50610a6b611fab565b604051610a7891906150a0565b60405180910390f35b348015610a8d57600080fd5b50610aa86004803603810190610aa3919061429b565b611fe2565b005b348015610ab657600080fd5b50610ad16004803603810190610acc9190614550565b612044565b604051610ade9190614d7e565b60405180910390f35b348015610af357600080fd5b50610b0e6004803603810190610b0991906141e7565b6120eb565b604051610b1b91906150a0565b60405180910390f35b348015610b3057600080fd5b50610b4b6004803603810190610b4691906143b7565b612134565b005b348015610b5957600080fd5b50610b746004803603810190610b6f9190614481565b61215d565b604051610b8191906150a0565b60405180910390f35b348015610b9657600080fd5b50610b9f6121a6565b604051610bac9190614d3a565b60405180910390f35b348015610bc157600080fd5b50610bca6121ac565b604051610bd791906150a0565b60405180910390f35b348015610bec57600080fd5b50610c076004803603810190610c029190614210565b6121b6565b604051610c149190614d1f565b60405180910390f35b348015610c2957600080fd5b50610c3261224a565b604051610c3f9190614d7e565b60405180910390f35b610c626004803603810190610c5d9190614550565b6122d8565b005b348015610c7057600080fd5b50610c8b6004803603810190610c8691906141e7565b61245b565b005b348015610c9957600080fd5b50610cb46004803603810190610caf91906141e7565b612553565b604051610cc19190614d1f565b60405180910390f35b600033905090565b6000610cdd82612573565b9050919050565b601a60009054906101000a900460ff1681565b6000801b610d0c81610d07610cca565b6125ed565b6102d043610d1a9190615245565b601b819055506001601a60006101000a81548160ff02191690831515021790555050565b606060078054610d4d90615456565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7990615456565b8015610dc65780601f10610d9b57610100808354040283529160200191610dc6565b820191906000526020600020905b815481529060010190602001808311610da957829003601f168201915b5050505050905090565b6000610ddb8261268a565b610e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1190614f80565b60405180910390fd5b600b600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e6082611535565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec890615000565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ef0610cca565b73ffffffffffffffffffffffffffffffffffffffff161480610f1f5750610f1e81610f19610cca565b6121b6565b5b610f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5590614f00565b60405180910390fd5b610f6883836126f6565b505050565b60166020528060005260406000206000915090508060000154908060010154905082565b60195481565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101090614e20565b60405180910390fd5b60006110236121ac565b4761102e9190615245565b90506000611045838361104086611da0565b6127af565b9050600081141561108b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108290614ee0565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110da9190615245565b9250508190555080600160008282546110f39190615245565b92505081905550611104838261281d565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611135929190614cd4565b60405180910390a1505050565b61115361114d610cca565b82612911565b611192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118990615020565b60405180910390fd5b61119d8383836129ef565b505050565b6000600e6000838152602001908152602001600020600101549050919050565b6111cb826111a2565b6111dc816111d7610cca565b6125ed565b6111e68383612c4b565b505050565b6111f3610cca565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125790615080565b60405180910390fd5b61126a8282612d2c565b5050565b60008054905090565b601e5481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61131f83838360405180602001604052806000815250611fe2565b505050565b6000801b61133981611334610cca565b6125ed565b601a60009054906101000a900460ff1615611389576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138090615060565b60405180910390fd5b81601060008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401559050505050565b6000801b6113da816113d5610cca565b6125ed565b81602090805190602001906113f0929190613efa565b505050565b6060600061140283611a4b565b905060008167ffffffffffffffff811115611446577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114745781602001602082028036833780820191505090505b5090506000805b601954811015611529578573ffffffffffffffffffffffffffffffffffffffff166114a582611535565b73ffffffffffffffffffffffffffffffffffffffff16141561151657808383815181106114fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180611512906154b9565b9250505b8080611521906154b9565b91505061147b565b50819350505050919050565b6000806009600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d590614f40565b60405180910390fd5b80915050919050565b6002600d54141561162d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162490615040565b60405180910390fd5b6002600d81905550601a60009054906101000a900460ff1661167b576040517f7963e2b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611683611f66565b156116ba576040517fc957889c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601060010154601754106116fa576040517fd4556c3600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611704611fab565b141561173c576040517f5fd48f9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60011515601c600061174c610cca565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514156117ce576040517f29b02b3e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415611809576040517f1741ad9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002831115611844576040517f1b3428a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061184e610cca565b90506000816040516020016118639190614b54565b6040516020818303038152906040528051906020012090506001851415611909576118d2848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601d5483612e0e565b611908576040517ff8eb54de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600285141561199757611960848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601e5483612e0e565b611996576040517ff8eb54de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b60006017546010600101546119ac9190615326565b90506119b88682612e25565b95506001601c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508560176000828254611a249190615245565b92505081905550611a3b8360106000015488612e3e565b5050506001600d81905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390614f20565b60405180910390fd5b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b0b610cca565b73ffffffffffffffffffffffffffffffffffffffff16611b29611c79565b73ffffffffffffffffffffffffffffffffffffffff1614611b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7690614fa0565b60405180910390fd5b611b896000612f49565b565b6000801b611ba081611b9b610cca565b6125ed565b8160159080519060200190611bb6929190613efa565b505050565b60108060000154908060010154908060020154908060030154908060040154905085565b601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601b5481565b600060048281548110611c47577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600e600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060088054611d1d90615456565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4990615456565b8015611d965780601f10611d6b57610100808354040283529160200191611d96565b820191906000526020600020905b815481529060010190602001808311611d7957829003601f168201915b5050505050905090565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000801b611dfe81611df9610cca565b6125ed565b82601d8190555081601e81905550505050565b6002600d541415611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90615040565b60405180910390fd5b6002600d819055506000801b611e7481611e6f610cca565b6125ed565b6000821415611eaf576040517f1741ad9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60106002015460185410611eef576040517f6ba6092d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601854601060020154611f049190615326565b9050611f108382612e25565b92508260186000828254611f249190615245565b92505081905550611f3c611f36610cca565b8461300f565b50506001600d8190555050565b6000801b81565b611f62611f5b610cca565b83836131dd565b5050565b6000601a60009054906101000a900460ff168015611f865750601b544310155b905090565b6000801b611fa081611f9b610cca565b6125ed565b81601b819055505050565b6000601854601060020154611fc09190615326565b601954601060030154611fd39190615326565b611fdd9190615326565b905090565b611ff3611fed610cca565b83612911565b612032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202990615020565b60405180910390fd5b61203e8484848461334a565b50505050565b606061204f8261268a565b61208e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208590614fe0565b60405180910390fd5b60006120986133a6565b905060008151116120b857604051806020016040528060008152506120e3565b806120c284613438565b6040516020016120d3929190614bfa565b6040516020818303038152906040525b915050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61213d826111a2565b61214e81612149610cca565b6125ed565b6121588383612d2c565b505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601d5481565b6000600154905090565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6015805461225790615456565b80601f016020809104026020016040519081016040528092919081815260200182805461228390615456565b80156122d05780601f106122a5576101008083540402835291602001916122d0565b820191906000526020600020905b8154815290600101906020018083116122b357829003601f168201915b505050505081565b6002600d54141561231e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231590615040565b60405180910390fd5b6002600d8190555061232e611f66565b612364576040517f63a2de0f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081141561239f576040517f1741ad9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006123a9611fab565b14156123e1576040517f5fd48f9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006123eb610cca565b905060106004015482111561242c576040517f1b3428a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61243d82612438611fab565b612e25565b915061244f8160106000015484612e3e565b506001600d8190555050565b612463610cca565b73ffffffffffffffffffffffffffffffffffffffff16612481611c79565b73ffffffffffffffffffffffffffffffffffffffff16146124d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ce90614fa0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253e90614de0565b60405180910390fd5b61255081612f49565b50565b601c6020528060005260406000206000915054906101000a900460ff1681565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125e657506125e5826135e5565b5b9050919050565b6125f78282611ca3565b6126865761261c8173ffffffffffffffffffffffffffffffffffffffff1660146136c7565b61262a8360001c60206136c7565b60405160200161263b929190614c33565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267d9190614d7e565b60405180910390fd5b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166009600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b81600b600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661276983611535565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600054600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561280091906152cc565b61280a919061529b565b6128149190615326565b90509392505050565b80471015612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790614ea0565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161288690614c1e565b60006040518083038185875af1925050503d80600081146128c3576040519150601f19603f3d011682016040523d82523d6000602084013e6128c8565b606091505b505090508061290c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290390614e80565b60405180910390fd5b505050565b600061291c8261268a565b61295b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295290614ec0565b60405180910390fd5b600061296683611535565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129d557508373ffffffffffffffffffffffffffffffffffffffff166129bd84610dd0565b73ffffffffffffffffffffffffffffffffffffffff16145b806129e657506129e581856121b6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a0f82611535565b73ffffffffffffffffffffffffffffffffffffffff1614612a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5c90614fc0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612acc90614e40565b60405180910390fd5b612ae08383836139c1565b612aeb6000826126f6565b6001600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b3b9190615326565b925050819055506001600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b929190615245565b92505081905550816009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612c558282611ca3565b612d28576001600e600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612ccd610cca565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612d368282611ca3565b15612e0a576000600e600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612daf610cca565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600082612e1b85846139c6565b1490509392505050565b6000818310612e345781612e36565b825b905092915050565b612e5d8373ffffffffffffffffffffffffffffffffffffffff16613a9f565b15612e94576040517f9d5565be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008183612ea291906152cc565b905080341015612ede576040517f832e53a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80341115612f39578373ffffffffffffffffffffffffffffffffffffffff166108fc8234612f0c9190615326565b9081150290604051600060405180830381858888f19350505050158015612f37573d6000803e3d6000fd5b505b612f43848361300f565b50505050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b818110156131d8576000601954905060006001436130309190615326565b4043428785604051602001613049959493929190614b9b565b6040516020818303038152906040528051906020012090506000601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231876040518263ffffffff1660e01b81526004016130be9190614c6d565b60206040518083038186803b1580156130d657600080fd5b505afa1580156130ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061310e9190614579565b905060405180604001604052808281526020018381525060166000858152602001908152602001600020600082015181600001556020820151816001015590505060196000815480929190613162906154b9565b91905055506131718684613ab2565b8573ffffffffffffffffffffffffffffffffffffffff16837ff4e97bba6ad9b7d1375a5b02786a7e6c2a7f39cfcc86bf019128da83a279efc884846040516131ba929190614d55565b60405180910390a350505080806131d0906154b9565b915050613012565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561324c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324390614e60565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161333d9190614d1f565b60405180910390a3505050565b6133558484846129ef565b61336184848484613ad0565b6133a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339790614dc0565b60405180910390fd5b50505050565b6060602080546133b590615456565b80601f01602080910402602001604051908101604052809291908181526020018280546133e190615456565b801561342e5780601f106134035761010080835404028352916020019161342e565b820191906000526020600020905b81548152906001019060200180831161341157829003601f168201915b5050505050905090565b60606000821415613480576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135e0565b600082905060005b600082146134b257808061349b906154b9565b915050600a826134ab919061529b565b9150613488565b60008167ffffffffffffffff8111156134f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135265781602001600182028036833780820191505090505b5090505b600085146135d95760018261353f9190615326565b9150600a8561354e919061553a565b603061355a9190615245565b60f81b818381518110613596577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135d2919061529b565b945061352a565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806136b057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806136c057506136bf82613c67565b5b9050919050565b6060600060028360026136da91906152cc565b6136e49190615245565b67ffffffffffffffff811115613723577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137555781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106137b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061383d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261387d91906152cc565b6138879190615245565b90505b6001811115613973577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106138ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061392c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061396c9061542c565b905061388a565b50600084146139b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ae90614da0565b60405180910390fd5b8091505092915050565b505050565b60008082905060005b8451811015613a94576000858281518110613a13577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311613a54578281604051602001613a37929190614b6f565b604051602081830303815290604052805190602001209250613a80565b8083604051602001613a67929190614b6f565b6040516020818303038152906040528051906020012092505b508080613a8c906154b9565b9150506139cf565b508091505092915050565b600080823b905060008111915050919050565b613acc828260405180602001604052806000815250613cd1565b5050565b6000613af18473ffffffffffffffffffffffffffffffffffffffff16613a9f565b15613c5a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613b1a610cca565b8786866040518563ffffffff1660e01b8152600401613b3c9493929190614c88565b602060405180830381600087803b158015613b5657600080fd5b505af1925050508015613b8757506040513d601f19601f82011682018060405250810190613b849190614458565b60015b613c0a573d8060008114613bb7576040519150601f19603f3d011682016040523d82523d6000602084013e613bbc565b606091505b50600081511415613c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bf990614dc0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c5f565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613cdb8383613d2c565b613ce86000848484613ad0565b613d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d1e90614dc0565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d9390614f60565b60405180910390fd5b613da58161268a565b15613de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ddc90614e00565b60405180910390fd5b613df1600083836139c1565b6001600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e419190615245565b92505081905550816009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613f0690615456565b90600052602060002090601f016020900481019282613f285760008555613f6f565b82601f10613f4157805160ff1916838001178555613f6f565b82800160010185558215613f6f579182015b82811115613f6e578251825591602001919060010190613f53565b5b509050613f7c9190613f80565b5090565b5b80821115613f99576000816000905550600101613f81565b5090565b6000613fb0613fab8461515c565b615137565b905082815260208101848484011115613fc857600080fd5b613fd38482856153ea565b509392505050565b6000613fee613fe98461518d565b615137565b90508281526020810184848401111561400657600080fd5b6140118482856153ea565b509392505050565b60008135905061402881615cd2565b92915050565b60008083601f84011261404057600080fd5b8235905067ffffffffffffffff81111561405957600080fd5b60208301915083602082028301111561407157600080fd5b9250929050565b60008135905061408781615ce9565b92915050565b60008135905061409c81615d00565b92915050565b6000813590506140b181615d17565b92915050565b6000815190506140c681615d17565b92915050565b600082601f8301126140dd57600080fd5b81356140ed848260208601613f9d565b91505092915050565b60008135905061410581615d2e565b92915050565b600082601f83011261411c57600080fd5b813561412c848260208601613fdb565b91505092915050565b600060a0828403121561414757600080fd5b61415160a0615137565b90506000614161848285016141bd565b6000830152506020614175848285016141bd565b6020830152506040614189848285016141bd565b604083015250606061419d848285016141bd565b60608301525060806141b1848285016141bd565b60808301525092915050565b6000813590506141cc81615d45565b92915050565b6000815190506141e181615d45565b92915050565b6000602082840312156141f957600080fd5b600061420784828501614019565b91505092915050565b6000806040838503121561422357600080fd5b600061423185828601614019565b925050602061424285828601614019565b9150509250929050565b60008060006060848603121561426157600080fd5b600061426f86828701614019565b935050602061428086828701614019565b9250506040614291868287016141bd565b9150509250925092565b600080600080608085870312156142b157600080fd5b60006142bf87828801614019565b94505060206142d087828801614019565b93505060406142e1878288016141bd565b925050606085013567ffffffffffffffff8111156142fe57600080fd5b61430a878288016140cc565b91505092959194509250565b6000806040838503121561432957600080fd5b600061433785828601614019565b925050602061434885828601614078565b9150509250929050565b6000806040838503121561436557600080fd5b600061437385828601614019565b9250506020614384858286016141bd565b9150509250929050565b6000602082840312156143a057600080fd5b60006143ae8482850161408d565b91505092915050565b600080604083850312156143ca57600080fd5b60006143d88582860161408d565b92505060206143e985828601614019565b9150509250929050565b6000806040838503121561440657600080fd5b60006144148582860161408d565b92505060206144258582860161408d565b9150509250929050565b60006020828403121561444157600080fd5b600061444f848285016140a2565b91505092915050565b60006020828403121561446a57600080fd5b6000614478848285016140b7565b91505092915050565b60006020828403121561449357600080fd5b60006144a1848285016140f6565b91505092915050565b600080604083850312156144bd57600080fd5b60006144cb858286016140f6565b92505060206144dc85828601614019565b9150509250929050565b6000602082840312156144f857600080fd5b600082013567ffffffffffffffff81111561451257600080fd5b61451e8482850161410b565b91505092915050565b600060a0828403121561453957600080fd5b600061454784828501614135565b91505092915050565b60006020828403121561456257600080fd5b6000614570848285016141bd565b91505092915050565b60006020828403121561458b57600080fd5b6000614599848285016141d2565b91505092915050565b6000806000604084860312156145b757600080fd5b60006145c5868287016141bd565b935050602084013567ffffffffffffffff8111156145e257600080fd5b6145ee8682870161402e565b92509250509250925092565b60006146068383614b1f565b60208301905092915050565b61461b8161535a565b82525050565b61463261462d8261535a565b615502565b82525050565b6000614643826151ce565b61464d81856151fc565b9350614658836151be565b8060005b8381101561468957815161467088826145fa565b975061467b836151ef565b92505060018101905061465c565b5085935050505092915050565b61469f8161536c565b82525050565b6146ae81615378565b82525050565b6146c56146c082615378565b615514565b82525050565b60006146d6826151d9565b6146e0818561520d565b93506146f08185602086016153f9565b6146f981615627565b840191505092915050565b600061470f826151e4565b6147198185615229565b93506147298185602086016153f9565b61473281615627565b840191505092915050565b6000614748826151e4565b614752818561523a565b93506147628185602086016153f9565b80840191505092915050565b600061477b602083615229565b915061478682615645565b602082019050919050565b600061479e603283615229565b91506147a98261566e565b604082019050919050565b60006147c1602683615229565b91506147cc826156bd565b604082019050919050565b60006147e4601c83615229565b91506147ef8261570c565b602082019050919050565b6000614807602683615229565b915061481282615735565b604082019050919050565b600061482a602483615229565b915061483582615784565b604082019050919050565b600061484d601983615229565b9150614858826157d3565b602082019050919050565b6000614870603a83615229565b915061487b826157fc565b604082019050919050565b6000614893601d83615229565b915061489e8261584b565b602082019050919050565b60006148b6602c83615229565b91506148c182615874565b604082019050919050565b60006148d9602b83615229565b91506148e4826158c3565b604082019050919050565b60006148fc603883615229565b915061490782615912565b604082019050919050565b600061491f602a83615229565b915061492a82615961565b604082019050919050565b6000614942602983615229565b915061494d826159b0565b604082019050919050565b6000614965602083615229565b9150614970826159ff565b602082019050919050565b6000614988602c83615229565b915061499382615a28565b604082019050919050565b60006149ab602083615229565b91506149b682615a77565b602082019050919050565b60006149ce602983615229565b91506149d982615aa0565b604082019050919050565b60006149f1602f83615229565b91506149fc82615aef565b604082019050919050565b6000614a14602183615229565b9150614a1f82615b3e565b604082019050919050565b6000614a3760008361521e565b9150614a4282615b8d565b600082019050919050565b6000614a5a603183615229565b9150614a6582615b90565b604082019050919050565b6000614a7d60178361523a565b9150614a8882615bdf565b601782019050919050565b6000614aa0601f83615229565b9150614aab82615c08565b602082019050919050565b6000614ac360118361523a565b9150614ace82615c31565b601182019050919050565b6000614ae6601c83615229565b9150614af182615c5a565b602082019050919050565b6000614b09602f83615229565b9150614b1482615c83565b604082019050919050565b614b28816153e0565b82525050565b614b37816153e0565b82525050565b614b4e614b49826153e0565b615530565b82525050565b6000614b608284614621565b60148201915081905092915050565b6000614b7b82856146b4565b602082019150614b8b82846146b4565b6020820191508190509392505050565b6000614ba782886146b4565b602082019150614bb78287614b3d565b602082019150614bc78286614b3d565b602082019150614bd78285614621565b601482019150614be78284614b3d565b6020820191508190509695505050505050565b6000614c06828561473d565b9150614c12828461473d565b91508190509392505050565b6000614c2982614a2a565b9150819050919050565b6000614c3e82614a70565b9150614c4a828561473d565b9150614c5582614ab6565b9150614c61828461473d565b91508190509392505050565b6000602082019050614c826000830184614612565b92915050565b6000608082019050614c9d6000830187614612565b614caa6020830186614612565b614cb76040830185614b2e565b8181036060830152614cc981846146cb565b905095945050505050565b6000604082019050614ce96000830185614612565b614cf66020830184614b2e565b9392505050565b60006020820190508181036000830152614d178184614638565b905092915050565b6000602082019050614d346000830184614696565b92915050565b6000602082019050614d4f60008301846146a5565b92915050565b6000604082019050614d6a60008301856146a5565b614d776020830184614b2e565b9392505050565b60006020820190508181036000830152614d988184614704565b905092915050565b60006020820190508181036000830152614db98161476e565b9050919050565b60006020820190508181036000830152614dd981614791565b9050919050565b60006020820190508181036000830152614df9816147b4565b9050919050565b60006020820190508181036000830152614e19816147d7565b9050919050565b60006020820190508181036000830152614e39816147fa565b9050919050565b60006020820190508181036000830152614e598161481d565b9050919050565b60006020820190508181036000830152614e7981614840565b9050919050565b60006020820190508181036000830152614e9981614863565b9050919050565b60006020820190508181036000830152614eb981614886565b9050919050565b60006020820190508181036000830152614ed9816148a9565b9050919050565b60006020820190508181036000830152614ef9816148cc565b9050919050565b60006020820190508181036000830152614f19816148ef565b9050919050565b60006020820190508181036000830152614f3981614912565b9050919050565b60006020820190508181036000830152614f5981614935565b9050919050565b60006020820190508181036000830152614f7981614958565b9050919050565b60006020820190508181036000830152614f998161497b565b9050919050565b60006020820190508181036000830152614fb98161499e565b9050919050565b60006020820190508181036000830152614fd9816149c1565b9050919050565b60006020820190508181036000830152614ff9816149e4565b9050919050565b6000602082019050818103600083015261501981614a07565b9050919050565b6000602082019050818103600083015261503981614a4d565b9050919050565b6000602082019050818103600083015261505981614a93565b9050919050565b6000602082019050818103600083015261507981614ad9565b9050919050565b6000602082019050818103600083015261509981614afc565b9050919050565b60006020820190506150b56000830184614b2e565b92915050565b60006040820190506150d06000830185614b2e565b6150dd60208301846146a5565b9392505050565b600060a0820190506150f96000830188614b2e565b6151066020830187614b2e565b6151136040830186614b2e565b6151206060830185614b2e565b61512d6080830184614b2e565b9695505050505050565b6000615141615152565b905061514d8282615488565b919050565b6000604051905090565b600067ffffffffffffffff821115615177576151766155f8565b5b61518082615627565b9050602081019050919050565b600067ffffffffffffffff8211156151a8576151a76155f8565b5b6151b182615627565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615250826153e0565b915061525b836153e0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152905761528f61556b565b5b828201905092915050565b60006152a6826153e0565b91506152b1836153e0565b9250826152c1576152c061559a565b5b828204905092915050565b60006152d7826153e0565b91506152e2836153e0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561531b5761531a61556b565b5b828202905092915050565b6000615331826153e0565b915061533c836153e0565b92508282101561534f5761534e61556b565b5b828203905092915050565b6000615365826153c0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006153b98261535a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156154175780820151818401526020810190506153fc565b83811115615426576000848401525b50505050565b6000615437826153e0565b9150600082141561544b5761544a61556b565b5b600182039050919050565b6000600282049050600182168061546e57607f821691505b60208210811415615482576154816155c9565b5b50919050565b61549182615627565b810181811067ffffffffffffffff821117156154b0576154af6155f8565b5b80604052505050565b60006154c4826153e0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154f7576154f661556b565b5b600182019050919050565b600061550d8261551e565b9050919050565b6000819050919050565b600061552982615638565b9050919050565b6000819050919050565b6000615545826153e0565b9150615550836153e0565b9250826155605761555f61559a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f5468652073616c652068617320616c7265616479207374617274656400000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615cdb8161535a565b8114615ce657600080fd5b50565b615cf28161536c565b8114615cfd57600080fd5b50565b615d0981615378565b8114615d1457600080fd5b50565b615d2081615382565b8114615d2b57600080fd5b50565b615d37816153ae565b8114615d4257600080fd5b50565b615d4e816153e0565b8114615d5957600080fd5b5056fea26469706673582212205e869dab97b6e9eb48d78f4574bd9dd8f9d3c9ce085ae886b73c1a0a0fe5a60664736f6c6343000804003368747470733a2f2f7777772e77697468696e776974686f75742e78797a2f6170692f746f6b656e2f6d657461646174612f000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000a688906bd8b00000000000000000000000000000000000000000000000000000000000000000205000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000002ee00000000000000000000000000000000000000000000000000000000000000020000000000000000000000004dd28568d05f09b02220b09c2cb307bfd837cb9500000000000000000000000000000000000000000000000000000000000000030000000000000000000000007f49eade2a6ac67ebdcdb8d341ff64a577298cc1000000000000000000000000bc49de68bcbd164574847a7ced47e7475179c76b0000000000000000000000003fe227f41a54dc54972e7359d4fc55020bb8ab500000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000b800000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000bc49de68bcbd164574847a7ced47e7475179c76b0000000000000000000000003fe227f41a54dc54972e7359d4fc55020bb8ab50000000000000000000000000f2bfd6b0e03b7f617f4ff3ebd32e3ebe5a912236
Deployed Bytecode
0x6080604052600436106103035760003560e01c806383c023a411610190578063a96f38dd116100dc578063df6c7fd711610095578063ebe9eb9f1161006f578063ebe9eb9f14610c1d578063efef39a114610c48578063f2fde38b14610c64578063ff50188514610c8d5761034a565b8063df6c7fd714610b8a578063e33b7de314610bb5578063e985e9c514610be05761034a565b8063a96f38dd14610a56578063b88d4fde14610a81578063c87b56dd14610aaa578063ce7c2ac214610ae7578063d547741f14610b24578063d79779b214610b4d5761034a565b80639852595c11610149578063a217fddf11610123578063a217fddf146109ae578063a22cb465146109d9578063a2e9147714610a02578063a8b290c414610a2d5761034a565b80639852595c1461091f5780639a48eb511461095c5780639a5d140b146109855761034a565b806383c023a4146107f957806388f1670b146108245780638b83209b1461084f5780638da5cb5b1461088c57806391d14854146108b757806395d89b41146108f45761034a565b80633a98ef391161024f5780635de6dc551161020857806370a08231116101e257806370a082311461074d578063715018a61461078a57806378a4ab85146107a15780637de1e536146107ca5761034a565b80635de6dc55146106b75780636352211e146106f457806370970d56146107315761034a565b80633a98ef39146105a95780633ecb01b2146105d4578063406072a9146105ff57806342842e0e1461063c5780634b42800e1461066557806355f804b31461068e5761034a565b806313e26ecd116102bc57806323b872dd1161029657806323b872dd146104f1578063248a9ca31461051a5780632f2ff15d1461055757806336568abe146105805761034a565b806313e26ecd1461045f57806318160ddd1461049d57806319165587146104c85761034a565b806301ffc9a71461034f57806304549d6f1461038c57806304c98b2b146103b757806306fdde03146103ce578063081812fc146103f9578063095ea7b3146104365761034a565b3661034a577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610331610cca565b34604051610340929190614cd4565b60405180910390a1005b600080fd5b34801561035b57600080fd5b506103766004803603810190610371919061442f565b610cd2565b6040516103839190614d1f565b60405180910390f35b34801561039857600080fd5b506103a1610ce4565b6040516103ae9190614d1f565b60405180910390f35b3480156103c357600080fd5b506103cc610cf7565b005b3480156103da57600080fd5b506103e3610d3e565b6040516103f09190614d7e565b60405180910390f35b34801561040557600080fd5b50610420600480360381019061041b9190614550565b610dd0565b60405161042d9190614c6d565b60405180910390f35b34801561044257600080fd5b5061045d60048036038101906104589190614352565b610e55565b005b34801561046b57600080fd5b5061048660048036038101906104819190614550565b610f6d565b6040516104949291906150bb565b60405180910390f35b3480156104a957600080fd5b506104b2610f91565b6040516104bf91906150a0565b60405180910390f35b3480156104d457600080fd5b506104ef60048036038101906104ea91906141e7565b610f97565b005b3480156104fd57600080fd5b506105186004803603810190610513919061424c565b611142565b005b34801561052657600080fd5b50610541600480360381019061053c919061438e565b6111a2565b60405161054e9190614d3a565b60405180910390f35b34801561056357600080fd5b5061057e600480360381019061057991906143b7565b6111c2565b005b34801561058c57600080fd5b506105a760048036038101906105a291906143b7565b6111eb565b005b3480156105b557600080fd5b506105be61126e565b6040516105cb91906150a0565b60405180910390f35b3480156105e057600080fd5b506105e9611277565b6040516105f69190614d3a565b60405180910390f35b34801561060b57600080fd5b50610626600480360381019061062191906144aa565b61127d565b60405161063391906150a0565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e919061424c565b611304565b005b34801561067157600080fd5b5061068c60048036038101906106879190614527565b611324565b005b34801561069a57600080fd5b506106b560048036038101906106b091906144e6565b6113c5565b005b3480156106c357600080fd5b506106de60048036038101906106d991906141e7565b6113f5565b6040516106eb9190614cfd565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190614550565b611535565b6040516107289190614c6d565b60405180910390f35b61074b600480360381019061074691906145a2565b6115e7565b005b34801561075957600080fd5b50610774600480360381019061076f91906141e7565b611a4b565b60405161078191906150a0565b60405180910390f35b34801561079657600080fd5b5061079f611b03565b005b3480156107ad57600080fd5b506107c860048036038101906107c391906144e6565b611b8b565b005b3480156107d657600080fd5b506107df611bbb565b6040516107f09594939291906150e4565b60405180910390f35b34801561080557600080fd5b5061080e611bdf565b60405161081b9190614c6d565b60405180910390f35b34801561083057600080fd5b50610839611c05565b60405161084691906150a0565b60405180910390f35b34801561085b57600080fd5b5061087660048036038101906108719190614550565b611c0b565b6040516108839190614c6d565b60405180910390f35b34801561089857600080fd5b506108a1611c79565b6040516108ae9190614c6d565b60405180910390f35b3480156108c357600080fd5b506108de60048036038101906108d991906143b7565b611ca3565b6040516108eb9190614d1f565b60405180910390f35b34801561090057600080fd5b50610909611d0e565b6040516109169190614d7e565b60405180910390f35b34801561092b57600080fd5b50610946600480360381019061094191906141e7565b611da0565b60405161095391906150a0565b60405180910390f35b34801561096857600080fd5b50610983600480360381019061097e91906143f3565b611de9565b005b34801561099157600080fd5b506109ac60048036038101906109a79190614550565b611e11565b005b3480156109ba57600080fd5b506109c3611f49565b6040516109d09190614d3a565b60405180910390f35b3480156109e557600080fd5b50610a0060048036038101906109fb9190614316565b611f50565b005b348015610a0e57600080fd5b50610a17611f66565b604051610a249190614d1f565b60405180910390f35b348015610a3957600080fd5b50610a546004803603810190610a4f9190614550565b611f8b565b005b348015610a6257600080fd5b50610a6b611fab565b604051610a7891906150a0565b60405180910390f35b348015610a8d57600080fd5b50610aa86004803603810190610aa3919061429b565b611fe2565b005b348015610ab657600080fd5b50610ad16004803603810190610acc9190614550565b612044565b604051610ade9190614d7e565b60405180910390f35b348015610af357600080fd5b50610b0e6004803603810190610b0991906141e7565b6120eb565b604051610b1b91906150a0565b60405180910390f35b348015610b3057600080fd5b50610b4b6004803603810190610b4691906143b7565b612134565b005b348015610b5957600080fd5b50610b746004803603810190610b6f9190614481565b61215d565b604051610b8191906150a0565b60405180910390f35b348015610b9657600080fd5b50610b9f6121a6565b604051610bac9190614d3a565b60405180910390f35b348015610bc157600080fd5b50610bca6121ac565b604051610bd791906150a0565b60405180910390f35b348015610bec57600080fd5b50610c076004803603810190610c029190614210565b6121b6565b604051610c149190614d1f565b60405180910390f35b348015610c2957600080fd5b50610c3261224a565b604051610c3f9190614d7e565b60405180910390f35b610c626004803603810190610c5d9190614550565b6122d8565b005b348015610c7057600080fd5b50610c8b6004803603810190610c8691906141e7565b61245b565b005b348015610c9957600080fd5b50610cb46004803603810190610caf91906141e7565b612553565b604051610cc19190614d1f565b60405180910390f35b600033905090565b6000610cdd82612573565b9050919050565b601a60009054906101000a900460ff1681565b6000801b610d0c81610d07610cca565b6125ed565b6102d043610d1a9190615245565b601b819055506001601a60006101000a81548160ff02191690831515021790555050565b606060078054610d4d90615456565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7990615456565b8015610dc65780601f10610d9b57610100808354040283529160200191610dc6565b820191906000526020600020905b815481529060010190602001808311610da957829003601f168201915b5050505050905090565b6000610ddb8261268a565b610e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1190614f80565b60405180910390fd5b600b600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e6082611535565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec890615000565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ef0610cca565b73ffffffffffffffffffffffffffffffffffffffff161480610f1f5750610f1e81610f19610cca565b6121b6565b5b610f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5590614f00565b60405180910390fd5b610f6883836126f6565b505050565b60166020528060005260406000206000915090508060000154908060010154905082565b60195481565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101090614e20565b60405180910390fd5b60006110236121ac565b4761102e9190615245565b90506000611045838361104086611da0565b6127af565b9050600081141561108b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108290614ee0565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110da9190615245565b9250508190555080600160008282546110f39190615245565b92505081905550611104838261281d565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611135929190614cd4565b60405180910390a1505050565b61115361114d610cca565b82612911565b611192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118990615020565b60405180910390fd5b61119d8383836129ef565b505050565b6000600e6000838152602001908152602001600020600101549050919050565b6111cb826111a2565b6111dc816111d7610cca565b6125ed565b6111e68383612c4b565b505050565b6111f3610cca565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125790615080565b60405180910390fd5b61126a8282612d2c565b5050565b60008054905090565b601e5481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61131f83838360405180602001604052806000815250611fe2565b505050565b6000801b61133981611334610cca565b6125ed565b601a60009054906101000a900460ff1615611389576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138090615060565b60405180910390fd5b81601060008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401559050505050565b6000801b6113da816113d5610cca565b6125ed565b81602090805190602001906113f0929190613efa565b505050565b6060600061140283611a4b565b905060008167ffffffffffffffff811115611446577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114745781602001602082028036833780820191505090505b5090506000805b601954811015611529578573ffffffffffffffffffffffffffffffffffffffff166114a582611535565b73ffffffffffffffffffffffffffffffffffffffff16141561151657808383815181106114fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180611512906154b9565b9250505b8080611521906154b9565b91505061147b565b50819350505050919050565b6000806009600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d590614f40565b60405180910390fd5b80915050919050565b6002600d54141561162d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162490615040565b60405180910390fd5b6002600d81905550601a60009054906101000a900460ff1661167b576040517f7963e2b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611683611f66565b156116ba576040517fc957889c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601060010154601754106116fa576040517fd4556c3600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611704611fab565b141561173c576040517f5fd48f9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60011515601c600061174c610cca565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514156117ce576040517f29b02b3e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415611809576040517f1741ad9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002831115611844576040517f1b3428a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061184e610cca565b90506000816040516020016118639190614b54565b6040516020818303038152906040528051906020012090506001851415611909576118d2848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601d5483612e0e565b611908576040517ff8eb54de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600285141561199757611960848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601e5483612e0e565b611996576040517ff8eb54de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b60006017546010600101546119ac9190615326565b90506119b88682612e25565b95506001601c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508560176000828254611a249190615245565b92505081905550611a3b8360106000015488612e3e565b5050506001600d81905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390614f20565b60405180910390fd5b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b0b610cca565b73ffffffffffffffffffffffffffffffffffffffff16611b29611c79565b73ffffffffffffffffffffffffffffffffffffffff1614611b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7690614fa0565b60405180910390fd5b611b896000612f49565b565b6000801b611ba081611b9b610cca565b6125ed565b8160159080519060200190611bb6929190613efa565b505050565b60108060000154908060010154908060020154908060030154908060040154905085565b601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601b5481565b600060048281548110611c47577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600e600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060088054611d1d90615456565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4990615456565b8015611d965780601f10611d6b57610100808354040283529160200191611d96565b820191906000526020600020905b815481529060010190602001808311611d7957829003601f168201915b5050505050905090565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000801b611dfe81611df9610cca565b6125ed565b82601d8190555081601e81905550505050565b6002600d541415611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90615040565b60405180910390fd5b6002600d819055506000801b611e7481611e6f610cca565b6125ed565b6000821415611eaf576040517f1741ad9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60106002015460185410611eef576040517f6ba6092d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601854601060020154611f049190615326565b9050611f108382612e25565b92508260186000828254611f249190615245565b92505081905550611f3c611f36610cca565b8461300f565b50506001600d8190555050565b6000801b81565b611f62611f5b610cca565b83836131dd565b5050565b6000601a60009054906101000a900460ff168015611f865750601b544310155b905090565b6000801b611fa081611f9b610cca565b6125ed565b81601b819055505050565b6000601854601060020154611fc09190615326565b601954601060030154611fd39190615326565b611fdd9190615326565b905090565b611ff3611fed610cca565b83612911565b612032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202990615020565b60405180910390fd5b61203e8484848461334a565b50505050565b606061204f8261268a565b61208e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208590614fe0565b60405180910390fd5b60006120986133a6565b905060008151116120b857604051806020016040528060008152506120e3565b806120c284613438565b6040516020016120d3929190614bfa565b6040516020818303038152906040525b915050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61213d826111a2565b61214e81612149610cca565b6125ed565b6121588383612d2c565b505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601d5481565b6000600154905090565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6015805461225790615456565b80601f016020809104026020016040519081016040528092919081815260200182805461228390615456565b80156122d05780601f106122a5576101008083540402835291602001916122d0565b820191906000526020600020905b8154815290600101906020018083116122b357829003601f168201915b505050505081565b6002600d54141561231e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231590615040565b60405180910390fd5b6002600d8190555061232e611f66565b612364576040517f63a2de0f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081141561239f576040517f1741ad9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006123a9611fab565b14156123e1576040517f5fd48f9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006123eb610cca565b905060106004015482111561242c576040517f1b3428a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61243d82612438611fab565b612e25565b915061244f8160106000015484612e3e565b506001600d8190555050565b612463610cca565b73ffffffffffffffffffffffffffffffffffffffff16612481611c79565b73ffffffffffffffffffffffffffffffffffffffff16146124d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ce90614fa0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253e90614de0565b60405180910390fd5b61255081612f49565b50565b601c6020528060005260406000206000915054906101000a900460ff1681565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125e657506125e5826135e5565b5b9050919050565b6125f78282611ca3565b6126865761261c8173ffffffffffffffffffffffffffffffffffffffff1660146136c7565b61262a8360001c60206136c7565b60405160200161263b929190614c33565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267d9190614d7e565b60405180910390fd5b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166009600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b81600b600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661276983611535565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600054600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561280091906152cc565b61280a919061529b565b6128149190615326565b90509392505050565b80471015612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790614ea0565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161288690614c1e565b60006040518083038185875af1925050503d80600081146128c3576040519150601f19603f3d011682016040523d82523d6000602084013e6128c8565b606091505b505090508061290c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290390614e80565b60405180910390fd5b505050565b600061291c8261268a565b61295b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295290614ec0565b60405180910390fd5b600061296683611535565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129d557508373ffffffffffffffffffffffffffffffffffffffff166129bd84610dd0565b73ffffffffffffffffffffffffffffffffffffffff16145b806129e657506129e581856121b6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a0f82611535565b73ffffffffffffffffffffffffffffffffffffffff1614612a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5c90614fc0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612acc90614e40565b60405180910390fd5b612ae08383836139c1565b612aeb6000826126f6565b6001600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b3b9190615326565b925050819055506001600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b929190615245565b92505081905550816009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612c558282611ca3565b612d28576001600e600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612ccd610cca565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612d368282611ca3565b15612e0a576000600e600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612daf610cca565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600082612e1b85846139c6565b1490509392505050565b6000818310612e345781612e36565b825b905092915050565b612e5d8373ffffffffffffffffffffffffffffffffffffffff16613a9f565b15612e94576040517f9d5565be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008183612ea291906152cc565b905080341015612ede576040517f832e53a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80341115612f39578373ffffffffffffffffffffffffffffffffffffffff166108fc8234612f0c9190615326565b9081150290604051600060405180830381858888f19350505050158015612f37573d6000803e3d6000fd5b505b612f43848361300f565b50505050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b818110156131d8576000601954905060006001436130309190615326565b4043428785604051602001613049959493929190614b9b565b6040516020818303038152906040528051906020012090506000601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231876040518263ffffffff1660e01b81526004016130be9190614c6d565b60206040518083038186803b1580156130d657600080fd5b505afa1580156130ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061310e9190614579565b905060405180604001604052808281526020018381525060166000858152602001908152602001600020600082015181600001556020820151816001015590505060196000815480929190613162906154b9565b91905055506131718684613ab2565b8573ffffffffffffffffffffffffffffffffffffffff16837ff4e97bba6ad9b7d1375a5b02786a7e6c2a7f39cfcc86bf019128da83a279efc884846040516131ba929190614d55565b60405180910390a350505080806131d0906154b9565b915050613012565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561324c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324390614e60565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161333d9190614d1f565b60405180910390a3505050565b6133558484846129ef565b61336184848484613ad0565b6133a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339790614dc0565b60405180910390fd5b50505050565b6060602080546133b590615456565b80601f01602080910402602001604051908101604052809291908181526020018280546133e190615456565b801561342e5780601f106134035761010080835404028352916020019161342e565b820191906000526020600020905b81548152906001019060200180831161341157829003601f168201915b5050505050905090565b60606000821415613480576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135e0565b600082905060005b600082146134b257808061349b906154b9565b915050600a826134ab919061529b565b9150613488565b60008167ffffffffffffffff8111156134f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135265781602001600182028036833780820191505090505b5090505b600085146135d95760018261353f9190615326565b9150600a8561354e919061553a565b603061355a9190615245565b60f81b818381518110613596577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135d2919061529b565b945061352a565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806136b057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806136c057506136bf82613c67565b5b9050919050565b6060600060028360026136da91906152cc565b6136e49190615245565b67ffffffffffffffff811115613723577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137555781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106137b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061383d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261387d91906152cc565b6138879190615245565b90505b6001811115613973577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106138ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061392c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061396c9061542c565b905061388a565b50600084146139b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ae90614da0565b60405180910390fd5b8091505092915050565b505050565b60008082905060005b8451811015613a94576000858281518110613a13577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311613a54578281604051602001613a37929190614b6f565b604051602081830303815290604052805190602001209250613a80565b8083604051602001613a67929190614b6f565b6040516020818303038152906040528051906020012092505b508080613a8c906154b9565b9150506139cf565b508091505092915050565b600080823b905060008111915050919050565b613acc828260405180602001604052806000815250613cd1565b5050565b6000613af18473ffffffffffffffffffffffffffffffffffffffff16613a9f565b15613c5a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613b1a610cca565b8786866040518563ffffffff1660e01b8152600401613b3c9493929190614c88565b602060405180830381600087803b158015613b5657600080fd5b505af1925050508015613b8757506040513d601f19601f82011682018060405250810190613b849190614458565b60015b613c0a573d8060008114613bb7576040519150601f19603f3d011682016040523d82523d6000602084013e613bbc565b606091505b50600081511415613c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bf990614dc0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c5f565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613cdb8383613d2c565b613ce86000848484613ad0565b613d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d1e90614dc0565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d9390614f60565b60405180910390fd5b613da58161268a565b15613de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ddc90614e00565b60405180910390fd5b613df1600083836139c1565b6001600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e419190615245565b92505081905550816009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613f0690615456565b90600052602060002090601f016020900481019282613f285760008555613f6f565b82601f10613f4157805160ff1916838001178555613f6f565b82800160010185558215613f6f579182015b82811115613f6e578251825591602001919060010190613f53565b5b509050613f7c9190613f80565b5090565b5b80821115613f99576000816000905550600101613f81565b5090565b6000613fb0613fab8461515c565b615137565b905082815260208101848484011115613fc857600080fd5b613fd38482856153ea565b509392505050565b6000613fee613fe98461518d565b615137565b90508281526020810184848401111561400657600080fd5b6140118482856153ea565b509392505050565b60008135905061402881615cd2565b92915050565b60008083601f84011261404057600080fd5b8235905067ffffffffffffffff81111561405957600080fd5b60208301915083602082028301111561407157600080fd5b9250929050565b60008135905061408781615ce9565b92915050565b60008135905061409c81615d00565b92915050565b6000813590506140b181615d17565b92915050565b6000815190506140c681615d17565b92915050565b600082601f8301126140dd57600080fd5b81356140ed848260208601613f9d565b91505092915050565b60008135905061410581615d2e565b92915050565b600082601f83011261411c57600080fd5b813561412c848260208601613fdb565b91505092915050565b600060a0828403121561414757600080fd5b61415160a0615137565b90506000614161848285016141bd565b6000830152506020614175848285016141bd565b6020830152506040614189848285016141bd565b604083015250606061419d848285016141bd565b60608301525060806141b1848285016141bd565b60808301525092915050565b6000813590506141cc81615d45565b92915050565b6000815190506141e181615d45565b92915050565b6000602082840312156141f957600080fd5b600061420784828501614019565b91505092915050565b6000806040838503121561422357600080fd5b600061423185828601614019565b925050602061424285828601614019565b9150509250929050565b60008060006060848603121561426157600080fd5b600061426f86828701614019565b935050602061428086828701614019565b9250506040614291868287016141bd565b9150509250925092565b600080600080608085870312156142b157600080fd5b60006142bf87828801614019565b94505060206142d087828801614019565b93505060406142e1878288016141bd565b925050606085013567ffffffffffffffff8111156142fe57600080fd5b61430a878288016140cc565b91505092959194509250565b6000806040838503121561432957600080fd5b600061433785828601614019565b925050602061434885828601614078565b9150509250929050565b6000806040838503121561436557600080fd5b600061437385828601614019565b9250506020614384858286016141bd565b9150509250929050565b6000602082840312156143a057600080fd5b60006143ae8482850161408d565b91505092915050565b600080604083850312156143ca57600080fd5b60006143d88582860161408d565b92505060206143e985828601614019565b9150509250929050565b6000806040838503121561440657600080fd5b60006144148582860161408d565b92505060206144258582860161408d565b9150509250929050565b60006020828403121561444157600080fd5b600061444f848285016140a2565b91505092915050565b60006020828403121561446a57600080fd5b6000614478848285016140b7565b91505092915050565b60006020828403121561449357600080fd5b60006144a1848285016140f6565b91505092915050565b600080604083850312156144bd57600080fd5b60006144cb858286016140f6565b92505060206144dc85828601614019565b9150509250929050565b6000602082840312156144f857600080fd5b600082013567ffffffffffffffff81111561451257600080fd5b61451e8482850161410b565b91505092915050565b600060a0828403121561453957600080fd5b600061454784828501614135565b91505092915050565b60006020828403121561456257600080fd5b6000614570848285016141bd565b91505092915050565b60006020828403121561458b57600080fd5b6000614599848285016141d2565b91505092915050565b6000806000604084860312156145b757600080fd5b60006145c5868287016141bd565b935050602084013567ffffffffffffffff8111156145e257600080fd5b6145ee8682870161402e565b92509250509250925092565b60006146068383614b1f565b60208301905092915050565b61461b8161535a565b82525050565b61463261462d8261535a565b615502565b82525050565b6000614643826151ce565b61464d81856151fc565b9350614658836151be565b8060005b8381101561468957815161467088826145fa565b975061467b836151ef565b92505060018101905061465c565b5085935050505092915050565b61469f8161536c565b82525050565b6146ae81615378565b82525050565b6146c56146c082615378565b615514565b82525050565b60006146d6826151d9565b6146e0818561520d565b93506146f08185602086016153f9565b6146f981615627565b840191505092915050565b600061470f826151e4565b6147198185615229565b93506147298185602086016153f9565b61473281615627565b840191505092915050565b6000614748826151e4565b614752818561523a565b93506147628185602086016153f9565b80840191505092915050565b600061477b602083615229565b915061478682615645565b602082019050919050565b600061479e603283615229565b91506147a98261566e565b604082019050919050565b60006147c1602683615229565b91506147cc826156bd565b604082019050919050565b60006147e4601c83615229565b91506147ef8261570c565b602082019050919050565b6000614807602683615229565b915061481282615735565b604082019050919050565b600061482a602483615229565b915061483582615784565b604082019050919050565b600061484d601983615229565b9150614858826157d3565b602082019050919050565b6000614870603a83615229565b915061487b826157fc565b604082019050919050565b6000614893601d83615229565b915061489e8261584b565b602082019050919050565b60006148b6602c83615229565b91506148c182615874565b604082019050919050565b60006148d9602b83615229565b91506148e4826158c3565b604082019050919050565b60006148fc603883615229565b915061490782615912565b604082019050919050565b600061491f602a83615229565b915061492a82615961565b604082019050919050565b6000614942602983615229565b915061494d826159b0565b604082019050919050565b6000614965602083615229565b9150614970826159ff565b602082019050919050565b6000614988602c83615229565b915061499382615a28565b604082019050919050565b60006149ab602083615229565b91506149b682615a77565b602082019050919050565b60006149ce602983615229565b91506149d982615aa0565b604082019050919050565b60006149f1602f83615229565b91506149fc82615aef565b604082019050919050565b6000614a14602183615229565b9150614a1f82615b3e565b604082019050919050565b6000614a3760008361521e565b9150614a4282615b8d565b600082019050919050565b6000614a5a603183615229565b9150614a6582615b90565b604082019050919050565b6000614a7d60178361523a565b9150614a8882615bdf565b601782019050919050565b6000614aa0601f83615229565b9150614aab82615c08565b602082019050919050565b6000614ac360118361523a565b9150614ace82615c31565b601182019050919050565b6000614ae6601c83615229565b9150614af182615c5a565b602082019050919050565b6000614b09602f83615229565b9150614b1482615c83565b604082019050919050565b614b28816153e0565b82525050565b614b37816153e0565b82525050565b614b4e614b49826153e0565b615530565b82525050565b6000614b608284614621565b60148201915081905092915050565b6000614b7b82856146b4565b602082019150614b8b82846146b4565b6020820191508190509392505050565b6000614ba782886146b4565b602082019150614bb78287614b3d565b602082019150614bc78286614b3d565b602082019150614bd78285614621565b601482019150614be78284614b3d565b6020820191508190509695505050505050565b6000614c06828561473d565b9150614c12828461473d565b91508190509392505050565b6000614c2982614a2a565b9150819050919050565b6000614c3e82614a70565b9150614c4a828561473d565b9150614c5582614ab6565b9150614c61828461473d565b91508190509392505050565b6000602082019050614c826000830184614612565b92915050565b6000608082019050614c9d6000830187614612565b614caa6020830186614612565b614cb76040830185614b2e565b8181036060830152614cc981846146cb565b905095945050505050565b6000604082019050614ce96000830185614612565b614cf66020830184614b2e565b9392505050565b60006020820190508181036000830152614d178184614638565b905092915050565b6000602082019050614d346000830184614696565b92915050565b6000602082019050614d4f60008301846146a5565b92915050565b6000604082019050614d6a60008301856146a5565b614d776020830184614b2e565b9392505050565b60006020820190508181036000830152614d988184614704565b905092915050565b60006020820190508181036000830152614db98161476e565b9050919050565b60006020820190508181036000830152614dd981614791565b9050919050565b60006020820190508181036000830152614df9816147b4565b9050919050565b60006020820190508181036000830152614e19816147d7565b9050919050565b60006020820190508181036000830152614e39816147fa565b9050919050565b60006020820190508181036000830152614e598161481d565b9050919050565b60006020820190508181036000830152614e7981614840565b9050919050565b60006020820190508181036000830152614e9981614863565b9050919050565b60006020820190508181036000830152614eb981614886565b9050919050565b60006020820190508181036000830152614ed9816148a9565b9050919050565b60006020820190508181036000830152614ef9816148cc565b9050919050565b60006020820190508181036000830152614f19816148ef565b9050919050565b60006020820190508181036000830152614f3981614912565b9050919050565b60006020820190508181036000830152614f5981614935565b9050919050565b60006020820190508181036000830152614f7981614958565b9050919050565b60006020820190508181036000830152614f998161497b565b9050919050565b60006020820190508181036000830152614fb98161499e565b9050919050565b60006020820190508181036000830152614fd9816149c1565b9050919050565b60006020820190508181036000830152614ff9816149e4565b9050919050565b6000602082019050818103600083015261501981614a07565b9050919050565b6000602082019050818103600083015261503981614a4d565b9050919050565b6000602082019050818103600083015261505981614a93565b9050919050565b6000602082019050818103600083015261507981614ad9565b9050919050565b6000602082019050818103600083015261509981614afc565b9050919050565b60006020820190506150b56000830184614b2e565b92915050565b60006040820190506150d06000830185614b2e565b6150dd60208301846146a5565b9392505050565b600060a0820190506150f96000830188614b2e565b6151066020830187614b2e565b6151136040830186614b2e565b6151206060830185614b2e565b61512d6080830184614b2e565b9695505050505050565b6000615141615152565b905061514d8282615488565b919050565b6000604051905090565b600067ffffffffffffffff821115615177576151766155f8565b5b61518082615627565b9050602081019050919050565b600067ffffffffffffffff8211156151a8576151a76155f8565b5b6151b182615627565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615250826153e0565b915061525b836153e0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152905761528f61556b565b5b828201905092915050565b60006152a6826153e0565b91506152b1836153e0565b9250826152c1576152c061559a565b5b828204905092915050565b60006152d7826153e0565b91506152e2836153e0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561531b5761531a61556b565b5b828202905092915050565b6000615331826153e0565b915061533c836153e0565b92508282101561534f5761534e61556b565b5b828203905092915050565b6000615365826153c0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006153b98261535a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156154175780820151818401526020810190506153fc565b83811115615426576000848401525b50505050565b6000615437826153e0565b9150600082141561544b5761544a61556b565b5b600182039050919050565b6000600282049050600182168061546e57607f821691505b60208210811415615482576154816155c9565b5b50919050565b61549182615627565b810181811067ffffffffffffffff821117156154b0576154af6155f8565b5b80604052505050565b60006154c4826153e0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154f7576154f661556b565b5b600182019050919050565b600061550d8261551e565b9050919050565b6000819050919050565b600061552982615638565b9050919050565b6000819050919050565b6000615545826153e0565b9150615550836153e0565b9250826155605761555f61559a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f5468652073616c652068617320616c7265616479207374617274656400000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615cdb8161535a565b8114615ce657600080fd5b50565b615cf28161536c565b8114615cfd57600080fd5b50565b615d0981615378565b8114615d1457600080fd5b50565b615d2081615382565b8114615d2b57600080fd5b50565b615d37816153ae565b8114615d4257600080fd5b50565b615d4e816153e0565b8114615d5957600080fd5b5056fea26469706673582212205e869dab97b6e9eb48d78f4574bd9dd8f9d3c9ce085ae886b73c1a0a0fe5a60664736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000a688906bd8b00000000000000000000000000000000000000000000000000000000000000000205000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000002ee00000000000000000000000000000000000000000000000000000000000000020000000000000000000000004dd28568d05f09b02220b09c2cb307bfd837cb9500000000000000000000000000000000000000000000000000000000000000030000000000000000000000007f49eade2a6ac67ebdcdb8d341ff64a577298cc1000000000000000000000000bc49de68bcbd164574847a7ced47e7475179c76b0000000000000000000000003fe227f41a54dc54972e7359d4fc55020bb8ab500000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000b800000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000bc49de68bcbd164574847a7ced47e7475179c76b0000000000000000000000003fe227f41a54dc54972e7359d4fc55020bb8ab50000000000000000000000000f2bfd6b0e03b7f617f4ff3ebd32e3ebe5a912236
-----Decoded View---------------
Arg [0] : payees_ (address[]): 0x7F49eaDE2a6Ac67eBdcDB8d341Ff64A577298cc1,0xbC49de68bCBD164574847A7ced47e7475179C76B,0x3Fe227F41A54DC54972e7359D4fC55020bB8AB50
Arg [1] : shares_ (uint256[]): 80,184,736
Arg [2] : admins_ (address[]): 0xbC49de68bCBD164574847A7ced47e7475179C76B,0x3Fe227F41A54DC54972e7359D4fC55020bB8AB50,0xf2bFd6b0e03B7F617f4fF3EBd32e3eBE5a912236
Arg [3] : collection_ (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [4] : prints_ (address): 0x4dd28568D05f09b02220b09C2cb307bFd837cb95
-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [3] : 0000000000000000000000000000000000000000000000000a688906bd8b0000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000205
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [6] : 00000000000000000000000000000000000000000000000000000000000002ee
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 0000000000000000000000004dd28568d05f09b02220b09c2cb307bfd837cb95
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 0000000000000000000000007f49eade2a6ac67ebdcdb8d341ff64a577298cc1
Arg [11] : 000000000000000000000000bc49de68bcbd164574847a7ced47e7475179c76b
Arg [12] : 0000000000000000000000003fe227f41a54dc54972e7359d4fc55020bb8ab50
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [15] : 00000000000000000000000000000000000000000000000000000000000000b8
Arg [16] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [18] : 000000000000000000000000bc49de68bcbd164574847a7ced47e7475179c76b
Arg [19] : 0000000000000000000000003fe227f41a54dc54972e7359d4fc55020bb8ab50
Arg [20] : 000000000000000000000000f2bfd6b0e03b7f617f4ff3ebd32e3ebe5a912236
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.