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

73 Commits

Author SHA1 Message Date
c61aab0670
move datatoken name generation out of class (#943) 2021-07-30 14:29:12 +02:00
Jamie Hewitt
a71666d236 commenting on the code 2021-06-14 16:15:35 +03:00
Bogdan Fazakas
a6c9c70e8e
Fix/ Order method should throw error messages (#803)
* throw error when order methods fail, updated integration tests accordingly

* throw error for startOrder method & update error messages

* updated assert messages and added asserts in try block
2021-05-25 16:00:13 +02:00
dependabot[bot]
ba64eeb39a
Bump prettier from 2.2.1 to 2.3.0 (#793)
* Bump prettier from 2.2.1 to 2.3.0

Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.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.2.1...2.3.0)

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

* prettier updates

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-25 08:27:53 +02:00
Alex Coseru
92b4be0dce
Feature/dispenser (#790)
* add dispenser support

* bump contracts to 0.6.2
2021-05-10 18:42:19 +03:00
Alex Coseru
8021cce5cd
speed up previous order (#599) 2021-02-10 19:35:23 +02:00
Alex Coseru
8cc1ef3e37
add minter roles (#600) 2021-02-10 19:35:04 +02:00
Alex Coseru
84e39d7222
fix metamask bug (#557)
* fix metamask bug

* more estimateGas updates
2021-01-21 17:12:36 +02:00
Alex Coseru
a3fbb4dad3
Feature/decimal (#541)
* use Decimal instead of parseFloat

* use Decimal
2021-01-13 15:17:32 +02:00
bogdanfazakas
5c4ead9359
Datokens: check cap before mint (#531)
* compared cap with amount entered to mint
if exceeds an error is thrown

* refactor mint method
created method for estimate mint gas

* Revert "refactor mint method"

This reverts commit 4b370958f267fa3f24074bc40d3d9014c4139e48.

* mint method refactor to pass codeclimate test

* added new Datatokens unit test
created a unit to check if mint method throws error when cap amount exceeds cap
2021-01-13 14:42:29 +02:00
alexcos20
694cde2a13 more fixes 2020-10-29 04:01:19 -07:00
alexcos20
9900bb4353 more gas optimisations 2020-10-29 03:33:32 -07:00
alexcos20
03665f2639 gas optimisations 2020-10-26 03:49:22 -07:00
Ahmed Ali
c4d6b48896 fix DataTokens 2020-10-21 09:52:43 +02:00
Ahmed Ali
d574782b14 handle error messages 2020-10-15 17:52:33 +02:00
d0b4bb537e
metadataStore → metadataCache 2020-10-13 14:49:12 +02:00
alexcos20
ea352125e2 fix history 2020-10-12 12:01:54 -07:00
alexcos20
007328d74e update getOrderHistory to generate signature 2020-10-12 08:15:08 -07:00
alexcos20
b78a57c59a update to contracts 0.5.3 2020-10-02 05:44:09 -07:00
alexcos20
2e04ece81c fix lint 2020-10-01 04:00:27 -07:00
alexcos20
9b7f911934 bump contracts to 0.5.1 2020-10-01 03:57:14 -07:00
alexcos20
fa2a1f8944 remove need of an account for some calls 2020-09-30 23:10:53 -07:00
905fd99496
update tests 2020-09-23 21:39:35 +02:00
alexcos20
e563f556d1 fix all tests 2020-09-23 05:45:48 -07:00
alexcos20
6b2c7ea4ce use dtAddress as did 2020-09-23 00:36:46 -07:00
2ac93392b4
add data token address validity check 2020-09-18 10:10:02 +02:00
alexcos20
0b4417d264 fix tests 2020-09-16 05:44:26 -07:00
alexcos20
fc6a515630 update contracts & provider 2020-09-16 05:19:15 -07:00
alexcos20
bedd07ed2a search for previous valid orders 2020-09-11 05:58:42 -07:00
alexcos20
60fc9530ae add startOrder 2020-09-11 02:41:20 -07:00
d154cffc17
lots of typings 2020-09-08 14:47:43 +02:00
0699792a14
set default data token cap to 1000 2020-09-04 10:28:42 +02:00
f834be3520
move defaults into datatokens.create() 2020-09-03 11:28:50 +02:00
0290f57bf4
prototype auto-generating data token name 2020-09-02 16:26:42 +02:00
alexcos20
220261cada update to contracts 0.4.0 2020-08-30 23:56:25 -07:00
76423a4ff8
never stop typing 2020-08-19 13:41:55 +02:00
ad0922d7a5
fix ABI typings 2020-08-19 13:23:28 +02:00
bbd465992b
lots of ABI typings 2020-08-19 13:05:56 +02:00
ffad644d73
artifacts path fix 2020-08-18 12:00:40 +02:00
7b1403c854
formatting and typings and lint fixes 2020-08-18 11:23:46 +02:00
alexcos20
a550018864 lint 2020-07-21 04:42:12 -07:00
alexcos20
c71fd9f456 fix transfers 2020-07-21 04:38:06 -07:00
Alex Coseru
a1734354bf
Update Datatokens.ts
add From
2020-07-21 13:55:01 +03:00
Alex Coseru
60ae6735c8
Update Datatokens.ts 2020-07-15 17:38:29 +03:00
Alex Coseru
8184bc4a82
Update Datatokens.ts 2020-07-15 17:37:14 +03:00
Alex Coseru
a643bfcb27
Update Datatokens.ts 2020-07-15 17:34:40 +03:00
Alex Coseru
8b275367a2
Merge branch 'develop' into feature/Fix_Incorrect-datatype-for-amount-in-datatoken.transferFrom 2020-07-15 14:24:47 +03:00
alexcos20
a3824f91c6 always use Strings in Datatoken class 2020-07-15 04:22:37 -07:00
Ahmed Ali
edb2d53fe3 fix (#152) 2020-07-15 12:37:45 +02:00
alexcos20
dc5b252842 fixes #144 2020-07-14 03:44:52 -07:00