Commit Graph

309 Commits

Author SHA1 Message Date
Jamie Hewitt 81422ffd65 Changing lastPriceToken in Token from string to Token 2022-07-15 14:20:34 +01:00
Jamie Hewitt 0e19edb1e3 adding a test and logs for lastPriceToken 2022-07-05 17:44:02 +01:00
Jamie Hewitt f848d419b0 fixing second test: testing provider fees after calling reuseOrder on a using a previous txId 2022-07-04 18:36:59 +01:00
Jamie Hewitt 70db07e17e Fixing first test 2022-07-04 16:49:49 +01:00
Jamie Hewitt 44d608b7e8 Updating JSON string notation 2022-07-04 16:38:52 +01:00
Jamie Hewitt 91bd6e08fd lint:fix 2022-07-04 13:05:34 +01:00
Jamie Hewitt 0ce685c37f Creating additional tests for testing providerFees on Order and reuseOrder 2022-07-04 12:37:26 +01:00
Jamie Hewitt f1c38ca364 lint:fix 2022-07-04 11:53:20 +01:00
Jamie Hewitt 0f124d01dd Updating or Creating OrderResue provider fee 2022-07-04 11:49:24 +01:00
Jamie Hewitt 3dac319c0e Removing arrary from providerFee 2022-07-04 11:14:24 +01:00
Jamie Hewitt e8d5dcf9db Creating test for providerFee 2022-06-30 15:31:33 +03:00
Jamie Hewitt 79aa847eff Saving providerFee as an array of all previous provider fees 2022-06-29 19:41:26 +03:00
Jamie Hewitt f0552a63e9 Saving providerFee as a string 2022-06-29 17:40:09 +03:00
Jamie Hewitt ec2b925c30 Creating order utils 2022-06-29 17:38:56 +03:00
Jamie Hewitt 71839ad67e Adding ProviderFee to subgraph.template.yaml 2022-06-28 18:05:01 +03:00
Jamie Hewitt a0dd838727 Adding providerFee to Order in the schema 2022-06-28 17:57:59 +03:00
Jamie Hewitt bc693e7797
changing the type of lastPriceToken from string to Token on Order (#462)
* changing the type of lastPriceToken from string to Token

* Fixing tests
2022-06-27 12:24:34 +03:00
dependabot[bot] 8b66fa992b
Bump @oceanprotocol/lib from 1.1.2 to 1.1.3 (#470)
Bumps [@oceanprotocol/lib](https://github.com/oceanprotocol/ocean.js) from 1.1.2 to 1.1.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/v1.1.2...v1.1.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>
2022-06-27 12:21:54 +03:00
dependabot[bot] 7b0163f220
Bump release-it from 15.0.0 to 15.1.0 (#469)
Bumps [release-it](https://github.com/release-it/release-it) from 15.0.0 to 15.1.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/15.0.0...15.1.0)

---
updated-dependencies:
- dependency-name: release-it
  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>
2022-06-27 12:21:12 +03:00
mihaisc 09e79380c3
fix weight (#468) 2022-06-24 15:42:51 +03:00
Jamie Hewitt 603a25f26a
Tracking transfer event & updating nft owner (#436)
* Adding Tranfer eventHandler to subgraph.template.yaml

* Started adding transfer event to mapping

* updating getNftTokenWithID function

* Pulling from Origin v4main

* Removing console.log

* Updating token Utils

* Updating newOwner with User & writting new test

* Updating test

* Ensuring account is in lowercase

* Creating seperate test for transfering an NFT query

* Updating test name

* Removing console.logs

* Moviving transfer event tracking from factory to template

* Moving handleNftTransferred to nftUpdate mapping

* Adding logging

* Using correct token address

* Fix linting

* Checking the correct owner account has been set originally
2022-06-24 10:06:44 +03:00
mihaisc 28979c8c79
add version (#455) 2022-06-23 14:51:32 +03:00
mihaisc d87fbed5b5
create token (#467) 2022-06-23 14:51:14 +03:00
mihaisc d1844f4853
update graph-node (#457) 2022-06-23 06:43:52 +03:00
dependabot[bot] 88cf1967c6
Bump prettier from 2.6.2 to 2.7.1 (#458)
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.2 to 2.7.1.
- [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.6.2...2.7.1)

---
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>
2022-06-21 17:04:11 +03:00
dependabot[bot] c9636756e2
Bump @oceanprotocol/lib from 1.0.0 to 1.1.2 (#460)
Bumps [@oceanprotocol/lib](https://github.com/oceanprotocol/ocean.js) from 1.0.0 to 1.1.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/v1.0.0...v1.1.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>
2022-06-21 16:34:45 +03:00
dependabot[bot] a531fb347d
Bump eslint-config-oceanprotocol from 2.0.1 to 2.0.3 (#459)
Bumps [eslint-config-oceanprotocol](https://github.com/oceanprotocol/eslint-config-oceanprotocol) from 2.0.1 to 2.0.3.
- [Release notes](https://github.com/oceanprotocol/eslint-config-oceanprotocol/releases)
- [Changelog](https://github.com/oceanprotocol/eslint-config-oceanprotocol/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/eslint-config-oceanprotocol/compare/v2.0.1...v2.0.3)

---
updated-dependencies:
- dependency-name: eslint-config-oceanprotocol
  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>
2022-06-21 15:12:27 +03:00
Jamie Hewitt b6ce8bae1f
Using main branch of barge for tests (#464) 2022-06-20 16:46:54 +03:00
mihaisc a8dd151a01
fix (#456) 2022-06-13 19:11:25 +03:00
mihaisc 401df35f6a
fix (#454) 2022-06-10 03:47:04 -07:00
mihaisc 569eb98d8f
fix global stats pool count (#453)
* fix global stats pool count

* fix lint
2022-06-10 02:10:46 -07:00
dependabot[bot] aa4574994b
Bump @oceanprotocol/lib from 1.0.0-next.45 to 1.0.0 (#452)
Bumps [@oceanprotocol/lib](https://github.com/oceanprotocol/ocean.js) from 1.0.0-next.45 to 1.0.0.
- [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/v1.0.0-next.45...v1.0.0)

---
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>
2022-06-10 01:45:30 -07:00
Alex Coseru e48b39a80a
latest contracts&ocean.js (#449) 2022-06-05 21:17:37 +03:00
dependabot[bot] 74ee630291
Bump @graphprotocol/graph-ts from 0.26.0 to 0.27.0 (#442)
Bumps @graphprotocol/graph-ts from 0.26.0 to 0.27.0.

---
updated-dependencies:
- dependency-name: "@graphprotocol/graph-ts"
  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>
2022-05-26 11:15:30 +03:00
mihaisc 90f7e6482f
add reuse order (#444)
* add reuse order

* fix lint

* add yaml to gitignore

* delete yaml
2022-05-25 20:04:26 +03:00
Alex Coseru ebecf1f423
bump to ocean.js 44 (#439) 2022-05-18 08:07:03 +03:00
Alex Coseru 8f44e7808d
bump ocean.js (#438) 2022-05-17 12:28:03 +03:00
Jamie Hewitt 4e5bcba661
Renaming consumeFee to orderFee (#434) 2022-05-17 12:27:48 +03:00
dependabot[bot] ed462c4e10
Bump eslint-config-oceanprotocol from 1.5.0 to 2.0.1 (#435)
Bumps [eslint-config-oceanprotocol](https://github.com/oceanprotocol/eslint-config-oceanprotocol) from 1.5.0 to 2.0.1.
- [Release notes](https://github.com/oceanprotocol/eslint-config-oceanprotocol/releases)
- [Changelog](https://github.com/oceanprotocol/eslint-config-oceanprotocol/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/eslint-config-oceanprotocol/compare/v1.5.0...v2.0.1)

---
updated-dependencies:
- dependency-name: eslint-config-oceanprotocol
  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>
2022-05-17 12:13:12 +03:00
Jamie Hewitt 796bff70e7
removing Vesting and opcFee (#432)
* removing opcFee

* Removing OPCFeeChanged from subgraph.template.yaml

* Adding OPCFeeChanged event back into subgraph.template.yml

* Adding SSContractAdded and SSContractRemoved back in

* Formatting
2022-05-12 20:31:12 +03:00
Jamie Hewitt cb7e36fc98
Updating readme example queries (#431)
* Adding pools with highest liquidity example query

* Updating all pools query

* Updating all data NFTs query

* Updating All pool transactions for a given user

* Adding example query: All pool transactions for a given user in an individual pool

* Adding commnet to readme

* Adding All Datatokens example query

* Updating to show 1000 results
2022-05-11 11:46:07 +03:00
Alex Coseru 232c9387f4
bump ocean.js & add polygon (#429) 2022-05-10 09:23:41 +03:00
dependabot[bot] 2ff87797ac
Bump async from 2.6.3 to 2.6.4 (#419)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 09:06:27 +03:00
dependabot[bot] e3bf0417b9
Bump release-it from 14.14.2 to 15.0.0 (#420)
Bumps [release-it](https://github.com/release-it/release-it) from 14.14.2 to 15.0.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.14.2...15.0.0)

---
updated-dependencies:
- dependency-name: release-it
  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>
2022-05-02 14:33:27 +03:00
dependabot[bot] 898a99cfea
Bump @types/mocha from 9.1.0 to 9.1.1 (#424)
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha)

---
updated-dependencies:
- dependency-name: "@types/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>
2022-05-02 14:33:17 +03:00
dependabot[bot] f71fc093ed
Bump typescript from 4.6.3 to 4.6.4 (#422)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.3 to 4.6.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.3...v4.6.4)

---
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>
2022-05-02 11:28:29 +03:00
dependabot[bot] cd9963d5a7
Bump mocha from 9.2.2 to 10.0.0 (#423)
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.2 to 10.0.0.
- [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.2.2...v10.0.0)

---
updated-dependencies:
- dependency-name: mocha
  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>
2022-05-02 11:27:48 +03:00
dependabot[bot] db7ccf070e
Bump eslint-plugin-import from 2.24.2 to 2.26.0 (#409)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.24.2 to 2.26.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.24.2...v2.26.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  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>
2022-04-29 17:18:15 +03:00
dependabot[bot] 8049e1ac1a
Bump @types/chai from 4.3.0 to 4.3.1 (#412)
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: "@types/chai"
  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>
2022-04-29 17:18:09 +03:00
dependabot[bot] 1e28dca65f
Bump release-it from 14.14.0 to 14.14.2 (#414)
Bumps [release-it](https://github.com/release-it/release-it) from 14.14.0 to 14.14.2.
- [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.14.0...14.14.2)

---
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>
2022-04-29 17:18:00 +03:00