Bogdan Fazakas
7e88ef9fd4
Fix token amount - token allowance comparison ( #1012 )
...
* fixed allowence check in approve and added allowance check in addOceanLiquidity method
* added more dtAllowance checks
* renamed constants and some code cleanup
* return allowance if bigger than amount and delete upper methods checks
2021-09-22 09:28:45 +02:00
Alex Coseru
3a5569b12f
Feature/use decimal in pool ( #775 )
...
* change default gas settings
* check allowance & fix gas estimate
* use Decimal
* fix estimateGas for new Pools
2021-04-30 16:02:18 +03: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
Bogdan Fazakas
742436dbac
fixed ocean allowance param and some lint errors
2021-01-08 14:03:59 +02:00
Bogdan Fazakas
a5a55b19a1
wip check allowance for dt and ocean at pool creation
2021-01-07 21:58:30 +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
6424caca69
add computeBuySlippage and computeSellSlippage
2020-11-16 04:20:06 -08:00
alexcos20
1d717cb3b0
complete refactor getPoolLogs & getEventData
2020-11-06 23:49:08 -08:00
alexcos20
d361298039
logs/history speed optimizations
2020-11-06 07:34:23 -08:00
alexcos20
3c43bb0f67
fix typos
2020-10-30 06:03:31 -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
2d31bd9123
more fixes
2020-10-28 04:11:54 -07:00
db66a6ce9e
fix remove liquidity
2020-10-28 11:59:48 +01:00
alexcos20
3a8baec246
gas cost optimisations
2020-10-27 12:08:05 -07:00
Ahmed Ali
59db6740fc
Merge branch 'main' into fix/logger
2020-10-21 14:30:12 +02:00
alexcos20
4db0a0d43d
pool.create returns txid
2020-10-21 04:38:19 -07:00
Ahmed Ali
b0ef8d7262
fix Balancer PoolFactory
2020-10-20 15:35:23 +02:00
Ahmed Ali
08019706e9
fix Balancer pool
2020-10-20 14:59:49 +02:00
Ahmed Ali
d8704abb0b
Merge pull request #367 from oceanprotocol/fix/error-logging
...
Fix/Error-messages
2020-10-19 08:35:52 +02:00
Ahmed Ali
3a34c0c54c
fix lint errors
2020-10-15 18:02:42 +02:00
Ahmed Ali
d574782b14
handle error messages
2020-10-15 17:52:33 +02:00
alexcos20
d3f6cfd05c
fix bug when amountOut>=balanceOut
2020-10-15 04:11:34 -07:00
alexcos20
617bf7fe33
remove duplicate totalSupply
2020-10-13 09:01:53 -07:00
alexcos20
002a38d487
add more pool tests
2020-10-12 14:29:44 -07:00
alexcos20
8de3d29b2f
add pool validation and helpers
2020-10-12 03:03:06 -07:00
mihaisc
6ba81c60f7
fix incorrect dtAddress
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-07 13:42:28 +03:00
Alex Coseru
7f48fe2ccb
Update src/balancer/Pool.ts
...
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-10-05 23:33:17 +03:00
Alex Coseru
6d85b467c3
Update Pool.ts
2020-10-05 23:24:56 +03:00
alexcos20
fa2a1f8944
remove need of an account for some calls
2020-09-30 23:10:53 -07:00
alexcos20
1f15a67d64
add getPoolsbyCreator
2020-09-24 22:15:33 -07:00
alexcos20
c6a9f7d69b
add stats
2020-09-24 21:51:20 -07:00
d154cffc17
lots of typings
2020-09-08 14:47:43 +02:00
Alex Coseru
b97b935406
Merge branch 'main' into feature/FixedPriceExchange
2020-08-31 09:58:25 +03:00
alexcos20
220261cada
update to contracts 0.4.0
2020-08-30 23:56:25 -07:00
c7eab9a556
Merge pull request #235 from oceanprotocol/bug/fix_sharesBalance
...
fix sharesBalance
2020-08-28 18:39:05 +02:00
Alex Coseru
aca303acf3
Update Pool.ts
2020-08-28 19:29:41 +03:00
Alex Coseru
a9a614f586
fix sharesBalance
...
fix sharesBalance
2020-08-28 19:16:15 +03:00
6584023570
pool typings
2020-08-28 18:12:10 +02:00
ssallam
5af50c4c92
Fix lint issues.
2020-08-27 11:35:30 +02:00
ssallam
afa2996768
Convert amount and weight to wei, fix tests.
2020-08-27 11:01:15 +02:00
ssallam
7078113110
update method docs
2020-08-27 09:46:54 +02:00
ssallam
d47a9f02a6
use solidity setup pool function when creating new pool.
2020-08-27 09:39:02 +02:00
dee24e87a3
simplification, make it work
2020-08-20 17:54:16 +02:00
af7964ca84
refactor
2020-08-20 17:47:52 +02:00
00257c3d60
add ocean.pool.totalSupply()
2020-08-20 13:33:59 +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
6be945d05e
more pool docs & typing updates
2020-08-19 12:34:04 +02:00