CHANGELOG

​1.46.3 (2021-11-25)

Bug Fixes

  • fixing APY storage and averageAPY endpoint API-196 (ce883a7)

​1.46.2 (2021-11-24)

Bug Fixes

  • removed dupicated lines from CHANGELOG API-195 (4439fe7)

​1.46.1 (2021-11-24)

Bug Fixes

  • removing semantic-changelog API-195 (ed9f93c)

​1.46.0 (2021-11-18)

Features

  • adding averagy APY documentation API-191 (6348b52)

​1.45.0 (2021-11-17)

Bug Fixes

  • adding conf to test.env and adding default url value API-190 (fb08efe)

Features

  • adding alkRewardsAPY item to /markets endpoint API-190 (3f5d277)

​1.44.0 (2021-11-17)

Features

  • added more details to swagger doc about if ALK rewards are included API-191 (07efe65)
  • changing staging env to rinkeby API-193 (4f167f3)
  • making update accounts cron env dependent API-193 (09c18e0)

​1.43.0 (2021-11-12)

Bug Fixes

  • adding deployment staging-mainnet in bitbucket API-192 (9d3bee3)
  • adding upload part API-192 (b54e3c9)
  • chaging test.env to use openrinkeby contract as rinkeby is erroring div by zero API-192 (7895122)
  • changing deploy-only to all so that it craetes a new app version in aws API-192 (9fb40d8)

Features

  • adding staging env API-192 (d2cbd17)
  • just doing a small change to trigger the pipeline and see if it works API-192 (3574fd5)

​1.42.0 (2021-11-12)

Features

  • adding liquidation historical storing API-189 (b81af44)
  • storing more data for liquidations history API-189 (87b01cd)

​1.41.0 (2021-10-28)

Features

  • added pipeline for open and new env name for mainnet node14 API-158 (f2a409f)

​1.40.1 (2021-10-27)

Bug Fixes

  • fixing openrinkeby environment name API-158 (b39ca93)

​1.40.0 (2021-10-27)

Features

  • adding new rinkeby environment with node 14 in pipeline API-158 (9abc5da)
  • adding open rinkeby deployment API-158 (0c05e52)

​1.39.5 (2021-10-26)

Bug Fixes

  • trying trus with true API-187 (8dbe689)

​1.39.4 (2021-10-26)

Bug Fixes

  • added trust proxy config API-187 (a14d295)

​1.39.3 (2021-10-25)

Bug Fixes

  • fix small bug for when startdate before any account tx API-182 (5dc8151)

​1.39.2 (2021-10-25)

Bug Fixes

  • added catch and improved error message API-183 (7c1c3b8)

​1.39.1 (2021-10-20)

Bug Fixes

​1.39.0 (2021-10-19)

Bug Fixes

  • npm run test was not passing API-176 (ef5d694)

Features

  • adding reward control contract call to get reward rate into markets API-176 (5e7fb26)

​1.38.0 (2021-10-19)

Features

  • adding alkRewards per asset+type. Depndes on api ticket 182 API-170 (53b9202)
  • changing block avg period to 13.3 API-185 (516a5f7)

​1.37.0 (2021-10-19)

Bug Fixes

  • added logic to calculate rewards between 2 txs are have tge block in the middle API-182 (676d6a2)
  • fixing error for negative amount of alks. adding logic for post-tge API-182 (e944953)

Features

  • returning alk earning amount discrimination per account deposit/borrow API-182 (bcb04c0)
  • upgarding node version to 14.17.6 API-158 (e528696)

​1.36.0 (2021-10-15)

Bug Fixes

  • added default values for ABI files, so that we dont get undefined paths API-170 (ad9bce3)
  • correct originationFees calculation API-170 (d11aa85)
  • fixing a few things, adding more docs, default report to history API-170 (d9c46ef)
  • using my-rewards with endDate was not working. API-170 (42941f4)

Features

  • added cache to function getBlockByTimestamp. Added APY to balances report API-170 (9e1e61d)
  • adding balances report API-170 (d7344bf)
  • adding new structure for reports API-170 (e1edf92)
  • adding validation, originationFees and csv support for balances report API-170 (9096ccb)
  • finalizing balances report API-170 (6099780)
  • reducing block time to 13. introducing cache for report performance API-170 (c2fc95a)

