1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01: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
..
2020-09-08 17:20:16 +02:00
2020-09-08 15:32:41 +02:00
2020-09-08 17:20:16 +02:00