Skip to content
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

fix-Update lp-tokens.js #3824

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix-Update lp-tokens.js
Hack666r authored Feb 18, 2025
commit 21b7d2cca5e4244a15638cfe3e6205db58370d30
2 changes: 1 addition & 1 deletion token-stakedrop/src/truth-sources/lp-tokens.js
Original file line number Diff line number Diff line change
@@ -281,7 +281,7 @@ export class LPTokenTruthSource extends ITruthSource {
* function in UniswapV2Pair contract, which produces the same equation as above.
*
* References:
* Returns in Uniswap: https://uniswap.org/docs/v2/advanced-topics/understanding-returns/
* Returns in Uniswap: https://app.uniswap.org/
* LP minting: https://github.com/Uniswap/uniswap-v2-core/blob/4dd59067c76dea4a0e8e4bfdda41877a6b16dedc/contracts/UniswapV2Pair.sol#L123
*
* @param {BN} lpStakerBalance LP amount staked by a staker in a LPRewardsContract