​1.35.0 (2021-10-15)

Features

  • improve data retrival for liquidations API-180 (282e398)

​1.34.0 (2021-10-12)

Bug Fixes

  • fixing lint API-146 (23d0dc2)
  • fixing liquidation endpoint as health calculation was incorrect API-179 (a6857f1)

Features

  • changed output from alks-circulation endpoint to raw number API-146 (3a89ce8)

​1.33.0 (2021-10-06)

Bug Fixes

  • added a new function to filter txs by comparing lowercaser addresses API-146 (430fae1)
  • adding new envs in test.env. pipeline was not passing API-146 (5eab1a4)
  • altering logic coming from Raghu. getting balance of each account now. API-146 (2ee7128)
  • realized WETH contract is not in lower case affecting some logic API-146 (df1ea2c)

Features

  • adding first vesion of alks in circulation endpoint API-146 (92dd317)
  • restricting alks-circulation endpoint output to the total for now API-146 (31e8655)

​1.32.1 (2021-10-06)

Bug Fixes

  • fixing interest as it was off by a factor of 10 API-178 (3b2f572)

​1.32.0 (2021-10-04)

Features

  • removing kovan+ropsten. Updating .env.example. Inserting openrinkeby conf API-172 (1b30764)

​1.31.0 (2021-09-23)

Bug Fixes

  • forcing previous semantic-release version due to raising minimum node version API-168 (5b8582a)
  • removing disallowed endpoints, few English changes API-126 (d486a29)

Features

  • added endpoint that return total value locked. New env var NETWORK_SIBLING API-168 (4ad3137)

​1.30.3 (2021-09-17)

Bug Fixes

  • adding condition to only store transaction if token is defined in the contract API-162 (3ad28e9)
  • changing my-rewards swagger doc API-167 (e557647)

​1.30.2 (2021-09-10)

Bug Fixes

  • fixing INFURA conf API-161 (c2dab31)
  • had to change test.env as all .env need to be changed API-161 (de7b73d)

​1.30.1 (2021-09-09)

Bug Fixes

  • changing ABI to a correct one API-143 (f6be8da)

​1.30.0 (2021-09-09)

Bug Fixes

  • fixing deployment names API-143 (3518558)

Features

  • adding new abi files and logic to select the file in the env API-143 (00658d4)
  • testing pipelines, now with new deployment env in bb API-143 (a8c2c61)

​1.29.1 (2021-09-08)

Bug Fixes

  • rolling back pipeline. we need a new deployment environment in bitbucket API-143 (af9830b)

​1.29.0 (2021-09-08)

Bug Fixes

  • fixing the deployment conf variable API-143 (e74ff34)
  • trying to get the right configuration to deploy open environments API-143 (18bab47)

Features

  • adding pipelines for openmainnet and openrikeby API-143 (f262480)

​1.28.0 (2021-09-08)

Features

  • added openmainnet network due to WETH different contract API-159 (02921a8)
  • changing .env.example with new oracle address API-159 (b978353)

​1.27.0 (2021-09-07)

Features

  • adding new env variable DISABLE_SENTRY API-154 (80242c1)
  • removing info logs from production API-154 (baf2868)

​1.26.0 (2021-09-06)

Bug Fixes

  • at the end node 12 doesnt support "?." reverting conf API-154 (2ca9bbf)
  • changing npm run lint to use installed eslint API-154 (3d0e62a)
  • re-adding ecma version 2020 into eslint API-154 (ae655ac)
  • trying to fix lint issue not using latest eslint conf API-154 (20ce63d)

Features

  • adding first test for account. changed markets test to USDC API-154 (0467622)
  • adding mongoose-memory-server for the test environment API-154 (a865820)
  • adding test for accounts API-154 (91d6e2b)
  • disabling sentry alert for all except mainnet as sentry quota is being reached API-154 (484a441)
  • sentry now filters localhost. new sentry test API-154 (09edd6c)
  • setting warn as default log_level so that we dont have so many sentry events API-154 (6439a65)

