mantikoros 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							790aec9baf 
							
						 
					 
					
						
						
							
							Cfmm migration ( #80 )  
						
						... 
						
						
						
						* cfmm migration script
* save dpm shares, pool
* formatMoney: use floor instead of round
* migrate cfmm: use sale amount as shares for sold bets
* migration: make up fake share qty for sold shares
* migration: also convert resolved markets
* migration: don't migrate resolved markets after all
* migration: error checking 
						
					 
					
						2022-04-18 17:02:53 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							b637ab1536 
							
						 
					 
					
						
						
							
							Analytics: Add ratios of daily, weekly, monthly active users  
						
						
						
					 
					
						2022-04-15 20:56:07 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							102e22e111 
							
						 
					 
					
						
						
							
							Recent trade => recent  
						
						
						
					 
					
						2022-04-15 17:55:26 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							87b54ff92e 
							
						 
					 
					
						
						
							
							Fix getBinaryProb when resolutionProbability is 0.  
						
						
						
					 
					
						2022-04-14 23:17:55 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							72a56b46fd 
							
						 
					 
					
						
						
							
							Switch portfolio default sort to recent trade  
						
						
						
					 
					
						2022-04-14 00:16:08 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							43b8c16fcc 
							
						 
					 
					
						
						
							
							Compact-ify cards in portfolio page  
						
						
						
					 
					
						2022-04-14 00:06:13 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							8a59ab3180 
							
						 
					 
					
						
						
							
							Tweak current investment calculation  
						
						
						
					 
					
						2022-04-13 22:28:29 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							2a3593c269 
							
						 
					 
					
						
						
							
							Fix profit calculation for dpm sales  
						
						
						
					 
					
						2022-04-13 20:42:47 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							e58ec54546 
							
						 
					 
					
						
						
							
							Clean up portfolio sorts  
						
						
						
					 
					
						2022-04-13 18:56:28 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							ec63464461 
							
						 
					 
					
						
						
							
							Remove Communities: Not shown in navigation or market info  
						
						
						
					 
					
						2022-04-13 18:14:03 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							a09af526a0 
							
						 
					 
					
						
						
							
							Switch summary stat from payout at current % to profit  
						
						
						
					 
					
						2022-04-13 17:57:46 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							bfb708d477 
							
						 
					 
					
						
						
							
							Fix profit calculation for cpmm sales. Change totalValue to investment value excluding sales  
						
						
						
					 
					
						2022-04-13 17:25:32 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							a9028b0a94 
							
						 
					 
					
						
						
							
							Remove invested metric for cfmm markets  
						
						
						
					 
					
						2022-04-13 15:47:12 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							624d99fc1d 
							
						 
					 
					
						
						
							
							Show number of traders in "More" panel  
						
						
						
					 
					
						2022-04-13 12:11:49 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							75b39cbf6f 
							
						 
					 
					
						
						
							
							Remove loans: no new loans  
						
						
						
					 
					
						2022-04-13 12:52:12 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							4268e03293 
							
						 
					 
					
						
						
							
							Redirect to contract page if home loads initially with query params  
						
						
						
					 
					
						2022-04-12 23:11:10 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							ff1cb68077 
							
						 
					 
					
						
						
							
							Copy contract url doesn't use current url  
						
						
						
					 
					
						2022-04-11 17:06:51 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							e53cde5b34 
							
						 
					 
					
						
						
							
							Quick back navigation into feed  
						
						
						
					 
					
						2022-04-11 16:13:26 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							9f2ac17ffb 
							
						 
					 
					
						
						
							
							Add copy link button in market share options  
						
						
						
					 
					
						2022-04-10 19:59:01 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							8c9da833bf 
							
						 
					 
					
						
						
							
							Don't match parenthses in link url  
						
						
						
					 
					
						2022-04-10 19:47:26 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							4a9fc7bc9b 
							
						 
					 
					
						
						
							
							Don't show portfolio when signed out. Home navigates to '/' when signed out.  
						
						
						
					 
					
						2022-04-10 00:26:28 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							642fedbbb4 
							
						 
					 
					
						
						
							
							fix error  
						
						
						
					 
					
						2022-04-09 19:09:06 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							ea07edcbd3 
							
						 
					 
					
						
						
							
							add funds: remove M$500 purchase option  
						
						
						
					 
					
						2022-04-09 18:56:05 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							5bf36d1963 
							
						 
					 
					
						
						
							
							market stats: pool  
						
						
						
					 
					
						2022-04-09 18:23:24 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							2d8e85ab5e 
							
						 
					 
					
						
						
							
							ContractInfoDialog: volume  
						
						
						
					 
					
						2022-04-09 18:13:15 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ec49a73c74 
							
						 
					 
					
						
						
							
							Algo feed ( #77 )  
						
						... 
						
						
						
						* Implement algo feed
* Remove 'See more...' from feed items
* Fix problem with useUpdatedContracts.
* Tweak some params 
						
					 
					
						2022-04-09 18:10:58 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							7c11df6147 
							
						 
					 
					
						
						
							
							market info stats  
						
						
						
					 
					
						2022-04-09 18:04:13 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							fe5fba184f 
							
						 
					 
					
						
						
							
							FeedQuestion: hide close time  
						
						
						
					 
					
						2022-04-09 17:15:05 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							6e38540d58 
							
						 
					 
					
						
						
							
							contract tabs: always show timeline tab  
						
						
						
					 
					
						2022-04-09 16:34:43 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							13300326fd 
							
						 
					 
					
						
						
							
							bet panel styling  
						
						
						
					 
					
						2022-04-09 16:26:43 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							b624ec045e 
							
						 
					 
					
						
						
							
							"buy" => "bet"  
						
						
						
					 
					
						2022-04-09 16:13:36 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							2fe71731e4 
							
						 
					 
					
						
						
							
							create: fixed ante of $100  
						
						
						
					 
					
						2022-04-09 13:51:22 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ab41404d07 
							
						 
					 
					
						
						
							
							contract tabs: separate market timeline from your trades ( #76 )  
						
						... 
						
						
						
						* contract tabs: separate market timeline from your trades
* contract tabs: use pre-existing tab component
* tab styling 
						
					 
					
						2022-04-08 16:13:10 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							108f0afb95 
							
						 
					 
					
						
						
							
							contract card: remove created time; inline info dialog button  
						
						
						
					 
					
						2022-04-08 14:27:17 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							238af975e3 
							
						 
					 
					
						
						
							
							Reverse FR acitivty as well  
						
						
						
					 
					
						2022-04-07 18:00:44 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							7dfc3fb966 
							
						 
					 
					
						
						
							
							Reverse contract feed on contract page!  
						
						
						
					 
					
						2022-04-07 16:29:36 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							f773a59676 
							
						 
					 
					
						
						
							
							FR: Move description above answers  
						
						
						
					 
					
						2022-04-07 16:19:27 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							aff6acc8f4 
							
						 
					 
					
						
						
							
							Refactor contract components into contract directory  
						
						
						
					 
					
						2022-04-07 16:15:51 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							14cef9ffc3 
							
						 
					 
					
						
						
							
							Move contract description out of activity feed  
						
						
						
					 
					
						2022-04-07 16:09:19 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							5e8decfa4e 
							
						 
					 
					
						
						
							
							Move tweet, embed buttons plus communities and tags into a market info dialog  
						
						
						
					 
					
						2022-04-07 15:52:54 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							7e6545a669 
							
						 
					 
					
						
						
							
							app: viewport meta tag to prevent Safari from automatically zooming in  
						
						
						
					 
					
						2022-04-06 22:54:44 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							20052b61ec 
							
						 
					 
					
						
						
							
							AmountInput: filter non-numeric, show numeric keyboard on ios  
						
						
						
					 
					
						2022-04-06 22:48:06 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							67d71fa531 
							
						 
					 
					
						
						
							
							Add useStateCheckEquality, and use for user & contract hooks  
						
						
						
					 
					
						2022-04-06 13:56:08 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							a2344492a2 
							
						 
					 
					
						
						
							
							Simplify useContractWithPreload  
						
						
						
					 
					
						2022-04-06 13:56:08 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							dfa61be382 
							
						 
					 
					
						
						
							
							Optimize use fold hooks to trigger fewer re-renders  
						
						
						
					 
					
						2022-04-06 13:56:08 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							849248376b 
							
						 
					 
					
						
						
							
							Memo-ize graph components for better performance  
						
						
						
					 
					
						2022-04-06 13:56:08 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							e3800612ea 
							
						 
					 
					
						
						
							
							"A market for every question"  
						
						
						
					 
					
						2022-04-06 13:20:16 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							a524b952ee 
							
						 
					 
					
						
						
							
							FR: Hide contract activity on mobile when betting  
						
						
						
					 
					
						2022-04-06 00:22:43 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							f749eb1df8 
							
						 
					 
					
						
						
							
							Log views of contracts in feed  
						
						
						
					 
					
						2022-04-04 22:28:38 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							f577437a8b 
							
						 
					 
					
						
						
							
							Show your avatar and balance in mobile bottom bar instead of 'More'  
						
						
						
					 
					
						2022-04-04 16:49:14 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							8ccf834724 
							
						 
					 
					
						
						
							
							Fix url link to fold page tab: markets and leaderboard  
						
						
						
					 
					
						2022-04-04 13:28:33 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							708773e9a6 
							
						 
					 
					
						
						
							
							Fix FR not having correct loan info  
						
						
						
					 
					
						2022-04-04 11:30:49 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							18bba89507 
							
						 
					 
					
						
						
							
							raise min ante to M$50  
						
						
						
					 
					
						2022-04-04 10:47:29 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							9c11104110 
							
						 
					 
					
						
						
							
							create panel: remove add tags section  
						
						
						
					 
					
						2022-04-04 10:32:04 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							d0aa9c710c 
							
						 
					 
					
						
						
							
							"A market for every question"  
						
						
						
					 
					
						2022-04-04 01:07:58 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							1ec8fc5b45 
							
						 
					 
					
						
						
							
							Deemphasize sign in button on sidebar. Change bet panel to use 'sign up' wording.  
						
						
						
					 
					
						2022-04-04 00:58:56 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							6d25494713 
							
						 
					 
					
						
						
							
							Add Manifold Markets logo on signed out home.  
						
						
						
					 
					
						2022-04-04 00:45:23 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							20db898753 
							
						 
					 
					
						
						
							
							Home: remove tabs for Recent activity vs Explore  
						
						
						
					 
					
						2022-04-04 00:27:25 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							076f2979b4 
							
						 
					 
					
						
						
							
							Reinstate Manifold Markets logo  
						
						
						
					 
					
						2022-04-04 00:09:01 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							3760cd576b 
							
						 
					 
					
						
						
							
							Tweak padding/margin  
						
						
						
					 
					
						2022-04-03 23:37:14 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							7cd4b5d454 
							
						 
					 
					
						
						
							
							Remove communities from top-level nav. List out options in mobile  
						
						
						
					 
					
						2022-04-03 23:20:41 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							6ce53a4418 
							
						 
					 
					
						
						
							
							Only show one of bet panel or bet row. Bring back sticky bet panel & sidebar  
						
						
						
					 
					
						2022-04-03 18:43:30 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							ef0408dcdf 
							
						 
					 
					
						
						
							
							Mobile navbar includes Portfolio instead of Communities. Each option is labeled!  
						
						
						
					 
					
						2022-04-03 18:26:50 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							9420b10bd9 
							
						 
					 
					
						
						
							
							Fix overlapping bet panel  
						
						
						
					 
					
						2022-04-03 16:57:38 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							d7b702fe00 
							
						 
					 
					
						
						
							
							Portfolio page! Add to sidebar when signed in, move about into more.  
						
						
						
					 
					
						2022-04-03 15:48:25 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							5dcd43f5b2 
							
						 
					 
					
						
						
							
							Refactor tricky bet calculations to one function  
						
						
						
					 
					
						2022-04-03 14:48:53 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							1b9a38ff66 
							
						 
					 
					
						
						
							
							Tweak current value calculation  
						
						
						
					 
					
						2022-04-03 11:18:31 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							6b2f6f7185 
							
						 
					 
					
						
						
							
							Calculate invested differently. Sort trades by value and profit, including sales profit. Display profit when sorting by profit.  
						
						
						
					 
					
						2022-04-03 01:08:57 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cb0f9d922f 
							
						 
					 
					
						
						
							
							Update web README  
						
						
						
					 
					
						2022-04-02 12:12:33 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							55c6481d5b 
							
						 
					 
					
						
						
							
							Don't require sign in for bottom navbar  
						
						
						
					 
					
						2022-04-02 09:42:01 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							80728ff4f9 
							
						 
					 
					
						
						
							
							Switch confirmation buttons to the new modal  
						
						
						
					 
					
						2022-03-31 02:09:08 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							94b7ebe5e8 
							
						 
					 
					
						
						
							
							Minor fixes: typo, React keys  
						
						
						
					 
					
						2022-03-31 01:38:57 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							34e7a27125 
							
						 
					 
					
						
						
							
							Standardize on a single Tabs component ( #72 )  
						
						... 
						
						
						
						* Extract out Tabs component
* Use tabs component on /home
* Use Tabs on Fold pages too 
						
					 
					
						2022-03-30 23:24:35 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							75e48204ef 
							
						 
					 
					
						
						
							
							Add left sidebar (with mobile support this time) ( #71 )  
						
						... 
						
						
						
						* Revert "Reverting side navbar for now"
This reverts commit a90441d9d5 
						
					 
					
						2022-03-30 22:35:20 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							a90441d9d5 
							
						 
					 
					
						
						
							
							Reverting side navbar for now  
						
						
						
					 
					
						2022-03-30 22:51:15 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							925e623a64 
							
						 
					 
					
						
						
							
							Prevent flash of sign in button on navigate  
						
						
						
					 
					
						2022-03-30 19:15:38 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5c12da140d 
							
						 
					 
					
						
						
							
							Add a left sidebar on desktop ( #70 )  
						
						... 
						
						
						
						* Copy in nav from TailwindUI
* Split up nav files
* Hook up sidebar options to the current page
* Tweak padding
* Insert a right sidebar on folds & contracts
* Keep column always centered
* Remove markets and folds from top navbar
* Extract out sidebaricon; link to /about
* Rename to "useFollowedFoldIds"
* Cache followed folds in localstorage
* Remove unused mobile sidebar (for now)
* Remove unused code
* Remove sidebar from landing page
* Tweak resolution panel styling
* Remove the top navbar entirely
* Completely remove the old navbar
* Add "more" and profile link
* Rearrange sidebar ordering
* Remove unused component
* Add Sign In button for logged-out users
* Remove extra options for signed-out users 
						
					 
					
						2022-03-30 16:56:51 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							cfbbbc4367 
							
						 
					 
					
						
						
							
							Upgrade some packages  
						
						
						
					 
					
						2022-03-29 23:55:47 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							3eb0bb1711 
							
						 
					 
					
						
						
							
							Throw error if sell conditions don't hold  
						
						
						
					 
					
						2022-03-29 21:30:04 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ed5f69db7a 
							
						 
					 
					
						
						
							
							Sell shares panel ( #69 )  
						
						... 
						
						
						
						* Split BuyAmountInput out of AmountInput
* Buy and sell tabs. Compute some sell info
* In progress
* BuyPanel & SellPanel with banner above that shows current shares and toggle button
* Remove "Remaining balance"
* Bring back 'Place a trade'. Tweaks
* Sell shares cloud function.
* Sell all shares by default. Switch back to buy if sell all your shares.
* Cache your shares in local storage so sell banner doesn't flicker.
* Compute sale value of shares with binary search to keep k constant.
* Update bets table to show BUY or SELL
* Fixes from Stephen's review
* Don't allow selling more than max shares in cloud function
* Use modal for sell shares on desktop.
* Handle floating point precision in max shares you can sell. 
						
					 
					
						2022-03-29 14:56:56 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							a40d593d32 
							
						 
					 
					
						
						
							
							Refactor useQueryAndSortParams into the SearchableGrid component  
						
						
						
					 
					
						2022-03-29 08:09:46 -07:00 
						 
				 
			
				
					
						
							
							
								Sinclair Chen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6e387ef938 
							
						 
					 
					
						
						
							
							Keep FR answer panel open after betting ( #68 )  
						
						
						
					 
					
						2022-03-25 13:33:57 -07:00 
						 
				 
			
				
					
						
							
							
								Sinclair Chen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							50eb9bd4bd 
							
						 
					 
					
						
						
							
							Remove resize handles from input fields ( #67 )  
						
						
						
					 
					
						2022-03-25 09:27:28 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							bad58652b8 
							
						 
					 
					
						
						
							
							Tweak copy  
						
						
						
					 
					
						2022-03-24 22:53:12 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							7d8a87615a 
							
						 
					 
					
						
						
							
							Embed market: dynamically adjust graph height  
						
						
						
					 
					
						2022-03-24 12:03:17 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							b6281b0b56 
							
						 
					 
					
						
						
							
							Generate sitemap server-side  
						
						
						
					 
					
						2022-03-24 09:52:13 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							467f7ded73 
							
						 
					 
					
						
						
							
							Update API link  
						
						
						
					 
					
						2022-03-24 09:40:57 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							1a1dc97ec8 
							
						 
					 
					
						
						
							
							Generate a sitemap with next-sitemap  
						
						
						
					 
					
						2022-03-24 09:28:36 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							1374309de3 
							
						 
					 
					
						
						
							
							Only show profitable trades in "Smartest Money"  
						
						
						
					 
					
						2022-03-23 12:06:39 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							7696dd84b5 
							
						 
					 
					
						
						
							
							Fix 'undefined' shares in DPM tooltip  
						
						
						
					 
					
						2022-03-23 00:40:05 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							8569a0362b 
							
						 
					 
					
						
						
							
							Fix not being able to go back on markets pages / communities  
						
						
						
					 
					
						2022-03-23 00:34:04 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							a967f7459d 
							
						 
					 
					
						
						
							
							Sort most traded by volume instead of pool size  
						
						
						
					 
					
						2022-03-23 00:27:22 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							364c6ad8e5 
							
						 
					 
					
						
						
							
							Show volume label for DPM contracts too  
						
						
						
					 
					
						2022-03-23 00:23:40 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							510e4400d3 
							
						 
					 
					
						
						
							
							Rename liquidity label to volume label  
						
						
						
					 
					
						2022-03-23 00:02:47 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							6b61d7209d 
							
						 
					 
					
						
						
							
							Compute volume for contracts. Show volume instead of liquidity for cpmm.  
						
						
						
					 
					
						2022-03-22 23:49:15 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							9c19966ef9 
							
						 
					 
					
						
						
							
							Show fewer graph ticks on mobile so they don't overlap. padding  
						
						
						
					 
					
						2022-03-22 21:05:31 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							cbc01d8160 
							
						 
					 
					
						
						
							
							Fix analytics tabs on mobile  
						
						
						
					 
					
						2022-03-22 18:26:06 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							c40c7af0b0 
							
						 
					 
					
						
						
							
							Condense analytics graphs using tabs  
						
						
						
					 
					
						2022-03-22 15:53:06 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							6d5a4d6e3f 
							
						 
					 
					
						
						
							
							Week-on-week retention graph  
						
						
						
					 
					
						2022-03-22 16:24:26 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							1a44124a59 
							
						 
					 
					
						
						
							
							Preserve new lines in answer feed item  
						
						
						
					 
					
						2022-03-22 00:20:52 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							cc0beb4ca4 
							
						 
					 
					
						
						
							
							DPM: label payout 'Estimated' in bet panel  
						
						
						
					 
					
						2022-03-22 00:18:08 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							a37ab956db 
							
						 
					 
					
						
						
							
							Hide answers in graph if M$ 0 is bet on it  
						
						
						
					 
					
						2022-03-21 19:48:48 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							28e3adcdff 
							
						 
					 
					
						
						
							
							Fix embed button on top of profile menu  
						
						
						
					 
					
						2022-03-21 19:34:29 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							09da7fcb7c 
							
						 
					 
					
						
						
							
							Add weekly active users chart. Put daily active first.  
						
						
						
					 
					
						2022-03-21 17:42:12 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							a3067527ee 
							
						 
					 
					
						
						
							
							Fix crash when there aren't any bets  
						
						
						
					 
					
						2022-03-21 15:19:42 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							a9cdeb46a2 
							
						 
					 
					
						
						
							
							Clean up button styling  
						
						
						
					 
					
						2022-03-21 14:54:09 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							033ff3e150 
							
						 
					 
					
						
						
							
							Implement copy for non-standard browsers. Fix flaky embed copy  
						
						
						
					 
					
						2022-03-21 16:44:11 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							cf2b54ab8d 
							
						 
					 
					
						
						
							
							Rearrange contract overview (-10 LOC!)  
						
						
						
					 
					
						2022-03-21 16:19:08 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							2eeaeff92d 
							
						 
					 
					
						
						
							
							Normal case Embed. Tweak gap so contract details fit in one row on more markets  
						
						
						
					 
					
						2022-03-21 15:36:03 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							4a617a4c07 
							
						 
					 
					
						
						
							
							Share embed button  
						
						
						
					 
					
						2022-03-21 15:23:21 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							0592909248 
							
						 
					 
					
						
						
							
							Subtract loan amount from investment  
						
						
						
					 
					
						2022-03-21 01:29:53 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							03592f9c3e 
							
						 
					 
					
						
						
							
							Add sort by close time  
						
						
						
					 
					
						2022-03-20 19:30:04 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							37b8cc9687 
							
						 
					 
					
						
						
							
							Show a top 5 leaderboard on resolved markets ( #66 )  
						
						... 
						
						
						
						* Show a top5 leaderboard on resolved markets
* Only show profitable traders
* Include sales in profits
* Copy Leaderboard styling
* Also show the top comment and trade
* Fix padding for solo bets
* Only show both comment & bet if they differ 
						
					 
					
						2022-03-20 18:07:45 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							7df69dda4d 
							
						 
					 
					
						
						
							
							Embedded market: Make only top section a link  
						
						
						
					 
					
						2022-03-20 18:17:37 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							cc15eb2044 
							
						 
					 
					
						
						
							
							Make embedded market link a clickable link  
						
						
						
					 
					
						2022-03-20 18:12:33 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							ee6f91a52f 
							
						 
					 
					
						
						
							
							Created embed page for analytics  
						
						
						
					 
					
						2022-03-20 17:21:28 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							087a2a1f8f 
							
						 
					 
					
						
						
							
							Monthly active users  
						
						
						
					 
					
						2022-03-20 16:23:25 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							48f5c28d75 
							
						 
					 
					
						
						
							
							Simplified contract embed  
						
						
						
					 
					
						2022-03-20 16:05:16 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							164f5fba06 
							
						 
					 
					
						
						
							
							Simple market embed page  
						
						
						
					 
					
						2022-03-20 12:45:17 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							7585a1a649 
							
						 
					 
					
						
						
							
							Include your bet on contracts in default feed  
						
						
						
					 
					
						2022-03-19 22:37:57 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							a3c72214b8 
							
						 
					 
					
						
						
							
							Use sort linked in the url and not saved sort.  
						
						
						
					 
					
						2022-03-19 11:34:24 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							47f95678bd 
							
						 
					 
					
						
						
							
							Fix closing soon sort  
						
						
						
					 
					
						2022-03-19 11:22:24 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							f00064732d 
							
						 
					 
					
						
						
							
							Only answers with less than 0.01% are filtered from feed.  
						
						
						
					 
					
						2022-03-19 01:13:40 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							d6a751d9a2 
							
						 
					 
					
						
						
							
							Show decimals on 98%+  
						
						
						
					 
					
						2022-03-18 20:02:04 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							434c7b6b97 
							
						 
					 
					
						
						
							
							Add most likely, least likely sort options  
						
						
						
					 
					
						2022-03-18 19:22:59 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							5f4908b072 
							
						 
					 
					
						
						
							
							Invert closed markets sort  
						
						
						
					 
					
						2022-03-18 21:15:30 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							7d5d945a20 
							
						 
					 
					
						
						
							
							Show 1 decimal point on probability tails  
						
						
						
					 
					
						2022-03-18 19:12:50 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							e638bf1b32 
							
						 
					 
					
						
						
							
							Filter out closed markets from most sort options on markets page  
						
						
						
					 
					
						2022-03-18 21:07:06 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							758385f044 
							
						 
					 
					
						
						
							
							Invert Tweet button  
						
						
						
					 
					
						2022-03-18 17:05:31 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							4c8b7bbc3d 
							
						 
					 
					
						
						
							
							Hide buy button when market has closed  
						
						
						
					 
					
						2022-03-17 17:15:07 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							e0989bdfde 
							
						 
					 
					
						
						
							
							Fix loan amount label to account for  sales.  
						
						
						
					 
					
						2022-03-17 12:04:48 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							f14a87c9b3 
							
						 
					 
					
						
						
							
							remove bio placeholder text again, preserve spacing  
						
						
						
					 
					
						2022-03-17 12:03:15 -05:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							927a5137a2 
							
						 
					 
					
						
						
							
							update api to include cfmm props  
						
						
						
					 
					
						2022-03-17 11:55:06 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							e39f6d4125 
							
						 
					 
					
						
						
							
							Move fold items into folds/  
						
						
						
					 
					
						2022-03-17 00:56:25 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							318da1bd6f 
							
						 
					 
					
						
						
							
							Move nav items into nav/  
						
						
						
					 
					
						2022-03-17 00:50:45 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							addc883440 
							
						 
					 
					
						
						
							
							Track seen contracts in feed. Order feed by seen time priority.  
						
						
						
					 
					
						2022-03-17 02:29:19 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							3b933923e2 
							
						 
					 
					
						
						
							
							Revert "user page: remove bio placeholder text"  
						
						... 
						
						
						
						This reverts commit 3009c6cc01 
						
					 
					
						2022-03-17 00:07:10 -07:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
						
						
							
						
						
							3009c6cc01 
							
						 
					 
					
						
						
							
							user page: remove bio placeholder text  
						
						
						
					 
					
						2022-03-16 23:48:38 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							e4c9508340 
							
						 
					 
					
						
						
							
							Show "Buy" and % directly in FR feed  
						
						
						
					 
					
						2022-03-16 21:42:24 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							94f6f08784 
							
						 
					 
					
						
						
							
							Disable submissions without eating the comment after 1h  
						
						
						
					 
					
						2022-03-16 19:55:03 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							01884bd3df 
							
						 
					 
					
						
						
							
							Remove 'pool' from label  
						
						
						
					 
					
						2022-03-16 19:42:42 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							9426cc2b94 
							
						 
					 
					
						
						
							
							Stop showing creator's trades in all cases  
						
						
						
					 
					
						2022-03-16 19:37:43 -07:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							d4af15714c 
							
						 
					 
					
						
						
							
							Remove delete button from the UI  
						
						
						
					 
					
						2022-03-16 19:25:39 -07:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							727911816c 
							
						 
					 
					
						
						
							
							Fix graph bug for sold bets. 6 lines. Clean up.  
						
						
						
					 
					
						2022-03-16 18:47:12 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							0390e851fc 
							
						 
					 
					
						
						
							
							Show loan summary above bets table. Remove parenthetical loan amount per bet.  
						
						
						
					 
					
						2022-03-16 18:08:33 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							4847939e8c 
							
						 
					 
					
						
						
							
							Filter out redemption bets from feeds  
						
						
						
					 
					
						2022-03-16 17:55:11 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							ecc87c7989 
							
						 
					 
					
						
						
							
							Correctly render resolve prob %  
						
						
						
					 
					
						2022-03-15 21:46:14 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							958dc2b431 
							
						 
					 
					
						
						
							
							Use a stacked line graph for FR answers  
						
						
						
					 
					
						2022-03-15 17:26:59 -07:00 
						 
				 
			
				
					
						
							
							
								mantikoros 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c183e00d47 
							
						 
					 
					
						
						
							
							Cfmm ( #64 )  
						
						... 
						
						
						
						* cpmm initial commit: common logic, cloud functions
* remove unnecessary property
* contract type
* rename 'calculate.ts' => 'calculate-dpm.ts'
* rename dpm calculations
* use focus hook
* mechanism-agnostic calculations
* bet panel: use new calculations
* use new calculations
* delete markets cloud function
* use correct contract type in scripts / functions
* calculate fixed payouts; bets list calculations
* new bet: use calculateCpmmPurchase
* getOutcomeProbabilityAfterBet
* use deductFixedFees
* fix auto-refactor
* fix antes
* separate logic to payouts-dpm, payouts-fixed
* liquidity provision tracking
* remove comment
* liquidity label
* create liquidity provision even if no ante bet
* liquidity fee
* use all bets for getFixedCancelPayouts
* updateUserBalance: allow negative balances
* store initialProbability in contracts
* turn on liquidity fee; turn off creator fee
* Include time param in tweet url, so image preview is re-fetched
* share redemption
* cpmm ContractBetsTable display
* formatMoney: handle minus zero
* filter out redemption bets
* track fees on contract and bets; change fee schedule for cpmm markets; only pay out creator fees at resolution
* small fixes
* small fixes
* Redeem shares pays back loans first
* Fix initial point on graph
* calculateCpmmPurchase: deduct creator fee
* Filter out redemption bets from feed
* set env to dev for user-testing purposes
* creator fees messaging
* new cfmm: k = y^(1-p) * n^p
* addCpmmLiquidity
* correct price function
* enable fees
* handle overflow
* liquidity provision tracking
* raise fees
* Fix merge error
* fix dpm free response payout for single outcome
* Fix DPM payout calculation
* Remove hardcoding as dev
Co-authored-by: James Grugett <jahooma@gmail.com> 
						
					 
					
						2022-03-15 17:27:51 -05:00 
						 
				 
			
				
					
						
							
							
								James Grugett 
							
						 
					 
					
						
						
						
						
							
						
						
							bd62d8fbcd 
							
						 
					 
					
						
						
							
							FR graph: Truncate answer labels further  
						
						
						
					 
					
						2022-03-15 15:32:39 -05:00