22 Commits

Author SHA1 Message Date
slasher125
15dd848f49 add borrowFactor to table 2023-01-30 13:02:33 +04:00
slasher125
2e881790e4 ribbon fix, add inception apy 2023-01-24 16:44:25 +04:00
slasher125
ede007eaa3 update perp controller for new stats 2023-01-13 22:09:43 +04:00
slasher125
daf9f0ff9f add previous fr to perp table 2023-01-13 15:16:56 +04:00
slasher125
743b6ed83e rename perp col 2023-01-08 13:03:52 +04:00
slasher125
5025c9d8d6 add new perp table 2023-01-07 17:04:58 +04:00
slasher125
38b8726fff add volume fields (#507) 2022-12-20 12:36:51 +01:00
slasher125
b38955a6d1 add "fake" apy field for premined etc 2022-12-06 22:48:38 +08:00
slasher125
19df964461 add 7d apy field for dexes (#455) 2022-11-25 19:14:30 +01:00
slasher125
6d078a1b20 add IL for cpamm (#448)
* add IL for cpamm

* add migration file

* add il7d to controllers

* refactor prices
2022-11-21 13:37:03 +01:00
slasher125
aedbca97a9 add mintedCoin field 2022-10-28 18:56:52 +02:00
slasher125
2c2967d278 add debtCeilingUsd to schema 2022-10-28 13:53:56 +02:00
slasher125
63a2df3107 add borrowable field to config table (#395) 2022-10-27 18:26:03 +02:00
slasher125
f9dac34bf4 update schema, tests and insert controllers for borrow fields (#331)
* update schema, tests and insert controllers for borrow fields

* tvl -> usd

* update adapter handler

* round total supply/total borrow
2022-09-19 03:27:44 -07:00
slasher125
91c23a5e8c add role migration 2022-09-09 13:38:46 -07:00
slasher125
8d55fe9f93 Pg migration (#303)
* migration

* remove balancer pools from exclusion list

* bug fix serverless

* remove timestamp from median, update for tests

* update get distinct id controller

* update distinctID controller, remove dep

* move confirm into scripts

* testing url

* remove Pg suffix from lambda names

* change to existing api host

* add comments

* revert service name, bucketsg

* put pack fantom rpc

* update package.lock
2022-09-06 15:27:30 -07:00
slasher125
5dbaf966bd Revert "migration (#295)" (#301)
This reverts commit 2ee397fa4b.
2022-09-06 14:54:20 -07:00
slasher125
2ee397fa4b migration (#295)
* migration

* remove balancer pools from exclusion list

* bug fix serverless

* remove timestamp from median, update for tests

* update get distinct id controller

* update distinctID controller, remove dep

* move confirm into scripts

* testing url

* remove Pg suffix from lambda names

* change to existing api host

* add comments

* revert service name, bucketsg

* put pack fantom rpc
2022-09-06 14:37:35 -07:00
slasher125
14269e625f remove pg testing from master (#294) 2022-09-03 19:30:35 -07:00
slasher125
c74de573b1 add enriched table and controllers (#274) 2022-08-27 23:21:43 +02:00
slasher125
5e1072e8bd enable postgres insert (#271)
* enable postgres insert

* refactor
2022-08-27 03:23:19 +02:00
slasher125
ad91c8347b db-migration:add-sql-controllers (#255)
* first db migration creating tables

* change schema integer dtypes

* add sql queries and controllers, update migration script

* bug fixes

* table name bug fix

* median sql query change order

* config path

* change migration file nam

* change db connection from ssm to env variables

* dynamic age value
2022-08-26 21:07:27 +02:00