Commit Graph

966 Commits

Author SHA1 Message Date
mantikoros
0ac2f239e4 show ante label 2022-03-14 01:19:46 -05:00
mantikoros
bb8f7cc966 creator fees messaging 2022-03-11 00:16:01 -06:00
mantikoros
beedbed6ff set env to dev for user-testing purposes 2022-03-10 16:32:58 -06:00
James Grugett
7cc92b176f Filter out redemption bets from feed 2022-03-10 16:12:10 -06:00
mantikoros
48df0ac7ce calculateCpmmPurchase: deduct creator fee 2022-03-10 16:05:49 -06:00
James Grugett
c1a800f4c6 Fix initial point on graph 2022-03-10 15:58:44 -06:00
James Grugett
864b4420ad Redeem shares pays back loans first 2022-03-10 15:26:00 -06:00
mantikoros
b515ca8bd0 small fixes 2022-03-10 15:15:52 -06:00
mantikoros
82b66a8d53 small fixes 2022-03-10 15:05:52 -06:00
mantikoros
8df7b0fbe6 Merge branch 'main' into cpmm 2022-03-10 15:02:30 -06:00
mantikoros
6b30ed4513 track fees on contract and bets; change fee schedule for cpmm markets; only pay out creator fees at resolution 2022-03-10 14:55:23 -06:00
James Grugett
7bb663891f Put back outcome labels for non-free response. 2022-03-10 12:37:42 -06:00
Austin Chen
917e066a45 Add a searchbar over all folds 2022-03-10 10:14:06 -08:00
James Grugett
eaa1a26af4 Show bets where you can add a comment on contract page feed. 2022-03-10 00:29:36 -06:00
James Grugett
404f3a6b0c FR: Show answer in feed for single bets. Show your bets on contract page feed 2022-03-10 00:12:00 -06:00
mantikoros
a0833b4764 filter out redemption bets 2022-03-09 23:23:43 -06:00
mantikoros
b550bbe07d formatMoney: handle minus zero 2022-03-09 23:17:26 -06:00
mantikoros
b81742cd02 cpmm ContractBetsTable display 2022-03-09 23:17:13 -06:00
James Grugett
fe49ae4d5a Hide fast fold follow widget for now 2022-03-09 22:08:55 -06:00
James Grugett
43ce91a537 Default feed skips annoying markets 2022-03-09 22:01:53 -06:00
James Grugett
e4064b89ff Turn of lint for nextjs typos (triggered by getStaticPropz) 2022-03-09 21:31:38 -06:00
James Grugett
c24c9404a7 Hide bets on free response feed (except for feedType 'multi') 2022-03-09 21:23:17 -06:00
James Grugett
7aa074a31a Script for paying out contract again 2022-03-09 17:02:57 -06:00
James Grugett
f9b881a017 Send better error responses for unsubscribe. 2022-03-09 12:39:21 -06:00
James Grugett
d12189ae08 Fix unsubscribe from market resolution emails 2022-03-09 12:27:12 -06:00
mantikoros
3145966a3c share redemption 2022-03-09 11:35:21 -06:00
James Grugett
79bd299b68 Enforce max question length, description length, and tag length. 2022-03-09 11:08:57 -06:00
Austin Chen
4b2fd0bdc7 Back up Fold followers & FR answers 2022-03-08 20:45:28 -08:00
Austin Chen
da4ce99755
Merge Manifold for Teams infra into main codebase (#61)
* Add dev target for TheoremOne

* Restrict signups to theoremone.co emails

* Add new indices

* Forbid reads from unauthenticated users

* Client-side render pages that need auth

These pages are now client-side rendered:
- /home
- /leaderboards
- /market/...
- /fold/...

* Hide 404 for private Manifolds

* Brand instance for TheoremOne

* Hide "Add Funds" and "Personalize your feed"

* "M$" =>  "T$"

* Hide Discord & About Page too

* Update placeholders for teams

* Update firestore.indexes.json

* Switch /analytics to propz

* Migrate per-env code into common/

* More migrations to PROJECT_ID

* Conditionally use SSG depending on public vs private instance

* Fix props to be empty object

* Move more logic into access

* Spin out config files for each environment

* Generify most of the customizable brand stuff

* Move IS_PRIVATE_MANIFOLD to access.ts

* Rename access.ts to envs/constants.ts

* Add "dev:dev" alias

* Rever firestore rules to existing settings

* Fixes according to James's review
2022-03-08 18:43:30 -08:00
Austin Chen
9fbed63eaf Show the market creator's bets in feed 2022-03-08 16:24:06 -08:00
James Grugett
b0e4f6d27a Add time param to Twitter share url, so that the image preview is re-fetched 2022-03-08 15:36:15 -06:00
James Grugett
90888a2cc6 Include time param in tweet url, so image preview is re-fetched 2022-03-08 15:34:58 -06:00
mantikoros
ede0c0b397 turn on liquidity fee; turn off creator fee 2022-03-08 12:19:38 -06:00
mantikoros
d1b510c720 Merge branch 'main' into cpmm 2022-03-08 11:45:30 -06:00
mantikoros
1dfc108ae4 store initialProbability in contracts 2022-03-08 11:41:22 -06:00
mantikoros
82c5eb85d3 updateUserBalance: allow negative balances 2022-03-08 11:34:08 -06:00
mantikoros
4a0db10b20 use all bets for getFixedCancelPayouts 2022-03-08 11:32:03 -06:00
mantikoros
b05c4da0f2 liquidity fee 2022-03-07 17:49:55 -06:00
James Grugett
fe98a61e43 Fix leaderboard out of memory error with batchedWaitAll instead of Promise.all 2022-03-07 13:45:56 -08:00
James Grugett
ff92338873 Fix multi payout calculation! 2022-03-07 13:15:12 -08:00
Austin Chen
a32bb57167 Update about page 2022-03-07 10:40:53 -08:00
mantikoros
dd9f4ba81c create liquidity provision even if no ante bet 2022-03-07 12:02:00 -06:00
mantikoros
87747d8fcb liquidity label 2022-03-07 11:59:36 -06:00
mantikoros
5fe40786ca remove comment 2022-03-07 11:33:17 -06:00
mantikoros
14ee9735c7 Merge branch 'main' into cpmm 2022-03-07 11:30:26 -06:00
mantikoros
845aefa6a8 liquidity provision tracking 2022-03-07 11:29:58 -06:00
James Grugett
abd9be921f Allow paying users negative amounts on market resolve. 2022-03-06 01:03:06 -08:00
James Grugett
a8fd4c8014 Better fix the create market focus issues. Expand to 4 lines when you add many chars to a question. 2022-03-06 00:48:08 -08:00
James Grugett
d8681b043c Only autofocus question input if no question text and not focused. 2022-03-05 23:58:54 -08:00
James Grugett
4ee458d3f5 Align "See more..." right on mobile 2022-03-05 23:48:35 -08:00