bnb-staking-csvs-0.2.2.0: Generate CSV Exports of Your BNB Staking Rewards.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Console.BnbStaking.CoinTracking

Description

Generate & write/print CoinTracking Bulk Import files.

Synopsis

Documentation

makeCoinTrackingImport Source #

Arguments

:: FilePath

Destination. xls or xlsx extensions generate the Excel import, any other extension will generate the CSV import.

-> 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.

bnb :: Currency Source #

Binance Coin currency with the BNB ticker & 8 decimals of precision.