-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replaced unique account and poolstatus with explorer aggregator
- Loading branch information
Showing
26 changed files
with
318 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
src/main/java/org/cardanofoundation/explorer/api/common/enumeration/RedisKey.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
src/main/java/org/cardanofoundation/explorer/api/projection/UniqueAddressProjection.java
This file was deleted.
Oops, something went wrong.
13 changes: 10 additions & 3 deletions
13
src/main/java/org/cardanofoundation/explorer/api/service/ExplorerAggregatorService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
package org.cardanofoundation.explorer.api.service; | ||
|
||
import java.util.List; | ||
import java.util.Optional; | ||
|
||
import org.springframework.data.domain.Pageable; | ||
|
||
import org.cardanofoundation.cf_explorer_aggregator.AddressTxCountRecord; | ||
import org.cardanofoundation.cf_explorer_aggregator.PoolAggregationRecord; | ||
import org.cardanofoundation.cf_explorer_aggregator.PoolStatusRecord; | ||
import org.cardanofoundation.cf_explorer_aggregator.UniqueAccountRecord; | ||
|
||
public interface ExplorerAggregatorService { | ||
|
||
Optional<AddressTxCountRecord> getTxCountForAddress(String address); | ||
|
||
Optional<UniqueAccountRecord> getUniqueAccountForEpoch(int epoch); | ||
|
||
Optional<PoolStatusRecord> getPoolStatusForPoolId(String poolId); | ||
|
||
PoolAggregationRecord getLatestPoolAggregation(); | ||
|
||
Optional<PoolAggregationRecord> getPoolAggregationByEpoch(int epoch); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.