Commit Graph

71 Commits

Author SHA1 Message Date
mihaisc
bcc520f38d schema update 2021-09-08 14:34:33 +03:00
mihaisc
2e0f4b9e12 schema 2021-09-02 17:57:14 +03:00
mihaisc
1b5ef439d8 update lint,prettier , partial schema 2021-09-02 12:08:47 +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
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
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
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
083dfe6255 capture total locked value and keep it up to date with pool updates. 2021-01-14 13:31:29 +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
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
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
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