fees on estimated winnings
This commit is contained in:
parent
f4cabf17cb
commit
c8513eda83
|
@ -49,7 +49,7 @@ export function calculateEstimatedWinnings(
|
|||
const estPool = Math.sqrt(yesShares ** 2 + noShares ** 2)
|
||||
const total = ind * yesShares + (1 - ind) * noShares
|
||||
|
||||
return (shares * estPool) / total
|
||||
return ((1 - FEES) * (shares * estPool)) / total
|
||||
}
|
||||
|
||||
export function calculateRawShareValue(
|
||||
|
|
Loading…
Reference in New Issue
Block a user