Commit Graph

35 Commits

Author SHA1 Message Date
mihaisc
23e87b558e fix spot price again 2022-04-05 19:55:35 +03:00
mihaisc
9837a71a27
fix liquidity (#383)
* fix liquidity

* fix lint
2022-03-23 12:55:30 +02:00
mihaisc
f127e2206f
fix poolSnapshot (#361) 2022-02-25 01:18:49 -08:00
mihaisc
48ba47be52
Fix poolSnapshot and fixed rate balance (#357)
* fix

* fix lint

* fix import
2022-02-23 09:12:51 -08:00
Alex Coseru
f3b501b728
Feature/fix scripts (#331)
* fix scripts
2022-02-17 12:59:55 +02:00
Alex Coseru
11b14081e9
Feature/fees (#330)
Fees
2022-02-17 12:26:05 +02:00
Alex Coseru
a69ef020d4
bump ocean.js (#327) 2022-02-16 19:34:23 +02:00
mihaisc
6a64fa8ea2 add dummy file 2022-02-15 11:29:36 +02:00
Alex Coseru
4df522b426
bump ocean.js to next 18 (#317)
* bump ocean.js to next 18
2022-02-14 19:25:55 +02:00
Alex Coseru
f04fe156ac
refactor (#314)
* refactor contracts usage

* add docker support for barge

* add tests
2022-02-14 10:35:55 +02:00
mihaisc
f6ab8f8975
Fix/nft update (#304)
* update abi

* various fixes
2022-01-28 03:05:04 -08:00
mihaisc
22417b41ba
Various fixes (#294)
* small cleanup

* fix pools

* fixes

* cleanup

* cleanup
2022-01-18 06:20:02 -08:00
mihaisc
7f945f02f4
Fix pools (#287)
* small cleanup

* fix pools
2022-01-14 06:51:23 -08:00
mihaisc
2839649b28
Fix bugs (#286)
* fix token

* fix dispenser

* fixed fre
2022-01-13 08:24:57 -08:00
mihaisc
271ea50672 fix deploy 2021-12-07 11:47:58 +02:00
mihaisc
89b494c765 nftupdate 2021-12-02 13:08:47 +02:00
mihaisc
1868a6219c nft update 2021-11-29 14:11:58 +02:00
mihaisc
b469174136 up 2021-11-26 10:04:14 +02:00
mihaisc
64cdaf8993 updates 2021-11-24 16:00:24 +02:00
mihaisc
3eeba287fb mostly pool stuff 2021-11-19 16:42:17 +02:00
mihaisc
c708e8367b another update 2021-11-12 15:22:35 +02:00
mihaisc
bc1784edfe updated 2021-11-10 14:47:44 +02:00
mihaisc
b39ecb6e12 basic events 2021-11-04 17:00:43 +02:00
mihaisc
c4633aa381
Feature/bump libs (#255)
* fix id (#214)

* Bump eslint-plugin-prettier from 3.4.0 to 3.4.1 (#206)

Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/commits)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump typescript from 4.3.5 to 4.4.2 (#211)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/eslint-plugin from 4.29.1 to 4.29.3 (#209)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.1 to 4.29.3.
- [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.29.3/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump mocha from 9.0.3 to 9.1.1 (#210)

Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.3 to 9.1.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.0.3...v9.1.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/parser from 4.29.0 to 4.30.0 (#215)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.0 to 4.30.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.30.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump eslint-plugin-prettier from 3.4.1 to 4.0.0 (#217)

Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.4.1 to 4.0.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/commits/v4.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump prettier from 2.3.2 to 2.4.0 (#220)

Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.2...2.4.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/parser from 4.30.0 to 4.31.0 (#221)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.30.0 to 4.31.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.31.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @oceanprotocol/lib from 0.17.1 to 0.17.3 (#216)

Bumps [@oceanprotocol/lib](https://github.com/oceanprotocol/ocean.js) from 0.17.1 to 0.17.3.
- [Release notes](https://github.com/oceanprotocol/ocean.js/releases)
- [Changelog](https://github.com/oceanprotocol/ocean.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/ocean.js/compare/v0.17.1...v0.17.3)

---
updated-dependencies:
- dependency-name: "@oceanprotocol/lib"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/eslint-plugin from 4.29.3 to 4.31.0 (#222)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.3 to 4.31.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.31.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump typescript from 4.4.2 to 4.4.3 (#223)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.2...v4.4.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix gaia-x abi

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

* add catenax & bump ocean.js (#227)

* add catenax & bump ocean.js

* fix typo

* fix lint deps

* add nr of sales for user (#231)

* Bump @typescript-eslint/eslint-plugin from 4.31.1 to 4.32.0 (#242)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.1 to 4.32.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.32.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump release-it from 14.11.5 to 14.11.6 (#244)

Bumps [release-it](https://github.com/release-it/release-it) from 14.11.5 to 14.11.6.
- [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.11.5...14.11.6)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/parser from 4.31.1 to 4.33.0 (#245)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.1 to 4.33.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.33.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add EnergyWeb, Moonriver & Celo Alfajores (#239)

* add EnergyWeb, Moonriver & Celo Alfajores

* fix ocean address

* add ERC20 abis

* Bump mocha from 9.1.1 to 9.1.2 (#247)

Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.1...v9.1.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/eslint-plugin from 4.32.0 to 4.33.0 (#248)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.32.0 to 4.33.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.33.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @oceanprotocol/lib from 0.17.4 to 0.19.2 (#246)

Bumps [@oceanprotocol/lib](https://github.com/oceanprotocol/ocean.js) from 0.17.4 to 0.19.2.
- [Release notes](https://github.com/oceanprotocol/ocean.js/releases)
- [Changelog](https://github.com/oceanprotocol/ocean.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/ocean.js/compare/v0.17.4...v0.19.2)

---
updated-dependencies:
- dependency-name: "@oceanprotocol/lib"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Release 1.2.0

* lib bumps, remove logs

* more fixes

* more fixes

* bump other libs + fixes

* more fixes!

* remove unusued function, lint exceptions

* downgrade eslint

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
2021-10-28 19:43:50 +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
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
07b02c2b5a
add gulp (#104)
* add gulp

* fix transaction values
2021-05-13 09:17:54 +03: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
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
827d51b3e1 update consume price and use pool contract call. 2020-12-08 13:32:15 +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
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