-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: #17 ProtocolParamUpdate and PlutusV3 for Conway era
- Loading branch information
Showing
8 changed files
with
212 additions
and
11 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
core/src/main/java/com/bloxbean/cardano/yaci/core/model/DrepVoteThresholds.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,37 @@ | ||
package com.bloxbean.cardano.yaci.core.model; | ||
|
||
import lombok.*; | ||
|
||
import java.math.BigDecimal; | ||
|
||
/** | ||
* drep_voting_thresholds = | ||
* [ unit_interval ; motion no confidence | ||
* , unit_interval ; committee normal | ||
* , unit_interval ; committee no confidence | ||
* , unit_interval ; update constitution | ||
* , unit_interval ; hard fork initiation | ||
* , unit_interval ; PP network group | ||
* , unit_interval ; PP economic group | ||
* , unit_interval ; PP technical group | ||
* , unit_interval ; PP governance group | ||
* , unit_interval ; treasury withdrawal | ||
* ] | ||
*/ | ||
@Getter | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Builder | ||
@ToString | ||
public class DrepVoteThresholds { | ||
private BigDecimal motionNoConfidence; | ||
private BigDecimal committeeNormal; | ||
private BigDecimal committeeNoConfidence; | ||
private BigDecimal updateConstitution; | ||
private BigDecimal hardForkInitiation; | ||
private BigDecimal ppNetworkGroup; | ||
private BigDecimal ppEconomicGroup; | ||
private BigDecimal ppTechnicalGroup; | ||
private BigDecimal ppGovernanceGroup; | ||
private BigDecimal treasuryWithdrawal; | ||
} |
25 changes: 25 additions & 0 deletions
25
core/src/main/java/com/bloxbean/cardano/yaci/core/model/PoolVotingThresholds.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,25 @@ | ||
package com.bloxbean.cardano.yaci.core.model; | ||
|
||
import lombok.*; | ||
|
||
import java.math.BigDecimal; | ||
|
||
/** | ||
* pool_voting_thresholds = | ||
* [ unit_interval ; motion no confidence | ||
* , unit_interval ; committee normal | ||
* , unit_interval ; committee no confidence | ||
* , unit_interval ; hard fork initiation | ||
* ] | ||
*/ | ||
@Getter | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Builder | ||
@ToString | ||
public class PoolVotingThresholds { | ||
private BigDecimal motionNoConfidence; | ||
private BigDecimal committeeNormal; | ||
private BigDecimal committeeNoConfidence; | ||
private BigDecimal hardForkInitiation; | ||
} |
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
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