44
55namespace Taxes ;
66
7- class CryptoEventsReader ( Basics basics )
7+ public class CryptoEventsReader ( Basics basics )
88{
99 // Unlike stocks, which are considered distinct assets, all cryptos, from a tax perspective, are considered a single asset.
1010 // When a stock is bought or sold, the tax office looks into what specific stock has been affected by the financial event, and tax
@@ -21,13 +21,13 @@ class CryptoEventsReader(Basics basics)
2121 // TRANSFER,Current,2022-06-25 13:29:03,2022-06-25 13:29:03,Exchanged to ZRX,1000.0000000000,ZRX,293.9067439000,298.3167439000,4.4100000000,EUR,COMPLETED,1000.0000000000
2222 // REWARD,Current,2022-06-25 13:29:03,2022-06-25 13:29:03,Exchanged to ZRX,1000.0000000000,ZRX,293.9067439000,298.3167439000,4.4100000000,EUR,COMPLETED,1000.0000000000
2323
24- const string Type_Reset = "RESET" ;
25- const string Type_Transfer = "TRANSFER" ;
26- const string Type_Exchange = "EXCHANGE" ;
27- const string Type_Reward = "REWARD" ;
28- const string Product_Current = "Current" ;
29- const string Product_CryptoStaking = "Crypto Staking" ;
30- const string State_Completed = "COMPLETED" ;
24+ private const string Type_Reset = "RESET" ;
25+ private const string Type_Transfer = "TRANSFER" ;
26+ private const string Type_Exchange = "EXCHANGE" ;
27+ private const string Type_Reward = "REWARD" ;
28+ private const string Product_Current = "Current" ;
29+ private const string Product_CryptoStaking = "Crypto Staking" ;
30+ private const string State_Completed = "COMPLETED" ;
3131
3232 // Example of 2025 CSV format:
3333 // Symbol,Type,Quantity,Price,Value,Fees,Date
@@ -37,9 +37,9 @@ class CryptoEventsReader(Basics basics)
3737 // BTC,Sell,0.03053533,"EUR 63,551.31","EUR 1,940.56",EUR 19.21,"May 22, 2024, 3:30:49 PM"
3838 // ETH,Sell,0.1,"3,235.24 CHF",323.52 CHF,2.55 CHF,"Dec 1, 2024, 7:58:16 PM"
3939
40- const string Type2025_Buy = "Buy" ;
41- const string Type2025_Sell = "Sell" ;
42- const string Type2025_Reset = "Reset" ;
40+ private const string Type2025_Buy = "Buy" ;
41+ private const string Type2025_Sell = "Sell" ;
42+ private const string Type2025_Reset = "Reset" ;
4343
4444 public Basics Basics => basics ;
4545
0 commit comments