solana-staking-csvs-0.1.3.0: Generate CSV Exports of your Solana Staking Rewards.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Console.SolanaStaking.CoinTracking

Description

Generate & write/print CoinTracking import files.

Synopsis

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.

sol :: Currency Source #

SOL currency with the SOL2 ticker & 9 decimals of precision.