Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Generate & write/print CoinTracking import files.
Synopsis
- makeCoinTrackingImport :: FilePath -> [(StakingAccount, StakeReward)] -> IO ()
- writeOrPrintImportData :: FilePath -> [CTImportData] -> IO ()
- makeImportData :: [(StakingAccount, StakeReward)] -> IO [CTImportData]
- sol :: Currency
Documentation
makeCoinTrackingImport :: FilePath -> [(StakingAccount, StakeReward)] -> IO () Source #
Generate the Import file for CoinTracking & write to destination or print to stdout.
writeOrPrintImportData :: FilePath -> [CTImportData] -> IO () Source #
Write or print the generated import data.
makeImportData :: [(StakingAccount, StakeReward)] -> IO [CTImportData] Source #
Turn a StakeReward
into a CTImportData
, localizing the reward
time.