... = vault.reward_sui_blance.value();
// Calculate the donation amount (20% of total reward)
let donation_amount = total_reward * 20 / 100;
// Calculate the remaining amount for distribution (80% of total reward)
let distribution_amount = total_reward - donation_amount;
//...
...
SQLite database dev.db created at file:./dev.db
Applying migration `20240623141512_init`
The following migration(s) have been created and applied from new schema changes:
migrations/
└─ 20240623141512_init/
└─ migration.sql
Your database is now in sync with your schem...