Skip to content

Commit f729818

Browse files
f: more NatSpec
1 parent f124dce commit f729818

File tree

1 file changed

+5
-1
lines changed
  • packages/subgraph-service/contracts/libraries

1 file changed

+5
-1
lines changed

packages/subgraph-service/contracts/libraries/Decoder.sol

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ library Decoder {
1616
* @notice Decodes the data for collecting indexing fees.
1717
*
1818
* @param data The data to decode.
19-
* @return The decoded data
19+
* @return agreementId The agreement ID
20+
* @return nestedData The nested encoded data
2021
*/
2122
function decodeCollectIndexingFeeData(bytes memory data) public pure returns (bytes16, bytes memory) {
2223
try UnsafeDecoder.decodeCollectIndexingFeeData_(data) returns (bytes16 agreementId, bytes memory nestedData) {
@@ -66,6 +67,9 @@ library Decoder {
6667
* @notice Decodes the collect data for indexing fees V1.
6768
*
6869
* @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
6973
*/
7074
function decodeCollectIndexingFeeDataV1(bytes memory data) public pure returns (uint256, bytes32, uint256) {
7175
try UnsafeDecoder.decodeCollectIndexingFeeDataV1_(data) returns (uint256 entities, bytes32 poi, uint256 epoch) {

0 commit comments

Comments
 (0)