Commit Graph

  • 313923a0ab Update lend modal QIUCHENGHUI 2020-10-29 16:48:39 +08:00
  • 836b5e4912 Fix typo. awakexzxy 2020-10-29 16:35:13 +08:00
  • 91d6a98bcb Fxi onMax decemail show. awakexzxy 2020-10-29 16:13:19 +08:00
  • e249144b2d Fix on max withdraw. awakexzxy 2020-10-29 15:38:01 +08:00
  • a91077e1a5 Hide borrow limit when not approve QIUCHENGHUI 2020-10-28 16:20:02 +08:00
  • 76ad2f4279 Update transaction history QIUCHENGHUI 2020-10-28 14:37:43 +08:00
  • 9ae307b70b Remove unused code. awakexzxy 2020-10-28 14:17:41 +08:00
  • 460617156f Refine getNetApy and sumUnderlyingAssets. awakexzxy 2020-10-28 14:11:54 +08:00
  • 7d1fdce5ca Update transaction modal QIUCHENGHUI 2020-10-28 20:56:54 +08:00
  • 7590397329 Fix on borrow max. awakexzxy 2020-10-28 18:24:14 +08:00
  • fdc2354644 Update liquidity value. awakexzxy 2020-10-28 17:45:53 +08:00
  • a4945661fc Add double logo. Xiahong Lin 2020-10-27 12:45:06 -07:00
  • 598fba9247 Add logo0 and logo1. Xiahong Lin 2020-10-27 12:14:52 -07:00
  • 48ba232dfd Fix bug on missing dependency. Xiahong Lin 2020-10-27 12:14:11 -07:00
  • af84f41513 update lend modal button balance notice QIUCHENGHUI 2020-10-25 23:39:18 +08:00
  • 16c233b4d9 Refine code. awakexzxy 2020-10-27 20:38:32 +08:00
  • 15793941e6 Fix getSuppliedValue and getUnderlyingPrice. awakexzxy 2020-10-27 13:49:17 +08:00
  • aadad3fe92 Fix getSuppliedValue. awakexzxy 2020-10-27 00:47:58 +08:00
  • 2589526c59 Refine code. awakexzxy 2020-10-26 23:02:30 +08:00
  • 3e31116fd8 Remove draft code and fix usedLimit. awakexzxy 2020-10-25 23:28:37 +08:00
  • 404d02c113 Refine code. awakexzxy 2020-10-25 21:27:09 +08:00
  • 3ced57b649 Add updated function. awakexzxy 2020-10-25 16:29:20 +08:00
  • 25b8599b62 Don't check cETH. Xiahong Lin 2020-10-26 16:40:30 -07:00
  • b2803e71b0 Add deerfi contracts to rinkeby. Xiahong Lin 2020-10-26 16:17:36 -07:00
  • 14dc40a284 Update lend modal QIUCHENGHUI 2020-10-27 00:21:15 +08:00
  • d634d96f31 Update approve logic. awakexzxy 2020-10-26 13:07:00 +08:00
  • d7878ce1ff Fix limit. awakexzxy 2020-10-25 14:48:22 +08:00
  • 5edbb89ba3 Add lend modal closed after click QIUCHENGHUI 2020-10-24 22:11:36 +08:00
  • edded68150 Fix invalid discord link. Xiahong Lin 2020-10-23 21:33:34 -07:00
  • 546c4fd6ce Fix repay compare. awakexzxy 2020-10-24 11:47:59 +08:00
  • 7e6db2e844 Fix on withdraw max. Xiahong Lin 2020-10-23 20:43:23 -07:00
  • 1c2d7c362a Add modal button balance prompt QIUCHENGHUI 2020-10-24 01:43:37 +08:00
  • 830763dae1 Fix getUnderlyingPrice. awakexzxy 2020-10-24 01:27:21 +08:00
  • 2dd9694b06 Fix recent transactions amount QIUCHENGHUI 2020-10-23 17:41:17 +08:00
  • 7104887155 Add onMax on onBorrow and onRepayBorrow. awakexzxy 2020-10-23 18:58:30 +08:00
  • a1e5f1e9f4 Update getSupplyBalanceAmount. awakexzxy 2020-10-23 21:28:19 +08:00
  • 6565bdea27 Fix liquidity. awakexzxy 2020-10-23 16:44:06 +08:00
  • b0a390d08e Fix liquidity. awakexzxy 2020-10-23 16:44:06 +08:00
  • b2158909c7 Update onRepayBorrow onMax and fix lint. awakexzxy 2020-10-23 00:37:25 +08:00
  • 39e1506ddb Update supply onMax and remove draft code. awakexzxy 2020-10-22 23:02:04 +08:00
  • b75ac34a0b Fix liquidity and lint. awakexzxy 2020-10-22 22:03:30 +08:00
  • 31636f0a39 Update fetch ctoken check approve state QIUCHENGHUI 2020-10-22 17:55:06 +08:00
  • 274f768ea5 Rename onExitMarkets to onExitMarket and fix lint. awakexzxy 2020-10-22 14:54:03 +08:00
  • 3072dd6640 Remove Math.pow on LendModal. awakexzxy 2020-10-22 14:42:21 +08:00
  • bf40ccac85 Update show protocol balance on modal QIUCHENGHUI 2020-10-21 15:26:37 +08:00
  • 851af7aaae Fix token list not shown issue when wallet is locked. Xiahong Lin 2020-10-21 19:27:13 -07:00
  • 3a69e8459e Fix typo in useAllMarketCTokens. Xiahong Lin 2020-10-21 11:52:59 -07:00
  • 93e1b934f9 Remove unused code. Xiahong Lin 2020-10-21 11:51:12 -07:00
  • f0ac552b87 Remove useAllLendBalances. awakexzxy 2020-10-22 01:06:20 +08:00
  • 4e772f9599 Remove draft code. awakexzxy 2020-10-22 01:05:15 +08:00
  • af77380983 Add ETH and Update wallet balance calculation. awakexzxy 2020-10-22 00:58:46 +08:00
  • 678140903e Add useAllLendBalances and useCTokenBalance. awakexzxy 2020-10-21 23:42:08 +08:00
  • 8d689e6b97 Fix lint. awakexzxy 2020-10-21 23:39:34 +08:00
  • daf53c1ebb Add modal lend limit and used QIUCHENGHUI 2020-10-21 19:18:40 +08:00
  • 71714a5216 Move CToken related methods into CToken.ts. Xiahong Lin 2020-10-21 03:08:57 -07:00
  • 634a5c9b22 Move commonly used variables and functions to utils. Xiahong Lin 2020-10-21 01:09:01 -07:00
  • 613c6aa7f7 Move contract methods to the right places. Xiahong Lin 2020-10-21 00:57:08 -07:00
  • dbb3c1b46c Remove draft code. Xiahong Lin 2020-10-21 00:34:24 -07:00
  • 85602fa804 Add <></>. Xiahong Lin 2020-10-21 00:29:29 -07:00
  • 3317b7e6c2 Fix mobile url checking issue. Xiahong Lin 2020-10-20 15:53:50 -07:00
  • 7be194fefc Fix error caused when fixing lint issue. Xiahong Lin 2020-10-20 15:33:44 -07:00
  • 032240647f Update .env.production. Xiahong Lin 2020-10-20 15:19:34 -07:00
  • 73d762c246 Fix lint issue. Xiahong Lin 2020-10-20 15:07:12 -07:00
  • 17bb251ad7 Update resource. Xiahong Lin 2020-10-20 14:58:46 -07:00
  • 319d40464f Update release workflows. Xiahong Lin 2020-10-20 14:49:47 -07:00
  • 9365445581 Add missing oracle. Xiahong Lin 2020-10-20 14:35:46 -07:00
  • ab7eeab834 Add all tokens in all blockchains. Xiahong Lin 2020-10-20 14:19:48 -07:00
  • 5aaf7da5ab Disable popups. Xiahong Lin 2020-10-20 13:33:26 -07:00
  • 649837f570 Disable list query and pop up. Xiahong Lin 2020-10-20 13:18:46 -07:00
  • 9bf00631b1 Update menu. Xiahong Lin 2020-10-20 13:11:53 -07:00
  • 9155a1d966 Rename lend to lending, add lending tab, make lending tab default page. Xiahong Lin 2020-10-20 13:04:11 -07:00
  • 703259ade7 Add token approve QIUCHENGHUI 2020-10-21 01:40:52 +08:00
  • 8a7d22170d Update onMax call. awakexzxy 2020-10-21 00:25:03 +08:00
  • 80fbf044a6 Fix data calculation. awakexzxy 2020-10-20 21:57:41 +08:00
  • 6735570644 Fix number conversion. awakexzxy 2020-10-20 19:04:55 +08:00
  • 2ec830c249 Update deerfi log QIUCHENGHUI 2020-10-20 18:04:13 +08:00
  • 4b3a3298e3 Update default page to lend QIUCHENGHUI 2020-10-20 12:08:11 +08:00
  • ae790df451 Fix number conversion. awakexzxy 2020-10-20 11:29:34 +08:00
  • fcaecf03cd Fix summary apy QIUCHENGHUI 2020-10-19 23:38:00 +08:00
  • 223dab19d9 Remove market earned QIUCHENGHUI 2020-10-19 17:46:54 +08:00
  • 77cc9ba69d Fix wallet balance. awakexzxy 2020-10-19 15:39:07 +08:00
  • d332ee4097 Update LendModal button text and add wallet balance. awakexzxy 2020-10-19 00:51:56 +08:00
  • 0d7556d472 Use wallet erc20 balance and add supply Rates on LendModal. awakexzxy 2020-10-19 00:31:31 +08:00
  • 21ce2474f5 Update lend modal QIUCHENGHUI 2020-10-18 22:38:12 +08:00
  • 967306ce29 Fixed lend modal init data QIUCHENGHUI 2020-10-18 17:50:16 +08:00
  • b40ef0a4b7 Add onBorrow and onRepayBorrow call on borrow and borrow market. awakexzxy 2020-10-18 15:54:28 +08:00
  • 123fa6b93b Add onMint and onRedeemUnderlying call on supply and supply market. awakexzxy 2020-10-18 13:37:30 +08:00
  • 4729789549 Add lend modal QIUCHENGHUI 2020-10-18 06:26:50 +08:00
  • 92f55a54a8 Add disable collateral check and refine code. awakexzxy 2020-10-17 23:24:10 +08:00
  • 58ef098ee6 Add onExitMarkets and onEnterMarkets and use lint. awakexzxy 2020-10-16 23:41:17 +08:00
  • 65aee2401a Update button text. awakexzxy 2020-10-16 21:07:40 +08:00
  • a4d4fa248b Clean code and use the actual asset. Xiahong Lin 2020-10-14 17:33:59 -07:00
  • 9d6cebcf25 Add initial contract action code. Xiahong Lin 2020-10-14 15:38:03 -07:00
  • 358929c96c Update summary css QIUCHENGHUI 2020-10-16 23:10:51 +08:00
  • f2ab4bbf57 Add Net APY and fix supply and borrow balance Calculation. awakexzxy 2020-10-16 18:09:26 +08:00
  • 6dc09b23b4 Add collateral modal QIUCHENGHUI 2020-10-16 17:51:35 +08:00
  • a05dda633c Add wallet balance on supply market and borrwo market. awakexzxy 2020-10-16 00:01:08 +08:00
  • a3b7be86c1 Update market ui QIUCHENGHUI 2020-10-15 22:52:37 +08:00
  • dfc0938b58 Fix liquidity Calculation and add Of Limit on borrow market and use eslint. awakexzxy 2020-10-15 21:30:50 +08:00
  • e0fe1ab594 Update market currency icon QIUCHENGHUI 2020-10-15 02:30:04 +08:00