| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.CLI.EraBased.Genesis.Internal.Common
Contents
Synopsis
- decodeShelleyGenesisFile :: forall t (m :: Type -> Type). MonadIOTransError GenesisCmdError t m => FilePath -> t m ShelleyGenesis
- decodeAlonzoGenesisFile :: forall t (m :: Type -> Type). MonadIOTransError GenesisCmdError t m => FilePath -> t m AlonzoGenesis
- decodeConwayGenesisFile :: forall t (m :: Type -> Type). MonadIOTransError GenesisCmdError t m => FilePath -> t m ConwayGenesis
- decodeDijkstraGenesisFile :: forall t (m :: Type -> Type). MonadIOTransError GenesisCmdError t m => FilePath -> t m DijkstraGenesis
- genStuffedAddress :: Network -> IO (AddressInEra ShelleyEra)
- getCurrentTimePlus30 :: MonadIO m => m UTCTime
- readRelays :: forall (m :: Type -> Type). MonadIO m => FilePath -> ExceptT GenesisCmdError m (Map Word [StakePoolRelay])
- readProtocolParameters :: IsEra era => ProtocolParamsFile -> ExceptT ProtocolParamsError IO (PParams (LedgerEra era))
Documentation
decodeShelleyGenesisFile :: forall t (m :: Type -> Type). MonadIOTransError GenesisCmdError t m => FilePath -> t m ShelleyGenesis Source #
decodeAlonzoGenesisFile :: forall t (m :: Type -> Type). MonadIOTransError GenesisCmdError t m => FilePath -> t m AlonzoGenesis Source #
Decode Alonzo Genesis file. See decodeAlonzoGenesis haddocks for details.
decodeConwayGenesisFile :: forall t (m :: Type -> Type). MonadIOTransError GenesisCmdError t m => FilePath -> t m ConwayGenesis Source #
decodeDijkstraGenesisFile :: forall t (m :: Type -> Type). MonadIOTransError GenesisCmdError t m => FilePath -> t m DijkstraGenesis Source #
genStuffedAddress :: Network -> IO (AddressInEra ShelleyEra) Source #
getCurrentTimePlus30 :: MonadIO m => m UTCTime Source #
Current UTCTime plus 30 seconds
Arguments
| :: forall (m :: Type -> Type). MonadIO m | |
| => FilePath | The file to read from |
| -> ExceptT GenesisCmdError m (Map Word [StakePoolRelay]) |
Protocol Parameters
readProtocolParameters :: IsEra era => ProtocolParamsFile -> ExceptT ProtocolParamsError IO (PParams (LedgerEra era)) Source #