📒
📒
📒
📒
Alkemi Earn API
MainNet
Ropsten
Rinkeby
Kovan
Search
⌃
K
Links
CHANGELOG
alkemi-earn-api
Welcome to alkemi-earn-api 👋
Powered By
GitBook
Comment on page
CHANGELOG
​
1.52.0
(2022-07-28)
Bug Fixes
changing sentry test to pass pipeline. ultimate issue is infura quota limit API-219 (
e6758c3
)
Features
changed zapperfi authorizatoon system containing a new key API-219 (
7861dc6
)
​
1.51.0
(2022-06-30)
Features
added cron to deliver arkana report every end of month API-219 (
abaf700
)
​
1.50.0
(2022-06-29)
Features
adding arkanaBalances report API-219 (
80ae69a
)
​
1.49.3
(2022-06-14)
Bug Fixes
commenting out some troubleshooting code API-218 (
4001238
)
removing infura secret from websocket config, adding more recommended reconnect conf API-218 (
3e7f6aa
)
​
1.49.2
(2022-04-07)
Bug Fixes
fixing history report sort and query params API-212 (
ecfdffd
)
​
1.49.1
(2022-03-23)
Bug Fixes
alk-circulation endpoint filtering out one broken account API-146 (
ac0c27e
)
​
1.49.0
(2022-03-04)
Features
added condition to discard alerting liquidations when rewards is below 50USDs API-207 (
e188212
)
​
1.48.0
(2022-02-11)
Bug Fixes
fixing balances + interest endpoints API-206 (
b7b66c7
)
fixing reports balances endpoint. Adding new features API-206 (
e086ff0
)
Features
added more comments. Improved the processing API-206 (
500fbe3
)
adding comments and cleaning up a bit API-206 (
105442c
)
​
1.47.1
(2022-02-11)
Bug Fixes
fixing borrow transactions decoding which impacts rewards API-203 (
cec7e79
)
​
1.47.0
(2022-02-10)
Bug Fixes
adding my-rewards change to balances report API-203 (
4b36c71
)
adding priceUSD per tx and using it to calculate rewards API-203 (
47caa34
)
renamed output to alkRewards instead of alkAtEnd API-203 (
8eb0dee
)
Features
added calculatePreTge boolean API-203 (
efe82ac
)
endDate as today if empty. filter wallet: adderss to lowercase API-203 (
e76106f
)
my-rewards now considers both verified and open API-203 (
451d87d
)
​
1.46.7
(2022-01-27)
Bug Fixes
trying to catch the error API-198 (
38cdd09
)
​
1.46.6
(2021-12-17)
Bug Fixes
catching exceptions in alk price fetch and unknown response from fetching txs API-198 (
9a96d4a
)
​
1.46.5
(2021-12-13)
Bug Fixes
added liquidator transaction and refactored code API-196 (
b4f87ca
)
dealing with LiquidateBorrow txs to include them in APYs etc API-196 (
9f1222f
)
fixed blockNumber as defaultBlock in contract API-196 (
f24b0a2
)
fixing balances report due to blockRate now being splitted in two API-196 (
229cb4c
)
manageing credit and savings for a liquidateBorrow tx API-196 (
23d19ea
)
work around to make the test pass as chainlink is still throwing wrong prices API-196 (
0e07f60
)
​
1.46.4
(2021-12-01)
Bug Fixes
fixing balances report API-197 (
edc0b3d
)
​
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
fixing bug API-182 (
f2f2ecb
)
​
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
complete API-139 (
57b6965
)
complete API-139 (
8eba3e1
)
​
1.18.3
(2021-05-31)
Bug Fixes
complete API-138 (
d88f13c
)
​
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
)