​1.25.2 (2021-09-01)

Bug Fixes

  • again still removing "?." API-137 (c083264)
  • fixing liquidations endpoint specific wallet account API-137 (e062d4b)
  • fixing sentry but need to understand reqs for sentry API-155 (a3a682d)
  • putting minimum log level at the right place API-155 (24efaf4)
  • removing "?." as linter is from 2018, not 2020 API-137 (9db0ddf)

​1.25.1 (2021-08-30)

Bug Fixes

  • fixing shortFall and implementing storage in numbers instead of strings API-148 (a0bd29f)

​1.25.0 (2021-08-30)

Features

  • adding hour:min:second to reportdate YYYY-MM-DD API-152 (51852a7)

​1.24.0 (2021-08-27)

Bug Fixes

  • adding decimals to collateral API-148 (1a76a33)
  • fixing assets supply and borrow storing in accounts API-148 (c04953f)
  • trying to fix total but need to confirm if math is ok API-148 (db8a26b)

Features

  • just adding one job to vscode launch API-148 (10ded64)

​1.23.0 (2021-08-27)

Bug Fixes

  • change utility for calculating block timestamp for interest API-136 (dbe0c29)

Features

  • return interest in usd values API-136 (750bcfd)

​1.22.0 (2021-08-20)

Bug Fixes

  • allow account when validating data in populate-rewards API-147 (021930f)
  • handle undefined data in interval calculation of alk tokens API-149 (168e0a6)

Features

  • add block selection to interval alk queries API-149 (fe26734)
  • add endingDate and endingBlock to reward calculations API-149 (9aa1fc8)
  • add endpoint to calculate alk rewards API-147 (07c2b7d)
  • add endpoint to return rewards for a single account API-147 (2739d9f)
  • add proper algorithm for pre-tge tokens calculation & historical prices API-147 (3a0e599)
  • add validation to reward-calculation & my-rewards endpoints API-147 (eb33bd8)
  • return alk rewards in interval in one call API-149 (2cbb914)

​1.21.0 (2021-08-19)

Bug Fixes

  • fixed find method as I introduced a incorrect call API-152 (ae48a0b)

Features

  • changed report output date from YYYY-DD-MM to YYYY-MM-DD to API-152 (e0a2409)
  • just changing funciton to anonymous API-152 (ab9347c)

​1.20.0 (2021-08-13)

Bug Fixes

  • have averageapy endpoint return data even when there is no tx in selected range API-151 (ef333f2)

Features

  • add iso 8601 date selection to averageapy endpoint API-150 (6e16902)
  • add worker to fix missing histories data API-151 (d710c24)

​1.19.0 (2021-08-12)

Features

  • changed dapp.alkemi to earn.alkemi API-145 (8d323f9)

​1.18.5 (2021-07-13)

Bug Fixes

  • update weth address for rinkeby API-140 (446d0c6)

​1.18.4 (2021-06-17)

Bug Fixes

​1.18.3 (2021-05-31)

Bug Fixes

​1.18.2 (2021-05-19)

Bug Fixes

  • keep subscription alive & log any loss of connection API-135 (80bfbfe)

​1.18.1 (2021-05-19)

Bug Fixes

  • re-added sentry transport in logger API-134 (38c543c)
  • remove line that will make linting check fail API-134 (c5091aa)

​1.18.0 (2021-05-04)

Features

  • add get calculated interest by timestamp & leading millis API-130 (cb67665)

​1.17.0 (2021-04-08)

Bug Fixes

  • add validation for eth address API-122 (1319e55)
  • api-109 native js math n truncate decimals of oracleprice in market (36c9021)
  • changed to decimal.js, updated logic for intereste earned API-120 (4e47a08)
  • complete API-122 (beab243)
  • complete API-122 (4dadbe4)
  • remove scientific notation from interest result API-122 (0a7e0c0)

Features

  • add new interest endpoint (for review) API-122 (757473f)

​1.16.1 (2021-03-16)

Bug Fixes

  • add configurable auth secret API-121 (faac79d)

​1.16.0 (2021-03-12)

