turn on liquidity fee; turn off creator fee
This commit is contained in:
parent
d1b510c720
commit
ede0c0b397
|
@ -35,7 +35,7 @@ function calculateCpmmShares(
|
|||
return shares
|
||||
}
|
||||
|
||||
export const CPMM_LIQUIDITY_FEE = 0 // 0.02
|
||||
export const CPMM_LIQUIDITY_FEE = 0.02
|
||||
|
||||
export function getCpmmLiquidityFee(
|
||||
contract: FullContract<CPMM, Binary>,
|
||||
|
|
|
@ -42,7 +42,7 @@ export const getStandardFixedPayouts = (
|
|||
})
|
||||
|
||||
const profits = _.sumBy(payouts, (po) => Math.max(0, po.profit))
|
||||
const creatorPayout = CREATOR_FEE * profits
|
||||
const creatorPayout = 0 // CREATOR_FEE * profits
|
||||
|
||||
console.log(
|
||||
'resolved',
|
||||
|
@ -97,7 +97,7 @@ export const getMktFixedPayouts = (
|
|||
})
|
||||
|
||||
const profits = _.sumBy(payouts, (po) => Math.max(0, po.profit))
|
||||
const creatorPayout = CREATOR_FEE * profits
|
||||
const creatorPayout = 0 // CREATOR_FEE * profits
|
||||
|
||||
console.log(
|
||||
'resolved MKT',
|
||||
|
|
Loading…
Reference in New Issue
Block a user