-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1176 from cardano-foundation/feat/MET-2039-drep-o…
…verview-filter-and-sort feat: obtain range values and fix date filtering in DRep filter
- Loading branch information
Showing
8 changed files
with
74 additions
and
16 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
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
17 changes: 17 additions & 0 deletions
17
.../java/org/cardanofoundation/explorer/api/model/response/drep/DRepRangeValuesResponse.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.cardanofoundation.explorer.api.model.response.drep; | ||
|
||
import java.math.BigInteger; | ||
|
||
import lombok.Data; | ||
import lombok.experimental.SuperBuilder; | ||
|
||
@Data | ||
@SuperBuilder | ||
public class DRepRangeValuesResponse { | ||
Double minVotingPower; | ||
Double maxVotingPower; | ||
|
||
BigInteger maxActiveVoteStake; | ||
|
||
BigInteger minActiveVoteStake; | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/java/org/cardanofoundation/explorer/api/projection/DRepRangeProjection.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.cardanofoundation.explorer.api.projection; | ||
|
||
import java.math.BigInteger; | ||
|
||
public interface DRepRangeProjection { | ||
BigInteger getMinActiveVoteStake(); | ||
|
||
BigInteger getMaxActiveVoteStake(); | ||
|
||
Double getMinVotingPower(); | ||
|
||
Double getMaxVotingPower(); | ||
} |
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