Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cooked.Skeleton.Proposal
Documentation
data TxParameterChange where Source #
Constructors
FeePerByte :: Integer -> TxParameterChange | The linear factor for the minimum fee calculation |
FeeFixed :: Integer -> TxParameterChange | The constant factor for the minimum fee calculation |
MaxBlockBodySize :: Integer -> TxParameterChange | Maximal block body size |
MaxTxSize :: Integer -> TxParameterChange | Maximal transaction size |
MaxBlockHeaderSize :: Integer -> TxParameterChange | Maximal block header size |
KeyDeposit :: Integer -> TxParameterChange | The amount of a key registration deposit |
PoolDeposit :: Integer -> TxParameterChange | The amount of a pool registration deposit |
PoolRetirementMaxEpoch :: Integer -> TxParameterChange | Maximum number of epochs in the future a pool retirement is allowed to be scheduled future for. |
PoolNumber :: Integer -> TxParameterChange | Desired number of pools |
PoolInfluence :: Rational -> TxParameterChange | Pool influence |
MonetaryExpansion :: Rational -> TxParameterChange | Monetary expansion |
TreasuryCut :: Rational -> TxParameterChange | Treasury expansion |
MinPoolCost :: Integer -> TxParameterChange | Minimum Stake Pool Cost |
CoinsPerUTxOByte :: Integer -> TxParameterChange | Cost in lovelace per byte of UTxO storage |
CostModels | Cost models for non-native script languages |
Fields
| |
Prices | Prices of execution units |
Fields
| |
MaxTxExUnits | Max total script execution resources units allowed per tx |
Fields
| |
MaxBlockExUnits | Max total script execution resources units allowed per block |
Fields
| |
MaxValSize :: Integer -> TxParameterChange | Max size of a Value in an output |
CollateralPercentage :: Integer -> TxParameterChange | Percentage of the txfee which must be provided as collateral when including non-native scripts. |
MaxCollateralInputs :: Integer -> TxParameterChange | Maximum number of collateral inputs allowed in a transaction |
PoolVotingThresholds | Thresholds for pool votes |
Fields
| |
DRepVotingThresholds | Thresholds for DRep votes |
Fields
| |
CommitteeMinSize :: Integer -> TxParameterChange | Minimum size of the Constitutional Committee |
CommitteeMaxTermLength :: Integer -> TxParameterChange | The Constitutional Committee Term limit in number of Slots |
GovActionLifetime :: Integer -> TxParameterChange | Gov action lifetime in number of Epochs |
GovActionDeposit :: Integer -> TxParameterChange | The amount of the Gov Action deposit |
DRepRegistrationDeposit :: Integer -> TxParameterChange | The amount of a DRep registration deposit |
DRepActivity :: Integer -> TxParameterChange | The number of Epochs that a DRep can perform no activity without losing
their |
Instances
Show TxParameterChange Source # | |
Defined in Cooked.Skeleton.Proposal Methods showsPrec :: Int -> TxParameterChange -> ShowS # show :: TxParameterChange -> String # showList :: [TxParameterChange] -> ShowS # | |
Eq TxParameterChange Source # | |
Defined in Cooked.Skeleton.Proposal Methods (==) :: TxParameterChange -> TxParameterChange -> Bool # (/=) :: TxParameterChange -> TxParameterChange -> Bool # |
data TxGovAction where Source #
Constructors
Instances
Show TxGovAction Source # | |
Defined in Cooked.Skeleton.Proposal Methods showsPrec :: Int -> TxGovAction -> ShowS # show :: TxGovAction -> String # showList :: [TxGovAction] -> ShowS # | |
Eq TxGovAction Source # | |
Defined in Cooked.Skeleton.Proposal |
data TxSkelProposal where Source #
Constructors
TxSkelProposal | |
Fields
|
Instances
Show TxSkelProposal Source # | |
Defined in Cooked.Skeleton.Proposal Methods showsPrec :: Int -> TxSkelProposal -> ShowS # show :: TxSkelProposal -> String # showList :: [TxSkelProposal] -> ShowS # | |
Eq TxSkelProposal Source # | |
Defined in Cooked.Skeleton.Proposal Methods (==) :: TxSkelProposal -> TxSkelProposal -> Bool # (/=) :: TxSkelProposal -> TxSkelProposal -> Bool # |
simpleTxSkelProposal :: ToAddress a => a -> TxGovAction -> TxSkelProposal Source #
withWitness :: ToVersionedScript a => TxSkelProposal -> (a, TxSkelRedeemer) -> TxSkelProposal Source #
withAnchor :: TxSkelProposal -> String -> TxSkelProposal Source #