James Grugett
9530e55988
Remove hardcoding as dev
2022-03-15 16:53:33 -05:00
James Grugett
112a0d6174
Fix DPM payout calculation
2022-03-15 16:52:42 -05:00
mantikoros
eaab8191e3
fix dpm free response payout for single outcome
2022-03-15 16:05:52 -05:00
James Grugett
18b4c65de8
Fix merge error
2022-03-15 16:00:42 -05:00
James Grugett
0c3ee974ff
Merge branch 'main' into cfmm
2022-03-15 15:56:16 -05:00
James Grugett
bd62d8fbcd
FR graph: Truncate answer labels further
2022-03-15 15:32:39 -05:00
Austin Chen
1444d60e11
Visual touchups on FeedAnswerGroups
2022-03-15 13:11:14 -07:00
James Grugett
1bb5d3b8cd
Answers graph ( #65 )
...
* In progress
* Calculate correct graph probabilites
2022-03-15 14:42:04 -05:00
Austin Chen
f17c4ac40f
Fix username link
2022-03-15 12:22:21 -07:00
James Grugett
03ca84082a
Merge branch 'main' into cfmm
2022-03-15 00:34:02 -05:00
mantikoros
64bde33f0d
raise fees
2022-03-14 22:29:12 -05:00
mantikoros
f8db70f89b
liquidity provision tracking
2022-03-14 22:26:04 -05:00
mantikoros
0a28ea52b6
handle overflow
2022-03-14 21:29:28 -05:00
James Grugett
db7eee495c
Answer group feed: Always include answer of last bet.
2022-03-14 19:39:40 -05:00
James Grugett
a82b3577d4
Group older bets by 7-days
2022-03-14 17:11:10 -05:00
James Grugett
7ca0b3662f
Small avatars for nested feed items
2022-03-14 16:56:53 -05:00
James Grugett
5524889d48
FR answer group: Choose one outcome for having a comment
2022-03-14 16:39:59 -05:00
James Grugett
f2d26b631d
Filter out undefined answer
2022-03-14 16:08:08 -05:00
James Grugett
93287f8dc1
Answers in feed ( #63 )
...
* Compute answer group feed items
* Refactor feed code into 5 files under feed directory.
* Convert to typed ActivityItems
* Use feed "mode". Clean up cases.
* Implement feed answer groups!
* FR: Use nested comments/bets under answers for contract page. filter more items out of FR feed.
* Linkify answer text on activity feed
* Default feed excluded tags are case insensitive
* Show followed folds first
* Allow filtering your trades
* Store users's last sort in localstorage
* Use avatar of user that submitted answer and name instead of pencil icon. Spacing. Show up to 3 comments in asnwer group.
* Don't reveal market creator's bets
* Fix communites feed to be abbreviated
* Remove complicated answer group logic
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-03-14 15:29:32 -05:00
mantikoros
941d66b34c
enable fees
2022-03-14 12:14:16 -05:00
mantikoros
f7c6688d4f
correct price function
2022-03-14 11:50:28 -05:00
mantikoros
dce7639573
addCpmmLiquidity
2022-03-14 00:58:43 -05:00
Austin Chen
d053fb6cb7
Store users's last sort in localstorage
2022-03-13 14:46:09 -07:00
Austin Chen
e5d02dde06
Allow filtering your trades
2022-03-13 13:55:42 -07:00
Austin Chen
14e2071b1d
Show followed folds first
2022-03-13 11:55:05 -07:00
James Grugett
8773bf7624
Default feed excluded tags are case insensitive
2022-03-13 12:13:26 -05:00
mantikoros
062d4f88fd
new cfmm: k = y^(1-p) * n^p
2022-03-11 16:04:08 -06:00
James Grugett
719ec5cc54
Linkify answer text on activity feed
2022-03-11 11:13:16 -06: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