Bug Fixes

  • add test mongodb remote address to test env API-116 (b5584d0)
  • better error handling and check for values API-116 (0984f06)
  • disable unused socketio functionality API-120 (4f5caa5)
  • expected value for pipeline API-116 (d09087a)
  • improve date selection from tx list API-116 (b9c9c79)
  • improve validation API-116 (02e728b)
  • manage scenario where there is only one tx API-116 (f0d9672)
  • proper usage of moment's endOf and startOf day API-116 (34a22a2)
  • rename interest returned variable API-116 (1642825)
  • test using external db API-116 (4802dd5)
  • use correct math for calculating average intrest API-116 (bb50cc3)

Features

  • history: add new interest rates to history service time tx API-000 (37c4f45)
  • history: add support for Windows tx API-000 (915272f)
  • history: fixed case mismatch in market name API-000 (7f4fdb6)
  • history: fixed launch.json API-000 (c94da84)
  • history: grab historical interest rates for transaction API-000 (8bac708)
  • add app wide rate limiting for http requests API-120 (5378673)
  • add populate interest hook test API-116 (2fe6334)
  • add validation for interest API-116 (268349d)
  • return weighted avg rate for a selected date range API-116 (3a96eeb)
  • use validation for interest user input API-116 (c506774)

​1.15.0 (2021-03-08)

Features

  • add auth & disallow hooks rules API-119 (4426b61)

​1.14.1 (2021-02-22)

Bug Fixes

  • update weth address contract for mainnet API-118 (35f7403)

​1.14.0 (2021-02-11)

Bug Fixes

  • add npm run testWIN to run test for windows API-117 (5761e1e)
  • have npm test read an env file API-117 (2d0abad)
  • updated npm run testWIN to run test for windows API-117 (6567301)

Features

  • make use of a test db for testing services API-117 (059cc84)

​1.13.1 (2021-01-22)

Bug Fixes

  • history: add unix time property to restore data range queries (638f70b)

​1.13.0 (2021-01-22)

Bug Fixes

  • events: logs have duplicate tx Hash and tried to add same tx twice (0de64e3)

Features

  • history: add new status property to tx and reports (9542d9e)
  • history: add tx gas data in both ETH and USD (cc428e5)
  • history: adds USD conversion amounts to history service + reports (44142f2)
  • history: enhance time properties added to transactions (92b24dc)
  • reports: improves labeling and order of fields generated by csv (5416d88)

​1.12.1 (2021-01-20)

Bug Fixes

  • hotfix for csv downloads not returning properly for windows and nix (c938e62)

​1.12.0 (2021-01-20)

Features

  • add month day and year to history service so they are searchable (ac66872)
  • add timestamp to history service (ba3939e)

​1.11.0 (2021-01-18)

Bug Fixes

  • allow for reports to accept custom query params (e8eac06)
  • allow get requests for specific account on reports service (2cfa6a8)
  • force reports to be sorted by blockNumber with latest tx first (375d9a5)

Features

  • add reports service for csv downloads (1009609)

​1.10.0 (2021-01-11)

Features

  • tx monitoring service to pull from logs instead of transactions (c2f3ae2)

​1.9.6 (2021-01-01)

Bug Fixes

  • repay tx not captured because of origination fee logs (232e999)

​1.9.5 (2020-12-31)

Bug Fixes

  • set rateETH to constant because weth always = 1 eth (b1d2586)

​1.9.4 (2020-12-30)

Bug Fixes

  • usdc and wbtc returning too many decimals for bigInt conv util (d09d5f1)

​1.9.3 (2020-12-29)

Bug Fixes

  • ensures that values passed to formatDecimal helper are always str (ac08b14)
  • format decimal must be a string before passed passed to ethers lib (b51c44c)

Reverts

​1.9.2 (2020-12-26)

Bug Fixes

  • update web3 ws provider to auto reconnect on timeout (e4260b3)

​1.9.1 (2020-12-23)

Bug Fixes

  • cannot formatDecimal for negative bigNum on shorFallETH (1ea75bf)
  • formatDecimal utility needs to return type string (c64950a)

​1.9.0 (2020-12-15)

Bug Fixes

  • markets: updated balance to return from contract API-90 (6e86c00)

