diff --git a/backend/api/src/gidx/complete-cashout-request.ts b/backend/api/src/gidx/complete-cashout-request.ts index 59c37ce40b..4f18ad4f9c 100644 --- a/backend/api/src/gidx/complete-cashout-request.ts +++ b/backend/api/src/gidx/complete-cashout-request.ts @@ -38,7 +38,7 @@ export const completeCashoutRequest: APIHandler< const { redeemable } = await calculateRedeemablePrizeCash(pg, userId) if (redeemable < manaCashAmount) { - throw new APIError(400, 'Insufficient redeemable prize cash') + throw new APIError(400, 'Insufficient redeemable sweepcash') } const dollarsToWithdraw = PaymentAmount.dollars const CalculatedPaymentAmount = (1 - SWEEPIES_CASHOUT_FEE) * manaCashAmount @@ -107,7 +107,7 @@ const debitCoins = async ( if (redeemablePrizeCash < manaCashAmount) { throw new APIError( 500, - 'Insufficient redeemable prize cash. Indeterminate state, may need to refund', + 'Insufficient redeemable sweepcash. Indeterminate state, may need to refund', { response: props } ) } diff --git a/backend/api/src/resolve-market.ts b/backend/api/src/resolve-market.ts index d39d4de886..dad5128b16 100644 --- a/backend/api/src/resolve-market.ts +++ b/backend/api/src/resolve-market.ts @@ -61,7 +61,7 @@ export const resolveMarketMain: APIHandler< ) { throw new APIError( 403, - 'Only the Manifold account and approved mods can resolve prize cash markets' + 'Only the Manifold account and approved mods can resolve sweepcash markets' ) } diff --git a/backend/api/src/unresolve.ts b/backend/api/src/unresolve.ts index 5229660485..9f5e8687f4 100644 --- a/backend/api/src/unresolve.ts +++ b/backend/api/src/unresolve.ts @@ -79,7 +79,7 @@ const verifyUserCanUnresolve = async ( if (isProd() && token === 'CASH' && userId !== HOUSE_LIQUIDITY_PROVIDER_ID) { throw new APIError( 403, - `Only the Manifold account can unresolve prize cash markets` + `Only the Manifold account can unresolve sweepcash markets` ) } diff --git a/backend/shared/src/calculate-redeemable-prize-cash.ts b/backend/shared/src/calculate-redeemable-prize-cash.ts index 5b97df45ee..fbc2d16a51 100644 --- a/backend/shared/src/calculate-redeemable-prize-cash.ts +++ b/backend/shared/src/calculate-redeemable-prize-cash.ts @@ -11,7 +11,7 @@ import { } from './supabase/sql-builder' import { log } from './utils' -// Gets the total amount of prize cash that a user can redeem for usd, before fees +// Gets the total amount of sweepcash that a user can redeem for usd, before fees export async function calculateRedeemablePrizeCash( pg: SupabaseDirectClient, userId: string diff --git a/twitch-bot/web/pages/metrics.tsx b/twitch-bot/web/pages/metrics.tsx index 3669700dcc..e7a284b1b0 100644 --- a/twitch-bot/web/pages/metrics.tsx +++ b/twitch-bot/web/pages/metrics.tsx @@ -243,7 +243,7 @@ function Panel(props: { className?: string; children?: ReactNode; disabled?: boo
- An active user is a user who has traded in, commented on, or created a + An active trader is a user who has traded in, commented on, or created a sweep cash question.
- What fraction of active users are still active after the given time + What fraction of active traders are still active after the given time period?
- An active user is a user who has traded in, commented on, or created a + An active trader is a user who has traded in, commented on, or created a question.
- What fraction of active users are still active after the given time + What fraction of active traders are still active after the given time period?
Sum of cash {TRADE_TERM} amounts.