Commit Graph

304 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
dependabot[bot]
6cdda54e63
Bump @typescript-eslint/eslint-plugin from 4.15.0 to 4.15.2 (#39)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.0 to 4.15.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/eslint-plugin)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 16:46:09 +01:00
dependabot[bot]
1fa759229a
Bump @typescript-eslint/parser from 4.15.0 to 4.15.1 (#35)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.15.0 to 4.15.1.
- [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.1/packages/parser)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 16:24:21 +01:00
dependabot[bot]
419e798b69
Bump release-it from 14.4.0 to 14.4.1 (#34)
Bumps [release-it](https://github.com/release-it/release-it) from 14.4.0 to 14.4.1.
- [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.4.0...14.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 16:24:05 +01:00
Alex Coseru
87842e7788
Update subgraph.polygon.yaml (#38) 2021-02-22 20:45:17 +02:00
Alex Coseru
e8fe0fd322
add polygon (#32) 2021-02-22 16:09:29 +02:00
dependabot[bot]
0ee8321d55
Bump release-it from 14.3.0 to 14.4.0 (#31)
Bumps [release-it](https://github.com/release-it/release-it) from 14.3.0 to 14.4.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.3.0...14.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 05:58:57 +01:00
dependabot[bot]
02c296e4a8
Bump typescript from 4.1.3 to 4.1.5 (#30)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.1.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 05:41:31 +01:00
dependabot[bot]
cf1d231f34
Bump eslint from 7.19.0 to 7.20.0 (#29)
Bumps [eslint](https://github.com/eslint/eslint) from 7.19.0 to 7.20.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.19.0...v7.20.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 05:41:10 +01:00
3510edf98f
dev instructions tweaks (#27)
* dev instructions tweaks

* tweak deployment instruction

* fix typo
2021-02-10 13:03:47 +01:00
ssallam
8bce5f3df2 Merge remote-tracking branch 'origin/main' into main
# Conflicts:
#	README.md
2021-02-10 10:36:59 +01:00
dependabot[bot]
8255af39fb
Bump @typescript-eslint/eslint-plugin from 4.13.0 to 4.15.0 (#23)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) 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/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.0/packages/eslint-plugin)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 13:18:32 +01:00
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