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:
Hardhat Chad
2025-10-07 18:28:26 -05:00
committed by GitHub
parent bbfbb82157
commit d4b4db8927
9 changed files with 67 additions and 23 deletions

View File

@@ -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(())
}