From ede0c0b397a4a68a85c223204877ab879c53cacf Mon Sep 17 00:00:00 2001 From: mantikoros Date: Tue, 8 Mar 2022 12:19:38 -0600 Subject: [PATCH] turn on liquidity fee; turn off creator fee --- common/calculate-cpmm.ts | 2 +- common/payouts-fixed.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/calculate-cpmm.ts b/common/calculate-cpmm.ts index 87c03143..39433e08 100644 --- a/common/calculate-cpmm.ts +++ b/common/calculate-cpmm.ts @@ -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, diff --git a/common/payouts-fixed.ts b/common/payouts-fixed.ts index 5263f790..ee6eb318 100644 --- a/common/payouts-fixed.ts +++ b/common/payouts-fixed.ts @@ -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',