Features

  • add new type for savings and credit sub accounts to tx API-94 (248d5df)

​1.8.2 (2020-12-11)

Bug Fixes

  • retrieve all MoneyMarket contract transactions history (df94923)

​1.8.1 (2020-12-09)

Bug Fixes

  • normalize case for token contract addresses (0731649)
  • normalize case of token addresses throughout the code (7ba066b)

​1.8.0 (2020-12-01)

Bug Fixes

  • calling on creation of accounts when markets are not set yet (434c21b)
  • catch undefined contracts addresses (25e6e23)
  • added missing data + prettify (894cffc)
  • add new ABIs (2aa79eb)
  • hotfix for bad scaled number as string on interest rates (9f9e6f7)

Features

  • make market create new one if non existant (50c0df3)
  • add getting markets on server start (cb301d5)
  • change websocket to web3 subscribe (e20ff1f)
  • clean up and fixes (a15613c)
  • refactor liquidation self call to proper method (1259a3d)
  • rename hooks to generate or populate depending on function (9ccd24e)
  • split generate market into two hooks (1b1d929)
  • introduce development.json config (d6610d8)
  • add semantic release (87584df)
  • update markets every 10 minutes to ensure latest price is captured (950017c)

​1.7.3 (2020-10-09)

Bug Fixes

  • topic names and proper assignment of blockNumber in populate tx (0e34b03)

​1.7.2 (2020-10-09)

Bug Fixes

  • watchdog to only add certain topic transactions (86d6e6b)

​1.7.1 (2020-10-09)

Bug Fixes

​1.7.0 (2020-10-07)

Features

  • add price model (0bf7052)
  • generate populate-prices hook (35bdf8f)
  • generated new prices service (adeed40)
  • pull asset prices from chainlink mainnet (d48b703)

Bug Fixes

  • code clean up + 3 layer promise saves to DB (ce50347)
  • make address lower case after merging master (0b4628e)
  • refactor multiple promise to return correct data (1fbeca0)
  • (progress) fixed promises but not saving data (917b915)
  • fix zero borrowAmounts (db88b73)
  • fixed current usage of populate-accounts (f027966)

1.6.0 (2020-09-28)

Features

  • add more robust infura ws calls (44e783b)
  • add task-runner to update accounts (1ad01f3)
  • add watchdog monitor for price oracle updates API-9 (19b9a9c)
  • added accounts service API-26 (4c79de2)
  • added example defintions to markets service for swagger (63b4d1f)
  • added liquidation api call for get and filter by collateral rate (a018a8b)
  • adding liquidation watchdog for integration with slack (85ad55b)
  • adding sentry logs for health api (0360a99)
  • automate account updates with watchdog (d34eecb)
  • create history service to log tx (087200b)
  • hide id on get and find req for accounts (c8997bb)
  • Improve swagger documentation schema for Markets Service and enforce uppercase text in mongoose schema. (4ef107c)
  • populate asset positions for accounts (9cf1f88)
  • updates swagger configuarion (70d70bb)

Bug Fixes

  • make watchdog ping infura every 30 min (b0e5432)
  • added more sentry health monitoring option for infura rate limit (603aeea)
  • changed the run time to every 10 mins (52f5d76)
  • hotfix for infura tx loop (4623bbd)
  • hotfix for watchdog infura heartbeat (5c315a4)
  • hotfix markets need to be set to lowerCase for web3 proc (a0ce157)
  • invalid Open API 3 props (a6f8f8e)
  • liquidations to only return shortfallETH greater than 0 (2151449)
  • log timestamp error on watchdog (b139e49)
  • price-watchdog error with ts generation (faa867f)
  • remove bad exports (5b40f1c)
  • remove unused tokens from populate accounts hook (7a8487d)
  • shortfallETH not selected correctly always returned 0 (599a3a3)
  • update bad HOST var on prod (2b221ef)
  • uppercase address and symbol matching (fbb797f)
  • use new web3 when init contract (e721dae)
  • markets: oraclePrice calculation (0a4a060)

​1.3.1 (2020-08-31)

1.3.0 (2020-08-31)

