Skip to content

Commit

Permalink
only proportion goes to admin lp virtual balance
Browse files Browse the repository at this point in the history
  • Loading branch information
bout3fiddy committed Nov 2, 2023
1 parent 4d76e11 commit e601564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/main/CurveTwocryptoOptimized.vy
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ def add_liquidity(
d_token -= d_token_fee
token_supply += d_token
self.mint(receiver, d_token)
self.admin_lp_virtual_balance += d_token_fee
self.admin_lp_virtual_balance += unsafe_div(ADMIN_FEE * d_token_fee, 10**10)

price_scale = self.tweak_price(A_gamma, xp, D, 0)

Expand Down

0 comments on commit e601564

Please sign in to comment.