-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stargaze Fair Burn v1.1.0 #20
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #20 +/- ##
==========================================
- Coverage 89.06% 85.68% -3.39%
==========================================
Files 13 17 +4
Lines 439 447 +8
==========================================
- Hits 391 383 -8
- Misses 48 64 +16 ☔ View full report in Codecov by Sentry. |
if recipient.is_some() { | ||
fee_manager_funds.push(protocol_coin); | ||
if let Some(dist_coin) = dist_coin { | ||
recipient_funds.push(dist_coin); | ||
} | ||
} else { | ||
let fee_manager_coin = coin( | ||
protocol_coin.amount.u128() + dist_coin.map_or(0u128, |c| c.amount.u128()), | ||
protocol_coin.denom, | ||
); | ||
fee_manager_funds.push(fee_manager_coin); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok this was a bit confusing maybe should add just a few doc comments
recipient is if there is a dev address to share fairburn right ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's right, typically won't be used for our stuff
Fair Burn Changes
This PR implements a
fee_manager
address in the fair burn contract config. This address will receive the protocol's share of fees for denoms other than STARS.