1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

1024 Commits

Author SHA1 Message Date
mihaisc
040a635de5
increase gas multiplier on polygon (#1637) 2022-10-23 09:35:02 +01:00
MantisClone
6efae8ebbc
Update Provider.checkFileUrl to allow non-URL file types (like Arweave) (#1627)
* Update Provider.checkFileUrl to allow non-URL file types

* Reduce scope to only URLs and Arweave.

* Remove parentheses to make linter happy

* Update Provider tests to use UrlFile argument

* Fix lint errors

* Fix lint error

* [REVERT THIS] comment coverage upload

  * CC_TEST_REPORTER_ID secret not available in PR workflows from
    external contributors.

* Revert "[REVERT THIS] comment coverage upload"

This reverts commit 7ca94b7e71ce5d53fa0c7b35bdff85e91b6db059.

* Add Arweave fileinfo unit test

* Rename `checkFileUrl` to `getFileInfo`

* Fix lint error
2022-10-19 13:24:20 +01:00
mihaisc
f91a42aa60
add new nft state (#1636)
* add new nft state

* added description
2022-10-19 14:21:53 +03:00
mihaisc
42c3c12d09
set gasFeeMultiplier for polygon (#1635) 2022-10-17 13:34:26 +03:00
mihaisc
2b15ae2d5a
add ve address (#1633) 2022-10-11 09:56:53 +03:00
mihaisc
1d692b72cf
add allocated (#1630)
* add allocated

* allocated nullable
2022-10-04 12:58:30 +03:00
bb6a4e8f9c
remove ropsten & rinkeby from ConfigHelper (#1617) 2022-10-03 12:32:03 +01:00
829795fd6f
add full support for Goerli (#1614) 2022-09-23 10:28:03 +01:00
Alex Coseru
b6c9af9dae
add Arweave/Ipfs/Smartcontract data types (#1612) 2022-09-20 10:52:38 +03:00
Alex Coseru
ad0e724e68
Feature/add ve fee estimate (#1606)
* bump to contracts 1.1.4

* add estimateClaim

* fix

* Bump decimal.js from 10.3.1 to 10.4.0 (#1598)

Bumps [decimal.js](https://github.com/MikeMcl/decimal.js) from 10.3.1 to 10.4.0.
- [Release notes](https://github.com/MikeMcl/decimal.js/releases)
- [Changelog](https://github.com/MikeMcl/decimal.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MikeMcl/decimal.js/compare/v10.3.1...v10.4.0)

---
updated-dependencies:
- dependency-name: decimal.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

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 5.33.1 to 5.36.2 (#1601)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.33.1 to 5.36.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.36.2/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>

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

* Bump eslint from 8.19.0 to 8.23.0 (#1602)

Bumps [eslint](https://github.com/eslint/eslint) from 8.19.0 to 8.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.19.0...v8.23.0)

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

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

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

* add graphql type (#1607)

* add graphql type

* Updating CodeExamples.md

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions Bot <>
2022-09-12 18:20:21 +03:00
Bogdan Fazakas
63a17caa84 fixed approve methods 2022-09-07 16:37:57 +03:00
Alex Coseru
dd383ec365
add DataFarming contract support (#1596)
* add DataFarming contract support
2022-09-06 21:43:51 +03:00
Alex Coseru
f8f4b48243
Feature/basic ve ocean (#1595)
* bump contracts to 1.1.3

* add basic veOcean support

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2022-09-06 15:00:47 +03:00
Bogdan Fazakas
932dbf8a96 removed unnecesar logs 2022-08-22 17:01:31 +03:00
Bogdan Fazakas
35886bc934 added await 2022-08-22 16:31:57 +03:00
Bogdan Fazakas
541e714626 more compute logs 2022-08-22 16:15:40 +03:00
Bogdan Fazakas
99f56a24e0 added more logs on compute failure 2022-08-22 13:43:31 +03:00
Bogdan Fazakas
315942db41 add error check for logs message 2022-08-19 16:34:59 +03:00
Bogdan Fazakas
36733da271 more review fixes restric return types for estimate and sendtx methods 2022-08-18 13:38:51 +03:00
Bogdan Fazakas
16a1f0b094 review fixes 2022-08-18 10:50:50 +03:00
Bogdan Fazakas
a5e5d69241
Update log based on suggestion src/utils/ContractUtils.ts
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-08-18 09:36:38 +03:00
Bogdan Fazakas
89b83221de cleanups and warnings 2022-08-17 15:14:54 +03:00
Bogdan Fazakas
5de542898c use latest instead of pending for fee history 2022-08-17 13:42:45 +03:00
Bogdan Fazakas
7dbc336122 update approveWei signature and compute test 2022-08-17 13:25:49 +03:00
Bogdan Fazakas
585316e34e replaced missed send calls 2022-08-17 12:45:56 +03:00
Bogdan Fazakas
7500f51f46 merge v4refactoring and fixed conflicts 2022-08-17 12:37:03 +03:00
Bogdan Fazakas
30aba62ef7
Remove amm pools (#1568)
* WIP remove pools

* added logs

* update checksums and logs

* Updating CodeExamples.md

* remove console logs

* remove unused params, simplify test folder structure

* contracts folder simplification, remove ss contract methods

* path fix

* remove more "staking" code

* put back `removeApprovedToken()`

* remove redundant and unused test commands

* test fix, auto-fix & auto-format

* consistent specific imports

* readme updates

* remove addDispenserContract method

* remove tokens subfolder from contracts

* update js docs and put back addDispenserContract

* use new digest for algorthms

* update nft getData to fix failing unit test

* replace pools with fre in  buyDatatokenBatch

* use proper exchange ids

* increase allowance

* fix buyBatch test and deploy issues from testcontracthandler

Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-08-16 11:54:28 +01:00
Phan Soon Huat
6e200a5205 add gas fee multiplier to max priority fee 2022-08-14 23:20:37 +08:00
Bogdan Fazakas
ea3db24230 fix pool lint 2022-08-12 10:03:05 +03:00
Bogdan Fazakas
f6c03fce27 added missing changes 2022-08-11 18:03:50 +03:00
Bogdan Fazakas
452bf22855 merge main and fixed conflicts 2022-08-11 16:13:31 +03:00
Bogdan Fazakas
470eff51ad update transfer and approve methods 2022-08-10 17:31:54 +03:00
Bogdan Fazakas
6b0a47204c fix lint 2022-08-10 16:31:18 +03:00
Bogdan Fazakas
41881ac6eb fix getFairGasPrice 2022-08-10 16:19:04 +03:00
Bogdan Fazakas
8b1842e1e9 use try catch in sendTx 2022-08-10 15:52:43 +03:00
Bogdan Fazakas
7941829ad6 update fee calculations 2022-08-10 15:37:49 +03:00
Bogdan Fazakas
60a3f5af20 add suport for eip 1559 2022-08-10 15:25:43 +03:00
Miquel A. Cabot
02b805a45d let do any query in Aquarius 2022-08-03 11:37:13 +02:00
Bogdan Fazakas
2af05c32c2 review updates 2022-07-29 05:12:06 +03:00
Miquel A. Cabot
b83872bc7c
Merge pull request #1558 from oceanprotocol/issue-1556-add-nft-setData()-function
Issue-#1556: Add nft.setData() function
2022-07-25 12:21:31 +02:00
Miquel A. Cabot
a4c3321db3
Merge pull request #1560 from oceanprotocol/issue-1557-add-aquarius-getassetmetadata-and-querysearch-functions
Issue-#1557: Add Aquarius.getAssetMetadata() and Aquarius.querySearch() functions
2022-07-22 11:52:09 +02:00
mihaisc
99936ecc59
fix download (#1563) 2022-07-21 03:47:09 -07:00
Miquel A. Cabot
ab5de621c3 fix error in throw statement 2022-07-14 13:43:35 +02:00
Miquel A. Cabot
76471f3677 add getAssetMetadata() function 2022-07-14 13:35:49 +02:00
Miquel A. Cabot
8b952c6b05 add querySearch() function 2022-07-14 13:28:02 +02:00
Miquel A. Cabot
09d3341239 use asciiToHex in datatoken.setData() 2022-07-11 23:43:43 +02:00
Miquel A. Cabot
436e873833 use keccak256 and asciiToHex for key and value 2022-07-11 23:36:09 +02:00
Miquel A. Cabot
6493688ae5 check nft permisions on setData() 2022-07-11 23:26:31 +02:00
Miquel A. Cabot
fc78894753 add setData function to NFT 2022-07-11 13:39:05 +02:00
Bogdan Fazakas
00f776d540 add checksum param when fetching fileinfo and checksum aatribute to fileinfo interface 2022-07-08 07:42:18 +03:00