File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/subgraph-service/contracts/libraries Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ library Decoder {
16
16
* @notice Decodes the data for collecting indexing fees.
17
17
*
18
18
* @param data The data to decode.
19
- * @return The decoded data
19
+ * @return agreementId The agreement ID
20
+ * @return nestedData The nested encoded data
20
21
*/
21
22
function decodeCollectIndexingFeeData (bytes memory data ) public pure returns (bytes16 , bytes memory ) {
22
23
try UnsafeDecoder.decodeCollectIndexingFeeData_ (data) returns (bytes16 agreementId , bytes memory nestedData ) {
@@ -66,6 +67,9 @@ library Decoder {
66
67
* @notice Decodes the collect data for indexing fees V1.
67
68
*
68
69
* @param data The data to decode.
70
+ * @return entities The number of entities
71
+ * @return poi The proof of indexing (POI)
72
+ * @return epoch The epoch of the POI
69
73
*/
70
74
function decodeCollectIndexingFeeDataV1 (bytes memory data ) public pure returns (uint256 , bytes32 , uint256 ) {
71
75
try UnsafeDecoder.decodeCollectIndexingFeeDataV1_ (data) returns (uint256 entities , bytes32 poi , uint256 epoch ) {
You can’t perform that action at this time.
0 commit comments