turn on liquidity fee; turn off creator fee

This commit is contained in:
mantikoros 2022-03-08 12:19:38 -06:00
parent d1b510c720
commit ede0c0b397
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ function calculateCpmmShares(
return shares return shares
} }
export const CPMM_LIQUIDITY_FEE = 0 // 0.02 export const CPMM_LIQUIDITY_FEE = 0.02
export function getCpmmLiquidityFee( export function getCpmmLiquidityFee(
contract: FullContract<CPMM, Binary>, contract: FullContract<CPMM, Binary>,

View File

@ -42,7 +42,7 @@ export const getStandardFixedPayouts = (
}) })
const profits = _.sumBy(payouts, (po) => Math.max(0, po.profit)) const profits = _.sumBy(payouts, (po) => Math.max(0, po.profit))
const creatorPayout = CREATOR_FEE * profits const creatorPayout = 0 // CREATOR_FEE * profits
console.log( console.log(
'resolved', 'resolved',
@ -97,7 +97,7 @@ export const getMktFixedPayouts = (
}) })
const profits = _.sumBy(payouts, (po) => Math.max(0, po.profit)) const profits = _.sumBy(payouts, (po) => Math.max(0, po.profit))
const creatorPayout = CREATOR_FEE * profits const creatorPayout = 0 // CREATOR_FEE * profits
console.log( console.log(
'resolved MKT', 'resolved MKT',