mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-15 07:26:45 +00:00
Claim fee (#136)
* claim fee * migration * migrate * sdk * disable fee * disable claim fee * cleanup * cleanup * fix * cleanup * stake * cleanup * cleanup * cleanup * hour
This commit is contained in:
@@ -472,7 +472,14 @@ async fn log_treasury(rpc: &RpcClient) -> Result<(), anyhow::Error> {
|
||||
" rewards_factor: {}",
|
||||
treasury.rewards_factor.to_i80f48().to_string()
|
||||
);
|
||||
println!(" total_staked: {}", treasury.total_staked);
|
||||
println!(
|
||||
" total_staked: {} ORE",
|
||||
amount_to_ui_amount(treasury.total_staked, TOKEN_DECIMALS)
|
||||
);
|
||||
println!(
|
||||
" total_unclaimed: {} ORE",
|
||||
amount_to_ui_amount(treasury.total_unclaimed, TOKEN_DECIMALS)
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user