..  
		
		
			
			
			
			
				
					
						
							
								
								
									
									
									
										email-templates
									
								 
							
						
					 
				 
				
					
						
							
							emails: make banner a link 
						
					 
				 
				2022-08-27 22:15:14 -05:00  
		
			
			
			
			
				
					
						
							
								
								
									
									
									
										scripts
									
								 
							
						
					 
				 
				
					
						
							
							⚡  Cache user bets tab with react query!!  ( #813 ) 
						
					 
				 
				2022-08-28 18:03:00 -05:00  
		
			
			
			
			
				
					
						
							
								accept-challenge.ts 
							
						
					 
				 
				
					
						
							
							accept challenge: redeem shares 
						
					 
				 
				2022-08-18 10:39:48 -05:00  
		
			
			
			
			
				
					
						
							
								add-liquidity.ts 
							
						
					 
				 
				
					
						
							
							Don't run share redemption after adding liquidity ( #631 ) 
						
					 
				 
				2022-07-12 12:36:31 -07:00  
		
			
			
			
			
				
					
						
							
								analytics.ts 
							
						
					 
				 
				
					
						
							
							Backend robustness to email sending or analytics tracking failures ( #728 ) 
						
					 
				 
				2022-08-15 22:13:38 -07:00  
		
			
			
			
			
				
					
						
							
								api.ts 
							
						
					 
				 
				
					
						
							
							Convert tags to groups on demand ( #784 ) 
						
					 
				 
				2022-08-20 13:32:12 -07: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 
							
						
					 
				 
				
					
						
							
							Migrate changeUserInfo function to v2 ( #626 ) 
						
					 
				 
				2022-07-08 15:00:03 -07:00  
		
			
			
			
			
				
					
						
							
								claim-manalink.ts 
							
						
					 
				 
				
					
						
							
							Inga/manalink bug fixes ( #653 ) 
						
					 
				 
				2022-07-15 20:42:37 -05:00  
		
			
			
			
			
				
					
						
							
								create-answer.ts 
							
						
					 
				 
				
					
						
							
							Loans2: Bets return you some capital every week ( #588 ) 
						
					 
				 
				2022-08-22 00:22:49 -05:00  
		
			
			
			
			
				
					
						
							
								create-group.ts 
							
						
					 
				 
				
					
						
							
							Convert tags to groups on demand ( #784 ) 
						
					 
				 
				2022-08-20 13:32:12 -07:00  
		
			
			
			
			
				
					
						
							
								create-market.ts 
							
						
					 
				 
				
					
						
							
							Give all users 5 free markets 
						
					 
				 
				2022-08-25 05:51:56 -06:00  
		
			
			
			
			
				
					
						
							
								create-notification.ts 
							
						
					 
				 
				
					
						
							
							Allow to follow/unfollow markets, backfill as well ( #794 ) 
						
					 
				 
				2022-08-24 10:49:53 -06:00  
		
			
			
			
			
				
					
						
							
								create-user.ts 
							
						
					 
				 
				
					
						
							
							Lint 
						
					 
				 
				2022-08-24 11:58:32 -06:00  
		
			
			
			
			
				
					
						
							
								emails.ts 
							
						
					 
				 
				
					
						
							
							market resolution email: link in header image, show only non-negative investment amount 
						
					 
				 
				2022-08-27 14:38:09 -05: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-custom-token.ts 
							
						
					 
				 
				
					
						
							
							Vercel auth phase 2 ( #714 ) 
						
					 
				 
				2022-08-05 20:49:29 -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 
							
						
					 
				 
				
					
						
							
							Allow to follow/unfollow markets, backfill as well ( #794 ) 
						
					 
				 
				2022-08-24 10:49:53 -06:00  
		
			
			
			
			
				
					
						
							
								mana-bonus-email.ts 
							
						
					 
				 
				
					
						
							
							500 mana email ( #687 ) 
						
					 
				 
				2022-08-04 13:03:02 -05:00  
		
			
			
			
			
				
					
						
							
								market-close-notifications.ts 
							
						
					 
				 
				
					
						
							
							refactor createNotif - put ?: args in object ( #681 ) 
						
					 
				 
				2022-07-21 17:08:09 -07: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 
							
						
					 
				 
				
					
						
							
							Allow custom environments to override any economic aspect ( #787 ) 
						
					 
				 
				2022-08-21 22:37:26 -07:00  
		
			
			
			
			
				
					
						
							
								on-create-comment-on-contract.ts 
							
						
					 
				 
				
					
						
							
							Allow to follow/unfollow markets, backfill as well ( #794 ) 
						
					 
				 
				2022-08-24 10:49:53 -06:00  
		
			
			
			
			
				
					
						
							
								on-create-comment-on-group.ts 
							
						
					 
				 
				
					
						
							
							Make typing for comments more fancy ( #776 ) 
						
					 
				 
				2022-08-19 01:06:40 -07:00  
		
			
			
			
			
				
					
						
							
								on-create-contract.ts 
							
						
					 
				 
				
					
						
							
							Allow to follow/unfollow markets, backfill as well ( #794 ) 
						
					 
				 
				2022-08-24 10:49:53 -06:00  
		
			
			
			
			
				
					
						
							
								on-create-group.ts 
							
						
					 
				 
				
					
						
							
							Notify mentioned users on market publish ( #683 ) 
						
					 
				 
				2022-08-04 15:35:55 -07:00  
		
			
			
			
			
				
					
						
							
								on-create-liquidity-provision.ts 
							
						
					 
				 
				
					
						
							
							Give all users 5 free markets 
						
					 
				 
				2022-08-25 05:51:56 -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 creator guide on D1 
						
					 
				 
				2022-08-20 15:34:34 -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 
							
						
					 
				 
				
					
						
							
							Notify mentioned users on market publish ( #683 ) 
						
					 
				 
				2022-08-04 15:35:55 -07:00  
		
			
			
			
			
				
					
						
							
								on-unfollow-user.ts 
							
						
					 
				 
				
					
						
							
							Create Top Followed Users leaderboard ( #531 ) 
						
					 
				 
				2022-06-22 11:05:54 -05:00  
		
			
			
			
			
				
					
						
							
								on-update-contract-follow.ts 
							
						
					 
				 
				
					
						
							
							Allow to follow/unfollow markets, backfill as well ( #794 ) 
						
					 
				 
				2022-08-24 10:49:53 -06:00  
		
			
			
			
			
				
					
						
							
								on-update-contract.ts 
							
						
					 
				 
				
					
						
							
							Allow to follow/unfollow markets, backfill as well ( #794 ) 
						
					 
				 
				2022-08-24 10:49:53 -06:00  
		
			
			
			
			
				
					
						
							
								on-update-group.ts 
							
						
					 
				 
				
					
						
							
							Groups contracts ( #709 ) 
						
					 
				 
				2022-08-01 21:15:09 -06:00  
		
			
			
			
			
				
					
						
							
								on-update-user.ts 
							
						
					 
				 
				
					
						
							
							Only show most recent streak notif, relative econ imports, pubsub emulator 
						
					 
				 
				2022-08-22 06:31:30 -06:00  
		
			
			
			
			
				
					
						
							
								on-view.ts 
							
						
					 
				 
				
					
						
							
							Revert "Make absolute imports work with functions project ( #168 )" 
						
					 
				 
				2022-05-15 13:39:42 -04:00  
		
			
			
			
			
				
					
						
							
								place-bet.ts 
							
						
					 
				 
				
					
						
							
							Fix import 
						
					 
				 
				2022-08-24 10:50:55 -06:00  
		
			
			
			
			
				
					
						
							
								redeem-shares.ts 
							
						
					 
				 
				
					
						
							
							Fix absolute import within functions 
						
					 
				 
				2022-08-27 17:18:39 -05:00  
		
			
			
			
			
				
					
						
							
								reset-betting-streaks.ts 
							
						
					 
				 
				
					
						
							
							Add weekly email sent flag, filter out manifold grouped markets 
						
					 
				 
				2022-08-22 16:36:39 -06:00  
		
			
			
			
			
				
					
						
							
								reset-weekly-emails-flag.ts 
							
						
					 
				 
				
					
						
							
							Be more explicit after unsubscribing from weekly trending 
						
					 
				 
				2022-08-22 16:56:28 -06:00  
		
			
			
			
			
				
					
						
							
								resolve-market.ts 
							
						
					 
				 
				
					
						
							
							Resolve market emails: fix negative amount bug with better invested calculation 
						
					 
				 
				2022-08-15 21:48:01 -05:00  
		
			
			
			
			
				
					
						
							
								score-contracts.ts 
							
						
					 
				 
				
					
						
							
							Fix last 3 days number 
						
					 
				 
				2022-07-19 17:22:23 -06:00  
		
			
			
			
			
				
					
						
							
								sell-bet.ts 
							
						
					 
				 
				
					
						
							
							Loans2: Bets return you some capital every week ( #588 ) 
						
					 
				 
				2022-08-22 00:22:49 -05:00  
		
			
			
			
			
				
					
						
							
								sell-shares.ts 
							
						
					 
				 
				
					
						
							
							Fix import 
						
					 
				 
				2022-08-24 10:51:21 -06:00  
		
			
			
			
			
				
					
						
							
								send-email.ts 
							
						
					 
				 
				
					
						
							
							personal followup email 
						
					 
				 
				2022-08-16 11:45:58 -05:00  
		
			
			
			
			
				
					
						
							
								serve.ts 
							
						
					 
				 
				
					
						
							
							"create-contract.ts" => "create-market.ts" 
						
					 
				 
				2022-08-18 11:14:16 -05:00  
		
			
			
			
			
				
					
						
							
								stripe.ts 
							
						
					 
				 
				
					
						
							
							Revamp backend code to support good local function development ( #657 ) 
						
					 
				 
				2022-07-24 00:26:38 -07:00  
		
			
			
			
			
				
					
						
							
								transact.ts 
							
						
					 
				 
				
					
						
							
							Migrate transact function to v2 ( #635 ) 
						
					 
				 
				2022-07-09 13:54:15 -07:00  
		
			
			
			
			
				
					
						
							
								unsubscribe.ts 
							
						
					 
				 
				
					
						
							
							Be more explicit after unsubscribing from weekly trending 
						
					 
				 
				2022-08-22 16:56:28 -06:00  
		
			
			
			
			
				
					
						
							
								update-loans.ts 
							
						
					 
				 
				
					
						
							
							Weekly => daily loans 
						
					 
				 
				2022-08-24 22:03:07 -05:00  
		
			
			
			
			
				
					
						
							
								update-metrics.ts 
							
						
					 
				 
				
					
						
							
							Fix weird new crash in updateMetrics: contract.id missing? 
						
					 
				 
				2022-08-28 00:11:13 -05:00  
		
			
			
			
			
				
					
						
							
								update-stats.ts 
							
						
					 
				 
				
					
						
							
							Increase memory for updateStats function 
						
					 
				 
				2022-08-24 22:50:52 -05:00  
		
			
			
			
			
				
					
						
							
								utils.ts 
							
						
					 
				 
				
					
						
							
							Markets emails ( #764 ) 
						
					 
				 
				2022-08-19 11:43:57 -06:00  
		
			
			
			
			
				
					
						
							
								weekly-markets-emails.ts 
							
						
					 
				 
				
					
						
							
							weeklyMarketsEmails: send different  markets to different users 
						
					 
				 
				2022-08-23 00:27:07 -05:00  
		
			
			
			
			
				
					
						
							
								withdraw-liquidity.ts 
							
						
					 
				 
				
					
						
							
							return creator liquidity after resolution 
						
					 
				 
				2022-07-09 13:53:50 -04:00