ERC-721
NFT
Overview
Max Total Supply
6,776 SG
Holders
1,966
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SuperGeisha
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 99999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; contract SuperGeisha is ERC721A, PaymentSplitter, Ownable { // Merkle Root for Claim bytes32 public claimRoot; // Merkle Root for Presale bytes32 public presaleRoot; // Claim Active bool public isClaimActive; // Presale Active bool public isPresaleActive; // Sale Active bool public isSaleActive; // Price uint256 public immutable price; // Max Amount uint256 public immutable maxAmount; // Base URI string private baseURI; // Tracks hash for each token mapping(uint256 => bytes32) private hashForToken; // Tracks redeem for sale mapping(address => uint256) private claimRedeemedCount; // Tracks redeem for presale mapping(address => bool) private presaleRedeemed; // Max per wallet for presale uint256 private presaleMaxPerWallet; // Tracks redeem for sale mapping(address => uint256) private saleRedeemedCount; // Max per wallet for sale uint256 private immutable saleMaxPerWallet; // Max batch size for minting uint256 private immutable maxBatchSize; constructor( uint256 price_, uint256 maxAmount_, uint256 maxBatchSize_, address[] memory payees_, uint256[] memory shares_ ) ERC721A("SuperGeisha", "SG") PaymentSplitter(payees_, shares_) { price = price_; maxAmount = maxAmount_; presaleMaxPerWallet = 2; saleMaxPerWallet = 10; maxBatchSize = maxBatchSize_; isClaimActive = false; isPresaleActive = false; isSaleActive = false; } function claim( uint256 quantityAllowed, uint256 quantity, bytes32[] calldata proof ) external { require(isClaimActive, "Claim Not Active"); require( MerkleProof.verify( proof, claimRoot, keccak256(abi.encodePacked(_msgSender(), quantityAllowed)) ), "Not Eligible" ); require( quantityAllowed >= claimRedeemedCount[_msgSender()] + quantity, "Exceeded Max Claim" ); claimRedeemedCount[_msgSender()] = claimRedeemedCount[_msgSender()] + quantity; _mintToken(_msgSender(), quantity); } function mint(uint256 quantity, bytes32[] calldata proof) external payable { require(isPresaleActive, "Presale Not Active"); require(msg.value == price * quantity, "Incorrect Value"); require( MerkleProof.verify( proof, presaleRoot, keccak256(abi.encodePacked(_msgSender())) ), "Not Eligible" ); require(!presaleRedeemed[_msgSender()], "Already Minted"); require(quantity <= presaleMaxPerWallet, "Exceeded Max Quantity"); presaleRedeemed[_msgSender()] = true; _mintToken(_msgSender(), quantity); } function mint(uint256 quantity) external payable { require(isSaleActive, "Sale Not Active"); require(msg.value == price * quantity, "Incorrect Value"); require( saleMaxPerWallet >= saleRedeemedCount[_msgSender()] + quantity, "Max Minted" ); saleRedeemedCount[_msgSender()] = saleRedeemedCount[_msgSender()] + quantity; _mintToken(_msgSender(), quantity); } function isEligiblePresale(bytes32[] calldata proof, address address_) external view returns (bool) { return MerkleProof.verify( proof, presaleRoot, keccak256(abi.encodePacked(address_)) ); } function isEligibleClaim( bytes32[] calldata proof, uint256 quantityAllowed, address address_ ) external view returns (bool) { return MerkleProof.verify( proof, claimRoot, keccak256(abi.encodePacked(address_, quantityAllowed)) ); } function getTotalClaimed(address address_) external view returns (uint256) { return claimRedeemedCount[address_]; } function getTokenHash(uint256 tokenId) external view returns (bytes32) { return hashForToken[tokenId]; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function setClaimRoot(bytes32 root) external onlyOwner { claimRoot = root; } function setPresaleRoot(bytes32 root) external onlyOwner { presaleRoot = root; } function setPresaleMaxPerWallet(uint256 maxPerWallet) external onlyOwner { presaleMaxPerWallet = maxPerWallet; } function toggleClaimActive() external onlyOwner { isClaimActive = !isClaimActive; } function togglePresaleActive() external onlyOwner { isPresaleActive = !isPresaleActive; } function toggleSaleActive() external onlyOwner { isSaleActive = !isSaleActive; } function mintTokens(address to, uint256 quantity) external onlyOwner { _mintToken(to, quantity); } function _mintToken(address to, uint256 quantity) internal { require(quantity + totalSupply() <= maxAmount, "Exceeded Max"); require(quantity <= maxBatchSize, "Exceeded Max Batch Size"); uint256 startTokenId = totalSupply(); uint256 endTokenId = startTokenId + quantity; for (uint256 i = startTokenId; i < endTokenId; i++) { bytes32 tokenHash = _getHash(i); hashForToken[i] = tokenHash; } _safeMint(to, quantity); } function _baseURI() internal view override returns (string memory) { return baseURI; } function _getHash(uint256 tokenId) private view returns (bytes32) { return keccak256(abi.encodePacked(tokenId, blockhash(block.number - 1))); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). * * Assumes that an owner cannot have more than the 2**128 (max value of uint128) of supply */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex = 0; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), 'ERC721A: global index out of bounds'); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), 'ERC721A: owner index out of bounds'); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert('ERC721A: unable to get token of owner by index'); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), 'ERC721A: balance query for the zero address'); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), 'ERC721A: number minted query for the zero address'); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), 'ERC721A: owner query for nonexistent token'); for (uint256 curr = tokenId; ; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert('ERC721A: unable to determine the owner of token'); } /** * @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) { require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, 'ERC721A: approval to current owner'); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), 'ERC721A: approve caller is not owner nor approved for all' ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), 'ERC721A: approved query for nonexistent token'); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), 'ERC721A: approve to caller'); _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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), 'ERC721A: mint to the zero address'); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), 'ERC721A: token already minted'); require(quantity > 0, 'ERC721A: quantity must be greater 0'); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved'); require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner'); require(to != address(0), 'ERC721A: transfer to the zero address'); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; } _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert('ERC721A: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * 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`. */ 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. * * 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` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; import "../token/ERC20/utils/SafeERC20.sol"; import "../utils/Address.sol"; import "../utils/Context.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + totalReleased(); uint256 payment = _pendingPayment(account, totalReceived, released(account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); uint256 payment = _pendingPayment(account, totalReceived, released(token, account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": true, "runs": 99999 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"},{"internalType":"uint256","name":"maxAmount_","type":"uint256"},{"internalType":"uint256","name":"maxBatchSize_","type":"uint256"},{"internalType":"address[]","name":"payees_","type":"address[]"},{"internalType":"uint256[]","name":"shares_","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"quantityAllowed","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"getTotalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isClaimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantityAllowed","type":"uint256"},{"internalType":"address","name":"address_","type":"address"}],"name":"isEligibleClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"address","name":"address_","type":"address"}],"name":"isEligiblePresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setClaimRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPerWallet","type":"uint256"}],"name":"setPresaleMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setPresaleRoot","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":"toggleClaimActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
610100604052600080553480156200001657600080fd5b50604051620050b3380380620050b38339810160408190526200003991620005e7565b604080518082018252600b81526a537570657247656973686160a81b602080830191825283518085019094526002845261534760f01b908401528151859385939290916200008a916001916200045f565b508051620000a09060029060208401906200045f565b5050508051825114620001155760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001685760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200010c565b60005b8251811015620001d457620001bf8382815181106200018e576200018e620006e5565b6020026020010151838381518110620001ab57620001ab620006e5565b60200260200101516200021b60201b60201c565b80620001cb8162000711565b9150506200016b565b505050620001f1620001eb6200040960201b60201c565b6200040d565b505060809290925260a0526002601655600a60c05260e0526011805462ffffff1916905562000787565b6001600160a01b038216620002885760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200010c565b60008111620002da5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200010c565b6001600160a01b03821660009081526009602052604090205415620003565760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200010c565b600b8054600181019091557f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319166001600160a01b0384169081179091556000908152600960205260409020819055600754620003c09082906200072f565b600755604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b3390565b600e80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200046d906200074a565b90600052602060002090601f016020900481019282620004915760008555620004dc565b82601f10620004ac57805160ff1916838001178555620004dc565b82800160010185558215620004dc579182015b82811115620004dc578251825591602001919060010190620004bf565b50620004ea929150620004ee565b5090565b5b80821115620004ea5760008155600101620004ef565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000546576200054662000505565b604052919050565b60006001600160401b038211156200056a576200056a62000505565b5060051b60200190565b600082601f8301126200058657600080fd5b815160206200059f62000599836200054e565b6200051b565b82815260059290921b84018101918181019086841115620005bf57600080fd5b8286015b84811015620005dc5780518352918301918301620005c3565b509695505050505050565b600080600080600060a086880312156200060057600080fd5b8551602080880151604089015160608a01519398509096509450906001600160401b03808211156200063157600080fd5b818901915089601f8301126200064657600080fd5b81516200065762000599826200054e565b81815260059190911b8301840190848101908c8311156200067757600080fd5b938501935b82851015620006ae5784516001600160a01b03811681146200069e5760008081fd5b825293850193908501906200067c565b60808c01519097509450505080831115620006c857600080fd5b5050620006d88882890162000574565b9150509295509295909350565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620007285762000728620006fb565b5060010190565b60008219821115620007455762000745620006fb565b500190565b600181811c908216806200075f57607f821691505b602082108114156200078157634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516148dd620007d6600039600061337d01526000611d1901526000818161069101526132e101526000818161082101528181611c70015261236a01526148dd6000f3fe60806040526004361061032d5760003560e01c80637fc27803116101a5578063b658b60f116100ec578063ce7c2ac211610095578063e33b7de31161006f578063e33b7de314610a11578063e985e9c514610a26578063f0dda65c14610a7c578063f2fde38b14610a9c57600080fd5b8063ce7c2ac21461096b578063d6e4ffc1146109ae578063d79779b2146109ce57600080fd5b8063ba41b0c6116100c6578063ba41b0c614610918578063c87b56dd1461092b578063c944ec841461094b57600080fd5b8063b658b60f146108c3578063b88d4fde146108e3578063b99bace81461090357600080fd5b80639852595c1161014e578063a0cc0dc511610128578063a0cc0dc514610856578063a22cb46514610883578063ae0b51df146108a357600080fd5b80639852595c146107cc578063a035b1fe1461080f578063a0712d681461084357600080fd5b80638b83209b1161017f5780638b83209b1461076c5780638da5cb5b1461078c57806395d89b41146107b757600080fd5b80637fc2780314610727578063854496971461074157806389b0649b1461075757600080fd5b8063406072a91161027457806355f804b31161021d57806360d938dc116101f757806360d938dc146106b35780636352211e146106d257806370a08231146106f2578063715018a61461071257600080fd5b806355f804b31461063f578063564566a81461065f5780635f48f3931461067f57600080fd5b80634c0770f01161024e5780634c0770f0146105bc5780634f6ccce7146105dc578063522bf1d4146105fc57600080fd5b8063406072a91461052957806342842e0e1461057c57806348b750441461059c57600080fd5b806319165587116102d65780632f745c59116102b05780632f745c59146104df5780633100a535146104ff5780633a98ef391461051457600080fd5b8063191655871461047f57806321b97f201461049f57806323b872dd146104bf57600080fd5b8063095ea7b311610307578063095ea7b31461042457806314ea35e71461044657806318160ddd1461046a57600080fd5b806301ffc9a71461038857806306fdde03146103bd578063081812fc146103df57600080fd5b36610383577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770336040805173ffffffffffffffffffffffffffffffffffffffff90921682523460208301520160405180910390a1005b600080fd5b34801561039457600080fd5b506103a86103a33660046140a5565b610abc565b60405190151581526020015b60405180910390f35b3480156103c957600080fd5b506103d2610bed565b6040516103b49190614138565b3480156103eb57600080fd5b506103ff6103fa36600461414b565b610c7f565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016103b4565b34801561043057600080fd5b5061044461043f366004614186565b610d46565b005b34801561045257600080fd5b5061045c600f5481565b6040519081526020016103b4565b34801561047657600080fd5b5060005461045c565b34801561048b57600080fd5b5061044461049a3660046141b2565b610ed4565b3480156104ab57600080fd5b506104446104ba36600461414b565b611116565b3480156104cb57600080fd5b506104446104da3660046141cf565b61119c565b3480156104eb57600080fd5b5061045c6104fa366004614186565b6111a7565b34801561050b57600080fd5b506104446113ab565b34801561052057600080fd5b5060075461045c565b34801561053557600080fd5b5061045c610544366004614210565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600d6020908152604080832093909416825291909152205490565b34801561058857600080fd5b506104446105973660046141cf565b611467565b3480156105a857600080fd5b506104446105b7366004614210565b611482565b3480156105c857600080fd5b506104446105d736600461414b565b6117be565b3480156105e857600080fd5b5061045c6105f736600461414b565b611844565b34801561060857600080fd5b5061045c6106173660046141b2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526014602052604090205490565b34801561064b57600080fd5b5061044461065a36600461430c565b6118da565b34801561066b57600080fd5b506011546103a89062010000900460ff1681565b34801561068b57600080fd5b5061045c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106bf57600080fd5b506011546103a890610100900460ff1681565b3480156106de57600080fd5b506103ff6106ed36600461414b565b611972565b3480156106fe57600080fd5b5061045c61070d3660046141b2565b611984565b34801561071e57600080fd5b50610444611a64565b34801561073357600080fd5b506011546103a89060ff1681565b34801561074d57600080fd5b5061045c60105481565b34801561076357600080fd5b50610444611af1565b34801561077857600080fd5b506103ff61078736600461414b565b611bac565b34801561079857600080fd5b50600e5473ffffffffffffffffffffffffffffffffffffffff166103ff565b3480156107c357600080fd5b506103d2611be9565b3480156107d857600080fd5b5061045c6107e73660046141b2565b73ffffffffffffffffffffffffffffffffffffffff166000908152600a602052604090205490565b34801561081b57600080fd5b5061045c7f000000000000000000000000000000000000000000000000000000000000000081565b61044461085136600461414b565b611bf8565b34801561086257600080fd5b5061045c61087136600461414b565b60009081526013602052604090205490565b34801561088f57600080fd5b5061044461089e366004614363565b611ddb565b3480156108af57600080fd5b506104446108be3660046143dd565b611ef2565b3480156108cf57600080fd5b506104446108de36600461414b565b612117565b3480156108ef57600080fd5b506104446108fe366004614430565b61219d565b34801561090f57600080fd5b50610444612240565b6104446109263660046144b0565b6122f3565b34801561093757600080fd5b506103d261094636600461414b565b6125f5565b34801561095757600080fd5b506103a86109663660046144fc565b6126ea565b34801561097757600080fd5b5061045c6109863660046141b2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526009602052604090205490565b3480156109ba57600080fd5b506103a86109c9366004614553565b612767565b3480156109da57600080fd5b5061045c6109e93660046141b2565b73ffffffffffffffffffffffffffffffffffffffff166000908152600c602052604090205490565b348015610a1d57600080fd5b5060085461045c565b348015610a3257600080fd5b506103a8610a41366004614210565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610a8857600080fd5b50610444610a97366004614186565b6127ec565b348015610aa857600080fd5b50610444610ab73660046141b2565b612877565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610b4f57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b9b57507fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610be757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060018054610bfc906145b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610c28906145b2565b8015610c755780601f10610c4a57610100808354040283529160200191610c75565b820191906000526020600020905b815481529060010190602001808311610c5857829003601f168201915b5050505050905090565b6000610c8c826000541190565b610d1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526005602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610d5182611972565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610d14565b3373ffffffffffffffffffffffffffffffffffffffff82161480610e385750610e388133610a41565b610ec4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610d14565b610ecf8383836129a4565b505050565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260096020526040902054610f86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608401610d14565b6000610f9160085490565b610f9b9047614635565b90506000610fd58383610fd08673ffffffffffffffffffffffffffffffffffffffff166000908152600a602052604090205490565b612a25565b905080611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610d14565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a602052604081208054839290611099908490614635565b9250508190555080600860008282546110b29190614635565b909155506110c290508382612a70565b6040805173ffffffffffffffffffffffffffffffffffffffff85168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600e5473ffffffffffffffffffffffffffffffffffffffff163314611197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b600f55565b610ecf838383612bca565b60006111b283611984565b8210611240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610d14565b600080549080805b838110156113225760008181526003602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff1691830191909152156112b957805192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561130f578684141561130157509350610be792505050565b8361130b8161464d565b9450505b508061131a8161464d565b915050611248565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610d14565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b601180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff8116620100009182900460ff1615909102179055565b610ecf8383836040518060200160405280600081525061219d565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260096020526040902054611534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608401610d14565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600c60205260408120546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8516906370a082319060240160206040518083038186803b1580156115bf57600080fd5b505afa1580156115d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f79190614686565b6116019190614635565b905060006116478383610fd0878773ffffffffffffffffffffffffffffffffffffffff9182166000908152600d6020908152604080832093909416825291909152205490565b9050806116d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610d14565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600d602090815260408083209387168352929052908120805483929061171a908490614635565b909155505073ffffffffffffffffffffffffffffffffffffffff84166000908152600c602052604081208054839290611754908490614635565b9091555061176590508484836130b0565b6040805173ffffffffffffffffffffffffffffffffffffffff8581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461183f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b601655565b6000805482106118d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610d14565b5090565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461195b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b805161196e906012906020840190613fe7565b5050565b600061197d8261313d565b5192915050565b600073ffffffffffffffffffffffffffffffffffffffff8216611a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610d14565b5073ffffffffffffffffffffffffffffffffffffffff166000908152600460205260409020546fffffffffffffffffffffffffffffffff1690565b600e5473ffffffffffffffffffffffffffffffffffffffff163314611ae5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b611aef6000613268565b565b600e5473ffffffffffffffffffffffffffffffffffffffff163314611b72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b601180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b6000600b8281548110611bc157611bc161469f565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b606060028054610bfc906145b2565b60115462010000900460ff16611c6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f53616c65204e6f742041637469766500000000000000000000000000000000006044820152606401610d14565b611c94817f00000000000000000000000000000000000000000000000000000000000000006146ce565b3414611cfc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f496e636f72726563742056616c756500000000000000000000000000000000006044820152606401610d14565b33600090815260176020526040902054611d17908290614635565b7f00000000000000000000000000000000000000000000000000000000000000001015611da0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4d6178204d696e746564000000000000000000000000000000000000000000006044820152606401610d14565b33600090815260176020526040902054611dbb908290614635565b33600081815260176020526040902091909155611dd890826132df565b50565b73ffffffffffffffffffffffffffffffffffffffff8216331415611e5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610d14565b33600081815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60115460ff16611f5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f436c61696d204e6f7420416374697665000000000000000000000000000000006044820152606401610d14565b611fee82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152603481018a905290925060540190505b60405160208183030381529060405280519060200120613458565b612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4e6f7420456c696769626c6500000000000000000000000000000000000000006044820152606401610d14565b3360009081526014602052604090205461206f908490614635565b8410156120d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4578636565646564204d617820436c61696d00000000000000000000000000006044820152606401610d14565b336000908152601460205260409020546120f3908490614635565b33600081815260146020526040902091909155612111905b846132df565b50505050565b600e5473ffffffffffffffffffffffffffffffffffffffff163314612198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b601055565b6121a8848484612bca565b6121b48484848461346e565b612111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d14565b600e5473ffffffffffffffffffffffffffffffffffffffff1633146122c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b601180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b601154610100900460ff16612364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f50726573616c65204e6f742041637469766500000000000000000000000000006044820152606401610d14565b61238e837f00000000000000000000000000000000000000000000000000000000000000006146ce565b34146123f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f496e636f72726563742056616c756500000000000000000000000000000000006044820152606401610d14565b612468828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201529092506034019050611fd3565b6124ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4e6f7420456c696769626c6500000000000000000000000000000000000000006044820152606401610d14565b3360009081526015602052604090205460ff1615612548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f416c7265616479204d696e7465640000000000000000000000000000000000006044820152606401610d14565b6016548311156125b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4578636565646564204d6178205175616e7469747900000000000000000000006044820152606401610d14565b33600081815260156020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055610ecf9061210b565b6060612602826000541190565b61268e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610d14565b600061269861366a565b905060008151116126b857604051806020016040528060008152506126e3565b806126c284613679565b6040516020016126d392919061470b565b6040516020818303038152906040525b9392505050565b600061275f848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010546040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089901b1660208201529092506034019050611fd3565b949350505050565b60006127e385858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089901b166020820152603481018990529092506054019050611fd3565b95945050505050565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461286d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b61196e82826132df565b600e5473ffffffffffffffffffffffffffffffffffffffff1633146128f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b73ffffffffffffffffffffffffffffffffffffffff811661299b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610d14565b611dd881613268565b60008281526005602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60075473ffffffffffffffffffffffffffffffffffffffff841660009081526009602052604081205490918391612a5c90866146ce565b612a669190614769565b61275f919061477d565b80471015612ada576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d14565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114612b34576040519150601f19603f3d011682016040523d82523d6000602084013e612b39565b606091505b5050905080610ecf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d14565b6000612bd58261313d565b805190915060009073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612c33575033612c1b84610c7f565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c4557508151612c459033610a41565b905080612cd4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610d14565b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612d93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610d14565b73ffffffffffffffffffffffffffffffffffffffff8416612e36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610d14565b612e4660008484600001516129a4565b73ffffffffffffffffffffffffffffffffffffffff858116600090815260046020908152604080832080547fffffffffffffffffffffffffffffffff000000000000000000000000000000008082166fffffffffffffffffffffffffffffffff9283167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a8752600390955292852091518254945196167fffffffff00000000000000000000000000000000000000000000000000000000909416939093177401000000000000000000000000000000000000000095909216949094021790925590612f77908590614635565b60008181526003602052604090205490915073ffffffffffffffffffffffffffffffffffffffff1661304c57612fae816000541190565b1561304c57604080518082018252845173ffffffffffffffffffffffffffffffffffffffff908116825260208087015167ffffffffffffffff908116828501908152600087815260039093529490912092518354945190911674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009094169116179190911790555b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610ecf9084906137ab565b604080518082019091526000808252602082015261315c826000541190565b6131e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610d14565b815b60008181526003602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215613255579392505050565b508061326081614794565b9150506131ea565b600e805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b7f000000000000000000000000000000000000000000000000000000000000000061330960005490565b6133139083614635565b111561337b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4578636565646564204d617800000000000000000000000000000000000000006044820152606401610d14565b7f0000000000000000000000000000000000000000000000000000000000000000811115613405576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4578636565646564204d61782042617463682053697a650000000000000000006044820152606401610d14565b60008054906134148383614635565b9050815b8181101561344d57600061342b826138b7565b60008381526013602052604090205550806134458161464d565b915050613418565b5061211184846138fd565b6000826134658584613917565b14949350505050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613662576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906134e59033908990889088906004016147c9565b602060405180830381600087803b1580156134ff57600080fd5b505af192505050801561354d575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261354a91810190614812565b60015b613617573d80801561357b576040519150601f19603f3d011682016040523d82523d6000602084013e613580565b606091505b50805161360f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d14565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061275f565b50600161275f565b606060128054610bfc906145b2565b6060816136b957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156136e357806136cd8161464d565b91506136dc9050600a83614769565b91506136bd565b60008167ffffffffffffffff8111156136fe576136fe614249565b6040519080825280601f01601f191660200182016040528015613728576020820181803683370190505b5090505b841561275f5761373d60018361477d565b915061374a600a8661482f565b613755906030614635565b60f81b81838151811061376a5761376a61469f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506137a4600a86614769565b945061372c565b600061380d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166139c39092919063ffffffff16565b805190915015610ecf578080602001905181019061382b9190614843565b610ecf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610d14565b6000816138c560014361477d565b406040516020016138e0929190918252602082015260400190565b604051602081830303815290604052805190602001209050919050565b61196e8282604051806020016040528060008152506139d2565b600081815b84518110156139bb5760008582815181106139395761393961469f565b6020026020010151905080831161397b5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506139a8565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806139b38161464d565b91505061391c565b509392505050565b606061275f8484600085613e14565b60005473ffffffffffffffffffffffffffffffffffffffff8416613a78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610d14565b613a83816000541190565b15613aea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610d14565b60008311613b7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243373231413a207175616e74697479206d7573742062652067726561746560448201527f72203000000000000000000000000000000000000000000000000000000000006064820152608401610d14565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600460209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff80821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190613bf9908790614860565b6fffffffffffffffffffffffffffffffff168152602001858360200151613c209190614860565b6fffffffffffffffffffffffffffffffff90811690915273ffffffffffffffffffffffffffffffffffffffff808816600081815260046020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600390955294812091518254945190951674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090941694909216939093179190911790915582905b85811015613e0957604051829073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4613d5d600088848861346e565b613de9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d14565b81613df38161464d565b9250508080613e019061464d565b915050613d03565b5060008190556130a8565b606082471015613ea6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610d14565b843b613f0e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d14565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613f37919061488b565b60006040518083038185875af1925050503d8060008114613f74576040519150601f19603f3d011682016040523d82523d6000602084013e613f79565b606091505b5091509150613f89828286613f94565b979650505050505050565b60608315613fa35750816126e3565b825115613fb35782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d149190614138565b828054613ff3906145b2565b90600052602060002090601f016020900481019282614015576000855561405b565b82601f1061402e57805160ff191683800117855561405b565b8280016001018555821561405b579182015b8281111561405b578251825591602001919060010190614040565b506118d69291505b808211156118d65760008155600101614063565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611dd857600080fd5b6000602082840312156140b757600080fd5b81356126e381614077565b60005b838110156140dd5781810151838201526020016140c5565b838111156121115750506000910152565b600081518084526141068160208601602086016140c2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006126e360208301846140ee565b60006020828403121561415d57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114611dd857600080fd5b6000806040838503121561419957600080fd5b82356141a481614164565b946020939093013593505050565b6000602082840312156141c457600080fd5b81356126e381614164565b6000806000606084860312156141e457600080fd5b83356141ef81614164565b925060208401356141ff81614164565b929592945050506040919091013590565b6000806040838503121561422357600080fd5b823561422e81614164565b9150602083013561423e81614164565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff8084111561429357614293614249565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156142d9576142d9614249565b816040528093508581528686860111156142f257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561431e57600080fd5b813567ffffffffffffffff81111561433557600080fd5b8201601f8101841361434657600080fd5b61275f84823560208401614278565b8015158114611dd857600080fd5b6000806040838503121561437657600080fd5b823561438181614164565b9150602083013561423e81614355565b60008083601f8401126143a357600080fd5b50813567ffffffffffffffff8111156143bb57600080fd5b6020830191508360208260051b85010111156143d657600080fd5b9250929050565b600080600080606085870312156143f357600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561441857600080fd5b61442487828801614391565b95989497509550505050565b6000806000806080858703121561444657600080fd5b843561445181614164565b9350602085013561446181614164565b925060408501359150606085013567ffffffffffffffff81111561448457600080fd5b8501601f8101871361449557600080fd5b6144a487823560208401614278565b91505092959194509250565b6000806000604084860312156144c557600080fd5b83359250602084013567ffffffffffffffff8111156144e357600080fd5b6144ef86828701614391565b9497909650939450505050565b60008060006040848603121561451157600080fd5b833567ffffffffffffffff81111561452857600080fd5b61453486828701614391565b909450925050602084013561454881614164565b809150509250925092565b6000806000806060858703121561456957600080fd5b843567ffffffffffffffff81111561458057600080fd5b61458c87828801614391565b9095509350506020850135915060408501356145a781614164565b939692955090935050565b600181811c908216806145c657607f821691505b60208210811415614600577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561464857614648614606565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561467f5761467f614606565b5060010190565b60006020828403121561469857600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561470657614706614606565b500290565b6000835161471d8184602088016140c2565b8351908301906147318183602088016140c2565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826147785761477861473a565b500490565b60008282101561478f5761478f614606565b500390565b6000816147a3576147a3614606565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261480860808301846140ee565b9695505050505050565b60006020828403121561482457600080fd5b81516126e381614077565b60008261483e5761483e61473a565b500690565b60006020828403121561485557600080fd5b81516126e381614355565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561473157614731614606565b6000825161489d8184602087016140c2565b919091019291505056fea26469706673582212208189ac35872dc869ef71f79610d715f83425800d05a620e6e66fc196f2f947b964736f6c6343000809003300000000000000000000000000000000000000000000000000f8b0a10e4700000000000000000000000000000000000000000000000000000000000000001a78000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000200000000000000000000000003a5271cde584816898b89a7ba32c687aef0f89f00000000000000000000000073523cfbc14645d52de1e6f330b720b58ece617e000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032
Deployed Bytecode
0x60806040526004361061032d5760003560e01c80637fc27803116101a5578063b658b60f116100ec578063ce7c2ac211610095578063e33b7de31161006f578063e33b7de314610a11578063e985e9c514610a26578063f0dda65c14610a7c578063f2fde38b14610a9c57600080fd5b8063ce7c2ac21461096b578063d6e4ffc1146109ae578063d79779b2146109ce57600080fd5b8063ba41b0c6116100c6578063ba41b0c614610918578063c87b56dd1461092b578063c944ec841461094b57600080fd5b8063b658b60f146108c3578063b88d4fde146108e3578063b99bace81461090357600080fd5b80639852595c1161014e578063a0cc0dc511610128578063a0cc0dc514610856578063a22cb46514610883578063ae0b51df146108a357600080fd5b80639852595c146107cc578063a035b1fe1461080f578063a0712d681461084357600080fd5b80638b83209b1161017f5780638b83209b1461076c5780638da5cb5b1461078c57806395d89b41146107b757600080fd5b80637fc2780314610727578063854496971461074157806389b0649b1461075757600080fd5b8063406072a91161027457806355f804b31161021d57806360d938dc116101f757806360d938dc146106b35780636352211e146106d257806370a08231146106f2578063715018a61461071257600080fd5b806355f804b31461063f578063564566a81461065f5780635f48f3931461067f57600080fd5b80634c0770f01161024e5780634c0770f0146105bc5780634f6ccce7146105dc578063522bf1d4146105fc57600080fd5b8063406072a91461052957806342842e0e1461057c57806348b750441461059c57600080fd5b806319165587116102d65780632f745c59116102b05780632f745c59146104df5780633100a535146104ff5780633a98ef391461051457600080fd5b8063191655871461047f57806321b97f201461049f57806323b872dd146104bf57600080fd5b8063095ea7b311610307578063095ea7b31461042457806314ea35e71461044657806318160ddd1461046a57600080fd5b806301ffc9a71461038857806306fdde03146103bd578063081812fc146103df57600080fd5b36610383577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770336040805173ffffffffffffffffffffffffffffffffffffffff90921682523460208301520160405180910390a1005b600080fd5b34801561039457600080fd5b506103a86103a33660046140a5565b610abc565b60405190151581526020015b60405180910390f35b3480156103c957600080fd5b506103d2610bed565b6040516103b49190614138565b3480156103eb57600080fd5b506103ff6103fa36600461414b565b610c7f565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016103b4565b34801561043057600080fd5b5061044461043f366004614186565b610d46565b005b34801561045257600080fd5b5061045c600f5481565b6040519081526020016103b4565b34801561047657600080fd5b5060005461045c565b34801561048b57600080fd5b5061044461049a3660046141b2565b610ed4565b3480156104ab57600080fd5b506104446104ba36600461414b565b611116565b3480156104cb57600080fd5b506104446104da3660046141cf565b61119c565b3480156104eb57600080fd5b5061045c6104fa366004614186565b6111a7565b34801561050b57600080fd5b506104446113ab565b34801561052057600080fd5b5060075461045c565b34801561053557600080fd5b5061045c610544366004614210565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600d6020908152604080832093909416825291909152205490565b34801561058857600080fd5b506104446105973660046141cf565b611467565b3480156105a857600080fd5b506104446105b7366004614210565b611482565b3480156105c857600080fd5b506104446105d736600461414b565b6117be565b3480156105e857600080fd5b5061045c6105f736600461414b565b611844565b34801561060857600080fd5b5061045c6106173660046141b2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526014602052604090205490565b34801561064b57600080fd5b5061044461065a36600461430c565b6118da565b34801561066b57600080fd5b506011546103a89062010000900460ff1681565b34801561068b57600080fd5b5061045c7f0000000000000000000000000000000000000000000000000000000000001a7881565b3480156106bf57600080fd5b506011546103a890610100900460ff1681565b3480156106de57600080fd5b506103ff6106ed36600461414b565b611972565b3480156106fe57600080fd5b5061045c61070d3660046141b2565b611984565b34801561071e57600080fd5b50610444611a64565b34801561073357600080fd5b506011546103a89060ff1681565b34801561074d57600080fd5b5061045c60105481565b34801561076357600080fd5b50610444611af1565b34801561077857600080fd5b506103ff61078736600461414b565b611bac565b34801561079857600080fd5b50600e5473ffffffffffffffffffffffffffffffffffffffff166103ff565b3480156107c357600080fd5b506103d2611be9565b3480156107d857600080fd5b5061045c6107e73660046141b2565b73ffffffffffffffffffffffffffffffffffffffff166000908152600a602052604090205490565b34801561081b57600080fd5b5061045c7f00000000000000000000000000000000000000000000000000f8b0a10e47000081565b61044461085136600461414b565b611bf8565b34801561086257600080fd5b5061045c61087136600461414b565b60009081526013602052604090205490565b34801561088f57600080fd5b5061044461089e366004614363565b611ddb565b3480156108af57600080fd5b506104446108be3660046143dd565b611ef2565b3480156108cf57600080fd5b506104446108de36600461414b565b612117565b3480156108ef57600080fd5b506104446108fe366004614430565b61219d565b34801561090f57600080fd5b50610444612240565b6104446109263660046144b0565b6122f3565b34801561093757600080fd5b506103d261094636600461414b565b6125f5565b34801561095757600080fd5b506103a86109663660046144fc565b6126ea565b34801561097757600080fd5b5061045c6109863660046141b2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526009602052604090205490565b3480156109ba57600080fd5b506103a86109c9366004614553565b612767565b3480156109da57600080fd5b5061045c6109e93660046141b2565b73ffffffffffffffffffffffffffffffffffffffff166000908152600c602052604090205490565b348015610a1d57600080fd5b5060085461045c565b348015610a3257600080fd5b506103a8610a41366004614210565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610a8857600080fd5b50610444610a97366004614186565b6127ec565b348015610aa857600080fd5b50610444610ab73660046141b2565b612877565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610b4f57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b9b57507fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610be757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060018054610bfc906145b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610c28906145b2565b8015610c755780601f10610c4a57610100808354040283529160200191610c75565b820191906000526020600020905b815481529060010190602001808311610c5857829003601f168201915b5050505050905090565b6000610c8c826000541190565b610d1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526005602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610d5182611972565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610d14565b3373ffffffffffffffffffffffffffffffffffffffff82161480610e385750610e388133610a41565b610ec4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610d14565b610ecf8383836129a4565b505050565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260096020526040902054610f86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608401610d14565b6000610f9160085490565b610f9b9047614635565b90506000610fd58383610fd08673ffffffffffffffffffffffffffffffffffffffff166000908152600a602052604090205490565b612a25565b905080611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610d14565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a602052604081208054839290611099908490614635565b9250508190555080600860008282546110b29190614635565b909155506110c290508382612a70565b6040805173ffffffffffffffffffffffffffffffffffffffff85168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600e5473ffffffffffffffffffffffffffffffffffffffff163314611197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b600f55565b610ecf838383612bca565b60006111b283611984565b8210611240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610d14565b600080549080805b838110156113225760008181526003602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff1691830191909152156112b957805192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561130f578684141561130157509350610be792505050565b8361130b8161464d565b9450505b508061131a8161464d565b915050611248565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610d14565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b601180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff8116620100009182900460ff1615909102179055565b610ecf8383836040518060200160405280600081525061219d565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260096020526040902054611534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608401610d14565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600c60205260408120546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8516906370a082319060240160206040518083038186803b1580156115bf57600080fd5b505afa1580156115d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f79190614686565b6116019190614635565b905060006116478383610fd0878773ffffffffffffffffffffffffffffffffffffffff9182166000908152600d6020908152604080832093909416825291909152205490565b9050806116d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610d14565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600d602090815260408083209387168352929052908120805483929061171a908490614635565b909155505073ffffffffffffffffffffffffffffffffffffffff84166000908152600c602052604081208054839290611754908490614635565b9091555061176590508484836130b0565b6040805173ffffffffffffffffffffffffffffffffffffffff8581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461183f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b601655565b6000805482106118d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610d14565b5090565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461195b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b805161196e906012906020840190613fe7565b5050565b600061197d8261313d565b5192915050565b600073ffffffffffffffffffffffffffffffffffffffff8216611a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610d14565b5073ffffffffffffffffffffffffffffffffffffffff166000908152600460205260409020546fffffffffffffffffffffffffffffffff1690565b600e5473ffffffffffffffffffffffffffffffffffffffff163314611ae5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b611aef6000613268565b565b600e5473ffffffffffffffffffffffffffffffffffffffff163314611b72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b601180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b6000600b8281548110611bc157611bc161469f565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b606060028054610bfc906145b2565b60115462010000900460ff16611c6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f53616c65204e6f742041637469766500000000000000000000000000000000006044820152606401610d14565b611c94817f00000000000000000000000000000000000000000000000000f8b0a10e4700006146ce565b3414611cfc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f496e636f72726563742056616c756500000000000000000000000000000000006044820152606401610d14565b33600090815260176020526040902054611d17908290614635565b7f000000000000000000000000000000000000000000000000000000000000000a1015611da0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4d6178204d696e746564000000000000000000000000000000000000000000006044820152606401610d14565b33600090815260176020526040902054611dbb908290614635565b33600081815260176020526040902091909155611dd890826132df565b50565b73ffffffffffffffffffffffffffffffffffffffff8216331415611e5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610d14565b33600081815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60115460ff16611f5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f436c61696d204e6f7420416374697665000000000000000000000000000000006044820152606401610d14565b611fee82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152603481018a905290925060540190505b60405160208183030381529060405280519060200120613458565b612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4e6f7420456c696769626c6500000000000000000000000000000000000000006044820152606401610d14565b3360009081526014602052604090205461206f908490614635565b8410156120d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4578636565646564204d617820436c61696d00000000000000000000000000006044820152606401610d14565b336000908152601460205260409020546120f3908490614635565b33600081815260146020526040902091909155612111905b846132df565b50505050565b600e5473ffffffffffffffffffffffffffffffffffffffff163314612198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b601055565b6121a8848484612bca565b6121b48484848461346e565b612111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d14565b600e5473ffffffffffffffffffffffffffffffffffffffff1633146122c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b601180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b601154610100900460ff16612364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f50726573616c65204e6f742041637469766500000000000000000000000000006044820152606401610d14565b61238e837f00000000000000000000000000000000000000000000000000f8b0a10e4700006146ce565b34146123f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f496e636f72726563742056616c756500000000000000000000000000000000006044820152606401610d14565b612468828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201529092506034019050611fd3565b6124ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4e6f7420456c696769626c6500000000000000000000000000000000000000006044820152606401610d14565b3360009081526015602052604090205460ff1615612548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f416c7265616479204d696e7465640000000000000000000000000000000000006044820152606401610d14565b6016548311156125b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4578636565646564204d6178205175616e7469747900000000000000000000006044820152606401610d14565b33600081815260156020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055610ecf9061210b565b6060612602826000541190565b61268e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610d14565b600061269861366a565b905060008151116126b857604051806020016040528060008152506126e3565b806126c284613679565b6040516020016126d392919061470b565b6040516020818303038152906040525b9392505050565b600061275f848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010546040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089901b1660208201529092506034019050611fd3565b949350505050565b60006127e385858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089901b166020820152603481018990529092506054019050611fd3565b95945050505050565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461286d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b61196e82826132df565b600e5473ffffffffffffffffffffffffffffffffffffffff1633146128f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d14565b73ffffffffffffffffffffffffffffffffffffffff811661299b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610d14565b611dd881613268565b60008281526005602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60075473ffffffffffffffffffffffffffffffffffffffff841660009081526009602052604081205490918391612a5c90866146ce565b612a669190614769565b61275f919061477d565b80471015612ada576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d14565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114612b34576040519150601f19603f3d011682016040523d82523d6000602084013e612b39565b606091505b5050905080610ecf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d14565b6000612bd58261313d565b805190915060009073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612c33575033612c1b84610c7f565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c4557508151612c459033610a41565b905080612cd4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610d14565b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612d93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610d14565b73ffffffffffffffffffffffffffffffffffffffff8416612e36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610d14565b612e4660008484600001516129a4565b73ffffffffffffffffffffffffffffffffffffffff858116600090815260046020908152604080832080547fffffffffffffffffffffffffffffffff000000000000000000000000000000008082166fffffffffffffffffffffffffffffffff9283167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a8752600390955292852091518254945196167fffffffff00000000000000000000000000000000000000000000000000000000909416939093177401000000000000000000000000000000000000000095909216949094021790925590612f77908590614635565b60008181526003602052604090205490915073ffffffffffffffffffffffffffffffffffffffff1661304c57612fae816000541190565b1561304c57604080518082018252845173ffffffffffffffffffffffffffffffffffffffff908116825260208087015167ffffffffffffffff908116828501908152600087815260039093529490912092518354945190911674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009094169116179190911790555b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610ecf9084906137ab565b604080518082019091526000808252602082015261315c826000541190565b6131e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610d14565b815b60008181526003602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215613255579392505050565b508061326081614794565b9150506131ea565b600e805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b7f0000000000000000000000000000000000000000000000000000000000001a7861330960005490565b6133139083614635565b111561337b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4578636565646564204d617800000000000000000000000000000000000000006044820152606401610d14565b7f000000000000000000000000000000000000000000000000000000000000000a811115613405576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4578636565646564204d61782042617463682053697a650000000000000000006044820152606401610d14565b60008054906134148383614635565b9050815b8181101561344d57600061342b826138b7565b60008381526013602052604090205550806134458161464d565b915050613418565b5061211184846138fd565b6000826134658584613917565b14949350505050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613662576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906134e59033908990889088906004016147c9565b602060405180830381600087803b1580156134ff57600080fd5b505af192505050801561354d575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261354a91810190614812565b60015b613617573d80801561357b576040519150601f19603f3d011682016040523d82523d6000602084013e613580565b606091505b50805161360f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d14565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061275f565b50600161275f565b606060128054610bfc906145b2565b6060816136b957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156136e357806136cd8161464d565b91506136dc9050600a83614769565b91506136bd565b60008167ffffffffffffffff8111156136fe576136fe614249565b6040519080825280601f01601f191660200182016040528015613728576020820181803683370190505b5090505b841561275f5761373d60018361477d565b915061374a600a8661482f565b613755906030614635565b60f81b81838151811061376a5761376a61469f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506137a4600a86614769565b945061372c565b600061380d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166139c39092919063ffffffff16565b805190915015610ecf578080602001905181019061382b9190614843565b610ecf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610d14565b6000816138c560014361477d565b406040516020016138e0929190918252602082015260400190565b604051602081830303815290604052805190602001209050919050565b61196e8282604051806020016040528060008152506139d2565b600081815b84518110156139bb5760008582815181106139395761393961469f565b6020026020010151905080831161397b5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506139a8565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806139b38161464d565b91505061391c565b509392505050565b606061275f8484600085613e14565b60005473ffffffffffffffffffffffffffffffffffffffff8416613a78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610d14565b613a83816000541190565b15613aea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610d14565b60008311613b7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243373231413a207175616e74697479206d7573742062652067726561746560448201527f72203000000000000000000000000000000000000000000000000000000000006064820152608401610d14565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600460209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff80821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190613bf9908790614860565b6fffffffffffffffffffffffffffffffff168152602001858360200151613c209190614860565b6fffffffffffffffffffffffffffffffff90811690915273ffffffffffffffffffffffffffffffffffffffff808816600081815260046020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600390955294812091518254945190951674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090941694909216939093179190911790915582905b85811015613e0957604051829073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4613d5d600088848861346e565b613de9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d14565b81613df38161464d565b9250508080613e019061464d565b915050613d03565b5060008190556130a8565b606082471015613ea6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610d14565b843b613f0e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d14565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613f37919061488b565b60006040518083038185875af1925050503d8060008114613f74576040519150601f19603f3d011682016040523d82523d6000602084013e613f79565b606091505b5091509150613f89828286613f94565b979650505050505050565b60608315613fa35750816126e3565b825115613fb35782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d149190614138565b828054613ff3906145b2565b90600052602060002090601f016020900481019282614015576000855561405b565b82601f1061402e57805160ff191683800117855561405b565b8280016001018555821561405b579182015b8281111561405b578251825591602001919060010190614040565b506118d69291505b808211156118d65760008155600101614063565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611dd857600080fd5b6000602082840312156140b757600080fd5b81356126e381614077565b60005b838110156140dd5781810151838201526020016140c5565b838111156121115750506000910152565b600081518084526141068160208601602086016140c2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006126e360208301846140ee565b60006020828403121561415d57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114611dd857600080fd5b6000806040838503121561419957600080fd5b82356141a481614164565b946020939093013593505050565b6000602082840312156141c457600080fd5b81356126e381614164565b6000806000606084860312156141e457600080fd5b83356141ef81614164565b925060208401356141ff81614164565b929592945050506040919091013590565b6000806040838503121561422357600080fd5b823561422e81614164565b9150602083013561423e81614164565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff8084111561429357614293614249565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156142d9576142d9614249565b816040528093508581528686860111156142f257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561431e57600080fd5b813567ffffffffffffffff81111561433557600080fd5b8201601f8101841361434657600080fd5b61275f84823560208401614278565b8015158114611dd857600080fd5b6000806040838503121561437657600080fd5b823561438181614164565b9150602083013561423e81614355565b60008083601f8401126143a357600080fd5b50813567ffffffffffffffff8111156143bb57600080fd5b6020830191508360208260051b85010111156143d657600080fd5b9250929050565b600080600080606085870312156143f357600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561441857600080fd5b61442487828801614391565b95989497509550505050565b6000806000806080858703121561444657600080fd5b843561445181614164565b9350602085013561446181614164565b925060408501359150606085013567ffffffffffffffff81111561448457600080fd5b8501601f8101871361449557600080fd5b6144a487823560208401614278565b91505092959194509250565b6000806000604084860312156144c557600080fd5b83359250602084013567ffffffffffffffff8111156144e357600080fd5b6144ef86828701614391565b9497909650939450505050565b60008060006040848603121561451157600080fd5b833567ffffffffffffffff81111561452857600080fd5b61453486828701614391565b909450925050602084013561454881614164565b809150509250925092565b6000806000806060858703121561456957600080fd5b843567ffffffffffffffff81111561458057600080fd5b61458c87828801614391565b9095509350506020850135915060408501356145a781614164565b939692955090935050565b600181811c908216806145c657607f821691505b60208210811415614600577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561464857614648614606565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561467f5761467f614606565b5060010190565b60006020828403121561469857600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561470657614706614606565b500290565b6000835161471d8184602088016140c2565b8351908301906147318183602088016140c2565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826147785761477861473a565b500490565b60008282101561478f5761478f614606565b500390565b6000816147a3576147a3614606565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261480860808301846140ee565b9695505050505050565b60006020828403121561482457600080fd5b81516126e381614077565b60008261483e5761483e61473a565b500690565b60006020828403121561485557600080fd5b81516126e381614355565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561473157614731614606565b6000825161489d8184602087016140c2565b919091019291505056fea26469706673582212208189ac35872dc869ef71f79610d715f83425800d05a620e6e66fc196f2f947b964736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000f8b0a10e4700000000000000000000000000000000000000000000000000000000000000001a78000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000200000000000000000000000003a5271cde584816898b89a7ba32c687aef0f89f00000000000000000000000073523cfbc14645d52de1e6f330b720b58ece617e000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032
-----Decoded View---------------
Arg [0] : price_ (uint256): 70000000000000000
Arg [1] : maxAmount_ (uint256): 6776
Arg [2] : maxBatchSize_ (uint256): 10
Arg [3] : payees_ (address[]): 0x03A5271CDE584816898B89A7Ba32C687AEF0f89F,0x73523cFBC14645d52DE1E6f330b720b58Ece617e
Arg [4] : shares_ (uint256[]): 50,50
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000f8b0a10e470000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001a78
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 00000000000000000000000003a5271cde584816898b89a7ba32c687aef0f89f
Arg [7] : 00000000000000000000000073523cfbc14645d52de1e6f330b720b58ece617e
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000032
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.