Commit Graph

125 Commits

Author SHA1 Message Date
mihaisc 2125e16e91
Update ocean address (#40)
* update ocean address

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* fix log

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-03-01 14:41:36 +02:00
dependabot[bot] 42af9acbe0
Bump eslint-config-prettier from 7.2.0 to 8.0.0 (#37)
* Bump eslint-config-prettier from 7.2.0 to 8.0.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.2.0 to 8.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.2.0...v8.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* update ESLint config

* breaking eslint-config-prettier config merge, see https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-02-23 16:54:15 +01:00
Matthias Kretschmann f1a8269036
Activate dependabot, build tweaks, green CI (#6)
* activate dependabot

* package updates

* move auto-generated typings, adapt .gitignore

* lint fix

* eslint config tweaks, turn off eqeqeq rule

* kick out Travis, switch to GitHub Actions

* Update the readme file.

* Add totalOceanLiquidity and fix TVL calculation

* add logs to track pool shares.

* lockedValue fix

* update variable names

* Feature/devel instructions (#19)

* improve developer docs

* fix readme

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* update gitignore

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* .env, and infura key

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* merged/dependabot-tvl-fix (#21)

* Update the readme file.

* Add totalOceanLiquidity and fix TVL calculation

* add logs to track pool shares.

* update variable names

* fix error after merge

Co-authored-by: ssallam <travis@travis-ci.org>

* use const

Co-authored-by: ssallam <travis@travis-ci.org>
Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Samer <36411297+ssallam@users.noreply.github.com>
2021-02-09 11:13:31 +01:00
ssallam d097ddfd57 fix more instances of using `!==` 2021-01-19 14:02:15 +01:00
ssallam 6e02738d9b fix all issues related to the use of `===` instead of `==` in if statements. 2021-01-19 12:16:03 +01:00
ssallam 7a0f2b6113 revert debug changes. 2021-01-18 16:24:36 +01:00
ssallam 7d8a8ae7dd debug 2021-01-18 16:08:49 +01:00
ssallam 0b04b26efb fix another error. 2021-01-15 14:52:07 +01:00
ssallam c71b4f043c fix type conversion error 2021-01-15 14:50:24 +01:00
ssallam 083dfe6255 capture total locked value and keep it up to date with pool updates. 2021-01-14 13:31:29 +01:00
Matthias Kretschmann f649083b3e
project setup fixes (#1)
* project setup fixes

* fix typescript

* some auto fixes

* fixes

* fix all linting errors

* add urls

* fixes, deactivate type checking on Travis for now

* add query examples

* consistent examples

* note about lowercase ETH addresses

* remove npm start
2020-12-11 11:37:09 +01:00
ssallam 61238ab624 update README file. 2020-12-09 15:03:40 +01:00
ssallam 0c4c3a5f2a remove unused import. 2020-12-09 12:50:17 +01:00
ssallam 7337d68db7 add pool transaction count, update pool reserves correctly, prevent div-by-zero errors. 2020-12-09 11:54:13 +01:00
ssallam b47cf07f18 debug pool history issue. 2020-12-08 17:57:09 +01:00
ssallam 827d51b3e1 update consume price and use pool contract call. 2020-12-08 13:32:15 +01:00
ssallam bc33ba658e update token reserve at the pool level, fix issues. 2020-12-03 10:05:34 +01:00
ssallam 0b53e70fc2 update schema, fix bugs, prevent processing tx multiple times. 2020-12-02 17:20:29 +01:00
ssallam 9a74178a62 simplify increment 2020-12-02 12:09:22 +01:00
ssallam d834f6bdfa create new user when processing new datatoken 2020-12-02 11:26:50 +01:00
ssallam 7184969ece update schema to support pool reserve/price history and data token transaction history and balance history. 2020-12-02 11:07:09 +01:00
ssallam 53ac1a573a fix parsing pool setup parameters. 2020-11-26 15:58:18 +01:00
ssallam 6470cb1c2c fix errors, add order handler. 2020-11-26 12:10:45 +01:00
ssallam 316dbeb9ad add datatoken mapping and handlers 2020-11-26 07:38:08 +01:00
ssallam 49461245d4 Add mappings for BFactory and BPool events with handlers 2020-11-20 13:12:02 +01:00