mihaisc
181d260e0a
Handle assets with low liquidity ( #468 )
...
* Handle assets with low liquidity
`isConsumable` is :
- 'true' when pool/exchange created and enough datatokens are available ( can we check for exchange?)
- 'false' when pool/exchange created and not enough datatokens are avaialbe
- '' when pool/exchange not created
* isConsumable optional
2020-11-24 15:34:12 +02:00
Alex Coseru
db446b6bbf
fix typo ( #464 )
2020-11-19 15:28:10 +02:00
Alex Coseru
4c2105a8c0
Bug/fullfill promises ( #456 )
...
* fullfill promises
* promises
* fix maxprice
* fix logging
2020-11-16 21:07:39 +02:00
alexcos20
bb89534704
fullfill promises
2020-11-16 08:48:45 -08:00
alexcos20
ff7171f64b
remove console.log
2020-11-16 04:22:27 -08:00
alexcos20
6424caca69
add computeBuySlippage and computeSellSlippage
2020-11-16 04:20:06 -08:00
alexcos20
3f87aa8589
add buyDTWithExactOcean function
2020-11-16 02:48:23 -08:00
8badb1676b
update isInPurgatory typing
2020-11-13 22:25:24 +01:00
mihaisc
eb5c29810f
fix
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-12 20:38:45 +02:00
alexcos20
be33814f61
fix getPoolLogs
2020-11-12 10:28:37 -08:00
alexcos20
31fccf7af3
increase MAX_AWAIT_PROMISES
2020-11-12 10:06:52 -08:00
alexcos20
f8c5e9b197
chunk promises
2020-11-12 10:02:51 -08:00
mihaisc
21c960b565
export PurgatoryData
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-11 16:01:58 +02:00
mihaisc
870a096fe1
remove date form purgatoryData
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-11 15:35:43 +02:00
mihaisc
86e79daf17
purgatoryData nullable
2020-11-11 13:45:35 +02:00
mihaisc
373939d42b
update for purgatory
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-11 13:44:15 +02:00
mihaisc
4e16fcc20e
remove console, fix travis
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-10 16:58:36 +02:00
mihaisc
33bcb47d45
parallelized get shares and tx
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-10 16:49:59 +02:00
alexcos20
1d717cb3b0
complete refactor getPoolLogs & getEventData
2020-11-06 23:49:08 -08:00
alexcos20
31f8c38ca8
speed up fixedrate
2020-11-06 07:37:50 -08:00
alexcos20
d361298039
logs/history speed optimizations
2020-11-06 07:34:23 -08:00
Alex Coseru
4c45bc6820
Merge pull request #440 from oceanprotocol/feature/buysell_helpers
...
buy/sell helpers
2020-11-06 15:47:36 +02:00
alexcos20
efcee50c6a
buy/sell helpers
2020-11-06 05:35:31 -08:00
Alex Coseru
46e559f23f
fix datatoken search
2020-11-05 08:20:13 +02:00
Alex Coseru
80bb373f42
Merge pull request #430 from oceanprotocol/bug/fix_fre_wei_conversion
...
fix fromwei conversion
2020-10-30 15:45:09 +02:00
c410f2fc49
Merge pull request #433 from oceanprotocol/bug/pool_typos
...
fix typos
2020-10-30 14:14:45 +01:00
alexcos20
3c43bb0f67
fix typos
2020-10-30 06:03:31 -07:00
alexcos20
ead3d212a2
optimise gas costs
2020-10-30 06:02:06 -07:00
bf334ce5da
Merge pull request #432 from oceanprotocol/optimise/get_pool_logs
...
use event block number as start
2020-10-30 13:55:25 +01:00
alexcos20
17a07b4897
more wei conversions
2020-10-30 05:38:21 -07:00
alexcos20
547ddf317c
remove console.log
2020-10-30 05:09:49 -07:00
alexcos20
349aa56301
use event block number as start
2020-10-30 04:53:43 -07:00
alexcos20
8407287b9b
fix fromwei conversion
2020-10-30 04:43:26 -07:00
alexcos20
336054a663
fix DTPrice if amount is too high
2020-10-30 04:09:12 -07:00
alexcos20
07c3835759
bug fix
2020-10-29 05:45:46 -07:00
alexcos20
677ed0c492
fix getPoolSharesByAddress
2020-10-29 05:42:09 -07:00
Alex Coseru
aa2533e552
Merge pull request #428 from oceanprotocol/feature/getPoolsSharesbyAddress
...
add getPoolSharesByAddress
2020-10-29 14:01:35 +02:00
alexcos20
6ba0ae6808
fix namings and add did
2020-10-29 04:50:47 -07:00
alexcos20
087b021c17
add getPoolsSharesbyAddress
2020-10-29 04:35:30 -07: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
4a077a9fa9
fix max amountPoolshares balancer bug
2020-10-28 04:57:58 -07:00
alexcos20
2d31bd9123
more fixes
2020-10-28 04:11:54 -07:00
db66a6ce9e
fix remove liquidity
2020-10-28 11:59:48 +01:00
alexcos20
8d8be7c6a0
fix addmax & removemax
2020-10-27 13:00:45 -07:00
alexcos20
3a8baec246
gas cost optimisations
2020-10-27 12:08:05 -07:00
Alex Coseru
2b810ac6a5
Update PoolFactory.ts
2020-10-27 15:03:56 +02:00
Alex Coseru
4c1c4d0f88
Update PoolFactory.ts
2020-10-27 14:50:28 +02:00
alexcos20
8195645958
gas limit 1 mil
2020-10-26 10:00:24 -07:00
alexcos20
7d62aeee63
gas limit in ddo publish
2020-10-26 09:58:45 -07:00