Bogdan Fazakas
faa7de3601
Feature/Add order util method ( #1759 )
...
* added order helper method using contracts calls
* fixes consume fees & lint
* cleanup
* update order helper method to be more generic
* fix all warnings
2023-08-25 17:33:06 +03:00
Jamie Hewitt
ece4883743
Checking for the decimals on the feeToken
2023-07-06 14:06:47 +03:00
Alex Coseru
9bf71ba4f0
Features/ethers ( #1696 )
...
* add ethers
* global updates
* ve updates
* ve tests
* contract updates
* first test passing
* downgrade to ethers 5.7.2
* add log
* add tx wait
* full NftFactory.test
* add wait
* add Router tests
* fix dispenser
* Nft test
* add dispenser tests
* add fre tests part 1
* WIP datatoken unit tests
* add DFRewards test
* increase gas estimate
* increase gas estimate
* Work datatoken unit tests
* datatoken test more tests
* finished datatoken tests
* fix nft get data
* fix nft transfer tests
* Provider int tests
* Updating CodeExamples.md
* update provider & fix publish flow int test
* wip publish edit consume integration test
* more work on publish edit consume integration test
* fix edit publish edit consume integration test
* add 3 int tests
* Updating ComputeExamples.md
* fix signature and download
* fix compute flow integration test
* udapte handleComputeOrder helper
* update datatoken instance
* update datatoken global variable
* mint ocean tokens to consumer as well and added logs
* update compute exammples
* Updating ComputeExamples.md
* wip code examples readme
* update code examples readme
* Updating CodeExamples.md
* run all tests
* update dep in readme
* update readme
* code examples update metadata flags
* update dt instance in code examples md
* set metadata updates
* Updating CodeExamples.md
* update code examples readme structure
* Updating CodeExamples.md
* update readmes table links
* Updating CodeExamples.md
* Updating ComputeExamples.md
* clean-up
* Updating CodeExamples.md
* added missing unit tests for usdc fixed rate exchange tests
* more cleanup and jsdoc updates
* more jsdoc updates
* donw with jsdoc updates
* handle provider errors
* add missing error handling file
* adds most of the provider errors
* update get compute env return type
* Release 3.0.0-next.0
* adding Typedoc to ethers branch
* update provider signature message
* fix lint
* Release 3.0.0-next.1
* fix lint
* adding Typedoc to ethers branch
* Updating CI to build and commit the documentation
* Updating documentation
* Updating script permissions
* fix todos add missing logic to send tx
* npm package cleanups
* Release 3.0.0-next.2
* update log messages for errors
* Release 3.0.0-next.3
* fix gasFee issue on sendTx
* Release 3.0.0-next.4
* add consume params typings (#1731 )
* fix gas fee estimate
* remove comments
* add some delays before resolving datasets
* adds delay to Publish flow tests
* Release 3.0.0-next.5
---------
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
Co-authored-by: Jamie Hewitt <jamie@oceanprotocol.com>
2023-05-29 11:20:38 +03:00
Bogdan Fazakas
5306d75208
Set withMint default to true ( #1693 )
...
* make withMint default to true
* fix lint
2023-02-07 21:27:40 +00:00
Bogdan Fazakas
cbc3cd6776
Add missing symbol and name helper on datatoken ( #1667 )
...
* add two helpers method
* fix tests
* update comments
2022-12-19 10:09:05 +00: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
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
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
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
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
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
60a3f5af20
add suport for eip 1559
2022-08-10 15:25:43 +03:00
Bogdan Fazakas
2af05c32c2
review updates
2022-07-29 05:12:06 +03:00
Miquel A. Cabot
8a4ca6c178
fix lint issues
2022-06-21 12:21:13 +02:00
Miquel A. Cabot
a3a2c157df
Remove try...catch from Pool
2022-06-21 12:19:42 +02:00
Miquel A. Cabot
6bd2913fe8
Remove try...catch from FixedRateExchange
2022-06-21 12:08:56 +02:00
Miquel A. Cabot
52c5195349
Remove try...catch from SideStaking
2022-06-21 12:06:57 +02:00
Miquel A. Cabot
792387cc6c
Remove try...catch from Datatoken
2022-06-21 12:02:58 +02:00
Miquel A. Cabot
59eb56b9ee
Remove try...catch from NFT
2022-06-21 12:00:20 +02:00
Miquel A. Cabot
11bb4c1fb3
Remove try...catch from NFTFactory
2022-06-21 11:59:51 +02:00
Miquel A. Cabot
bf1eab7df8
Remove try...catch from Dispenser
2022-06-21 11:59:05 +02:00
Miquel A. Cabot
255ed1ba44
specify visibility in SideStaking methods
2022-06-15 17:50:23 +02:00
Miquel A. Cabot
10d07f89dc
general renaming in Pool
2022-06-14 11:41:17 +02:00
Miquel A. Cabot
e80483e5c8
general renaming in FixedRateExchange
2022-06-14 11:41:11 +02:00
Miquel A. Cabot
63e91a75bc
remove space
2022-06-14 11:27:00 +02:00
Miquel A. Cabot
74a3386619
general renaming in Datatoken
2022-06-14 11:23:47 +02:00
Miquel A. Cabot
6d605199df
general renaming in Router
2022-06-14 11:15:45 +02:00
Miquel A. Cabot
efc4b8b521
general renaming in SideStaking
2022-06-14 11:12:06 +02:00
Miquel A. Cabot
eb41dfc7ef
general renaming in Pool
2022-06-14 11:00:08 +02:00
Miquel A. Cabot
83b8d1dce3
general renaming in FixedRateExchange
2022-06-14 10:52:51 +02:00
Miquel A. Cabot
76bbf49d93
general renaming in Dispenser
2022-06-14 10:37:18 +02:00
Miquel A. Cabot
d2b966640a
general renaming in NFTFactory
2022-06-14 10:26:46 +02:00
Miquel A. Cabot
745e11f3b9
remove unused imports
2022-06-13 19:49:52 +02:00
Miquel A. Cabot
5c5f735a53
Merge branch 'issue-1474-refactoring-rename-from-erc20-to-datatoken' into issue-1474-refactoring-refactor-estimategas
2022-06-13 12:50:59 +02:00
Miquel A. Cabot
2835304221
change ercParams to dtParams
2022-06-13 12:47:18 +02:00
Miquel A. Cabot
c92aaeba47
add estimateGas parameter to NFT
2022-06-13 11:22:12 +02:00
Miquel A. Cabot
863ba49154
add estimateGas parameter to Datatoken
2022-06-13 11:13:19 +02:00
Miquel A. Cabot
88b382a0a9
add estimateGas parameter to SideStaking
2022-06-13 11:04:51 +02:00
Miquel A. Cabot
ba51c29948
add estimateGas parameter to Router
2022-06-13 11:02:49 +02:00
Miquel A. Cabot
2089df405f
add estimateGas parameter to Pool
2022-06-13 10:59:39 +02:00
Miquel A. Cabot
a988e03fa0
add estimateGas parameter to FixedRateExchange
2022-06-13 10:59:32 +02:00
Miquel A. Cabot
95d50bdd61
add estimateGas parameter to Dispenser
2022-06-13 10:41:54 +02:00
Miquel A. Cabot
5145d9706c
add estimateGas parameter to NFTFactory
2022-06-13 10:35:44 +02:00
Miquel A. Cabot
e52c8a10e0
Merge branch 'issue-1474-refactoring-move-functions-from-utils-to-classes' into issue-1474-refactoring-refactor-estimategas
2022-06-13 09:57:42 +02:00