..  
			 
		
		
			
			
			
			
				
					
						
							
								
								 
								
									
									
									
										email-templates
									
								 
							
						
					 
				 
				
					
						
							
							Remove unsubscribe options for market closure 
						
					 
				 
				2022-10-03 08:30:21 -06:00  
			 
		
			
			
			
			
				
					
						
							
								
								 
								
									
									
									
										helpers
									
								 
							
						
					 
				 
				
					
						
							
							Make liquidity great again ( #1020 ) 
						
					 
				 
				2022-10-10 21:56:16 -05:00  
			 
		
			
			
			
			
				
					
						
							
								
								 
								
									
									
									
										scripts
									
								 
							
						
					 
				 
				
					
						
							
							Resolve markets again script 
						
					 
				 
				2022-10-12 17:30:21 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								accept-challenge.ts 
							
						
					 
				 
				
					
						
							
							accept challenge: redeem shares 
						
					 
				 
				2022-08-18 10:39:48 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								add-subsidy.ts 
							
						
					 
				 
				
					
						
							
							Make liquidity great again ( #1020 ) 
						
					 
				 
				2022-10-10 21:56:16 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								analytics.ts 
							
						
					 
				 
				
					
						
							
							Backend robustness to email sending or analytics tracking failures ( #728 ) 
						
					 
				 
				2022-08-15 22:13:38 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								api.ts 
							
						
					 
				 
				
					
						
							
							Call updatemetrics v2 cloud function from scheduled function ( #1014 ) 
						
					 
				 
				2022-10-07 17:10:12 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								backup-db.ts 
							
						
					 
				 
				
					
						
							
							Fix backup DB job to actually backup most things, refactor ( #605 ) 
						
					 
				 
				2022-07-02 13:27:06 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								cancel-bet.ts 
							
						
					 
				 
				
					
						
							
							Small backend cleanups ( #643 ) 
						
					 
				 
				2022-07-24 00:45:45 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								change-user-info.ts 
							
						
					 
				 
				
					
						
							
							Denormalize user display fields onto bets ( #853 ) 
						
					 
				 
				2022-09-14 01:33:59 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								claim-manalink.ts 
							
						
					 
				 
				
					
						
							
							Inga/manalink bug fixes ( #653 ) 
						
					 
				 
				2022-07-15 20:42:37 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								close-market.ts 
							
						
					 
				 
				
					
						
							
							Add docs fo /close, allow to pass closeTime 
						
					 
				 
				2022-09-23 10:14:41 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 
								create-answer.ts 
							
						
					 
				 
				
					
						
							
							Add user to market followers in create answer 
						
					 
				 
				2022-09-26 15:56:47 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 
								create-comment.ts 
							
						
					 
				 
				
					
						
							
							Add /createcomment API endpoint ( #946 ) 
						
					 
				 
				2022-10-12 17:25:17 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								create-group.ts 
							
						
					 
				 
				
					
						
							
							Overview page on groups ( #961 ) 
						
					 
				 
				2022-10-03 00:02:31 +01:00  
			 
		
			
			
			
			
				
					
						
							
								 
								create-market.ts 
							
						
					 
				 
				
					
						
							
							Revert "create market: use transaction" 
						
					 
				 
				2022-10-06 10:54:42 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								create-notification.ts 
							
						
					 
				 
				
					
						
							
							Send market closed notifications every 5 days 
						
					 
				 
				2022-10-11 10:22:38 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								create-post.ts 
							
						
					 
				 
				
					
						
							
							Update post-cards to show profile pic correctly 
						
					 
				 
				2022-10-12 17:31:00 +01:00  
			 
		
			
			
			
			
				
					
						
							
								 
								create-user.ts 
							
						
					 
				 
				
					
						
							
							Award badges for market creation, betting streaks, proven correct ( #891 ) 
						
					 
				 
				2022-10-10 14:32:29 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								drizzle-liquidity.ts 
							
						
					 
				 
				
					
						
							
							Make liquidity great again ( #1020 ) 
						
					 
				 
				2022-10-10 21:56:16 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								emails.ts 
							
						
					 
				 
				
					
						
							
							Send market closed notifications every 5 days 
						
					 
				 
				2022-10-11 10:22:38 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								follow-market.ts 
							
						
					 
				 
				
					
						
							
							Allow to follow/unfollow markets, backfill as well ( #794 ) 
						
					 
				 
				2022-08-24 10:49:53 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								get-current-user.ts 
							
						
					 
				 
				
					
						
							
							Add endpoint for reading currently authenticated user ( #710 ) 
						
					 
				 
				2022-08-02 00:06:23 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								get-feed-data.ts 
							
						
					 
				 
				
					
						
							
							Make feed updating do much less work ( #455 ) 
						
					 
				 
				2022-06-09 15:13:06 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								health.ts 
							
						
					 
				 
				
					
						
							
							Revamp backend code to support good local function development ( #657 ) 
						
					 
				 
				2022-07-24 00:26:38 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								index.ts 
							
						
					 
				 
				
					
						
							
							Add /createcomment API endpoint ( #946 ) 
						
					 
				 
				2022-10-12 17:25:17 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								mana-bonus-email.ts 
							
						
					 
				 
				
					
						
							
							500 mana email ( #687 ) 
						
					 
				 
				2022-08-04 13:03:02 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								market-close-notifications.ts 
							
						
					 
				 
				
					
						
							
							Cleanup comments 
						
					 
				 
				2022-10-11 10:26:37 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-create-answer.ts 
							
						
					 
				 
				
					
						
							
							Allow to follow/unfollow markets, backfill as well ( #794 ) 
						
					 
				 
				2022-08-24 10:49:53 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-create-bet.ts 
							
						
					 
				 
				
					
						
							
							Switch logic to includes 
						
					 
				 
				2022-10-11 08:35:59 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-create-comment-on-contract.ts 
							
						
					 
				 
				
					
						
							
							Move comment-bet association code into comment creation trigger ( #899 ) 
						
					 
				 
				2022-09-20 15:25:58 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-create-contract.ts 
							
						
					 
				 
				
					
						
							
							Switch logic to includes 
						
					 
				 
				2022-10-11 08:35:59 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-create-liquidity-provision.ts 
							
						
					 
				 
				
					
						
							
							Send market closed notifications every 5 days 
						
					 
				 
				2022-10-11 10:22:38 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-create-txn.ts 
							
						
					 
				 
				
					
						
							
							Enable tipping on group chats w/ notif ( #629 ) 
						
					 
				 
				2022-07-07 17:23:13 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-create-user.ts 
							
						
					 
				 
				
					
						
							
							send market guide onboarding email after 96 hrs 
						
					 
				 
				2022-09-20 16:03:17 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-delete-group.ts 
							
						
					 
				 
				
					
						
							
							Backfill and forward fill contracts with group info ( #686 ) 
						
					 
				 
				2022-07-22 16:28:53 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-follow-user.ts 
							
						
					 
				 
				
					
						
							
							Send market closed notifications every 5 days 
						
					 
				 
				2022-10-11 10:22:38 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-unfollow-user.ts 
							
						
					 
				 
				
					
						
							
							Create Top Followed Users leaderboard ( #531 ) 
						
					 
				 
				2022-06-22 11:05:54 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-update-contract-follow.ts 
							
						
					 
				 
				
					
						
							
							liking markets with tip/heart ( #798 ) 
						
					 
				 
				2022-08-30 09:38:59 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-update-contract.ts 
							
						
					 
				 
				
					
						
							
							Ignore cancel resolutions for proven correct 
						
					 
				 
				2022-10-12 08:05:55 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-update-group.ts 
							
						
					 
				 
				
					
						
							
							Members and contracts now subcollections of groups ( #847 ) 
						
					 
				 
				2022-09-02 18:06:48 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-update-like.ts 
							
						
					 
				 
				
					
						
							
							new market view ( #819 ) 
						
					 
				 
				2022-08-30 17:13:25 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-update-user.ts 
							
						
					 
				 
				
					
						
							
							Verify balance of limit order "makers" ( #1007 ) 
						
					 
				 
				2022-10-06 22:16:49 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								on-view.ts 
							
						
					 
				 
				
					
						
							
							Revert "Make absolute imports work with functions project ( #168 )" 
						
					 
				 
				2022-05-15 13:39:42 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 
								place-bet.ts 
							
						
					 
				 
				
					
						
							
							flat trade fee of M$0.1 aka bot tax 
						
					 
				 
				2022-10-06 23:04:48 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								redeem-shares.ts 
							
						
					 
				 
				
					
						
							
							Fix absolute import within functions 
						
					 
				 
				2022-08-27 17:18:39 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								reset-betting-streaks.ts 
							
						
					 
				 
				
					
						
							
							Add query to help avoid timeout 
						
					 
				 
				2022-08-31 08:03:51 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								reset-weekly-emails-flags.ts 
							
						
					 
				 
				
					
						
							
							Rename & correct spelling 
						
					 
				 
				2022-09-26 17:54:48 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 
								resolve-market.ts 
							
						
					 
				 
				
					
						
							
							Resolve markets again script 
						
					 
				 
				2022-10-12 17:30:21 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								save-twitch-credentials.ts 
							
						
					 
				 
				
					
						
							
							Twitch integration ( #815 ) 
						
					 
				 
				2022-09-14 01:52:31 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								score-contracts.ts 
							
						
					 
				 
				
					
						
							
							Only set daily score on contracts that are at least day old 
						
					 
				 
				2022-09-26 17:43:27 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 
								sell-bet.ts 
							
						
					 
				 
				
					
						
							
							Loans2: Bets return you some capital every week ( #588 ) 
						
					 
				 
				2022-08-22 00:22:49 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								sell-shares.ts 
							
						
					 
				 
				
					
						
							
							Verify balance of limit order "makers" ( #1007 ) 
						
					 
				 
				2022-10-06 22:16:49 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								send-email.ts 
							
						
					 
				 
				
					
						
							
							personal followup email 
						
					 
				 
				2022-08-16 11:45:58 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								serve.ts 
							
						
					 
				 
				
					
						
							
							Add /createcomment API endpoint ( #946 ) 
						
					 
				 
				2022-10-12 17:25:17 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								stripe.ts 
							
						
					 
				 
				
					
						
							
							Revamp backend code to support good local function development ( #657 ) 
						
					 
				 
				2022-07-24 00:26:38 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								test-scheduled-function.ts 
							
						
					 
				 
				
					
						
							
							Send market closed notifications every 5 days 
						
					 
				 
				2022-10-11 10:22:38 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								transact.ts 
							
						
					 
				 
				
					
						
							
							Migrate transact function to v2 ( #635 ) 
						
					 
				 
				2022-07-09 13:54:15 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 
								unsubscribe.ts 
							
						
					 
				 
				
					
						
							
							Fix title, send out the remaining emails today 
						
					 
				 
				2022-10-04 08:55:44 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								update-comment-bounty.ts 
							
						
					 
				 
				
					
						
							
							Bounty comments ( #944 ) 
						
					 
				 
				2022-09-30 09:27:42 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								update-loans.ts 
							
						
					 
				 
				
					
						
							
							Increase memory of update functions 
						
					 
				 
				2022-09-20 23:56:14 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								update-metrics.ts 
							
						
					 
				 
				
					
						
							
							Fix bug in which new users are flagged as unreliable 
						
					 
				 
				2022-10-11 13:39:40 +01:00  
			 
		
			
			
			
			
				
					
						
							
								 
								update-stats.ts 
							
						
					 
				 
				
					
						
							
							Try extending /stats to 180 days 
						
					 
				 
				2022-09-30 18:46:54 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 
								utils.ts 
							
						
					 
				 
				
					
						
							
							Better resolve market payouts ( #1038 ) 
						
					 
				 
				2022-10-12 16:21:37 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 
								weekly-markets-emails.ts 
							
						
					 
				 
				
					
						
							
							Comment out logs 
						
					 
				 
				2022-10-05 13:09:40 -06:00  
			 
		
			
			
			
			
				
					
						
							
								 
								weekly-portfolio-emails.ts 
							
						
					 
				 
				
					
						
							
							Better error handling for notification destinations 
						
					 
				 
				2022-10-10 07:41:41 -06:00