Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
10,000 RP1
Holders
1,009
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
6 RP1Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ReadyPlayaOne
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "./ERC721.sol"; import "./Ownable.sol"; import "./Address.sol"; import "./SafeMath.sol"; import "./Counters.sol"; import "./PaymentSplitter.sol"; contract ReadyPlayaOne is ERC721, Ownable, PaymentSplitter { using SafeMath for uint256; using Counters for Counters.Counter; using Address for address; mapping (uint256 => string) private _tokenURIs; string private _baseURIextended; Counters.Counter private _tokenIdCounter; uint256 public constant RP1MaxSupply = 10000; bool public saleStatus = false; uint256 public salePrice; address payable thisContract; address[] private _team = [ 0xF73bd9D826a2e2ed84Cd23d0d9030EbAd4cf438C ]; uint256[] private _teamShares = [ 100 ]; constructor() ERC721("Ready Playa One", "RP1") PaymentSplitter(_team, _teamShares) { } fallback() external payable { } function totalSupply() external view returns (uint256) { return _tokenIdCounter.current(); } function setSaleStatus(bool _trueOrFalse) external onlyOwner { saleStatus = _trueOrFalse; } function setSalePrice(uint256 _priceInWei) external onlyOwner { salePrice = _priceInWei; } function withdrawAll() external onlyOwner { for (uint256 i = 0; i < _team.length; i++) { address payable wallet = payable(_team[i]); release(wallet); } } function setBaseURI(string memory baseURI_) external onlyOwner() { _baseURIextended = baseURI_; } function setThisContract(address payable _thisContract) external onlyOwner { thisContract = _thisContract; } function mintPlayas(uint256 _numberOfPlayas) public payable { require(msg.value >= calculateTotalPrice(_numberOfPlayas), "Insuffcient amount sent"); require(thisContract.send(msg.value), "Receiever must be the contract"); require(_tokenIdCounter.current().add(_numberOfPlayas) <= RP1MaxSupply, "Purchase would exceed max supply"); require(saleStatus == true, "Sale is not active"); for(uint256 i = 0; i < _numberOfPlayas; i++) { _safeMint(msg.sender, _tokenIdCounter.current() + 1); _tokenIdCounter.increment(); } } function calculateTotalPrice(uint256 _numberOfPlayas) public view returns(uint256) { return salePrice.mul(_numberOfPlayas); } function _baseURI() internal view virtual override returns (string memory) { return _baseURIextended; } }
// SPDX-License-Identifier: MIT 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 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 pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./EnumerableSet.sol"; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { using EnumerableSet for EnumerableSet.Bytes32Set; // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct Map { // Storage of keys EnumerableSet.Bytes32Set _keys; mapping(bytes32 => bytes32) _values; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set( Map storage map, bytes32 key, bytes32 value ) private returns (bool) { map._values[key] = value; return map._keys.add(key); } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { delete map._values[key]; return map._keys.remove(key); } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._keys.contains(key); } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._keys.length(); } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { bytes32 key = map._keys.at(index); return (key, map._values[key]); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { bytes32 value = map._values[key]; if (value == bytes32(0)) { return (_contains(map, key), bytes32(0)); } else { return (true, value); } } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), "EnumerableMap: nonexistent key"); return value; } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get( Map storage map, bytes32 key, string memory errorMessage ) private view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), errorMessage); return value; } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( UintToAddressMap storage map, uint256 key, address value ) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( UintToAddressMap storage map, uint256 key, string memory errorMessage ) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: 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 virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "./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 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 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 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 pragma solidity ^0.8.0; import "./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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Address.sol"; import "./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. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(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; /** * @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() external view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() external view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) external view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) external view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) external 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 = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @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 pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT 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); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"RP1MaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfPlayas","type":"uint256"}],"name":"calculateTotalPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfPlayas","type":"uint256"}],"name":"mintPlayas","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_priceInWei","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_trueOrFalse","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_thisContract","type":"address"}],"name":"setThisContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600f805460ff1916905560a060405273f73bd9d826a2e2ed84cd23d0d9030ebad4cf438c6080908152620000389060129060016200051c565b506040805160208101909152606481526200005890601390600162000586565b503480156200006657600080fd5b506012805480602002602001604051908101604052809291908181526020018280548015620000bf57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311620000a0575b505050505060138054806020026020016040519081016040528092919081815260200182805480156200011257602002820191906000526020600020905b815481526020019060010190808311620000fd575b5050604080518082018252600f81526e526561647920506c617961204f6e6560881b60208083019182528351808501909452600384526252503160e81b9084015281519195509193506200016b925060009190620005c9565b50805162000181906001906020840190620005c9565b5050506200019e62000198620002d860201b60201c565b620002dc565b8051825114620002105760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620002635760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000207565b60005b8251811015620002cf57620002ba838281518110620002895762000289620006e9565b6020026020010151838381518110620002a657620002a6620006e9565b60200260200101516200032e60201b60201c565b80620002c681620006b5565b91505062000266565b505050620006ff565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200039b5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000207565b60008111620003ed5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000207565b6001600160a01b03821660009081526009602052604090205415620004695760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000207565b600b8054600181019091557f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319166001600160a01b0384169081179091556000908152600960205260409020819055600754620004d39082906200065d565b600755604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b82805482825590600052602060002090810192821562000574579160200282015b828111156200057457825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200053d565b506200058292915062000646565b5090565b82805482825590600052602060002090810192821562000574579160200282015b8281111562000574578251829060ff16905591602001919060010190620005a7565b828054620005d79062000678565b90600052602060002090601f016020900481019282620005fb576000855562000574565b82601f106200061657805160ff191683800117855562000574565b8280016001018555821562000574579182015b828111156200057457825182559160200191906001019062000629565b5b8082111562000582576000815560010162000647565b60008219821115620006735762000673620006d3565b500190565b600181811c908216806200068d57607f821691505b60208210811415620006af57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620006cc57620006cc620006d3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b61214a806200070f6000396000f3fe6080604052600436106101da5760003560e01c80638b83209b11610101578063c4bc508e1161009a578063e33b7de31161006c578063e33b7de3146105be578063e985e9c5146105d3578063f2fde38b1461061c578063f51f96dd1461063c578063f9020e331461065257005b8063c4bc508e14610528578063c87b56dd14610548578063ce7c2ac214610568578063d897833e1461059e57005b8063a22cb465116100d3578063a22cb465146104b2578063aeae1ca4146104d2578063b88d4fde146104e8578063c25b9fd11461050857005b80638b83209b146104295780638da5cb5b1461044957806395d89b41146104675780639852595c1461047c57005b80633a98ef39116101735780636352211e116101455780636352211e146103bf57806370a08231146103df578063715018a6146103ff578063853828b61461041457005b80633a98ef391461035757806342842e0e1461036c57806349964b3d1461038c57806355f804b31461039f57005b806318160ddd116101ac57806318160ddd146102d457806319165587146102f75780631919fed71461031757806323b872dd1461033757005b806301ffc9a71461022557806306fdde031461025a578063081812fc1461027c578063095ea7b3146102b457005b36610223577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561023157600080fd5b50610245610240366004611d7a565b61066c565b60405190151581526020015b60405180910390f35b34801561026657600080fd5b5061026f6106be565b6040516102519190611eae565b34801561028857600080fd5b5061029c610297366004611dfd565b610750565b6040516001600160a01b039091168152602001610251565b3480156102c057600080fd5b506102236102cf366004611d33565b6107ea565b3480156102e057600080fd5b506102e9610900565b604051908152602001610251565b34801561030357600080fd5b50610223610312366004611be7565b610910565b34801561032357600080fd5b50610223610332366004611dfd565b610ae1565b34801561034357600080fd5b50610223610352366004611c3d565b610b10565b34801561036357600080fd5b506007546102e9565b34801561037857600080fd5b50610223610387366004611c3d565b610b41565b61022361039a366004611dfd565b610b5c565b3480156103ab57600080fd5b506102236103ba366004611db4565b610d24565b3480156103cb57600080fd5b5061029c6103da366004611dfd565b610d61565b3480156103eb57600080fd5b506102e96103fa366004611be7565b610dd8565b34801561040b57600080fd5b50610223610e5f565b34801561042057600080fd5b50610223610e95565b34801561043557600080fd5b5061029c610444366004611dfd565b610f17565b34801561045557600080fd5b506006546001600160a01b031661029c565b34801561047357600080fd5b5061026f610f47565b34801561048857600080fd5b506102e9610497366004611be7565b6001600160a01b03166000908152600a602052604090205490565b3480156104be57600080fd5b506102236104cd366004611cfe565b610f56565b3480156104de57600080fd5b506102e961271081565b3480156104f457600080fd5b50610223610503366004611c7e565b61101b565b34801561051457600080fd5b50610223610523366004611be7565b611053565b34801561053457600080fd5b506102e9610543366004611dfd565b61109f565b34801561055457600080fd5b5061026f610563366004611dfd565b6110af565b34801561057457600080fd5b506102e9610583366004611be7565b6001600160a01b031660009081526009602052604090205490565b3480156105aa57600080fd5b506102236105b9366004611d5f565b61118a565b3480156105ca57600080fd5b506008546102e9565b3480156105df57600080fd5b506102456105ee366004611c04565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561062857600080fd5b50610223610637366004611be7565b6111c7565b34801561064857600080fd5b506102e960105481565b34801561065e57600080fd5b50600f546102459060ff1681565b60006001600160e01b031982166380ac58cd60e01b148061069d57506001600160e01b03198216635b5e139f60e01b145b806106b857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546106cd90612027565b80601f01602080910402602001604051908101604052809291908181526020018280546106f990612027565b80156107465780601f1061071b57610100808354040283529160200191610746565b820191906000526020600020905b81548152906001019060200180831161072957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ce5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107f582610d61565b9050806001600160a01b0316836001600160a01b031614156108635760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107c5565b336001600160a01b038216148061087f575061087f81336105ee565b6108f15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107c5565b6108fb838361125f565b505050565b600061090b600e5490565b905090565b6001600160a01b0381166000908152600960205260409020546109845760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b60648201526084016107c5565b6000600854476109949190611f99565b6001600160a01b0383166000908152600a602090815260408083205460075460099093529083205493945091926109cb9085611fc5565b6109d59190611fb1565b6109df9190611fe4565b905080610a425760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b60648201526084016107c5565b6001600160a01b0383166000908152600a6020526040902054610a66908290611f99565b6001600160a01b0384166000908152600a6020526040902055600854610a8d908290611f99565b600855610a9a83826112cd565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6006546001600160a01b03163314610b0b5760405162461bcd60e51b81526004016107c590611f13565b601055565b610b1a33826113e6565b610b365760405162461bcd60e51b81526004016107c590611f48565b6108fb8383836114dd565b6108fb8383836040518060200160405280600081525061101b565b610b658161109f565b341015610bb45760405162461bcd60e51b815260206004820152601760248201527f496e737566666369656e7420616d6f756e742073656e7400000000000000000060448201526064016107c5565b6011546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050610c285760405162461bcd60e51b815260206004820152601e60248201527f526563656965766572206d7573742062652074686520636f6e7472616374000060448201526064016107c5565b612710610c3e82610c38600e5490565b9061167d565b1115610c8c5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526064016107c5565b600f5460ff161515600114610cd85760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064016107c5565b60005b81811015610d2057610d0033610cf0600e5490565b610cfb906001611f99565b611689565b610d0e600e80546001019055565b80610d1881612062565b915050610cdb565b5050565b6006546001600160a01b03163314610d4e5760405162461bcd60e51b81526004016107c590611f13565b8051610d2090600d906020840190611ac3565b6000818152600260205260408120546001600160a01b0316806106b85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107c5565b60006001600160a01b038216610e435760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107c5565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610e895760405162461bcd60e51b81526004016107c590611f13565b610e9360006116a3565b565b6006546001600160a01b03163314610ebf5760405162461bcd60e51b81526004016107c590611f13565b60005b601254811015610f1457600060128281548110610ee157610ee16120bd565b6000918252602090912001546001600160a01b03169050610f0181610910565b5080610f0c81612062565b915050610ec2565b50565b6000600b8281548110610f2c57610f2c6120bd565b6000918252602090912001546001600160a01b031692915050565b6060600180546106cd90612027565b6001600160a01b038216331415610faf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107c5565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61102533836113e6565b6110415760405162461bcd60e51b81526004016107c590611f48565b61104d848484846116f5565b50505050565b6006546001600160a01b0316331461107d5760405162461bcd60e51b81526004016107c590611f13565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6010546000906106b89083611728565b6000818152600260205260409020546060906001600160a01b031661112e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107c5565b6000611138611734565b905060008151116111585760405180602001604052806000815250611183565b8061116284611743565b604051602001611173929190611e42565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146111b45760405162461bcd60e51b81526004016107c590611f13565b600f805460ff1916911515919091179055565b6006546001600160a01b031633146111f15760405162461bcd60e51b81526004016107c590611f13565b6001600160a01b0381166112565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c5565b610f14816116a3565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061129482610d61565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8047101561131d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107c5565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461136a576040519150601f19603f3d011682016040523d82523d6000602084013e61136f565b606091505b50509050806108fb5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107c5565b6000818152600260205260408120546001600160a01b031661145f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107c5565b600061146a83610d61565b9050806001600160a01b0316846001600160a01b031614806114a55750836001600160a01b031661149a84610750565b6001600160a01b0316145b806114d557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166114f082610d61565b6001600160a01b0316146115585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107c5565b6001600160a01b0382166115ba5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107c5565b6115c560008261125f565b6001600160a01b03831660009081526003602052604081208054600192906115ee908490611fe4565b90915550506001600160a01b038216600090815260036020526040812080546001929061161c908490611f99565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006111838284611f99565b610d20828260405180602001604052806000815250611841565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6117008484846114dd565b61170c84848484611874565b61104d5760405162461bcd60e51b81526004016107c590611ec1565b60006111838284611fc5565b6060600d80546106cd90612027565b6060816117675750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611791578061177b81612062565b915061178a9050600a83611fb1565b915061176b565b60008167ffffffffffffffff8111156117ac576117ac6120d3565b6040519080825280601f01601f1916602001820160405280156117d6576020820181803683370190505b5090505b84156114d5576117eb600183611fe4565b91506117f8600a8661207d565b611803906030611f99565b60f81b818381518110611818576118186120bd565b60200101906001600160f81b031916908160001a90535061183a600a86611fb1565b94506117da565b61184b8383611981565b6118586000848484611874565b6108fb5760405162461bcd60e51b81526004016107c590611ec1565b60006001600160a01b0384163b1561197657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118b8903390899088908890600401611e71565b602060405180830381600087803b1580156118d257600080fd5b505af1925050508015611902575060408051601f3d908101601f191682019092526118ff91810190611d97565b60015b61195c573d808015611930576040519150601f19603f3d011682016040523d82523d6000602084013e611935565b606091505b5080516119545760405162461bcd60e51b81526004016107c590611ec1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114d5565b506001949350505050565b6001600160a01b0382166119d75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107c5565b6000818152600260205260409020546001600160a01b031615611a3c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107c5565b6001600160a01b0382166000908152600360205260408120805460019290611a65908490611f99565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611acf90612027565b90600052602060002090601f016020900481019282611af15760008555611b37565b82601f10611b0a57805160ff1916838001178555611b37565b82800160010185558215611b37579182015b82811115611b37578251825591602001919060010190611b1c565b50611b43929150611b47565b5090565b5b80821115611b435760008155600101611b48565b600067ffffffffffffffff80841115611b7757611b776120d3565b604051601f8501601f19908116603f01168101908282118183101715611b9f57611b9f6120d3565b81604052809350858152868686011115611bb857600080fd5b858560208301376000602087830101525050509392505050565b80358015158114611be257600080fd5b919050565b600060208284031215611bf957600080fd5b8135611183816120e9565b60008060408385031215611c1757600080fd5b8235611c22816120e9565b91506020830135611c32816120e9565b809150509250929050565b600080600060608486031215611c5257600080fd5b8335611c5d816120e9565b92506020840135611c6d816120e9565b929592945050506040919091013590565b60008060008060808587031215611c9457600080fd5b8435611c9f816120e9565b93506020850135611caf816120e9565b925060408501359150606085013567ffffffffffffffff811115611cd257600080fd5b8501601f81018713611ce357600080fd5b611cf287823560208401611b5c565b91505092959194509250565b60008060408385031215611d1157600080fd5b8235611d1c816120e9565b9150611d2a60208401611bd2565b90509250929050565b60008060408385031215611d4657600080fd5b8235611d51816120e9565b946020939093013593505050565b600060208284031215611d7157600080fd5b61118382611bd2565b600060208284031215611d8c57600080fd5b8135611183816120fe565b600060208284031215611da957600080fd5b8151611183816120fe565b600060208284031215611dc657600080fd5b813567ffffffffffffffff811115611ddd57600080fd5b8201601f81018413611dee57600080fd5b6114d584823560208401611b5c565b600060208284031215611e0f57600080fd5b5035919050565b60008151808452611e2e816020860160208601611ffb565b601f01601f19169290920160200192915050565b60008351611e54818460208801611ffb565b835190830190611e68818360208801611ffb565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ea490830184611e16565b9695505050505050565b6020815260006111836020830184611e16565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611fac57611fac612091565b500190565b600082611fc057611fc06120a7565b500490565b6000816000190483118215151615611fdf57611fdf612091565b500290565b600082821015611ff657611ff6612091565b500390565b60005b83811015612016578181015183820152602001611ffe565b8381111561104d5750506000910152565b600181811c9082168061203b57607f821691505b6020821081141561205c57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561207657612076612091565b5060010190565b60008261208c5761208c6120a7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f1457600080fd5b6001600160e01b031981168114610f1457600080fdfea264697066735822122062e62b478a4be87637329fb1ad9f5fc6e956860cd189a7e7adb4a4d03b5d0baf64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101da5760003560e01c80638b83209b11610101578063c4bc508e1161009a578063e33b7de31161006c578063e33b7de3146105be578063e985e9c5146105d3578063f2fde38b1461061c578063f51f96dd1461063c578063f9020e331461065257005b8063c4bc508e14610528578063c87b56dd14610548578063ce7c2ac214610568578063d897833e1461059e57005b8063a22cb465116100d3578063a22cb465146104b2578063aeae1ca4146104d2578063b88d4fde146104e8578063c25b9fd11461050857005b80638b83209b146104295780638da5cb5b1461044957806395d89b41146104675780639852595c1461047c57005b80633a98ef39116101735780636352211e116101455780636352211e146103bf57806370a08231146103df578063715018a6146103ff578063853828b61461041457005b80633a98ef391461035757806342842e0e1461036c57806349964b3d1461038c57806355f804b31461039f57005b806318160ddd116101ac57806318160ddd146102d457806319165587146102f75780631919fed71461031757806323b872dd1461033757005b806301ffc9a71461022557806306fdde031461025a578063081812fc1461027c578063095ea7b3146102b457005b36610223577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561023157600080fd5b50610245610240366004611d7a565b61066c565b60405190151581526020015b60405180910390f35b34801561026657600080fd5b5061026f6106be565b6040516102519190611eae565b34801561028857600080fd5b5061029c610297366004611dfd565b610750565b6040516001600160a01b039091168152602001610251565b3480156102c057600080fd5b506102236102cf366004611d33565b6107ea565b3480156102e057600080fd5b506102e9610900565b604051908152602001610251565b34801561030357600080fd5b50610223610312366004611be7565b610910565b34801561032357600080fd5b50610223610332366004611dfd565b610ae1565b34801561034357600080fd5b50610223610352366004611c3d565b610b10565b34801561036357600080fd5b506007546102e9565b34801561037857600080fd5b50610223610387366004611c3d565b610b41565b61022361039a366004611dfd565b610b5c565b3480156103ab57600080fd5b506102236103ba366004611db4565b610d24565b3480156103cb57600080fd5b5061029c6103da366004611dfd565b610d61565b3480156103eb57600080fd5b506102e96103fa366004611be7565b610dd8565b34801561040b57600080fd5b50610223610e5f565b34801561042057600080fd5b50610223610e95565b34801561043557600080fd5b5061029c610444366004611dfd565b610f17565b34801561045557600080fd5b506006546001600160a01b031661029c565b34801561047357600080fd5b5061026f610f47565b34801561048857600080fd5b506102e9610497366004611be7565b6001600160a01b03166000908152600a602052604090205490565b3480156104be57600080fd5b506102236104cd366004611cfe565b610f56565b3480156104de57600080fd5b506102e961271081565b3480156104f457600080fd5b50610223610503366004611c7e565b61101b565b34801561051457600080fd5b50610223610523366004611be7565b611053565b34801561053457600080fd5b506102e9610543366004611dfd565b61109f565b34801561055457600080fd5b5061026f610563366004611dfd565b6110af565b34801561057457600080fd5b506102e9610583366004611be7565b6001600160a01b031660009081526009602052604090205490565b3480156105aa57600080fd5b506102236105b9366004611d5f565b61118a565b3480156105ca57600080fd5b506008546102e9565b3480156105df57600080fd5b506102456105ee366004611c04565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561062857600080fd5b50610223610637366004611be7565b6111c7565b34801561064857600080fd5b506102e960105481565b34801561065e57600080fd5b50600f546102459060ff1681565b60006001600160e01b031982166380ac58cd60e01b148061069d57506001600160e01b03198216635b5e139f60e01b145b806106b857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546106cd90612027565b80601f01602080910402602001604051908101604052809291908181526020018280546106f990612027565b80156107465780601f1061071b57610100808354040283529160200191610746565b820191906000526020600020905b81548152906001019060200180831161072957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ce5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107f582610d61565b9050806001600160a01b0316836001600160a01b031614156108635760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107c5565b336001600160a01b038216148061087f575061087f81336105ee565b6108f15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107c5565b6108fb838361125f565b505050565b600061090b600e5490565b905090565b6001600160a01b0381166000908152600960205260409020546109845760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b60648201526084016107c5565b6000600854476109949190611f99565b6001600160a01b0383166000908152600a602090815260408083205460075460099093529083205493945091926109cb9085611fc5565b6109d59190611fb1565b6109df9190611fe4565b905080610a425760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b60648201526084016107c5565b6001600160a01b0383166000908152600a6020526040902054610a66908290611f99565b6001600160a01b0384166000908152600a6020526040902055600854610a8d908290611f99565b600855610a9a83826112cd565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6006546001600160a01b03163314610b0b5760405162461bcd60e51b81526004016107c590611f13565b601055565b610b1a33826113e6565b610b365760405162461bcd60e51b81526004016107c590611f48565b6108fb8383836114dd565b6108fb8383836040518060200160405280600081525061101b565b610b658161109f565b341015610bb45760405162461bcd60e51b815260206004820152601760248201527f496e737566666369656e7420616d6f756e742073656e7400000000000000000060448201526064016107c5565b6011546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050610c285760405162461bcd60e51b815260206004820152601e60248201527f526563656965766572206d7573742062652074686520636f6e7472616374000060448201526064016107c5565b612710610c3e82610c38600e5490565b9061167d565b1115610c8c5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526064016107c5565b600f5460ff161515600114610cd85760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064016107c5565b60005b81811015610d2057610d0033610cf0600e5490565b610cfb906001611f99565b611689565b610d0e600e80546001019055565b80610d1881612062565b915050610cdb565b5050565b6006546001600160a01b03163314610d4e5760405162461bcd60e51b81526004016107c590611f13565b8051610d2090600d906020840190611ac3565b6000818152600260205260408120546001600160a01b0316806106b85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107c5565b60006001600160a01b038216610e435760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107c5565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610e895760405162461bcd60e51b81526004016107c590611f13565b610e9360006116a3565b565b6006546001600160a01b03163314610ebf5760405162461bcd60e51b81526004016107c590611f13565b60005b601254811015610f1457600060128281548110610ee157610ee16120bd565b6000918252602090912001546001600160a01b03169050610f0181610910565b5080610f0c81612062565b915050610ec2565b50565b6000600b8281548110610f2c57610f2c6120bd565b6000918252602090912001546001600160a01b031692915050565b6060600180546106cd90612027565b6001600160a01b038216331415610faf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107c5565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61102533836113e6565b6110415760405162461bcd60e51b81526004016107c590611f48565b61104d848484846116f5565b50505050565b6006546001600160a01b0316331461107d5760405162461bcd60e51b81526004016107c590611f13565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6010546000906106b89083611728565b6000818152600260205260409020546060906001600160a01b031661112e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107c5565b6000611138611734565b905060008151116111585760405180602001604052806000815250611183565b8061116284611743565b604051602001611173929190611e42565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146111b45760405162461bcd60e51b81526004016107c590611f13565b600f805460ff1916911515919091179055565b6006546001600160a01b031633146111f15760405162461bcd60e51b81526004016107c590611f13565b6001600160a01b0381166112565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c5565b610f14816116a3565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061129482610d61565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8047101561131d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107c5565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461136a576040519150601f19603f3d011682016040523d82523d6000602084013e61136f565b606091505b50509050806108fb5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107c5565b6000818152600260205260408120546001600160a01b031661145f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107c5565b600061146a83610d61565b9050806001600160a01b0316846001600160a01b031614806114a55750836001600160a01b031661149a84610750565b6001600160a01b0316145b806114d557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166114f082610d61565b6001600160a01b0316146115585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107c5565b6001600160a01b0382166115ba5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107c5565b6115c560008261125f565b6001600160a01b03831660009081526003602052604081208054600192906115ee908490611fe4565b90915550506001600160a01b038216600090815260036020526040812080546001929061161c908490611f99565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006111838284611f99565b610d20828260405180602001604052806000815250611841565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6117008484846114dd565b61170c84848484611874565b61104d5760405162461bcd60e51b81526004016107c590611ec1565b60006111838284611fc5565b6060600d80546106cd90612027565b6060816117675750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611791578061177b81612062565b915061178a9050600a83611fb1565b915061176b565b60008167ffffffffffffffff8111156117ac576117ac6120d3565b6040519080825280601f01601f1916602001820160405280156117d6576020820181803683370190505b5090505b84156114d5576117eb600183611fe4565b91506117f8600a8661207d565b611803906030611f99565b60f81b818381518110611818576118186120bd565b60200101906001600160f81b031916908160001a90535061183a600a86611fb1565b94506117da565b61184b8383611981565b6118586000848484611874565b6108fb5760405162461bcd60e51b81526004016107c590611ec1565b60006001600160a01b0384163b1561197657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118b8903390899088908890600401611e71565b602060405180830381600087803b1580156118d257600080fd5b505af1925050508015611902575060408051601f3d908101601f191682019092526118ff91810190611d97565b60015b61195c573d808015611930576040519150601f19603f3d011682016040523d82523d6000602084013e611935565b606091505b5080516119545760405162461bcd60e51b81526004016107c590611ec1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114d5565b506001949350505050565b6001600160a01b0382166119d75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107c5565b6000818152600260205260409020546001600160a01b031615611a3c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107c5565b6001600160a01b0382166000908152600360205260408120805460019290611a65908490611f99565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611acf90612027565b90600052602060002090601f016020900481019282611af15760008555611b37565b82601f10611b0a57805160ff1916838001178555611b37565b82800160010185558215611b37579182015b82811115611b37578251825591602001919060010190611b1c565b50611b43929150611b47565b5090565b5b80821115611b435760008155600101611b48565b600067ffffffffffffffff80841115611b7757611b776120d3565b604051601f8501601f19908116603f01168101908282118183101715611b9f57611b9f6120d3565b81604052809350858152868686011115611bb857600080fd5b858560208301376000602087830101525050509392505050565b80358015158114611be257600080fd5b919050565b600060208284031215611bf957600080fd5b8135611183816120e9565b60008060408385031215611c1757600080fd5b8235611c22816120e9565b91506020830135611c32816120e9565b809150509250929050565b600080600060608486031215611c5257600080fd5b8335611c5d816120e9565b92506020840135611c6d816120e9565b929592945050506040919091013590565b60008060008060808587031215611c9457600080fd5b8435611c9f816120e9565b93506020850135611caf816120e9565b925060408501359150606085013567ffffffffffffffff811115611cd257600080fd5b8501601f81018713611ce357600080fd5b611cf287823560208401611b5c565b91505092959194509250565b60008060408385031215611d1157600080fd5b8235611d1c816120e9565b9150611d2a60208401611bd2565b90509250929050565b60008060408385031215611d4657600080fd5b8235611d51816120e9565b946020939093013593505050565b600060208284031215611d7157600080fd5b61118382611bd2565b600060208284031215611d8c57600080fd5b8135611183816120fe565b600060208284031215611da957600080fd5b8151611183816120fe565b600060208284031215611dc657600080fd5b813567ffffffffffffffff811115611ddd57600080fd5b8201601f81018413611dee57600080fd5b6114d584823560208401611b5c565b600060208284031215611e0f57600080fd5b5035919050565b60008151808452611e2e816020860160208601611ffb565b601f01601f19169290920160200192915050565b60008351611e54818460208801611ffb565b835190830190611e68818360208801611ffb565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ea490830184611e16565b9695505050505050565b6020815260006111836020830184611e16565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611fac57611fac612091565b500190565b600082611fc057611fc06120a7565b500490565b6000816000190483118215151615611fdf57611fdf612091565b500290565b600082821015611ff657611ff6612091565b500390565b60005b83811015612016578181015183820152602001611ffe565b8381111561104d5750506000910152565b600181811c9082168061203b57607f821691505b6020821081141561205c57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561207657612076612091565b5060010190565b60008261208c5761208c6120a7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f1457600080fd5b6001600160e01b031981168114610f1457600080fdfea264697066735822122062e62b478a4be87637329fb1ad9f5fc6e956860cd189a7e7adb4a4d03b5d0baf64736f6c63430008070033
Deployed Bytecode Sourcemap
211:2473:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2610:40:13;666:10:1;2610:40:13;;;-1:-1:-1;;;;;6304:32:17;;;6286:51;;2640:9:13;6368:2:17;6353:18;;6346:34;6259:18;2610:40:13;;;;;;;211:2473:14;;;1431:300:4;;;;;;;;;;-1:-1:-1;1431:300:4;;;;;:::i;:::-;;:::i;:::-;;;7328:14:17;;7321:22;7303:41;;7291:2;7276:18;1431:300:4;;;;;;;;2349:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3860:217::-;;;;;;;;;;-1:-1:-1;3860:217:4;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6060:32:17;;;6042:51;;6030:2;6015:18;3860:217:4;5896:203:17;3398:401:4;;;;;;;;;;-1:-1:-1;3398:401:4;;;;;:::i;:::-;;:::i;1000:104:14:-;;;;;;;;;;;;;:::i;:::-;;;17130:25:17;;;17118:2;17103:18;1000:104:14;16984:177:17;3784:600:13;;;;;;;;;;-1:-1:-1;3784:600:13;;;;;:::i;:::-;;:::i;1227:102:14:-;;;;;;;;;;-1:-1:-1;1227:102:14;;;;;:::i;:::-;;:::i;4724:330:4:-;;;;;;;;;;-1:-1:-1;4724:330:4;;;;;:::i;:::-;;:::i;2735:91:13:-;;;;;;;;;;-1:-1:-1;2807:12:13;;2735:91;;5120:179:4;;;;;;;;;;-1:-1:-1;5120:179:4;;;;;:::i;:::-;;:::i;1797:600:14:-;;;;;;:::i;:::-;;:::i;1544:113::-;;;;;;;;;;-1:-1:-1;1544:113:14;;;;;:::i;:::-;;:::i;2052:235:4:-;;;;;;;;;;-1:-1:-1;2052:235:4;;;;;:::i;:::-;;:::i;1790:205::-;;;;;;;;;;-1:-1:-1;1790:205:4;;;;;:::i;:::-;;:::i;1598:92:12:-;;;;;;;;;;;;;:::i;1339:197:14:-;;;;;;;;;;;;;:::i;3490:100:13:-;;;;;;;;;;-1:-1:-1;3490:100:13;;;;;:::i;:::-;;:::i;966:85:12:-;;;;;;;;;;-1:-1:-1;1038:6:12;;-1:-1:-1;;;;;1038:6:12;966:85;;2511:102:4;;;;;;;;;;;;;:::i;3295:109:13:-;;;;;;;;;;-1:-1:-1;3295:109:13;;;;;:::i;:::-;-1:-1:-1;;;;;3379:18:13;3353:7;3379:18;;;:9;:18;;;;;;;3295:109;4144:290:4;;;;;;;;;;-1:-1:-1;4144:290:4;;;;;:::i;:::-;;:::i;531:44:14:-;;;;;;;;;;;;570:5;531:44;;5365:320:4;;;;;;;;;;-1:-1:-1;5365:320:4;;;;;:::i;:::-;;:::i;1667:120:14:-;;;;;;;;;;-1:-1:-1;1667:120:14;;;;;:::i;:::-;;:::i;2411:137::-;;;;;;;;;;-1:-1:-1;2411:137:14;;;;;:::i;:::-;;:::i;2679:329:4:-;;;;;;;;;;-1:-1:-1;2679:329:4;;;;;:::i;:::-;;:::i;3096:105:13:-;;;;;;;;;;-1:-1:-1;3096:105:13;;;;;:::i;:::-;-1:-1:-1;;;;;3178:16:13;3152:7;3178:16;;;:7;:16;;;;;;;3096:105;1114:103:14;;;;;;;;;;-1:-1:-1;1114:103:14;;;;;:::i;:::-;;:::i;2915:95:13:-;;;;;;;;;;-1:-1:-1;2989:14:13;;2915:95;;4500:162:4;;;;;;;;;;-1:-1:-1;4500:162:4;;;;;:::i;:::-;-1:-1:-1;;;;;4620:25:4;;;4597:4;4620:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4500:162;1839:189:12;;;;;;;;;;-1:-1:-1;1839:189:12;;;;;:::i;:::-;;:::i;617:24:14:-;;;;;;;;;;;;;;;;581:30;;;;;;;;;;-1:-1:-1;581:30:14;;;;;;;;1431:300:4;1533:4;-1:-1:-1;;;;;;1568:40:4;;-1:-1:-1;;;1568:40:4;;:104;;-1:-1:-1;;;;;;;1624:48:4;;-1:-1:-1;;;1624:48:4;1568:104;:156;;;-1:-1:-1;;;;;;;;;;871:40:3;;;1688:36:4;1549:175;1431:300;-1:-1:-1;;1431:300:4:o;2349:98::-;2403:13;2435:5;2428:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2349:98;:::o;3860:217::-;3936:7;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:4;3955:73;;;;-1:-1:-1;;;3955:73:4;;14766:2:17;3955:73:4;;;14748:21:17;14805:2;14785:18;;;14778:30;14844:34;14824:18;;;14817:62;-1:-1:-1;;;14895:18:17;;;14888:42;14947:19;;3955:73:4;;;;;;;;;-1:-1:-1;4046:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;4046:24:4;;3860:217::o;3398:401::-;3478:13;3494:23;3509:7;3494:14;:23::i;:::-;3478:39;;3541:5;-1:-1:-1;;;;;3535:11:4;:2;-1:-1:-1;;;;;3535:11:4;;;3527:57;;;;-1:-1:-1;;;3527:57:4;;16366:2:17;3527:57:4;;;16348:21:17;16405:2;16385:18;;;16378:30;16444:34;16424:18;;;16417:62;-1:-1:-1;;;16495:18:17;;;16488:31;16536:19;;3527:57:4;16164:397:17;3527:57:4;666:10:1;-1:-1:-1;;;;;3616:21:4;;;;:62;;-1:-1:-1;3641:37:4;3658:5;666:10:1;4500:162:4;:::i;3641:37::-;3595:165;;;;-1:-1:-1;;;3595:165:4;;12798:2:17;3595:165:4;;;12780:21:17;12837:2;12817:18;;;12810:30;12876:34;12856:18;;;12849:62;12947:26;12927:18;;;12920:54;12991:19;;3595:165:4;12596:420:17;3595:165:4;3771:21;3780:2;3784:7;3771:8;:21::i;:::-;3468:331;3398:401;;:::o;1000:104:14:-;1046:7;1072:25;:15;864:14:2;;773:112;1072:25:14;1065:32;;1000:104;:::o;3784:600:13:-;-1:-1:-1;;;;;3859:16:13;;3878:1;3859:16;;;:7;:16;;;;;;3851:71;;;;-1:-1:-1;;;3851:71:13;;9675:2:17;3851:71:13;;;9657:21:17;9714:2;9694:18;;;9687:30;9753:34;9733:18;;;9726:62;-1:-1:-1;;;9804:18:17;;;9797:36;9850:19;;3851:71:13;9473:402:17;3851:71:13;3933:21;3981:14;;3957:21;:38;;;;:::i;:::-;-1:-1:-1;;;;;4075:18:13;;4005:15;4075:18;;;:9;:18;;;;;;;;;4060:12;;4040:7;:16;;;;;;;3933:62;;-1:-1:-1;4005:15:13;;4024:32;;3933:62;4024:32;:::i;:::-;4023:49;;;;:::i;:::-;:70;;;;:::i;:::-;4005:88;-1:-1:-1;4112:12:13;4104:68;;;;-1:-1:-1;;;4104:68:13;;12386:2:17;4104:68:13;;;12368:21:17;12425:2;12405:18;;;12398:30;12464:34;12444:18;;;12437:62;-1:-1:-1;;;12515:18:17;;;12508:41;12566:19;;4104:68:13;12184:407:17;4104:68:13;-1:-1:-1;;;;;4204:18:13;;;;;;:9;:18;;;;;;:28;;4225:7;;4204:28;:::i;:::-;-1:-1:-1;;;;;4183:18:13;;;;;;:9;:18;;;;;:49;4259:14;;:24;;4276:7;;4259:24;:::i;:::-;4242:14;:41;4294:35;4312:7;4321;4294:17;:35::i;:::-;4344:33;;;-1:-1:-1;;;;;6304:32:17;;6286:51;;6368:2;6353:18;;6346:34;;;4344:33:13;;6259:18:17;4344:33:13;;;;;;;3841:543;;3784:600;:::o;1227:102:14:-;1038:6:12;;-1:-1:-1;;;;;1038:6:12;666:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;1299:9:14::1;:23:::0;1227:102::o;4724:330:4:-;4913:41;666:10:1;4946:7:4;4913:18;:41::i;:::-;4905:103;;;;-1:-1:-1;;;4905:103:4;;;;;;;:::i;:::-;5019:28;5029:4;5035:2;5039:7;5019:9;:28::i;5120:179::-;5253:39;5270:4;5276:2;5280:7;5253:39;;;;;;;;;;;;:16;:39::i;1797:600:14:-;1888:36;1908:15;1888:19;:36::i;:::-;1875:9;:49;;1867:85;;;;-1:-1:-1;;;1867:85:14;;8200:2:17;1867:85:14;;;8182:21:17;8239:2;8219:18;;;8212:30;8278:25;8258:18;;;8251:53;8321:18;;1867:85:14;7998:347:17;1867:85:14;1970:12;;:28;;-1:-1:-1;;;;;1970:12:14;;;;1988:9;1970:28;;;;;:12;:28;:12;:28;1988:9;1970:12;:28;;;;;;;1962:71;;;;-1:-1:-1;;;1962:71:14;;8959:2:17;1962:71:14;;;8941:21:17;8998:2;8978:18;;;8971:30;9037:32;9017:18;;;9010:60;9087:18;;1962:71:14;8757:354:17;1962:71:14;570:5;2051:46;2081:15;2051:25;:15;864:14:2;;773:112;2051:25:14;:29;;:46::i;:::-;:62;;2043:107;;;;-1:-1:-1;;;2043:107:14;;14044:2:17;2043:107:14;;;14026:21:17;;;14063:18;;;14056:30;14122:34;14102:18;;;14095:62;14174:18;;2043:107:14;13842:356:17;2043:107:14;2168:10;;;;:18;;:10;:18;2160:49;;;;-1:-1:-1;;;2160:49:14;;10841:2:17;2160:49:14;;;10823:21:17;10880:2;10860:18;;;10853:30;-1:-1:-1;;;10899:18:17;;;10892:48;10957:18;;2160:49:14;10639:342:17;2160:49:14;2232:9;2228:163;2251:15;2247:1;:19;2228:163;;;2287:52;2297:10;2309:25;:15;864:14:2;;773:112;2309:25:14;:29;;2337:1;2309:29;:::i;:::-;2287:9;:52::i;:::-;2353:27;:15;978:19:2;;996:1;978:19;;;891:123;2353:27:14;2268:3;;;;:::i;:::-;;;;2228:163;;;;1797:600;:::o;1544:113::-;1038:6:12;;-1:-1:-1;;;;;1038:6:12;666:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;1623:27:14;;::::1;::::0;:16:::1;::::0;:27:::1;::::0;::::1;::::0;::::1;:::i;2052:235:4:-:0;2124:7;2159:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2159:16:4;2193:19;2185:73;;;;-1:-1:-1;;;2185:73:4;;13634:2:17;2185:73:4;;;13616:21:17;13673:2;13653:18;;;13646:30;13712:34;13692:18;;;13685:62;-1:-1:-1;;;13763:18:17;;;13756:39;13812:19;;2185:73:4;13432:405:17;1790:205:4;1862:7;-1:-1:-1;;;;;1889:19:4;;1881:74;;;;-1:-1:-1;;;1881:74:4;;13223:2:17;1881:74:4;;;13205:21:17;13262:2;13242:18;;;13235:30;13301:34;13281:18;;;13274:62;-1:-1:-1;;;13352:18:17;;;13345:40;13402:19;;1881:74:4;13021:406:17;1881:74:4;-1:-1:-1;;;;;;1972:16:4;;;;;:9;:16;;;;;;;1790:205::o;1598:92:12:-;1038:6;;-1:-1:-1;;;;;1038:6:12;666:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;1662:21:::1;1680:1;1662:9;:21::i;:::-;1598:92::o:0;1339:197:14:-;1038:6:12;;-1:-1:-1;;;;;1038:6:12;666:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;1396:9:14::1;1391:139;1415:5;:12:::0;1411:16;::::1;1391:139;;;1448:22;1481:5;1487:1;1481:8;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;1481:8:14::1;::::0;-1:-1:-1;1504:15:14::1;1481:8:::0;1504:7:::1;:15::i;:::-;-1:-1:-1::0;1429:3:14;::::1;::::0;::::1;:::i;:::-;;;;1391:139;;;;1339:197::o:0;3490:100:13:-;3543:7;3569;3577:5;3569:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;3569:14:13;;3490:100;-1:-1:-1;;3490:100:13:o;2511:102:4:-;2567:13;2599:7;2592:14;;;;;:::i;4144:290::-;-1:-1:-1;;;;;4246:24:4;;666:10:1;4246:24:4;;4238:62;;;;-1:-1:-1;;;4238:62:4;;10487:2:17;4238:62:4;;;10469:21:17;10526:2;10506:18;;;10499:30;10565:27;10545:18;;;10538:55;10610:18;;4238:62:4;10285:349:17;4238:62:4;666:10:1;4311:32:4;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4311:42:4;;;;;;;;;;;;:53;;-1:-1:-1;;4311:53:4;;;;;;;;;;4379:48;;7303:41:17;;;4311:42:4;;666:10:1;4379:48:4;;7276:18:17;4379:48:4;;;;;;;4144:290;;:::o;5365:320::-;5534:41;666:10:1;5567:7:4;5534:18;:41::i;:::-;5526:103;;;;-1:-1:-1;;;5526:103:4;;;;;;;:::i;:::-;5639:39;5653:4;5659:2;5663:7;5672:5;5639:13;:39::i;:::-;5365:320;;;;:::o;1667:120:14:-;1038:6:12;;-1:-1:-1;;;;;1038:6:12;666:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;1752:12:14::1;:28:::0;;-1:-1:-1;;;;;;1752:28:14::1;-1:-1:-1::0;;;;;1752:28:14;;;::::1;::::0;;;::::1;::::0;;1667:120::o;2411:137::-;2511:9;;2485:7;;2511:30;;2525:15;2511:13;:30::i;2679:329:4:-;7222:4;7245:16;;;:7;:16;;;;;;2752:13;;-1:-1:-1;;;;;7245:16:4;2777:76;;;;-1:-1:-1;;;2777:76:4;;15950:2:17;2777:76:4;;;15932:21:17;15989:2;15969:18;;;15962:30;16028:34;16008:18;;;16001:62;-1:-1:-1;;;16079:18:17;;;16072:45;16134:19;;2777:76:4;15748:411:17;2777:76:4;2864:21;2888:10;:8;:10::i;:::-;2864:34;;2939:1;2921:7;2915:21;:25;:86;;;;;;;;;;;;;;;;;2967:7;2976:18;:7;:16;:18::i;:::-;2950:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2915:86;2908:93;2679:329;-1:-1:-1;;;2679:329:4:o;1114:103:14:-;1038:6:12;;-1:-1:-1;;;;;1038:6:12;666:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;1185:10:14::1;:25:::0;;-1:-1:-1;;1185:25:14::1;::::0;::::1;;::::0;;;::::1;::::0;;1114:103::o;1839:189:12:-;1038:6;;-1:-1:-1;;;;;1038:6:12;666:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;-1:-1:-1;;;;;1927:22:12;::::1;1919:73;;;::::0;-1:-1:-1;;;1919:73:12;;8552:2:17;1919:73:12::1;::::0;::::1;8534:21:17::0;8591:2;8571:18;;;8564:30;8630:34;8610:18;;;8603:62;-1:-1:-1;;;8681:18:17;;;8674:36;8727:19;;1919:73:12::1;8350:402:17::0;1919:73:12::1;2002:19;2012:8;2002:9;:19::i;11008:171:4:-:0;11082:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11082:29:4;-1:-1:-1;;;;;11082:29:4;;;;;;;;:24;;11135:23;11082:24;11135:14;:23::i;:::-;-1:-1:-1;;;;;11126:46:4;;;;;;;;;;;11008:171;;:::o;2012:312:0:-;2126:6;2101:21;:31;;2093:73;;;;-1:-1:-1;;;2093:73:0;;11615:2:17;2093:73:0;;;11597:21:17;11654:2;11634:18;;;11627:30;11693:31;11673:18;;;11666:59;11742:18;;2093:73:0;11413:353:17;2093:73:0;2178:12;2196:9;-1:-1:-1;;;;;2196:14:0;2218:6;2196:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2177:52;;;2247:7;2239:78;;;;-1:-1:-1;;;2239:78:0;;11188:2:17;2239:78:0;;;11170:21:17;11227:2;11207:18;;;11200:30;11266:34;11246:18;;;11239:62;11337:28;11317:18;;;11310:56;11383:19;;2239:78:0;10986:422:17;7440:344:4;7533:4;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:4;7549:73;;;;-1:-1:-1;;;7549:73:4;;11973:2:17;7549:73:4;;;11955:21:17;12012:2;11992:18;;;11985:30;12051:34;12031:18;;;12024:62;-1:-1:-1;;;12102:18:17;;;12095:42;12154:19;;7549:73:4;11771:408:17;7549:73:4;7632:13;7648:23;7663:7;7648:14;:23::i;:::-;7632:39;;7700:5;-1:-1:-1;;;;;7689:16:4;:7;-1:-1:-1;;;;;7689:16:4;;:51;;;;7733:7;-1:-1:-1;;;;;7709:31:4;:20;7721:7;7709:11;:20::i;:::-;-1:-1:-1;;;;;7709:31:4;;7689:51;:87;;;-1:-1:-1;;;;;;4620:25:4;;;4597:4;4620:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7744:32;7681:96;7440:344;-1:-1:-1;;;;7440:344:4:o;10337:560::-;10491:4;-1:-1:-1;;;;;10464:31:4;:23;10479:7;10464:14;:23::i;:::-;-1:-1:-1;;;;;10464:31:4;;10456:85;;;;-1:-1:-1;;;10456:85:4;;15540:2:17;10456:85:4;;;15522:21:17;15579:2;15559:18;;;15552:30;15618:34;15598:18;;;15591:62;-1:-1:-1;;;15669:18:17;;;15662:39;15718:19;;10456:85:4;15338:405:17;10456:85:4;-1:-1:-1;;;;;10559:16:4;;10551:65;;;;-1:-1:-1;;;10551:65:4;;10082:2:17;10551:65:4;;;10064:21:17;10121:2;10101:18;;;10094:30;10160:34;10140:18;;;10133:62;-1:-1:-1;;;10211:18:17;;;10204:34;10255:19;;10551:65:4;9880:400:17;10551:65:4;10728:29;10745:1;10749:7;10728:8;:29::i;:::-;-1:-1:-1;;;;;10768:15:4;;;;;;:9;:15;;;;;:20;;10787:1;;10768:15;:20;;10787:1;;10768:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10798:13:4;;;;;;:9;:13;;;;;:18;;10815:1;;10798:13;:18;;10815:1;;10798:18;:::i;:::-;;;;-1:-1:-1;;10826:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10826:21:4;-1:-1:-1;;;;;10826:21:4;;;;;;;;;10863:27;;10826:16;;10863:27;;;;;;;10337:560;;;:::o;2672:96:15:-;2730:7;2756:5;2760:1;2756;:5;:::i;8114:108:4:-;8189:26;8199:2;8203:7;8189:26;;;;;;;;;;;;:9;:26::i;2034:169:12:-;2108:6;;;-1:-1:-1;;;;;2124:17:12;;;-1:-1:-1;;;;;;2124:17:12;;;;;;;2156:40;;2108:6;;;2124:17;2108:6;;2156:40;;2089:16;;2156:40;2079:124;2034:169;:::o;6547:307:4:-;6698:28;6708:4;6714:2;6718:7;6698:9;:28::i;:::-;6744:48;6767:4;6773:2;6777:7;6786:5;6744:22;:48::i;:::-;6736:111;;;;-1:-1:-1;;;6736:111:4;;;;;;;:::i;3382:96:15:-;3440:7;3466:5;3470:1;3466;:5;:::i;2558:119:14:-;2618:13;2654:16;2647:23;;;;;:::i;275:703:16:-;331:13;548:10;544:51;;-1:-1:-1;;574:10:16;;;;;;;;;;;;-1:-1:-1;;;574:10:16;;;;;275:703::o;544:51::-;619:5;604:12;658:75;665:9;;658:75;;690:8;;;;:::i;:::-;;-1:-1:-1;712:10:16;;-1:-1:-1;720:2:16;712:10;;:::i;:::-;;;658:75;;;742:19;774:6;764:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:17:16;;742:39;;791:150;798:10;;791:150;;824:11;834:1;824:11;;:::i;:::-;;-1:-1:-1;892:10:16;900:2;892:5;:10;:::i;:::-;879:24;;:2;:24;:::i;:::-;866:39;;849:6;856;849:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;849:56:16;;;;;;;;-1:-1:-1;919:11:16;928:2;919:11;;:::i;:::-;;;791:150;;8443:311:4;8568:18;8574:2;8578:7;8568:5;:18::i;:::-;8617:54;8648:1;8652:2;8656:7;8665:5;8617:22;:54::i;:::-;8596:151;;;;-1:-1:-1;;;8596:151:4;;;;;;;:::i;11732:778::-;11882:4;-1:-1:-1;;;;;11902:13:4;;1034:20:0;1080:8;11898:606:4;;11937:72;;-1:-1:-1;;;11937:72:4;;-1:-1:-1;;;;;11937:36:4;;;;;:72;;666:10:1;;11988:4:4;;11994:7;;12003:5;;11937:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11937:72:4;;;;;;;;-1:-1:-1;;11937:72:4;;;;;;;;;;;;:::i;:::-;;;11933:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12176:13:4;;12172:266;;12218:60;;-1:-1:-1;;;12218:60:4;;;;;;;:::i;12172:266::-;12390:6;12384:13;12375:6;12371:2;12367:15;12360:38;11933:519;-1:-1:-1;;;;;;12059:51:4;-1:-1:-1;;;12059:51:4;;-1:-1:-1;12052:58:4;;11898:606;-1:-1:-1;12489:4:4;11732:778;;;;;;:::o;9076:372::-;-1:-1:-1;;;;;9155:16:4;;9147:61;;;;-1:-1:-1;;;9147:61:4;;14405:2:17;9147:61:4;;;14387:21:17;;;14424:18;;;14417:30;14483:34;14463:18;;;14456:62;14535:18;;9147:61:4;14203:356:17;9147:61:4;7222:4;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:4;:30;9218:58;;;;-1:-1:-1;;;9218:58:4;;9318:2:17;9218:58:4;;;9300:21:17;9357:2;9337:18;;;9330:30;9396;9376:18;;;9369:58;9444:18;;9218:58:4;9116:352:17;9218:58:4;-1:-1:-1;;;;;9343:13:4;;;;;;:9;:13;;;;;:18;;9360:1;;9343:13;:18;;9360:1;;9343:18;:::i;:::-;;;;-1:-1:-1;;9371:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9371:21:4;-1:-1:-1;;;;;9371:21:4;;;;;;;;9408:33;;9371:16;;;9408:33;;9371:16;;9408:33;9076:372;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:17;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:17;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:160::-;715:20;;771:13;;764:21;754:32;;744:60;;800:1;797;790:12;744:60;650:160;;;:::o;815:247::-;874:6;927:2;915:9;906:7;902:23;898:32;895:52;;;943:1;940;933:12;895:52;982:9;969:23;1001:31;1026:5;1001:31;:::i;1327:388::-;1395:6;1403;1456:2;1444:9;1435:7;1431:23;1427:32;1424:52;;;1472:1;1469;1462:12;1424:52;1511:9;1498:23;1530:31;1555:5;1530:31;:::i;:::-;1580:5;-1:-1:-1;1637:2:17;1622:18;;1609:32;1650:33;1609:32;1650:33;:::i;:::-;1702:7;1692:17;;;1327:388;;;;;:::o;1720:456::-;1797:6;1805;1813;1866:2;1854:9;1845:7;1841:23;1837:32;1834:52;;;1882:1;1879;1872:12;1834:52;1921:9;1908:23;1940:31;1965:5;1940:31;:::i;:::-;1990:5;-1:-1:-1;2047:2:17;2032:18;;2019:32;2060:33;2019:32;2060:33;:::i;:::-;1720:456;;2112:7;;-1:-1:-1;;;2166:2:17;2151:18;;;;2138:32;;1720:456::o;2181:794::-;2276:6;2284;2292;2300;2353:3;2341:9;2332:7;2328:23;2324:33;2321:53;;;2370:1;2367;2360:12;2321:53;2409:9;2396:23;2428:31;2453:5;2428:31;:::i;:::-;2478:5;-1:-1:-1;2535:2:17;2520:18;;2507:32;2548:33;2507:32;2548:33;:::i;:::-;2600:7;-1:-1:-1;2654:2:17;2639:18;;2626:32;;-1:-1:-1;2709:2:17;2694:18;;2681:32;2736:18;2725:30;;2722:50;;;2768:1;2765;2758:12;2722:50;2791:22;;2844:4;2836:13;;2832:27;-1:-1:-1;2822:55:17;;2873:1;2870;2863:12;2822:55;2896:73;2961:7;2956:2;2943:16;2938:2;2934;2930:11;2896:73;:::i;:::-;2886:83;;;2181:794;;;;;;;:::o;2980:315::-;3045:6;3053;3106:2;3094:9;3085:7;3081:23;3077:32;3074:52;;;3122:1;3119;3112:12;3074:52;3161:9;3148:23;3180:31;3205:5;3180:31;:::i;:::-;3230:5;-1:-1:-1;3254:35:17;3285:2;3270:18;;3254:35;:::i;:::-;3244:45;;2980:315;;;;;:::o;3300:::-;3368:6;3376;3429:2;3417:9;3408:7;3404:23;3400:32;3397:52;;;3445:1;3442;3435:12;3397:52;3484:9;3471:23;3503:31;3528:5;3503:31;:::i;:::-;3553:5;3605:2;3590:18;;;;3577:32;;-1:-1:-1;;;3300:315:17:o;3620:180::-;3676:6;3729:2;3717:9;3708:7;3704:23;3700:32;3697:52;;;3745:1;3742;3735:12;3697:52;3768:26;3784:9;3768:26;:::i;3805:245::-;3863:6;3916:2;3904:9;3895:7;3891:23;3887:32;3884:52;;;3932:1;3929;3922:12;3884:52;3971:9;3958:23;3990:30;4014:5;3990:30;:::i;4055:249::-;4124:6;4177:2;4165:9;4156:7;4152:23;4148:32;4145:52;;;4193:1;4190;4183:12;4145:52;4225:9;4219:16;4244:30;4268:5;4244:30;:::i;4309:450::-;4378:6;4431:2;4419:9;4410:7;4406:23;4402:32;4399:52;;;4447:1;4444;4437:12;4399:52;4487:9;4474:23;4520:18;4512:6;4509:30;4506:50;;;4552:1;4549;4542:12;4506:50;4575:22;;4628:4;4620:13;;4616:27;-1:-1:-1;4606:55:17;;4657:1;4654;4647:12;4606:55;4680:73;4745:7;4740:2;4727:16;4722:2;4718;4714:11;4680:73;:::i;4764:180::-;4823:6;4876:2;4864:9;4855:7;4851:23;4847:32;4844:52;;;4892:1;4889;4882:12;4844:52;-1:-1:-1;4915:23:17;;4764:180;-1:-1:-1;4764:180:17:o;4949:257::-;4990:3;5028:5;5022:12;5055:6;5050:3;5043:19;5071:63;5127:6;5120:4;5115:3;5111:14;5104:4;5097:5;5093:16;5071:63;:::i;:::-;5188:2;5167:15;-1:-1:-1;;5163:29:17;5154:39;;;;5195:4;5150:50;;4949:257;-1:-1:-1;;4949:257:17:o;5211:470::-;5390:3;5428:6;5422:13;5444:53;5490:6;5485:3;5478:4;5470:6;5466:17;5444:53;:::i;:::-;5560:13;;5519:16;;;;5582:57;5560:13;5519:16;5616:4;5604:17;;5582:57;:::i;:::-;5655:20;;5211:470;-1:-1:-1;;;;5211:470:17:o;6391:488::-;-1:-1:-1;;;;;6660:15:17;;;6642:34;;6712:15;;6707:2;6692:18;;6685:43;6759:2;6744:18;;6737:34;;;6807:3;6802:2;6787:18;;6780:31;;;6585:4;;6828:45;;6853:19;;6845:6;6828:45;:::i;:::-;6820:53;6391:488;-1:-1:-1;;;;;;6391:488:17:o;7355:219::-;7504:2;7493:9;7486:21;7467:4;7524:44;7564:2;7553:9;7549:18;7541:6;7524:44;:::i;7579:414::-;7781:2;7763:21;;;7820:2;7800:18;;;7793:30;7859:34;7854:2;7839:18;;7832:62;-1:-1:-1;;;7925:2:17;7910:18;;7903:48;7983:3;7968:19;;7579:414::o;14977:356::-;15179:2;15161:21;;;15198:18;;;15191:30;15257:34;15252:2;15237:18;;15230:62;15324:2;15309:18;;14977:356::o;16566:413::-;16768:2;16750:21;;;16807:2;16787:18;;;16780:30;16846:34;16841:2;16826:18;;16819:62;-1:-1:-1;;;16912:2:17;16897:18;;16890:47;16969:3;16954:19;;16566:413::o;17166:128::-;17206:3;17237:1;17233:6;17230:1;17227:13;17224:39;;;17243:18;;:::i;:::-;-1:-1:-1;17279:9:17;;17166:128::o;17299:120::-;17339:1;17365;17355:35;;17370:18;;:::i;:::-;-1:-1:-1;17404:9:17;;17299:120::o;17424:168::-;17464:7;17530:1;17526;17522:6;17518:14;17515:1;17512:21;17507:1;17500:9;17493:17;17489:45;17486:71;;;17537:18;;:::i;:::-;-1:-1:-1;17577:9:17;;17424:168::o;17597:125::-;17637:4;17665:1;17662;17659:8;17656:34;;;17670:18;;:::i;:::-;-1:-1:-1;17707:9:17;;17597:125::o;17727:258::-;17799:1;17809:113;17823:6;17820:1;17817:13;17809:113;;;17899:11;;;17893:18;17880:11;;;17873:39;17845:2;17838:10;17809:113;;;17940:6;17937:1;17934:13;17931:48;;;-1:-1:-1;;17975:1:17;17957:16;;17950:27;17727:258::o;17990:380::-;18069:1;18065:12;;;;18112;;;18133:61;;18187:4;18179:6;18175:17;18165:27;;18133:61;18240:2;18232:6;18229:14;18209:18;18206:38;18203:161;;;18286:10;18281:3;18277:20;18274:1;18267:31;18321:4;18318:1;18311:15;18349:4;18346:1;18339:15;18203:161;;17990:380;;;:::o;18375:135::-;18414:3;-1:-1:-1;;18435:17:17;;18432:43;;;18455:18;;:::i;:::-;-1:-1:-1;18502:1:17;18491:13;;18375:135::o;18515:112::-;18547:1;18573;18563:35;;18578:18;;:::i;:::-;-1:-1:-1;18612:9:17;;18515:112::o;18632:127::-;18693:10;18688:3;18684:20;18681:1;18674:31;18724:4;18721:1;18714:15;18748:4;18745:1;18738:15;18764:127;18825:10;18820:3;18816:20;18813:1;18806:31;18856:4;18853:1;18846:15;18880:4;18877:1;18870:15;18896:127;18957:10;18952:3;18948:20;18945:1;18938:31;18988:4;18985:1;18978:15;19012:4;19009:1;19002:15;19028:127;19089:10;19084:3;19080:20;19077:1;19070:31;19120:4;19117:1;19110:15;19144:4;19141:1;19134:15;19160:131;-1:-1:-1;;;;;19235:31:17;;19225:42;;19215:70;;19281:1;19278;19271:12;19296:131;-1:-1:-1;;;;;;19370:32:17;;19360:43;;19350:71;;19417:1;19414;19407:12
Swarm Source
ipfs://62e62b478a4be87637329fb1ad9f5fc6e956860cd189a7e7adb4a4d03b5d0baf
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.