Features

  • add task-runner to update accounts (1ad01f3)
  • add watchdog monitor for price oracle updates API-9 (19b9a9c)
  • added accounts service API-26 (4c79de2)
  • added example defintions to markets service for swagger (63b4d1f)
  • added liquidation api call for get and filter by collateral rate (a018a8b)
  • automate account updates with watchdog (d34eecb)
  • hide id on get and find req for accounts (c8997bb)
  • Improve swagger documentation schema for Markets Service and enforce uppercase text in mongoose schema. (4ef107c)
  • populate asset positions for accounts (9cf1f88)
  • updates swagger configuarion (70d70bb)

Bug Fixes

1.2.0 (2020-08-27)

Bug Fixes

Features

  • add watchdog monitor for price oracle updates API-9 (19b9a9c)
  • added liquidation api call for get and filter by collateral rate (a018a8b)
  • hide id on get and find req for accounts (c8997bb)
  • populate asset positions for accounts (9cf1f88)

1.1.0 (2020-08-24)

Features

  • added accounts service API-26 (4c79de2)
  • automate account updates with watchdog (d34eecb)
Last modified 4d ago
Copy link
Contents
1.46.3 (2021-11-25)
1.46.2 (2021-11-24)
1.46.1 (2021-11-24)
1.46.0 (2021-11-18)
1.45.0 (2021-11-17)
1.44.0 (2021-11-17)
1.43.0 (2021-11-12)
1.42.0 (2021-11-12)
1.41.0 (2021-10-28)
1.40.1 (2021-10-27)
1.40.0 (2021-10-27)
1.39.5 (2021-10-26)
1.39.4 (2021-10-26)
1.39.3 (2021-10-25)
1.39.2 (2021-10-25)
1.39.1 (2021-10-20)
1.39.0 (2021-10-19)
1.38.0 (2021-10-19)
1.37.0 (2021-10-19)
1.36.0 (2021-10-15)
1.35.0 (2021-10-15)
1.34.0 (2021-10-12)
1.33.0 (2021-10-06)
1.32.1 (2021-10-06)
1.32.0 (2021-10-04)
1.31.0 (2021-09-23)
1.30.3 (2021-09-17)
1.30.2 (2021-09-10)
1.30.1 (2021-09-09)
1.30.0 (2021-09-09)
1.29.1 (2021-09-08)
1.29.0 (2021-09-08)
1.28.0 (2021-09-08)
1.27.0 (2021-09-07)
1.26.0 (2021-09-06)
1.25.2 (2021-09-01)
1.25.1 (2021-08-30)
1.25.0 (2021-08-30)
1.24.0 (2021-08-27)
1.23.0 (2021-08-27)
1.22.0 (2021-08-20)
1.21.0 (2021-08-19)
1.20.0 (2021-08-13)
1.19.0 (2021-08-12)
1.18.5 (2021-07-13)
1.18.4 (2021-06-17)
1.18.3 (2021-05-31)
1.18.2 (2021-05-19)
1.18.1 (2021-05-19)
1.18.0 (2021-05-04)
1.17.0 (2021-04-08)
1.16.1 (2021-03-16)
1.16.0 (2021-03-12)
1.15.0 (2021-03-08)
1.14.1 (2021-02-22)
1.14.0 (2021-02-11)
1.13.1 (2021-01-22)
1.13.0 (2021-01-22)
1.12.1 (2021-01-20)
1.12.0 (2021-01-20)
1.11.0 (2021-01-18)
1.10.0 (2021-01-11)
1.9.6 (2021-01-01)
1.9.5 (2020-12-31)
1.9.4 (2020-12-30)
1.9.3 (2020-12-29)
1.9.2 (2020-12-26)
1.9.1 (2020-12-23)
1.9.0 (2020-12-15)
1.8.2 (2020-12-11)
1.8.1 (2020-12-09)
1.8.0 (2020-12-01)
1.7.3 (2020-10-09)
1.7.2 (2020-10-09)
1.7.1 (2020-10-09)
1.7.0 (2020-10-07)
1.6.0 (2020-09-28)
1.3.1 (2020-08-31)
1.3.0 (2020-08-31)
1.2.0 (2020-08-27)
1.1.0 (2020-08-24)