Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Generate & write/print CoinTracking Bulk Import files.
Synopsis
- makeCoinTrackingImport :: FilePath -> String -> [Reward] -> IO ()
- writeOrPrintImportData :: FilePath -> [CTImportData] -> IO ()
- makeImportData :: String -> [Reward] -> IO [CTImportData]
- bnb :: Currency
Documentation
makeCoinTrackingImport Source #
:: FilePath | Destination. |
-> String | Account's PubKey |
-> [Reward] | |
-> IO () |
Generate the Bulk Import file for CoinTracking & write to destination
or print to stdout if destinatin is "-"
.
writeOrPrintImportData :: FilePath -> [CTImportData] -> IO () Source #
Write or print the generated import data.
makeImportData :: String -> [Reward] -> IO [CTImportData] Source #
Turn an account pubkey & reward into a CTImportData
, localizing the
reward time.