You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/src/CurateView.sol
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,9 @@ import {Curate, IArbitratorV2} from "./CurateV2.sol";
14
14
/// A view contract to fetch, batch, parse and return Curate contract data efficiently.
15
15
/// This contract includes functions that can halt execution due to out-of-gas exceptions. Because of this it should never be relied upon by other contracts.
16
16
contractCurateView {
17
+
// ************************************* //
18
+
// * Enums / Structs * //
19
+
// ************************************* //
17
20
struct QueryResult {
18
21
bytes32 ID;
19
22
Curate.Status status;
@@ -45,6 +48,10 @@ contract CurateView {
45
48
uint256 arbitrationCost;
46
49
}
47
50
51
+
// ************************************* //
52
+
// * Public Views * //
53
+
// ************************************* //
54
+
48
55
/// @dev Fetch Curate storage in a single call.
49
56
/// @param _address The address of the Curate contract to query.
0 commit comments