1.5.0 (2024-07-29)
- adds caching to costly endpoints (1a2d975)
- adds testnet tokens to listing script (fcb5fb4)
1.4.0 (2024-06-26)
- adds listing token script (3c23b68)
- removes schema from query (91b3595)
1.3.1 (2024-06-25)
- removes schema name from migration (b36b698)
1.3.0 (2024-06-25)
- add fdvAe, fdvUsd, volumeUsd fields (9a86f06)
- add price change percentage (1718070)
- add priceAe and priceUsd fields (c6ea21b)
- add transactionHash to error table (82d60fc)
- added new tables, added v2 importer and dbs (10b46d9)
- adds sync algorithm to path calculator (cab8b70)
- change eslint simple-import-sort from warn to error, improve comment (a3011a5)
- explore: adds api descriptions for updated endpoints (af70592)
- expose pair transactions count (dcdcfcb)
- expose tvl usd (aa101db)
- expose volumes for given timeframes (47da600)
- fetches and exposes data for sender (b0c92c6)
- history: actually returns history entries (57346bb)
- history: adds aeprice and query for entries without (9b4dfdf)
- history: adds history query by token (05b90c0)
- history: finishes history price api (2327b8b)
- history: moves usd calculation to the backend (51fedb2)
- history: separates usd values by token (ae21fff)
- implemented fetching of fiat price via coinmarketcap api (37e099a)
- implemented validator v2 (d35b31c)
- pairs: adds token filter to pair usd endpoint (d1dbbb7)
- parse event and insert reserve and deltaReserve (7858329)
- pr feedback: sync events with deltaReserves, code improvements, correct CronExpression for v2 importer (c38f495)
- triggers history sync on new tx (138d45c)
- update schema in preparation of event parsing, update comments (aa3bf17)
- add not previously checked in forgotten migration (945fd25)
- addresses type issues (4ae5393)
- db v2 e2e test (3b27f2d)
- eslint import order (9786ed1)
- fix int-as-string param in mdw paginated calls (a148233)
- history: also sort by log index (74237c3)
- history: joins in decimals for proper price calculation (58abcb2)
- linter (3d76c9d)
- PairMint amount parsing (e560ef8)
- pair: this being undefined during event based sync (634b760)
- pair: this being undefined during factory event (932646b)
- re-added task module to app module, added correct filter in importer v2 (6766a02)
- removes .env file from repo (7daeb55)
- strict-boolean-expressions eslint errors (dca0e53)
- tasks service unit test (2b518c4)
- usd value pattern regex (98f88e3)
- fix tag in production deploy step (342f51e)
- adds senderAccount to data model (cc01a9a)
- adds senderAccount to database (873c66f)
- adjust and fix worker related tests (204b799)
- deleted worker directory (e4eff52)
- feedback: db changes, move sliding window blocks to constant (4f2f9ae)
- improve imports in main.ts (61eac3a)
- improved type and variable naming consistency (86576b5)
- include pair and tokens in getWithinHeightSorted (e3ff28c)
- make private methods private, use square brackets accessor for tests (056304a)
- move context to PairSyncService, create SdkClientService (10ad395)
- move db logic to nest, create ApiModule (dc79a59)
- move dto.ts to /api and rename to api.model.ts (c229813)
- move worker and mdw websocket to nest services, rename worker to PairSyncService (e5a60d9)
- pair: avoid parametrization of functions (b7f4cdd)
- re-move tokenConditions into PairDbService (ec48d4d)
- remove unnecessary type casting (d1e1426)
- remove v1 history and rename v2 history to just history (9f13fec)
- rename api files to reflect class name (b5908aa)
- reorder and adjust privacy of functions in PairSyncService and MdwWsClientService (bb2c17f)
- reorganize tests according to nest best practice (0540871)
- simplify total reserve function (b782098)
- updates query params from kebab to camel case (419dd0d)
- use absolute import paths and sort imports with eslint (f85499b)
- use decimal instead of bigint in db (89799a9)
- use HttpService in MdwHttpClientService (dce7322)
- add prettier for embedded sql (c2df26a)
- adds todo (b5737b0)
- adds todos for further fields (f74f96f)
- adds todos for philipp (1c554a1)
- cleanup api spec, round ae value to 18 decimals, db migrate instead of push (5c6b99e)
- fixes mock ae value (5c34119)
- removes a few console.log calls (ab14b04)
- rename fdv to tvl as we aren't using total supply in calculation (cb79433)
- wip (6f6380d)
- add unit test for CoinmarketcapClient (d8f4d31)
- add unit tests for validatorV2 (44d91a5)
- e2e tests for v2 dbs (bbcd4a4)
- feedback: introduce jest snapshots (ef61c86)
- feedback: use it.skip() for commented out test (7924c41)
- fix existing tests (c95d4e2)
- fix task service unit test (604580a)
- fixes all currently active tests (0fee94c)
- improve robustness of CoinmarketcapClient spec (37c55e2)
- include coinmarketcap API error in importer unit test (267bb7e)
- re-organize mock data and utils (6152790)
- unit tests for importerV2 (3846b84)
1.2.0 (2024-05-02)
- add history tables and implement history importer task (2b23eed)
- add init and pair liquidity info history migrations (6be08aa)
- add run task function handling isSyncRunning logic (682ffdf)
- add scheduling, resolve todos, cleanup & improve (8ff29ba)
- allow only running one task (importer or validator) at a time (6695d03)
- implemented api for pair liquidity info history (18fc490)
- implemented history validation task (5b0e651)
- importer: fetch only as many pages as needed (9726428)
- importer: skip if recent error. insert initial liquidity on first sync (6a33906)
- replace lossless-json with int-as-string parameter (9f74e43)
- worker: automatic reconnects (632be66)
- error print on task lvl (2d145b1)
- importer: fix block run, when other operation is still running (7f9208d)
- readd function after rebase (faec624)
- validator: adjustments after rebase (7f036bf)
- validator: fix cronjob frequency (35e6bc0)
- add github action to lint and prettify on PR lvl (e84afed)
- refactor prod release (87c1de8)
- remove if from the production deploy step (e9a6fa9)
- adjust contractAddress and microBlock hash pattern (29be71d)
- change location of clients module + minor codestyle things (7ee5d63)
- implement PR feedback (8469b7e)
- importer: don't always refetch last microblock (3d3c2b9)
- importer: simplify is first run check (6ef5cf7)
- importer: thoroughly use Encoded string types everywhere (cad05b9)
- migrate fetch contract balances at micro block to v2 endpoint (167b30f)
- remove unnecessary async in function def (a66f1cd)
- revert schema change (d42a7ac)
- validator: feedback: improve cron notation, avoid double await (8926599)
- validator: improving typing of hashOrKbi param (73ad896)
- validator: resolve todos, move sorting to db (6a8a6bd)
- add e2e tests for PairLiquidityInfoHistoryDbService and PairLiquidityInfoHistoryErrorDbService (081bbb0)
- add unit tests for PairLiquidityInfoHistoryController (5bc2f8f)
- adjust isRunning logic, implement unit tests for TasksService (2de9430)
- implement unit tests for ImporterService (774dfc9)
- implement unit tests for ValidatorService (eb77794)
- run test ci on pr lvl, fix e2e tests (e0ee1cc)
- adjust changelog for release 1.2.1 (46cb296)
- release 1.2.0 (21d3910)
- release 1.2.1 (83417cd)
- upgrade aepp-sdk to 13.3.2 (a780d2b)
1.2.1 (2024-04-25)
1.2.0 (2024-03-22)
- add history tables and implement history importer task (2b23eed)
- add init and pair liquidity info history migrations (6be08aa)
- add run task function handling isSyncRunning logic (682ffdf)
- add scheduling, resolve todos, cleanup & improve (8ff29ba)
- allow only running one task (importer or validator) at a time (6695d03)
- implemented api for pair liquidity info history (18fc490)
- implemented history validation task (5b0e651)
- importer: fetch only as many pages as needed (9726428)
- importer: skip if recent error. insert initial liquidity on first sync (6a33906)
- replace lossless-json with int-as-string parameter (9f74e43)
- worker: automatic reconnects (632be66)
- error print on task lvl (2d145b1)
- importer: fix block run, when other operation is still running (7f9208d)
- readd function after rebase (faec624)
- validator: adjustments after rebase (7f036bf)
- validator: fix cronjob frequency (35e6bc0)
- add github action to lint and prettify on PR lvl (e84afed)
- refactor prod release (87c1de8)
- remove if from the production deploy step (e9a6fa9)
- adjust contractAddress and microBlock hash pattern (29be71d)
- change location of clients module + minor codestyle things (7ee5d63)
- implement PR feedback (8469b7e)
- importer: don't always refetch last microblock (3d3c2b9)
- importer: simplify is first run check (6ef5cf7)
- importer: thoroughly use Encoded string types everywhere (cad05b9)
- migrate fetch contract balances at micro block to v2 endpoint (167b30f)
- remove unnecessary async in function def (a66f1cd)
- revert schema change (d42a7ac)
- validator: feedback: improve cron notation, avoid double await (8926599)
- validator: improving typing of hashOrKbi param (73ad896)
- validator: resolve todos, move sorting to db (6a8a6bd)
- add e2e tests for PairLiquidityInfoHistoryDbService and PairLiquidityInfoHistoryErrorDbService (081bbb0)
- add unit tests for PairLiquidityInfoHistoryController (5bc2f8f)
- adjust isRunning logic, implement unit tests for TasksService (2de9430)
- implement unit tests for ImporterService (774dfc9)
- implement unit tests for ValidatorService (eb77794)
- run test ci on pr lvl, fix e2e tests (e0ee1cc)
1.1.1 (2024-02-14)
- change ops repo in prd pipelines (1f5abcc)
- fix token for checkout in prd pipelines (62661c1)
- update node version in dockerfile (6e26a98)
1.1.0 (2024-02-14)
- upgrades types to correct sdk types (3233306)
- add auth for repo checkout stg (ffe7229)
- change gitops repo for stg (daff046)
- change token key (ed0fbc8)
- update to sdk@13 (1760101)
1.0.1 (2023-04-26)
- fix gitsha (57e765c)
- build: patch-deprecated-gh-action-steps (70ce082)
- change dockerfile to remove unused files and folders (25dbffa)
- check pr deployment state before sync (8ed4de4)
- exclude and prisma folder from delete (5b32ebc)
- fix spelling (5cdd9e2)
- api: add api documentation (3bb9487)
- api: add general and pairs support (b2c1816)
- api: add token pairs with liquidity info route (6917843)
- api: add token support (d75d069)
- api: expose token-list management (46a1482)
- api: support for swap routes (666b9c6)
- api: support for swap routes (e6341dc)
- api: token list support (22e4b2a)
- change token list management routes (207f64a)
- contracts: contracts setup, utility functions and first test (b0c27db)
- db: create initial schema (b660fde)
- db: postgresql container deployment bindings (cb64b40)
- global-state: expose api and add worker support for overall service information (5199181)
- mdw: add option for listening all mdw events (54be345)
- worker: add refresh pairs info (fe5d99e)
- worker: add start point and logging (71fe3e2)
- worker: mark all pairs as unsynced (fbbd909)
- worker: update liquidity info for all the pairs (44d5472)
- add binaryTragets fix for docker deployment (58d2fa4)
- parallel processing db insert errors (007e7a0)
- returning type for tokens/pairs1 (e880896)
- support invalid tokens (27af289)
- token name/symbol switching (9ce68cb)
- context mockup (88410f9)
- cover contracts calls (e052dd2)
- e2e: /pair/swap-routes (d9b2bf2)
- e2e: add only-listed tests (3f4ac83)
- e2e: clean test file structure (863b66f)
- e2e: setup and tests (ffd4f59)
- e2e: token list management (5e9fc77)
- e2e: tokens api routes (626956d)
- worker and middleware (614eac4)
- worker based on context mockup and test db (4a72f47)
- add eqeqeq linter rule (c97480e)
- avoiding overloaded api routes (75b3f2c)
- change sequential dryrun calls into parallel ones (0e5b998)
- createWrappedMethods (412ba2a)
- rename appService class member for pair and token controllers (4f4852d)
- spell checking for ./src (92cb902)
- spell checking for ./test (a6555ae)
- store sdk client only in one place (170f3cf)
- add Dockerfile (d055f67)
- add npm lint to tests pipeline (41ff588)
- add tests pipeline (d35d7c6)
- dockerfile entrypoint to expose db url, move all docker files in directory (ed8647a)
- Dockerfile update (582492b)
- fix app names in pipelines (b1027be)
- fix docker build context (8abc0a5)
- fix docker repo (b0e1c00)
- fix Dockerfile context (63df7b1)
- fix test pipeline run steps (ee10a28)
- gh action pipelines (89e330e)
- make pipelines for both networks (94f607f)
- test without docker cache (c4c23ef)
- update package,json with latest tests changes (4883fd8)
- add ping timeout (7e412e5)
- dynamically create db connection string from multiple env vars (4fbb78e)
- increase sdk version to gh@head (ec26a88)
- npm: add redeploy command (a8bfb17)
- package-lock: replace beta sdk version with stable one (f312e30)
- raise error when there is no network env (c124abf)
- specify mainnet .env vars (649cf9b)
- synchronise pairs based on tx events (dd3686b)