Trader Joe
Twitter
Discord
DEX
NFT
Search…
Trader Joe
Welcome
Introduction
About Joe
Getting Started
FAQ & Help
Guides
Business Enquiries
Trader Joe
Trading
Liquidity Pools
Yield Farming
Staking
Lending
Rocket Joe
Platform
Learning Centre
Video Guides
Learn
Marketing
Ecosystem Links
Brand Assets
Security & Contracts
Contracts
veJOE for Developers
Subgraphs
API (Beta)
Audits
Bug Bounty
🇫🇷
Français
🇹🇷
Türkçe
🇯🇵
日本
🇧🇷
Português
Powered By
GitBook
veJOE for Developers
Boosted APRs
With the introduction of
Boosted MasterChef Joe
(BMCJ), users now see different Boosted APRs depending on their veJOE balance.
A users total farm APR now consist of 2 components:
Base APR
Share of emissions that is not adjusted by veJOE:
total farm APR * (1 - veJoeShare)
Boost APR
Determined by the user factor
u
s
e
r
.
l
i
q
u
i
d
i
t
y
∗
u
s
e
r
.
v
e
J
o
e
p
o
o
l
.
t
o
t
a
l
F
a
c
t
o
r
\frac{\sqrt{user.liquidity * user.veJoe} }{pool.totalFactor}
p
oo
l
.
t
o
t
a
lF
a
c
t
or
u
ser
.
l
i
q
u
i
d
i
t
y
∗
u
ser
.
v
e
J
oe
​
​
where
pool.totalFactor
is the sum of all user factor in the farm.
​
FarmLensV2
To help with the calculation of Boost APR, developers can try our FarmLensV2:
​
https://snowtrace.io/address/0xF16d25Eba0D8E51cEAF480141bAf577aE55bfdd2
​
Example
1
// ethers.Contract
2
const farmLensContract = useFarmLensV2Contract()
3
​
4
// poolIds is an array e.g. [0,1,3,6]
5
const response = await farmLensContract?.getBMCJFarmInfos(
6
masterchefAddress,
7
account,
8
poolIds
9
)
10
​
11
// APRs returned in 18 decimal
12
const baseAPR = response.baseAPR
13
const boostedAPR = response.boostedAPR
Copied!
Reference
​
Joe Staking V2
​
Previous
Fuji Test-net
Next - Security & Contracts
Subgraphs
Last modified
2mo ago
Export as PDF
Copy link
Contents
Boosted APRs
FarmLensV2
Reference