Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bjorn/raccoin
/ functions
Functions
197 in github.com/bjorn/raccoin
⨍
Functions
197
◇
Types & classes
73
↓ 35 callers
Method
to_string
(&self)
src/main.rs:173
↓ 28 callers
Function
rounded_to_cent
(amount: Decimal)
src/main.rs:40
↓ 23 callers
Method
is_fiat
(&self)
src/base.rs:116
↓ 12 callers
Method
is_zero
(&self)
src/base.rs:120
↓ 11 callers
Method
refresh_ui
(&self)
src/main.rs:516
↓ 10 callers
Method
refresh_transactions
(&mut self)
src/main.rs:476
↓ 9 callers
Method
save_portfolio
(&mut self, portfolio_file: Option<PathBuf>)
src/main.rs:433
↓ 9 callers
Method
ui
(&self)
src/main.rs:481
↓ 8 callers
Method
try_add
(&self, amount: &Amount)
src/base.rs:128
↓ 6 callers
Function
asset_to_string
(asset: &Asset)
src/horizon.rs:35
↓ 6 callers
Function
cmc_id
Maps currencies to their CMC ID todo: support more currencies and load from file
src/base.rs:10
↓ 6 callers
Method
headers
(&self)
src/main.rs:131
↓ 5 callers
Method
dispose_holdings
(&mut self, capital_gains: &mut Vec<CapitalGain>, transaction: &Transaction, outgoing: &Amount, value: Option<
src/fifo.rs:325
↓ 5 callers
Method
incoming_outgoing
(&self)
src/base.rs:342
↓ 5 callers
Method
is_send
(&self)
src/base.rs:256
↓ 5 callers
Function
normalize_currency
Poloniex reported XLM as STR
src/poloniex.rs:99
↓ 5 callers
Method
to_transaction
(&self, own_address: &Address)
src/etherscan.rs:44
↓ 5 callers
Method
value
(&self)
src/etherscan.rs:77
↓ 4 callers
Method
add_holdings
(&mut self, tx: &Transaction, amount: &Amount, value: Option<&Amount>)
src/fifo.rs:304
↓ 4 callers
Method
cmp
(&self, other: &Self)
src/main.rs:299
↓ 4 callers
Method
delimiter
(&self)
src/main.rs:108
↓ 4 callers
Method
estimate_value
(&self, timestamp: NaiveDateTime, amount: &Amount)
src/base.rs:525
↓ 4 callers
Method
long_term
(&self)
src/fifo.rs:40
↓ 4 callers
Function
summary_for
(currencies: &'a mut Vec<CurrencySummary>, currency: &str)
src/main.rs:1038
↓ 3 callers
Function
address_transactions
( address: &str, )
src/horizon.rs:245
↓ 3 callers
Function
get_or_default
A helper function that returns a mutable reference to a value in a hash map, without allocating a new key when the map already contains a value for th
src/main.rs:829
↓ 3 callers
Function
load_transactions
loads a Bitcoin Core CSV file into a list of unified transactions
src/bitcoin_core.rs:61
↓ 3 callers
Function
normalize_currency
Binance reported BCH as BCC
src/binance.rs:114
↓ 3 callers
Function
normalize_currency
FTX trades report in USD even if USDC was deposited. This is likely not the right way to resolve this issue...
src/ftx.rs:109
↓ 3 callers
Function
normalize_currency_for_amount
(timestamp: NaiveDateTime, amount: Amount)
src/binance.rs:125
↓ 3 callers
Function
save_csv_file
(title: &str, starting_file_name: &str)
src/main.rs:1871
↓ 3 callers
Method
timestamp
(&self)
src/etherscan.rs:21
↓ 3 callers
Function
u256_to_eth
(value: U256)
src/etherscan.rs:13
↓ 2 callers
Method
add_holdings_with_timestamp
(&mut self, tx: &Transaction, amount: &Amount, value: Option<&Amount>, timestamp: NaiveDateTime)
src/fifo.rs:308
↓ 2 callers
Function
address_txs
( client: &AsyncClient, address: &Address, )
src/esplora.rs:97
↓ 2 callers
Method
estimate_price
todo: would be nice to expose the accuracy in the UI
src/base.rs:514
↓ 2 callers
Function
fiat_value
(amount: Option<&Amount>)
src/fifo.rs:49
↓ 2 callers
Method
gains
Determines the capital gains made with this sale based on the oldest holdings and the current price. Consumes the holdings in the process.
src/fifo.rs:215
↓ 2 callers
Method
has_incoming
(&self)
src/base.rs:374
↓ 2 callers
Method
holdings_for_currency
(&mut self, currency: &str)
src/fifo.rs:290
↓ 2 callers
Method
is_receive
(&self)
src/base.rs:248
↓ 2 callers
Method
is_trade
(&self)
src/base.rs:264
↓ 2 callers
Method
load_portfolio
(&mut self, file_path: &Path)
src/main.rs:410
↓ 2 callers
Function
normalize_asset
(code: &str, issuer: &str)
src/horizon.rs:27
↓ 2 callers
Function
process_transactions
Converts the transactions, using a set of tx_hash to skip duplicates
src/esplora.rs:238
↓ 2 callers
Method
profit
(&self)
src/fifo.rs:44
↓ 2 callers
Function
save_gains_to_csv
(gains: &Vec<CapitalGain>, output_path: &Path)
src/fifo.rs:366
↓ 2 callers
Function
save_summary_to_csv
(report: &TaxReport, output_path: &Path)
src/main.rs:533
↓ 2 callers
Function
scan_children
( client: &AsyncClient, address_transactions: &mut HashMap<Address, Result<Vec<Tx>>>, secp: &Secp2
src/esplora.rs:131
↓ 2 callers
Method
token_currency
(&self)
src/base.rs:124
↓ 2 callers
Method
total_capital_gains
(&self)
src/main.rs:328
↓ 2 callers
Method
total_capital_losses
(&self)
src/main.rs:332
↓ 2 callers
Method
transactions_model
(&self)
src/main.rs:489
↓ 2 callers
Function
u256_to_decimal
(value: U256)
src/etherscan.rs:9
↓ 2 callers
Function
ui_set_transactions
(app: &App)
src/main.rs:1266
↓ 2 callers
Function
ui_set_wallets
(app: &App)
src/main.rs:1233
↓ 1 callers
Function
async_esplora_client
()
src/esplora.rs:9
↓ 1 callers
Function
calculate_balances
(transactions: &[Transaction])
src/main.rs:843
↓ 1 callers
Function
calculate_tax_reports
(transactions: &mut Vec<Transaction>)
src/main.rs:1035
↓ 1 callers
Method
close_portfolio
(&mut self)
src/main.rs:470
↓ 1 callers
Method
cmc_id
(&self)
src/base.rs:142
↓ 1 callers
Method
cmp
Used to sort transactions by date, and placing incoming transactions before outgoing ones.
src/base.rs:380
↓ 1 callers
Function
convert_ctc_to_coinpanda
(ctc: &'a CtcTx)
src/coinpanda.rs:129
↓ 1 callers
Method
cost_base
(&self)
src/fifo.rs:20
↓ 1 callers
Function
csv_file_has_headers
(path: &Path, delimiter: u8, skip_lines: usize, headers: &[&str])
src/main.rs:81
↓ 1 callers
Method
currency_balance
(&self, currency: &str)
src/fifo.rs:277
↓ 1 callers
Method
currency_cost_base
(&self, currency: &str)
src/fifo.rs:281
↓ 1 callers
Function
estimate_price
(time: NaiveDateTime, prices: &Vec<PricePoint>)
src/base.rs:567
↓ 1 callers
Function
estimate_transaction_values
(transactions: &mut Vec<Transaction>, price_history: &PriceHistory)
src/main.rs:987
↓ 1 callers
Function
export_all_to
Exports the tax reports for each year
src/main.rs:601
↓ 1 callers
Method
extract_transactions
(self, transactions: &mut Vec<Transaction>)
src/trezor.rs:170
↓ 1 callers
Method
fee
(&self)
src/etherscan.rs:30
↓ 1 callers
Method
from
(&self)
src/etherscan.rs:84
↓ 1 callers
Method
gas_price
(&self)
src/etherscan.rs:85
↓ 1 callers
Method
gas_used
(&self)
src/etherscan.rs:86
↓ 1 callers
Method
hash
(&self)
src/etherscan.rs:26
↓ 1 callers
Method
hash_h256
(&self)
src/etherscan.rs:82
↓ 1 callers
Method
holdings
Read-only access to the holdings.
src/fifo.rs:286
↓ 1 callers
Function
initialize_ui
(app: &mut App)
src/main.rs:1192
↓ 1 callers
Function
load_binance_bnb_convert_csv
(input_path: &Path)
src/binance.rs:323
↓ 1 callers
Function
load_binance_spot_trades_csv
(input_path: &Path)
src/binance.rs:309
↓ 1 callers
Function
load_binance_transaction_records_csv
(input_path: &Path)
src/binance.rs:262
↓ 1 callers
Function
load_bitcoin_core_csv
loads a Bitcoin Core CSV file into a list of unified transactions
src/bitcoin_core.rs:78
↓ 1 callers
Function
load_bitcoin_de_csv
loads a bitcoin.de CSV file into a list of unified transactions
src/bitcoin_de.rs:104
↓ 1 callers
Function
load_bitonic_csv
loads a bitonic CSV file into a list of unified transactions
src/bitonic.rs:52
↓ 1 callers
Function
load_bitstamp_csv
loads a Bitstamp CSV file into a list of unified transactions
src/bitstamp.rs:92
↓ 1 callers
Function
load_bittrex_order_history_csv
loads a Bittrex Order History CSV file into a list of unified transactions
src/bittrex.rs:121
↓ 1 callers
Function
load_bittrex_transaction_history_csv
loads a Bittrex Transaction History CSV file into a list of unified transactions
src/bittrex.rs:135
↓ 1 callers
Function
load_btc_price_history_data
()
src/base.rs:553
↓ 1 callers
Function
load_ctc_csv
loads a CSV file that was prepared in CryptoTaxCalculator import format
src/ctc.rs:401
↓ 1 callers
Function
load_electrum_csv
loads an Electrum CSV file into a list of unified transactions
src/electrum.rs:42
↓ 1 callers
Function
load_ftx_deposits_csv
(input_path: &Path)
src/ftx.rs:138
↓ 1 callers
Function
load_ftx_trades_csv
(input_path: &Path)
src/ftx.rs:162
↓ 1 callers
Function
load_ftx_withdrawals_csv
(input_path: &Path)
src/ftx.rs:150
↓ 1 callers
Function
load_liquid_deposits_csv
(input_path: &Path)
src/liquid.rs:162
↓ 1 callers
Function
load_liquid_trades_csv
(input_path: &Path)
src/liquid.rs:186
↓ 1 callers
Function
load_liquid_withdrawals_csv
(input_path: &Path)
src/liquid.rs:174
↓ 1 callers
Function
load_mycelium_csv
loads a Mycelium CSV file into a list of unified transactions
src/mycelium.rs:63
↓ 1 callers
Function
load_peercoin_csv
loads a Peercoin CSV file into a list of unified transactions
src/bitcoin_core.rs:83
↓ 1 callers
Function
load_poloniex_deposits_csv
loads a Poloniex Deposits CSV file into a list of unified transactions
src/poloniex.rs:174
next →
1–100 of 197, ranked by callers