ERC-721
Overview
Max Total Supply
55 RISING
Holders
47
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BavugarOpenEdition
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: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "erc721a/contracts/ERC721A.sol"; import "./libraries/Base64.sol"; contract BavugarOpenEdition is ERC721A, PaymentSplitter, Ownable { uint256 public mintPrice = 0.05 * (10**18); uint16 public maxPurchase = 20; bool public isPaused = true; uint supply = 0; constructor(address[] memory payees, uint256[] memory shares) ERC721A("Bavugar - Rising", "RISING") PaymentSplitter(payees, shares) {} function mintNFT(uint numberOfTokens) external payable { require(!isPaused, "Cannot mint while the contract is paused"); require( numberOfTokens <= maxPurchase, "Cannot mint more than 20 NFTs at a time" ); require(mintPrice * numberOfTokens <= msg.value, "Not enough Ether sent"); _safeMint(msg.sender, numberOfTokens); supply += numberOfTokens; } function totalSupply() public view override returns (uint) { return supply; } function tokenURI(uint256 tokenId) public view override returns (string memory) { if (!_exists(tokenId)) revert("Token does not exist"); return string(abi.encodePacked("https://ipfs.io/ipfs/QmTQc55gzsRAeZBGrdfSsxwz8Utr3r5zDZwA59zfH9JcqK/metadata.json")); } function togglePause() public onlyOwner { isPaused = !isPaused; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; import "../token/ERC20/utils/SafeERC20.sol"; import "../utils/Address.sol"; import "../utils/Context.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + totalReleased(); uint256 payment = _pendingPayment(account, totalReceived, released(account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); uint256 payment = _pendingPayment(account, totalReceived, released(token, account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view virtual returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
//SPDX-License-Identifier: UNLICENSED pragma solidity >0.8.0; library Base64 { bytes constant private base64stdchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; bytes constant private base64urlchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; function encode(string memory _str) internal pure returns (string memory) { bytes memory _bs = bytes(_str); uint256 rem = _bs.length % 3; uint256 res_length = (_bs.length + 2) / 3 * 4 - ((3 - rem) % 3); bytes memory res = new bytes(res_length); uint256 i = 0; uint256 j = 0; for (; i + 3 <= _bs.length; i += 3) { (res[j], res[j+1], res[j+2], res[j+3]) = encode3( uint8(_bs[i]), uint8(_bs[i+1]), uint8(_bs[i+2]) ); j += 4; } if (rem != 0) { uint8 la0 = uint8(_bs[_bs.length - rem]); uint8 la1 = 0; if (rem == 2) { la1 = uint8(_bs[_bs.length - 1]); } (bytes1 b0, bytes1 b1, bytes1 b2, bytes1 b3) = encode3(la0, la1, 0); res[j] = b0; res[j+1] = b1; if (rem == 2) { res[j+2] = b2; } } return string(res); } function encode3(uint256 a0, uint256 a1, uint256 a2) private pure returns (bytes1 b0, bytes1 b1, bytes1 b2, bytes1 b3) { uint256 n = (a0 << 16) | (a1 << 8) | a2; uint256 c0 = (n >> 18) & 63; uint256 c1 = (n >> 12) & 63; uint256 c2 = (n >> 6) & 63; uint256 c3 = (n ) & 63; b0 = base64urlchars[c0]; b1 = base64urlchars[c1]; b2 = base64urlchars[c2]; b3 = base64urlchars[c3]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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); }
{ "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[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchase","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405266b1a2bc2ec500006010556014601160006101000a81548161ffff021916908361ffff1602179055506001601160026101000a81548160ff02191690831515021790555060006012553480156200005a57600080fd5b5060405162004dce38038062004dce8339818101604052810190620000809190620007d7565b81816040518060400160405280601081526020017f42617675676172202d20526973696e67000000000000000000000000000000008152506040518060400160405280600681526020017f524953494e470000000000000000000000000000000000000000000000000000815250816002908051906020019062000106929190620005b5565b5080600390805190602001906200011f929190620005b5565b5062000130620002a860201b60201c565b600081905550505080518251146200017f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000176906200097e565b60405180910390fd5b6000825111620001c6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001bd90620009c2565b60405180910390fd5b60005b82518110156200027d576200026783828151811062000211577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183838151811062000253577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151620002ad60201b60201c565b8080620002749062000ba5565b915050620001c9565b505050620002a062000294620004e760201b60201c565b620004ef60201b60201c565b505062000e04565b600090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000317906200095c565b60405180910390fd5b6000811162000366576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035d90620009e4565b60405180910390fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620003eb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003e290620009a0565b60405180910390fd5b600c829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600854620004a2919062000a9e565b6008819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620004db9291906200092f565b60405180910390a15050565b600033905090565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620005c39062000b39565b90600052602060002090601f016020900481019282620005e7576000855562000633565b82601f106200060257805160ff191683800117855562000633565b8280016001018555821562000633579182015b828111156200063257825182559160200191906001019062000615565b5b50905062000642919062000646565b5090565b5b808211156200066157600081600090555060010162000647565b5090565b60006200067c620006768462000a2f565b62000a06565b905080838252602082019050828560208602820111156200069c57600080fd5b60005b85811015620006d05781620006b588826200074f565b8452602084019350602083019250506001810190506200069f565b5050509392505050565b6000620006f1620006eb8462000a5e565b62000a06565b905080838252602082019050828560208602820111156200071157600080fd5b60005b858110156200074557816200072a8882620007c0565b84526020840193506020830192505060018101905062000714565b5050509392505050565b600081519050620007608162000dd0565b92915050565b600082601f8301126200077857600080fd5b81516200078a84826020860162000665565b91505092915050565b600082601f830112620007a557600080fd5b8151620007b7848260208601620006da565b91505092915050565b600081519050620007d18162000dea565b92915050565b60008060408385031215620007eb57600080fd5b600083015167ffffffffffffffff8111156200080657600080fd5b620008148582860162000766565b925050602083015167ffffffffffffffff8111156200083257600080fd5b620008408582860162000793565b9150509250929050565b620008558162000afb565b82525050565b60006200086a602c8362000a8d565b9150620008778262000c91565b604082019050919050565b60006200089160328362000a8d565b91506200089e8262000ce0565b604082019050919050565b6000620008b8602b8362000a8d565b9150620008c58262000d2f565b604082019050919050565b6000620008df601a8362000a8d565b9150620008ec8262000d7e565b602082019050919050565b600062000906601d8362000a8d565b9150620009138262000da7565b602082019050919050565b620009298162000b2f565b82525050565b60006040820190506200094660008301856200084a565b6200095560208301846200091e565b9392505050565b6000602082019050818103600083015262000977816200085b565b9050919050565b60006020820190508181036000830152620009998162000882565b9050919050565b60006020820190508181036000830152620009bb81620008a9565b9050919050565b60006020820190508181036000830152620009dd81620008d0565b9050919050565b60006020820190508181036000830152620009ff81620008f7565b9050919050565b600062000a1262000a25565b905062000a20828262000b6f565b919050565b6000604051905090565b600067ffffffffffffffff82111562000a4d5762000a4c62000c51565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000a7c5762000a7b62000c51565b5b602082029050602081019050919050565b600082825260208201905092915050565b600062000aab8262000b2f565b915062000ab88362000b2f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000af05762000aef62000bf3565b5b828201905092915050565b600062000b088262000b0f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000600282049050600182168062000b5257607f821691505b6020821081141562000b695762000b6862000c22565b5b50919050565b62000b7a8262000c80565b810181811067ffffffffffffffff8211171562000b9c5762000b9b62000c51565b5b80604052505050565b600062000bb28262000b2f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000be85762000be762000bf3565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000ddb8162000afb565b811462000de757600080fd5b50565b62000df58162000b2f565b811462000e0157600080fd5b50565b613fba8062000e146000396000f3fe6080604052600436106101dc5760003560e01c80638b83209b11610102578063b88d4fde11610095578063d79779b211610064578063d79779b21461070e578063e33b7de31461074b578063e985e9c514610776578063f2fde38b146107b357610223565b8063b88d4fde14610654578063c4ae31681461067d578063c87b56dd14610694578063ce7c2ac2146106d157610223565b8063977b055b116100d1578063977b055b146105985780639852595c146105c3578063a22cb46514610600578063b187bd261461062957610223565b80638b83209b146104e95780638da5cb5b14610526578063926427441461055157806395d89b411461056d57610223565b80633a98ef391161017a5780636352211e116101495780636352211e1461042d5780636817c76c1461046a57806370a0823114610495578063715018a6146104d257610223565b80633a98ef3914610373578063406072a91461039e57806342842e0e146103db57806348b750441461040457610223565b8063095ea7b3116101b6578063095ea7b3146102cd57806318160ddd146102f6578063191655871461032157806323b872dd1461034a57610223565b806301ffc9a71461022857806306fdde0314610265578063081812fc1461029057610223565b36610223577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061020a6107dc565b346040516102199291906134fa565b60405180910390a1005b600080fd5b34801561023457600080fd5b5061024f600480360381019061024a9190613025565b6107e4565b60405161025c9190613523565b60405180910390f35b34801561027157600080fd5b5061027a6108c6565b604051610287919061353e565b60405180910390f35b34801561029c57600080fd5b506102b760048036038101906102b291906130dc565b610958565b6040516102c4919061346a565b60405180910390f35b3480156102d957600080fd5b506102f460048036038101906102ef9190612fc0565b6109d4565b005b34801561030257600080fd5b5061030b610adf565b604051610318919061371b565b60405180910390f35b34801561032d57600080fd5b5061034860048036038101906103439190612e55565b610ae9565b005b34801561035657600080fd5b50610371600480360381019061036c9190612eba565b610c94565b005b34801561037f57600080fd5b50610388610ca4565b604051610395919061371b565b60405180910390f35b3480156103aa57600080fd5b506103c560048036038101906103c091906130a0565b610cae565b6040516103d2919061371b565b60405180910390f35b3480156103e757600080fd5b5061040260048036038101906103fd9190612eba565b610d35565b005b34801561041057600080fd5b5061042b600480360381019061042691906130a0565b610d55565b005b34801561043957600080fd5b50610454600480360381019061044f91906130dc565b61101d565b604051610461919061346a565b60405180910390f35b34801561047657600080fd5b5061047f611033565b60405161048c919061371b565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190612e2c565b611039565b6040516104c9919061371b565b60405180910390f35b3480156104de57600080fd5b506104e7611109565b005b3480156104f557600080fd5b50610510600480360381019061050b91906130dc565b611191565b60405161051d919061346a565b60405180910390f35b34801561053257600080fd5b5061053b6111ff565b604051610548919061346a565b60405180910390f35b61056b600480360381019061056691906130dc565b611229565b005b34801561057957600080fd5b50610582611346565b60405161058f919061353e565b60405180910390f35b3480156105a457600080fd5b506105ad6113d8565b6040516105ba9190613700565b60405180910390f35b3480156105cf57600080fd5b506105ea60048036038101906105e59190612e2c565b6113ec565b6040516105f7919061371b565b60405180910390f35b34801561060c57600080fd5b5061062760048036038101906106229190612f84565b611435565b005b34801561063557600080fd5b5061063e6115ad565b60405161064b9190613523565b60405180910390f35b34801561066057600080fd5b5061067b60048036038101906106769190612f09565b6115c0565b005b34801561068957600080fd5b5061069261163c565b005b3480156106a057600080fd5b506106bb60048036038101906106b691906130dc565b6116e4565b6040516106c8919061353e565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f39190612e2c565b611753565b604051610705919061371b565b60405180910390f35b34801561071a57600080fd5b5061073560048036038101906107309190613077565b61179c565b604051610742919061371b565b60405180910390f35b34801561075757600080fd5b506107606117e5565b60405161076d919061371b565b60405180910390f35b34801561078257600080fd5b5061079d60048036038101906107989190612e7e565b6117ef565b6040516107aa9190613523565b60405180910390f35b3480156107bf57600080fd5b506107da60048036038101906107d59190612e2c565b611883565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108af57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108bf57506108be8261197b565b5b9050919050565b6060600280546108d590613a0d565b80601f016020809104026020016040519081016040528092919081815260200182805461090190613a0d565b801561094e5780601f106109235761010080835404028352916020019161094e565b820191906000526020600020905b81548152906001019060200180831161093157829003601f168201915b5050505050905090565b6000610963826119e5565b610999576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109df8261101d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a47576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a666107dc565b73ffffffffffffffffffffffffffffffffffffffff1614158015610a985750610a9681610a916107dc565b6117ef565b155b15610acf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ada838383611a33565b505050565b6000601254905090565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b62906135c0565b60405180910390fd5b6000610b756117e5565b47610b8091906137da565b90506000610b978383610b92866113ec565b611ae5565b90506000811415610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490613660565b60405180910390fd5b80600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c2c91906137da565b925050819055508060096000828254610c4591906137da565b92505081905550610c568382611b53565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610c87929190613485565b60405180910390a1505050565b610c9f838383611c47565b505050565b6000600854905090565b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610d50838383604051806020016040528060008152506115c0565b505050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dce906135c0565b60405180910390fd5b6000610de28361179c565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e1b919061346a565b60206040518083038186803b158015610e3357600080fd5b505afa158015610e47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6b9190613105565b610e7591906137da565b90506000610e8d8383610e888787610cae565b611ae5565b90506000811415610ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eca90613660565b60405180910390fd5b80600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f5f91906137da565b9250508190555080600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fb591906137da565b92505081905550610fc78484836120fd565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a848360405161100f9291906134fa565b60405180910390a250505050565b600061102882612183565b600001519050919050565b60105481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110a1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6111116107dc565b73ffffffffffffffffffffffffffffffffffffffff1661112f6111ff565b73ffffffffffffffffffffffffffffffffffffffff1614611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906136a0565b60405180910390fd5b61118f6000612412565b565b6000600c82815481106111cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601160029054906101000a900460ff1615611279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127090613680565b60405180910390fd5b601160009054906101000a900461ffff1661ffff168111156112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c7906135a0565b60405180910390fd5b34816010546112df9190613861565b1115611320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131790613560565b60405180910390fd5b61132a33826124d8565b806012600082825461133c91906137da565b9250508190555050565b60606003805461135590613a0d565b80601f016020809104026020016040519081016040528092919081815260200182805461138190613a0d565b80156113ce5780601f106113a3576101008083540402835291602001916113ce565b820191906000526020600020905b8154815290600101906020018083116113b157829003601f168201915b5050505050905090565b601160009054906101000a900461ffff1681565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61143d6107dc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114a2576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006114af6107dc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661155c6107dc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115a19190613523565b60405180910390a35050565b601160029054906101000a900460ff1681565b6115cb848484611c47565b6115ea8373ffffffffffffffffffffffffffffffffffffffff166124f6565b80156115ff57506115fd84848484612519565b155b15611636576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6116446107dc565b73ffffffffffffffffffffffffffffffffffffffff166116626111ff565b73ffffffffffffffffffffffffffffffffffffffff16146116b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116af906136a0565b60405180910390fd5b601160029054906101000a900460ff1615601160026101000a81548160ff021916908315150217905550565b60606116ef826119e5565b61172e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172590613600565b60405180910390fd5b60405160200161173d90613440565b6040516020818303038152906040529050919050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600954905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61188b6107dc565b73ffffffffffffffffffffffffffffffffffffffff166118a96111ff565b73ffffffffffffffffffffffffffffffffffffffff16146118ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f6906136a0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561196f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196690613580565b60405180910390fd5b61197881612412565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816119f0612679565b111580156119ff575060005482105b8015611a2c575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600081600854600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485611b369190613861565b611b409190613830565b611b4a91906138bb565b90509392505050565b80471015611b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8d90613620565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611bbc90613455565b60006040518083038185875af1925050503d8060008114611bf9576040519150601f19603f3d011682016040523d82523d6000602084013e611bfe565b606091505b5050905080611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c39906135e0565b60405180910390fd5b505050565b6000611c5282612183565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611cbd576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611cde6107dc565b73ffffffffffffffffffffffffffffffffffffffff161480611d0d5750611d0c85611d076107dc565b6117ef565b5b80611d525750611d1b6107dc565b73ffffffffffffffffffffffffffffffffffffffff16611d3a84610958565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611d8b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611df2576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611dff858585600161267e565b611e0b60008487611a33565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561208b57600054821461208a57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120f68585856001612684565b5050505050565b61217e8363a9059cbb60e01b848460405160240161211c9291906134fa565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061268a565b505050565b61218b612cc4565b600082905080612199612679565b111580156121a8575060005481105b156123db576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516123d957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122bd57809250505061240d565b5b6001156123d857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123d357809250505061240d565b6122be565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124f2828260405180602001604052806000815250612751565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261253f6107dc565b8786866040518563ffffffff1660e01b815260040161256194939291906134ae565b602060405180830381600087803b15801561257b57600080fd5b505af19250505080156125ac57506040513d601f19601f820116820180604052508101906125a9919061304e565b60015b612626573d80600081146125dc576040519150601f19603f3d011682016040523d82523d6000602084013e6125e1565b606091505b5060008151141561261e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600090565b50505050565b50505050565b60006126ec826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166127639092919063ffffffff16565b905060008151111561274c578080602001905181019061270c9190612ffc565b61274b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612742906136e0565b60405180910390fd5b5b505050565b61275e838383600161277b565b505050565b60606127728484600085612b49565b90509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156127e8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612823576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612830600086838761267e565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156129fa57506129f98773ffffffffffffffffffffffffffffffffffffffff166124f6565b5b15612ac0575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a6f6000888480600101955088612519565b612aa5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612a00578260005414612abb57600080fd5b612b2c565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612ac1575b816000819055505050612b426000868387612684565b5050505050565b606082471015612b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8590613640565b60405180910390fd5b612b97856124f6565b612bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcd906136c0565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612bff9190613429565b60006040518083038185875af1925050503d8060008114612c3c576040519150601f19603f3d011682016040523d82523d6000602084013e612c41565b606091505b5091509150612c51828286612c5d565b92505050949350505050565b60608315612c6d57829050612cbd565b600083511115612c805782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb4919061353e565b60405180910390fd5b9392505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000612d1a612d158461375b565b613736565b905082815260208101848484011115612d3257600080fd5b612d3d8482856139cb565b509392505050565b600081359050612d5481613efa565b92915050565b600081359050612d6981613f11565b92915050565b600081359050612d7e81613f28565b92915050565b600081519050612d9381613f28565b92915050565b600081359050612da881613f3f565b92915050565b600081519050612dbd81613f3f565b92915050565b600082601f830112612dd457600080fd5b8135612de4848260208601612d07565b91505092915050565b600081359050612dfc81613f56565b92915050565b600081359050612e1181613f6d565b92915050565b600081519050612e2681613f6d565b92915050565b600060208284031215612e3e57600080fd5b6000612e4c84828501612d45565b91505092915050565b600060208284031215612e6757600080fd5b6000612e7584828501612d5a565b91505092915050565b60008060408385031215612e9157600080fd5b6000612e9f85828601612d45565b9250506020612eb085828601612d45565b9150509250929050565b600080600060608486031215612ecf57600080fd5b6000612edd86828701612d45565b9350506020612eee86828701612d45565b9250506040612eff86828701612e02565b9150509250925092565b60008060008060808587031215612f1f57600080fd5b6000612f2d87828801612d45565b9450506020612f3e87828801612d45565b9350506040612f4f87828801612e02565b925050606085013567ffffffffffffffff811115612f6c57600080fd5b612f7887828801612dc3565b91505092959194509250565b60008060408385031215612f9757600080fd5b6000612fa585828601612d45565b9250506020612fb685828601612d6f565b9150509250929050565b60008060408385031215612fd357600080fd5b6000612fe185828601612d45565b9250506020612ff285828601612e02565b9150509250929050565b60006020828403121561300e57600080fd5b600061301c84828501612d84565b91505092915050565b60006020828403121561303757600080fd5b600061304584828501612d99565b91505092915050565b60006020828403121561306057600080fd5b600061306e84828501612dae565b91505092915050565b60006020828403121561308957600080fd5b600061309784828501612ded565b91505092915050565b600080604083850312156130b357600080fd5b60006130c185828601612ded565b92505060206130d285828601612d45565b9150509250929050565b6000602082840312156130ee57600080fd5b60006130fc84828501612e02565b91505092915050565b60006020828403121561311757600080fd5b600061312584828501612e17565b91505092915050565b61313781613995565b82525050565b613146816138ef565b82525050565b61315581613913565b82525050565b60006131668261378c565b61317081856137a2565b93506131808185602086016139da565b61318981613b2c565b840191505092915050565b600061319f8261378c565b6131a981856137b3565b93506131b98185602086016139da565b80840191505092915050565b60006131d082613797565b6131da81856137be565b93506131ea8185602086016139da565b6131f381613b2c565b840191505092915050565b600061320b6015836137be565b915061321682613b3d565b602082019050919050565b600061322e6026836137be565b915061323982613b66565b604082019050919050565b60006132516027836137be565b915061325c82613bb5565b604082019050919050565b60006132746026836137be565b915061327f82613c04565b604082019050919050565b6000613297603a836137be565b91506132a282613c53565b604082019050919050565b60006132ba6014836137be565b91506132c582613ca2565b602082019050919050565b60006132dd601d836137be565b91506132e882613ccb565b602082019050919050565b60006133006026836137be565b915061330b82613cf4565b604082019050919050565b6000613323602b836137be565b915061332e82613d43565b604082019050919050565b60006133466028836137be565b915061335182613d92565b604082019050919050565b60006133696020836137be565b915061337482613de1565b602082019050919050565b600061338c6051836137cf565b915061339782613e0a565b605182019050919050565b60006133af6000836137b3565b91506133ba82613e7f565b600082019050919050565b60006133d2601d836137be565b91506133dd82613e82565b602082019050919050565b60006133f5602a836137be565b915061340082613eab565b604082019050919050565b6134148161395d565b82525050565b6134238161398b565b82525050565b60006134358284613194565b915081905092915050565b600061344b8261337f565b9150819050919050565b6000613460826133a2565b9150819050919050565b600060208201905061347f600083018461313d565b92915050565b600060408201905061349a600083018561312e565b6134a7602083018461341a565b9392505050565b60006080820190506134c3600083018761313d565b6134d0602083018661313d565b6134dd604083018561341a565b81810360608301526134ef818461315b565b905095945050505050565b600060408201905061350f600083018561313d565b61351c602083018461341a565b9392505050565b6000602082019050613538600083018461314c565b92915050565b6000602082019050818103600083015261355881846131c5565b905092915050565b60006020820190508181036000830152613579816131fe565b9050919050565b6000602082019050818103600083015261359981613221565b9050919050565b600060208201905081810360008301526135b981613244565b9050919050565b600060208201905081810360008301526135d981613267565b9050919050565b600060208201905081810360008301526135f98161328a565b9050919050565b60006020820190508181036000830152613619816132ad565b9050919050565b60006020820190508181036000830152613639816132d0565b9050919050565b60006020820190508181036000830152613659816132f3565b9050919050565b6000602082019050818103600083015261367981613316565b9050919050565b6000602082019050818103600083015261369981613339565b9050919050565b600060208201905081810360008301526136b98161335c565b9050919050565b600060208201905081810360008301526136d9816133c5565b9050919050565b600060208201905081810360008301526136f9816133e8565b9050919050565b6000602082019050613715600083018461340b565b92915050565b6000602082019050613730600083018461341a565b92915050565b6000613740613751565b905061374c8282613a3f565b919050565b6000604051905090565b600067ffffffffffffffff82111561377657613775613afd565b5b61377f82613b2c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006137e58261398b565b91506137f08361398b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561382557613824613a70565b5b828201905092915050565b600061383b8261398b565b91506138468361398b565b92508261385657613855613a9f565b5b828204905092915050565b600061386c8261398b565b91506138778361398b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138b0576138af613a70565b5b828202905092915050565b60006138c68261398b565b91506138d18361398b565b9250828210156138e4576138e3613a70565b5b828203905092915050565b60006138fa8261396b565b9050919050565b600061390c8261396b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613956826138ef565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006139a0826139a7565b9050919050565b60006139b2826139b9565b9050919050565b60006139c48261396b565b9050919050565b82818337600083830152505050565b60005b838110156139f85780820151818401526020810190506139dd565b83811115613a07576000848401525b50505050565b60006002820490506001821680613a2557607f821691505b60208210811415613a3957613a38613ace565b5b50919050565b613a4882613b2c565b810181811067ffffffffffffffff82111715613a6757613a66613afd565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4e6f7420656e6f7567682045746865722073656e740000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203230204e46547320617460008201527f20612074696d6500000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f43616e6e6f74206d696e74207768696c652074686520636f6e7472616374206960008201527f7320706175736564000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f68747470733a2f2f697066732e696f2f697066732f516d5451633535677a735260008201527f41655a4247726466537378777a385574723372357a445a774135397a6648394a60208201527f63714b2f6d657461646174612e6a736f6e000000000000000000000000000000604082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b613f03816138ef565b8114613f0e57600080fd5b50565b613f1a81613901565b8114613f2557600080fd5b50565b613f3181613913565b8114613f3c57600080fd5b50565b613f488161391f565b8114613f5357600080fd5b50565b613f5f8161394b565b8114613f6a57600080fd5b50565b613f768161398b565b8114613f8157600080fd5b5056fea2646970667358221220c2afb108c5a428d463f2d619cc6c748d12171e167275369757adea531271ae4764736f6c63430008040033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000b790d9316cf86ba0161ec83d9f56ef83099efd1800000000000000000000000090c20f1427dca3a2f9a64f6fa5a7d73b7b8be3e1000000000000000000000000aadf5e8b700a15880a2d7f0eb0129955cd3118bc0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000003ca
Deployed Bytecode
0x6080604052600436106101dc5760003560e01c80638b83209b11610102578063b88d4fde11610095578063d79779b211610064578063d79779b21461070e578063e33b7de31461074b578063e985e9c514610776578063f2fde38b146107b357610223565b8063b88d4fde14610654578063c4ae31681461067d578063c87b56dd14610694578063ce7c2ac2146106d157610223565b8063977b055b116100d1578063977b055b146105985780639852595c146105c3578063a22cb46514610600578063b187bd261461062957610223565b80638b83209b146104e95780638da5cb5b14610526578063926427441461055157806395d89b411461056d57610223565b80633a98ef391161017a5780636352211e116101495780636352211e1461042d5780636817c76c1461046a57806370a0823114610495578063715018a6146104d257610223565b80633a98ef3914610373578063406072a91461039e57806342842e0e146103db57806348b750441461040457610223565b8063095ea7b3116101b6578063095ea7b3146102cd57806318160ddd146102f6578063191655871461032157806323b872dd1461034a57610223565b806301ffc9a71461022857806306fdde0314610265578063081812fc1461029057610223565b36610223577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061020a6107dc565b346040516102199291906134fa565b60405180910390a1005b600080fd5b34801561023457600080fd5b5061024f600480360381019061024a9190613025565b6107e4565b60405161025c9190613523565b60405180910390f35b34801561027157600080fd5b5061027a6108c6565b604051610287919061353e565b60405180910390f35b34801561029c57600080fd5b506102b760048036038101906102b291906130dc565b610958565b6040516102c4919061346a565b60405180910390f35b3480156102d957600080fd5b506102f460048036038101906102ef9190612fc0565b6109d4565b005b34801561030257600080fd5b5061030b610adf565b604051610318919061371b565b60405180910390f35b34801561032d57600080fd5b5061034860048036038101906103439190612e55565b610ae9565b005b34801561035657600080fd5b50610371600480360381019061036c9190612eba565b610c94565b005b34801561037f57600080fd5b50610388610ca4565b604051610395919061371b565b60405180910390f35b3480156103aa57600080fd5b506103c560048036038101906103c091906130a0565b610cae565b6040516103d2919061371b565b60405180910390f35b3480156103e757600080fd5b5061040260048036038101906103fd9190612eba565b610d35565b005b34801561041057600080fd5b5061042b600480360381019061042691906130a0565b610d55565b005b34801561043957600080fd5b50610454600480360381019061044f91906130dc565b61101d565b604051610461919061346a565b60405180910390f35b34801561047657600080fd5b5061047f611033565b60405161048c919061371b565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190612e2c565b611039565b6040516104c9919061371b565b60405180910390f35b3480156104de57600080fd5b506104e7611109565b005b3480156104f557600080fd5b50610510600480360381019061050b91906130dc565b611191565b60405161051d919061346a565b60405180910390f35b34801561053257600080fd5b5061053b6111ff565b604051610548919061346a565b60405180910390f35b61056b600480360381019061056691906130dc565b611229565b005b34801561057957600080fd5b50610582611346565b60405161058f919061353e565b60405180910390f35b3480156105a457600080fd5b506105ad6113d8565b6040516105ba9190613700565b60405180910390f35b3480156105cf57600080fd5b506105ea60048036038101906105e59190612e2c565b6113ec565b6040516105f7919061371b565b60405180910390f35b34801561060c57600080fd5b5061062760048036038101906106229190612f84565b611435565b005b34801561063557600080fd5b5061063e6115ad565b60405161064b9190613523565b60405180910390f35b34801561066057600080fd5b5061067b60048036038101906106769190612f09565b6115c0565b005b34801561068957600080fd5b5061069261163c565b005b3480156106a057600080fd5b506106bb60048036038101906106b691906130dc565b6116e4565b6040516106c8919061353e565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f39190612e2c565b611753565b604051610705919061371b565b60405180910390f35b34801561071a57600080fd5b5061073560048036038101906107309190613077565b61179c565b604051610742919061371b565b60405180910390f35b34801561075757600080fd5b506107606117e5565b60405161076d919061371b565b60405180910390f35b34801561078257600080fd5b5061079d60048036038101906107989190612e7e565b6117ef565b6040516107aa9190613523565b60405180910390f35b3480156107bf57600080fd5b506107da60048036038101906107d59190612e2c565b611883565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108af57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108bf57506108be8261197b565b5b9050919050565b6060600280546108d590613a0d565b80601f016020809104026020016040519081016040528092919081815260200182805461090190613a0d565b801561094e5780601f106109235761010080835404028352916020019161094e565b820191906000526020600020905b81548152906001019060200180831161093157829003601f168201915b5050505050905090565b6000610963826119e5565b610999576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109df8261101d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a47576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a666107dc565b73ffffffffffffffffffffffffffffffffffffffff1614158015610a985750610a9681610a916107dc565b6117ef565b155b15610acf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ada838383611a33565b505050565b6000601254905090565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b62906135c0565b60405180910390fd5b6000610b756117e5565b47610b8091906137da565b90506000610b978383610b92866113ec565b611ae5565b90506000811415610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490613660565b60405180910390fd5b80600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c2c91906137da565b925050819055508060096000828254610c4591906137da565b92505081905550610c568382611b53565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610c87929190613485565b60405180910390a1505050565b610c9f838383611c47565b505050565b6000600854905090565b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610d50838383604051806020016040528060008152506115c0565b505050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dce906135c0565b60405180910390fd5b6000610de28361179c565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e1b919061346a565b60206040518083038186803b158015610e3357600080fd5b505afa158015610e47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6b9190613105565b610e7591906137da565b90506000610e8d8383610e888787610cae565b611ae5565b90506000811415610ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eca90613660565b60405180910390fd5b80600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f5f91906137da565b9250508190555080600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fb591906137da565b92505081905550610fc78484836120fd565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a848360405161100f9291906134fa565b60405180910390a250505050565b600061102882612183565b600001519050919050565b60105481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110a1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6111116107dc565b73ffffffffffffffffffffffffffffffffffffffff1661112f6111ff565b73ffffffffffffffffffffffffffffffffffffffff1614611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906136a0565b60405180910390fd5b61118f6000612412565b565b6000600c82815481106111cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601160029054906101000a900460ff1615611279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127090613680565b60405180910390fd5b601160009054906101000a900461ffff1661ffff168111156112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c7906135a0565b60405180910390fd5b34816010546112df9190613861565b1115611320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131790613560565b60405180910390fd5b61132a33826124d8565b806012600082825461133c91906137da565b9250508190555050565b60606003805461135590613a0d565b80601f016020809104026020016040519081016040528092919081815260200182805461138190613a0d565b80156113ce5780601f106113a3576101008083540402835291602001916113ce565b820191906000526020600020905b8154815290600101906020018083116113b157829003601f168201915b5050505050905090565b601160009054906101000a900461ffff1681565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61143d6107dc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114a2576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006114af6107dc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661155c6107dc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115a19190613523565b60405180910390a35050565b601160029054906101000a900460ff1681565b6115cb848484611c47565b6115ea8373ffffffffffffffffffffffffffffffffffffffff166124f6565b80156115ff57506115fd84848484612519565b155b15611636576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6116446107dc565b73ffffffffffffffffffffffffffffffffffffffff166116626111ff565b73ffffffffffffffffffffffffffffffffffffffff16146116b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116af906136a0565b60405180910390fd5b601160029054906101000a900460ff1615601160026101000a81548160ff021916908315150217905550565b60606116ef826119e5565b61172e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172590613600565b60405180910390fd5b60405160200161173d90613440565b6040516020818303038152906040529050919050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600954905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61188b6107dc565b73ffffffffffffffffffffffffffffffffffffffff166118a96111ff565b73ffffffffffffffffffffffffffffffffffffffff16146118ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f6906136a0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561196f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196690613580565b60405180910390fd5b61197881612412565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816119f0612679565b111580156119ff575060005482105b8015611a2c575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600081600854600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485611b369190613861565b611b409190613830565b611b4a91906138bb565b90509392505050565b80471015611b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8d90613620565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611bbc90613455565b60006040518083038185875af1925050503d8060008114611bf9576040519150601f19603f3d011682016040523d82523d6000602084013e611bfe565b606091505b5050905080611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c39906135e0565b60405180910390fd5b505050565b6000611c5282612183565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611cbd576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611cde6107dc565b73ffffffffffffffffffffffffffffffffffffffff161480611d0d5750611d0c85611d076107dc565b6117ef565b5b80611d525750611d1b6107dc565b73ffffffffffffffffffffffffffffffffffffffff16611d3a84610958565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611d8b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611df2576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611dff858585600161267e565b611e0b60008487611a33565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561208b57600054821461208a57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120f68585856001612684565b5050505050565b61217e8363a9059cbb60e01b848460405160240161211c9291906134fa565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061268a565b505050565b61218b612cc4565b600082905080612199612679565b111580156121a8575060005481105b156123db576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516123d957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122bd57809250505061240d565b5b6001156123d857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123d357809250505061240d565b6122be565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124f2828260405180602001604052806000815250612751565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261253f6107dc565b8786866040518563ffffffff1660e01b815260040161256194939291906134ae565b602060405180830381600087803b15801561257b57600080fd5b505af19250505080156125ac57506040513d601f19601f820116820180604052508101906125a9919061304e565b60015b612626573d80600081146125dc576040519150601f19603f3d011682016040523d82523d6000602084013e6125e1565b606091505b5060008151141561261e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600090565b50505050565b50505050565b60006126ec826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166127639092919063ffffffff16565b905060008151111561274c578080602001905181019061270c9190612ffc565b61274b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612742906136e0565b60405180910390fd5b5b505050565b61275e838383600161277b565b505050565b60606127728484600085612b49565b90509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156127e8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612823576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612830600086838761267e565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156129fa57506129f98773ffffffffffffffffffffffffffffffffffffffff166124f6565b5b15612ac0575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a6f6000888480600101955088612519565b612aa5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612a00578260005414612abb57600080fd5b612b2c565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612ac1575b816000819055505050612b426000868387612684565b5050505050565b606082471015612b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8590613640565b60405180910390fd5b612b97856124f6565b612bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcd906136c0565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612bff9190613429565b60006040518083038185875af1925050503d8060008114612c3c576040519150601f19603f3d011682016040523d82523d6000602084013e612c41565b606091505b5091509150612c51828286612c5d565b92505050949350505050565b60608315612c6d57829050612cbd565b600083511115612c805782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb4919061353e565b60405180910390fd5b9392505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000612d1a612d158461375b565b613736565b905082815260208101848484011115612d3257600080fd5b612d3d8482856139cb565b509392505050565b600081359050612d5481613efa565b92915050565b600081359050612d6981613f11565b92915050565b600081359050612d7e81613f28565b92915050565b600081519050612d9381613f28565b92915050565b600081359050612da881613f3f565b92915050565b600081519050612dbd81613f3f565b92915050565b600082601f830112612dd457600080fd5b8135612de4848260208601612d07565b91505092915050565b600081359050612dfc81613f56565b92915050565b600081359050612e1181613f6d565b92915050565b600081519050612e2681613f6d565b92915050565b600060208284031215612e3e57600080fd5b6000612e4c84828501612d45565b91505092915050565b600060208284031215612e6757600080fd5b6000612e7584828501612d5a565b91505092915050565b60008060408385031215612e9157600080fd5b6000612e9f85828601612d45565b9250506020612eb085828601612d45565b9150509250929050565b600080600060608486031215612ecf57600080fd5b6000612edd86828701612d45565b9350506020612eee86828701612d45565b9250506040612eff86828701612e02565b9150509250925092565b60008060008060808587031215612f1f57600080fd5b6000612f2d87828801612d45565b9450506020612f3e87828801612d45565b9350506040612f4f87828801612e02565b925050606085013567ffffffffffffffff811115612f6c57600080fd5b612f7887828801612dc3565b91505092959194509250565b60008060408385031215612f9757600080fd5b6000612fa585828601612d45565b9250506020612fb685828601612d6f565b9150509250929050565b60008060408385031215612fd357600080fd5b6000612fe185828601612d45565b9250506020612ff285828601612e02565b9150509250929050565b60006020828403121561300e57600080fd5b600061301c84828501612d84565b91505092915050565b60006020828403121561303757600080fd5b600061304584828501612d99565b91505092915050565b60006020828403121561306057600080fd5b600061306e84828501612dae565b91505092915050565b60006020828403121561308957600080fd5b600061309784828501612ded565b91505092915050565b600080604083850312156130b357600080fd5b60006130c185828601612ded565b92505060206130d285828601612d45565b9150509250929050565b6000602082840312156130ee57600080fd5b60006130fc84828501612e02565b91505092915050565b60006020828403121561311757600080fd5b600061312584828501612e17565b91505092915050565b61313781613995565b82525050565b613146816138ef565b82525050565b61315581613913565b82525050565b60006131668261378c565b61317081856137a2565b93506131808185602086016139da565b61318981613b2c565b840191505092915050565b600061319f8261378c565b6131a981856137b3565b93506131b98185602086016139da565b80840191505092915050565b60006131d082613797565b6131da81856137be565b93506131ea8185602086016139da565b6131f381613b2c565b840191505092915050565b600061320b6015836137be565b915061321682613b3d565b602082019050919050565b600061322e6026836137be565b915061323982613b66565b604082019050919050565b60006132516027836137be565b915061325c82613bb5565b604082019050919050565b60006132746026836137be565b915061327f82613c04565b604082019050919050565b6000613297603a836137be565b91506132a282613c53565b604082019050919050565b60006132ba6014836137be565b91506132c582613ca2565b602082019050919050565b60006132dd601d836137be565b91506132e882613ccb565b602082019050919050565b60006133006026836137be565b915061330b82613cf4565b604082019050919050565b6000613323602b836137be565b915061332e82613d43565b604082019050919050565b60006133466028836137be565b915061335182613d92565b604082019050919050565b60006133696020836137be565b915061337482613de1565b602082019050919050565b600061338c6051836137cf565b915061339782613e0a565b605182019050919050565b60006133af6000836137b3565b91506133ba82613e7f565b600082019050919050565b60006133d2601d836137be565b91506133dd82613e82565b602082019050919050565b60006133f5602a836137be565b915061340082613eab565b604082019050919050565b6134148161395d565b82525050565b6134238161398b565b82525050565b60006134358284613194565b915081905092915050565b600061344b8261337f565b9150819050919050565b6000613460826133a2565b9150819050919050565b600060208201905061347f600083018461313d565b92915050565b600060408201905061349a600083018561312e565b6134a7602083018461341a565b9392505050565b60006080820190506134c3600083018761313d565b6134d0602083018661313d565b6134dd604083018561341a565b81810360608301526134ef818461315b565b905095945050505050565b600060408201905061350f600083018561313d565b61351c602083018461341a565b9392505050565b6000602082019050613538600083018461314c565b92915050565b6000602082019050818103600083015261355881846131c5565b905092915050565b60006020820190508181036000830152613579816131fe565b9050919050565b6000602082019050818103600083015261359981613221565b9050919050565b600060208201905081810360008301526135b981613244565b9050919050565b600060208201905081810360008301526135d981613267565b9050919050565b600060208201905081810360008301526135f98161328a565b9050919050565b60006020820190508181036000830152613619816132ad565b9050919050565b60006020820190508181036000830152613639816132d0565b9050919050565b60006020820190508181036000830152613659816132f3565b9050919050565b6000602082019050818103600083015261367981613316565b9050919050565b6000602082019050818103600083015261369981613339565b9050919050565b600060208201905081810360008301526136b98161335c565b9050919050565b600060208201905081810360008301526136d9816133c5565b9050919050565b600060208201905081810360008301526136f9816133e8565b9050919050565b6000602082019050613715600083018461340b565b92915050565b6000602082019050613730600083018461341a565b92915050565b6000613740613751565b905061374c8282613a3f565b919050565b6000604051905090565b600067ffffffffffffffff82111561377657613775613afd565b5b61377f82613b2c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006137e58261398b565b91506137f08361398b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561382557613824613a70565b5b828201905092915050565b600061383b8261398b565b91506138468361398b565b92508261385657613855613a9f565b5b828204905092915050565b600061386c8261398b565b91506138778361398b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138b0576138af613a70565b5b828202905092915050565b60006138c68261398b565b91506138d18361398b565b9250828210156138e4576138e3613a70565b5b828203905092915050565b60006138fa8261396b565b9050919050565b600061390c8261396b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613956826138ef565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006139a0826139a7565b9050919050565b60006139b2826139b9565b9050919050565b60006139c48261396b565b9050919050565b82818337600083830152505050565b60005b838110156139f85780820151818401526020810190506139dd565b83811115613a07576000848401525b50505050565b60006002820490506001821680613a2557607f821691505b60208210811415613a3957613a38613ace565b5b50919050565b613a4882613b2c565b810181811067ffffffffffffffff82111715613a6757613a66613afd565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4e6f7420656e6f7567682045746865722073656e740000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203230204e46547320617460008201527f20612074696d6500000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f43616e6e6f74206d696e74207768696c652074686520636f6e7472616374206960008201527f7320706175736564000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f68747470733a2f2f697066732e696f2f697066732f516d5451633535677a735260008201527f41655a4247726466537378777a385574723372357a445a774135397a6648394a60208201527f63714b2f6d657461646174612e6a736f6e000000000000000000000000000000604082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b613f03816138ef565b8114613f0e57600080fd5b50565b613f1a81613901565b8114613f2557600080fd5b50565b613f3181613913565b8114613f3c57600080fd5b50565b613f488161391f565b8114613f5357600080fd5b50565b613f5f8161394b565b8114613f6a57600080fd5b50565b613f768161398b565b8114613f8157600080fd5b5056fea2646970667358221220c2afb108c5a428d463f2d619cc6c748d12171e167275369757adea531271ae4764736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000b790d9316cf86ba0161ec83d9f56ef83099efd1800000000000000000000000090c20f1427dca3a2f9a64f6fa5a7d73b7b8be3e1000000000000000000000000aadf5e8b700a15880a2d7f0eb0129955cd3118bc0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000003ca
-----Decoded View---------------
Arg [0] : payees (address[]): 0xb790D9316cF86Ba0161ec83d9F56eF83099eFD18,0x90C20f1427Dca3A2F9a64F6Fa5a7d73b7B8BE3E1,0xaAdf5E8b700A15880A2D7f0Eb0129955CD3118bC
Arg [1] : shares (uint256[]): 15,15,970
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [3] : 000000000000000000000000b790d9316cf86ba0161ec83d9f56ef83099efd18
Arg [4] : 00000000000000000000000090c20f1427dca3a2f9a64f6fa5a7d73b7b8be3e1
Arg [5] : 000000000000000000000000aadf5e8b700a15880a2d7f0eb0129955cd3118bc
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [9] : 00000000000000000000000000000000000000000000000000000000000003ca
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.