👓Precise APY calculations

General (Commonly used formulas)

User’s reward allocation for a singular position

RD%=Cxn=1usersCn Cx=TMR_{D\%} = \frac{C_x}{\sum_{n=1}^{users}C_n} \\\ \\C_x = T \cdot M

Where:RD%    allocation  of  rewards  for  the  user  Xs  positionCx,Cn  contribution  of  the  user  X,  Nusers    amount  of  positions  in  the  Policy  BookT    user  Xs  staked  funds  of  the  positionM    user  Xs  multiplier  of  the  position\\\textbf{Where:}\\R_{D\%} \; -\; allocation \; of \; rewards \; for \; the \; user \; X's \; position\\C_x, C_n - \; contribution \; of \; the \; user \; X,\; N \\users \; - \; amount \; of \; positions \; in \; the \; Policy \; Book\\T \; - \; user \; X's \; staked \; funds \; of \; the \; position\\M \; - \; user \; X's \; multiplier \; of \; the \; position

User’s yearly rewards for position X

Rx=RPBBPYRD%R_x= RPB \cdot BPY \cdot R_{D\%}

Where:Rx  yearly  rewards  for  the  user  Xs  positionRPB    Policy  Books  reward  per  blockBPY    blocks  in  a  yearRD%    allocation  of  rewards  for  the  user  Xs  position\\\textbf{Where:}\\R_x - \; yearly\; rewards \; for \; the \; user \; X's \; position\\RPB \; - \; Policy \;Book's \; reward \; per \; block\\BPY \; - \; blocks \; in \; a \; year\\R_{D\%} \; - \; allocation \; of \; rewards \; for \; the \; user \; X's \; position

Policy Book X reward multiplier calculation

Where: UR - Utilization Ratio RM - Reward Multiplier

These constants have been skipped in the formulas for clarity's sake. Base RM = 1 Min. RM = 0.15 Max. RM = 2 Risky UR = 85% Moderate UR = 50%

UR<50%    RMx=UR1%50%(10.15)+0.15UR < 50\% \implies RM_x=\frac{UR-1\%}{50\%}*(1-0.15)+0.15
50%<UR<85%    RMx=150 \%< UR < 85\% \implies RM_x=1
UR>85%    RMx=1+(21)(UR85%)100%85%UR > 85\% \implies RM_x= 1+\frac{(2-1)*(UR-85\%)}{100\%-85\%}

Policy Book X reward allocation calculation

RP%=RMxCPIPxn=1pools(RMn CPIPn)R_{P\%} = \frac{RM_x \cdot CPIP_x}{\sum_{n=1}^{pools}(RM_n \cdot \ CPIP_n)}

Where:RP%    allocation  of  rewards  for  the  Policy  Book  XRMx    Reward  Multplier  of  the  Policy  Book  XCPIPx    staked  DEINxCover  in  Policy  Book  Xpools    number  of  whitelisted  pools\\\textbf{Where:}\\R_{P\%} \; - \; allocation \; of \; rewards \; for \; the \; Policy \; Book\; X\\RM_x \; - \; Reward \; Multplier \; of \; the \; Policy \; Book \; X\\CPIP_x \; - \; staked \; DEINxCover \; in \; Policy \; Book \; X\\pools \; - \; number \; of \; whitelisted \;pools

Underwriting Position APY

APYx=RxDEINpriceTxAPY_x = \frac{R_x\cdot DEIN_{price}}{T_x}

Where:Rx    yearly  rewards  for  the  position  xTx    staked  funds  in  the  position  xDEINprice    price  of  DEIN\\\textbf{Where:} \\R_x \; - \; yearly \;rewards \; for \; the \; position \; x\\T_x \; - \; staked \; funds \; in \; the \; position \; x\\DEIN_{price} \; - \; price \; of \; DEIN

Underwriting Max (General) APY

This is the APY used on general Policy Book views. It's an estimation of the biggest possible return, it assumes the minimal investment and longest staking duration.

APYmax=RxDEINpriceTx\\APY_{max} = \frac{R_x \cdot DEIN_{price}}{T_x}

Where:Rx  is  calculated  for  Cx=500Tx=100DEINprice  price  of  DEIN \\\textbf{Where:}\\R_x \; is \; calculated \; for \; C_x = 500 \\T_x = 100 \\DEIN_{price} - \; price \; of \; DEIN

Last updated