Commit Graph

191 Commits

Author SHA1 Message Date
dependabot[bot]
837feff859
Bump @typescript-eslint/parser from 4.13.0 to 4.15.0 (#24)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.13.0 to 4.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.0/packages/parser)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 13:15:22 +01:00
dependabot[bot]
1946bc4a37
Bump eslint-config-prettier from 7.1.0 to 7.2.0 (#25)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.1.0 to 7.2.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.1.0...v7.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 13:15:00 +01:00
dependabot[bot]
fda9d07968
Bump eslint from 7.18.0 to 7.19.0 (#26)
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.18.0...v7.19.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 12:47:21 +01:00
dependabot[bot]
9d378603df
Bump release-it from 14.2.2 to 14.3.0 (#22)
Bumps [release-it](https://github.com/release-it/release-it) from 14.2.2 to 14.3.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.2.2...14.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 12:46:42 +01:00
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
5d829e6fcd Update the readme file. 2021-01-29 11:36:07 +01:00
ssallam
30f71367f7 Use same subgraph name for all different networks, since they are deployed to different instances anyway. 2021-01-20 12:11:10 +01:00
ssallam
a2bc63178c add subgraph config for rinkeby and ropsten testnets, set ocean address based on detected network name 2021-01-20 09:35:53 +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
dc5068f5f3 fix ocean address 2021-01-18 22:12:29 +01:00
ssallam
7a0f2b6113 revert debug changes. 2021-01-18 16:24:36 +01:00
ssallam
50c5ac247c add debug log 2021-01-18 16:18:28 +01:00
ssallam
057553b7f0 more debug 2021-01-18 16:16:15 +01:00
ssallam
7d8a8ae7dd debug 2021-01-18 16:08:49 +01:00
ssallam
00eacb7832 help debug error. 2021-01-18 15:57:55 +01:00
ssallam
8d65cb5fb5 revert locked value update 2021-01-18 15:41:28 +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
36ad30a371 fix import. 2021-01-15 14:44:22 +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
Trent McConaghy
ecb9e8ba52
Update README.md 2021-01-05 10:25:20 +01:00
5d55014dcd
add changelog 2020-12-11 11:42:06 +01:00
cb68c5ede3
Release 1.0.0 2020-12-11 11:41:26 +01:00
f1ccbeaf49
travis badge fix 2020-12-11 11:39:31 +01:00
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
Samer
3f79ce7918
Initial commit 2020-11-19 08:15:23 +01:00