Commit Graph

47 Commits

Author SHA1 Message Date
mihaisc
efba716ff5 metadata draft 2021-08-25 14:02:19 +03:00
mihaisc
6646d21292
Added baseTokenSymbol to FixedRateExchange (#201)
* added baseTokenSymbol to fre

* increase wait for test

* fix format
2021-08-13 07:04:18 -07:00
lacoop6tu
dac185694b
Add swap volume, consume volume to subgraph (#64)
* Add swap volume, consume volume to subgraph

* add Global object, run lint

Co-authored-by: mihaisc <mihai@oceanprotocol.com>
2021-07-30 00:36:44 -07:00
Alex Coseru
9b3c466dff
add token name symbol to pools (#61)
* add token name symbol to pools

* fix lint

* fix build

* remove token prefixed keys and add isDatatoken

* add decimals

* merge

* fix package lock

* lock fix

* fix tokenId

Co-authored-by: mihaisc <mihai@oceanprotocol.com>
2021-07-29 01:55:48 -07:00
Alex Coseru
777cd1beb7
new moonbeam alpha deployment (#158)
* new moonbeam alpha deployment
2021-07-07 12:06:38 +03:00
Alex Coseru
ed89e2fb34
Use debug instead of info (#147) 2021-06-25 11:00:34 +02:00
Alex Coseru
7aad411e74
add Gaia-X testnet, BSC & Mumbai (#140) 2021-06-10 13:21:50 +03:00
Alex Coseru
0de181fe9d
fix decmail math (#117) 2021-06-10 10:30:10 +03:00
Alex Coseru
f47ec9bb09
add dispenser (#106)
* add dispenser


Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
2021-05-13 09:19:21 +03:00
Alex Coseru
07b02c2b5a
add gulp (#104)
* add gulp

* fix transaction values
2021-05-13 09:17:54 +03:00
Alex Coseru
ddfaa991f4
add moonbeamalpha (#85)
* add moonbeamalpha

* Update helpers.ts
2021-04-16 14:47:03 +03:00
Alex Coseru
52e8fb1e30
Bug/fix non ocean pools (#75)
* fix non ocean pools

* fixed fre bugs

* fix lint
2021-04-16 11:07:01 +03:00
Alex Coseru
59800e7992
add block to dt orders (#62) 2021-03-25 10:44:50 +02:00
Alex Coseru
7784de4a97
add FixedRateExchange (#53)
* add FixedRateExchange

* fix lint

* remove duplicate code.

* fix style

* remove newline.

Co-authored-by: ssallam <36411297+ssallam@users.noreply.github.com>
2021-03-10 23:36:51 +02:00
Samer
bf158af3c8
Issue28 track metadata updates (#47)
* add datasource for the metadata events.

* handle metadata created/updated events, record (tx, blocknumber, timestamp, user) and update corresponding datatoken with update count.

* add list of metadata updates to the datatoken entity

* fix style issues

* style fix.

Co-authored-by: ssallam <travis@travis-ci.org>
2021-03-04 11:38:20 +01:00
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
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
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
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