MCPcopy Create free account

hub / github.com/bjorn/raccoin / functions

Functions197 in github.com/bjorn/raccoin

↓ 35 callersMethodto_string
(&self)
src/main.rs:173
↓ 28 callersFunctionrounded_to_cent
(amount: Decimal)
src/main.rs:40
↓ 23 callersMethodis_fiat
(&self)
src/base.rs:116
↓ 12 callersMethodis_zero
(&self)
src/base.rs:120
↓ 11 callersMethodrefresh_ui
(&self)
src/main.rs:516
↓ 10 callersMethodrefresh_transactions
(&mut self)
src/main.rs:476
↓ 9 callersMethodsave_portfolio
(&mut self, portfolio_file: Option<PathBuf>)
src/main.rs:433
↓ 9 callersMethodui
(&self)
src/main.rs:481
↓ 8 callersMethodtry_add
(&self, amount: &Amount)
src/base.rs:128
↓ 6 callersFunctionasset_to_string
(asset: &Asset)
src/horizon.rs:35
↓ 6 callersFunctioncmc_id
Maps currencies to their CMC ID todo: support more currencies and load from file
src/base.rs:10
↓ 6 callersMethodheaders
(&self)
src/main.rs:131
↓ 5 callersMethoddispose_holdings
(&mut self, capital_gains: &mut Vec<CapitalGain>, transaction: &Transaction, outgoing: &Amount, value: Option<
src/fifo.rs:325
↓ 5 callersMethodincoming_outgoing
(&self)
src/base.rs:342
↓ 5 callersMethodis_send
(&self)
src/base.rs:256
↓ 5 callersFunctionnormalize_currency
Poloniex reported XLM as STR
src/poloniex.rs:99
↓ 5 callersMethodto_transaction
(&self, own_address: &Address)
src/etherscan.rs:44
↓ 5 callersMethodvalue
(&self)
src/etherscan.rs:77
↓ 4 callersMethodadd_holdings
(&mut self, tx: &Transaction, amount: &Amount, value: Option<&Amount>)
src/fifo.rs:304
↓ 4 callersMethodcmp
(&self, other: &Self)
src/main.rs:299
↓ 4 callersMethoddelimiter
(&self)
src/main.rs:108
↓ 4 callersMethodestimate_value
(&self, timestamp: NaiveDateTime, amount: &Amount)
src/base.rs:525
↓ 4 callersMethodlong_term
(&self)
src/fifo.rs:40
↓ 4 callersFunctionsummary_for
(currencies: &'a mut Vec<CurrencySummary>, currency: &str)
src/main.rs:1038
↓ 3 callersFunctionaddress_transactions
( address: &str, )
src/horizon.rs:245
↓ 3 callersFunctionget_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 callersFunctionload_transactions
loads a Bitcoin Core CSV file into a list of unified transactions
src/bitcoin_core.rs:61
↓ 3 callersFunctionnormalize_currency
Binance reported BCH as BCC
src/binance.rs:114
↓ 3 callersFunctionnormalize_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 callersFunctionnormalize_currency_for_amount
(timestamp: NaiveDateTime, amount: Amount)
src/binance.rs:125
↓ 3 callersFunctionsave_csv_file
(title: &str, starting_file_name: &str)
src/main.rs:1871
↓ 3 callersMethodtimestamp
(&self)
src/etherscan.rs:21
↓ 3 callersFunctionu256_to_eth
(value: U256)
src/etherscan.rs:13
↓ 2 callersMethodadd_holdings_with_timestamp
(&mut self, tx: &Transaction, amount: &Amount, value: Option<&Amount>, timestamp: NaiveDateTime)
src/fifo.rs:308
↓ 2 callersFunctionaddress_txs
( client: &AsyncClient, address: &Address, )
src/esplora.rs:97
↓ 2 callersMethodestimate_price
todo: would be nice to expose the accuracy in the UI
src/base.rs:514
↓ 2 callersFunctionfiat_value
(amount: Option<&Amount>)
src/fifo.rs:49
↓ 2 callersMethodgains
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 callersMethodhas_incoming
(&self)
src/base.rs:374
↓ 2 callersMethodholdings_for_currency
(&mut self, currency: &str)
src/fifo.rs:290
↓ 2 callersMethodis_receive
(&self)
src/base.rs:248
↓ 2 callersMethodis_trade
(&self)
src/base.rs:264
↓ 2 callersMethodload_portfolio
(&mut self, file_path: &Path)
src/main.rs:410
↓ 2 callersFunctionnormalize_asset
(code: &str, issuer: &str)
src/horizon.rs:27
↓ 2 callersFunctionprocess_transactions
Converts the transactions, using a set of tx_hash to skip duplicates
src/esplora.rs:238
↓ 2 callersMethodprofit
(&self)
src/fifo.rs:44
↓ 2 callersFunctionsave_gains_to_csv
(gains: &Vec<CapitalGain>, output_path: &Path)
src/fifo.rs:366
↓ 2 callersFunctionsave_summary_to_csv
(report: &TaxReport, output_path: &Path)
src/main.rs:533
↓ 2 callersFunctionscan_children
( client: &AsyncClient, address_transactions: &mut HashMap<Address, Result<Vec<Tx>>>, secp: &Secp2
src/esplora.rs:131
↓ 2 callersMethodtoken_currency
(&self)
src/base.rs:124
↓ 2 callersMethodtotal_capital_gains
(&self)
src/main.rs:328
↓ 2 callersMethodtotal_capital_losses
(&self)
src/main.rs:332
↓ 2 callersMethodtransactions_model
(&self)
src/main.rs:489
↓ 2 callersFunctionu256_to_decimal
(value: U256)
src/etherscan.rs:9
↓ 2 callersFunctionui_set_transactions
(app: &App)
src/main.rs:1266
↓ 2 callersFunctionui_set_wallets
(app: &App)
src/main.rs:1233
↓ 1 callersFunctionasync_esplora_client
()
src/esplora.rs:9
↓ 1 callersFunctioncalculate_balances
(transactions: &[Transaction])
src/main.rs:843
↓ 1 callersFunctioncalculate_tax_reports
(transactions: &mut Vec<Transaction>)
src/main.rs:1035
↓ 1 callersMethodclose_portfolio
(&mut self)
src/main.rs:470
↓ 1 callersMethodcmc_id
(&self)
src/base.rs:142
↓ 1 callersMethodcmp
Used to sort transactions by date, and placing incoming transactions before outgoing ones.
src/base.rs:380
↓ 1 callersFunctionconvert_ctc_to_coinpanda
(ctc: &'a CtcTx)
src/coinpanda.rs:129
↓ 1 callersMethodcost_base
(&self)
src/fifo.rs:20
↓ 1 callersFunctioncsv_file_has_headers
(path: &Path, delimiter: u8, skip_lines: usize, headers: &[&str])
src/main.rs:81
↓ 1 callersMethodcurrency_balance
(&self, currency: &str)
src/fifo.rs:277
↓ 1 callersMethodcurrency_cost_base
(&self, currency: &str)
src/fifo.rs:281
↓ 1 callersFunctionestimate_price
(time: NaiveDateTime, prices: &Vec<PricePoint>)
src/base.rs:567
↓ 1 callersFunctionestimate_transaction_values
(transactions: &mut Vec<Transaction>, price_history: &PriceHistory)
src/main.rs:987
↓ 1 callersFunctionexport_all_to
Exports the tax reports for each year
src/main.rs:601
↓ 1 callersMethodextract_transactions
(self, transactions: &mut Vec<Transaction>)
src/trezor.rs:170
↓ 1 callersMethodfee
(&self)
src/etherscan.rs:30
↓ 1 callersMethodfrom
(&self)
src/etherscan.rs:84
↓ 1 callersMethodgas_price
(&self)
src/etherscan.rs:85
↓ 1 callersMethodgas_used
(&self)
src/etherscan.rs:86
↓ 1 callersMethodhash
(&self)
src/etherscan.rs:26
↓ 1 callersMethodhash_h256
(&self)
src/etherscan.rs:82
↓ 1 callersMethodholdings
Read-only access to the holdings.
src/fifo.rs:286
↓ 1 callersFunctioninitialize_ui
(app: &mut App)
src/main.rs:1192
↓ 1 callersFunctionload_binance_bnb_convert_csv
(input_path: &Path)
src/binance.rs:323
↓ 1 callersFunctionload_binance_spot_trades_csv
(input_path: &Path)
src/binance.rs:309
↓ 1 callersFunctionload_binance_transaction_records_csv
(input_path: &Path)
src/binance.rs:262
↓ 1 callersFunctionload_bitcoin_core_csv
loads a Bitcoin Core CSV file into a list of unified transactions
src/bitcoin_core.rs:78
↓ 1 callersFunctionload_bitcoin_de_csv
loads a bitcoin.de CSV file into a list of unified transactions
src/bitcoin_de.rs:104
↓ 1 callersFunctionload_bitonic_csv
loads a bitonic CSV file into a list of unified transactions
src/bitonic.rs:52
↓ 1 callersFunctionload_bitstamp_csv
loads a Bitstamp CSV file into a list of unified transactions
src/bitstamp.rs:92
↓ 1 callersFunctionload_bittrex_order_history_csv
loads a Bittrex Order History CSV file into a list of unified transactions
src/bittrex.rs:121
↓ 1 callersFunctionload_bittrex_transaction_history_csv
loads a Bittrex Transaction History CSV file into a list of unified transactions
src/bittrex.rs:135
↓ 1 callersFunctionload_btc_price_history_data
()
src/base.rs:553
↓ 1 callersFunctionload_ctc_csv
loads a CSV file that was prepared in CryptoTaxCalculator import format
src/ctc.rs:401
↓ 1 callersFunctionload_electrum_csv
loads an Electrum CSV file into a list of unified transactions
src/electrum.rs:42
↓ 1 callersFunctionload_ftx_deposits_csv
(input_path: &Path)
src/ftx.rs:138
↓ 1 callersFunctionload_ftx_trades_csv
(input_path: &Path)
src/ftx.rs:162
↓ 1 callersFunctionload_ftx_withdrawals_csv
(input_path: &Path)
src/ftx.rs:150
↓ 1 callersFunctionload_liquid_deposits_csv
(input_path: &Path)
src/liquid.rs:162
↓ 1 callersFunctionload_liquid_trades_csv
(input_path: &Path)
src/liquid.rs:186
↓ 1 callersFunctionload_liquid_withdrawals_csv
(input_path: &Path)
src/liquid.rs:174
↓ 1 callersFunctionload_mycelium_csv
loads a Mycelium CSV file into a list of unified transactions
src/mycelium.rs:63
↓ 1 callersFunctionload_peercoin_csv
loads a Peercoin CSV file into a list of unified transactions
src/bitcoin_core.rs:83
↓ 1 callersFunctionload_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