class Prime::PortfoliosController < Prime::ApplicationController
  def index
    @new_account = Prime::Account.new
    @network_token_balances = @current_user.network_balances
    @total_rewards_by_network = Prime::Rewards::TotalRewardsByNetworkService.new(
      rewardables: current_user.prime_accounts.on_enabled_networks
    ).call
  end
end
