Miquel A. Cabot
c7bb045264
fix lint problems
2022-06-06 09:06:20 +02:00
Miquel A. Cabot
f96f8fb59b
Move Dispenser interface types to @types
2022-06-06 09:05:35 +02:00
Miquel A. Cabot
82b6b927bd
Move NFTFactory interface types to \@types
2022-06-06 09:03:18 +02:00
Miquel A. Cabot
733e70b686
fix import
2022-06-03 14:31:06 +02:00
Miquel A. Cabot
2636352a72
refactor utils/ imports
2022-06-03 14:12:00 +02:00
Miquel A. Cabot
db3a2547a8
refactor services/ imports
2022-06-03 14:09:08 +02:00
Miquel A. Cabot
3ed6010824
refactor contracts/ imports
2022-06-03 14:07:57 +02:00
Miquel A. Cabot
c38fcbf743
refactor config/ imports
2022-06-03 14:03:21 +02:00
Miquel A. Cabot
f7a1183c90
remove default exports
2022-06-03 14:01:54 +02:00
Miquel A. Cabot
e2ebf40dce
refactor utils/index file
2022-06-03 13:58:49 +02:00
Miquel A. Cabot
7e183119f1
refactor src/index file
2022-06-03 13:56:50 +02:00
Miquel A. Cabot
96f98cfab3
restructure @types/ imports
2022-06-03 13:56:20 +02:00
Miquel A. Cabot
875e5438b7
refactor @types/index file
2022-06-03 13:55:02 +02:00
Miquel A. Cabot
68a390d4f8
fix imports
2022-06-03 07:49:57 +02:00
Miquel A. Cabot
45e9f81f30
move ConfigHelper to /config
2022-06-02 22:29:47 +02:00
Miquel A. Cabot
433999ef40
move smart contract classes to /contracts
2022-06-02 21:55:24 +02:00
Miquel A. Cabot
79612f60c4
move Aquarius and Provider to /services
2022-06-02 21:49:16 +02:00
Miquel A. Cabot
aab53636b6
move word.json to /utils
2022-06-02 21:45:51 +02:00
Miquel A. Cabot
e4b1942e70
change Config file to src/config
2022-06-02 19:07:52 +02:00
Miquel A. Cabot
6c297f1989
Merge pull request #1398 from oceanprotocol/issue-1349-rewrite-pool-test
...
Issue-#1349 Rewrite Pool test
2022-05-30 11:17:37 +02:00
Miquel A. Cabot
b3102c78c1
add decimals() function
2022-05-27 10:55:12 +02:00
Jamie Hewitt
01e646c10f
Fixing bug in deactivateMint gas estimation
2022-05-20 14:07:50 +03:00
Jamie Hewitt
8b9d4f1180
Pull from origin v4main
2022-05-20 13:49:25 +03:00
Jamie Hewitt
729a60f9a9
Fixing codeclimate issue
2022-05-18 17:07:53 +03:00
Jamie Hewitt
4b9f6c9c00
Checking if the caller is Publishing Market Fee Address before calling the smart contract
2022-05-18 17:01:05 +03:00
Jamie Hewitt
cd8f892d38
Using new generic gas estimate function
2022-05-18 16:28:32 +03:00
Jamie Hewitt
9070b61111
Merge branch 'v4main' of github.com:oceanprotocol/ocean.js into issue-1335-setPublishingMarketFee-function
2022-05-18 16:06:41 +03:00
Jamie Hewitt
5979f97e6b
Moving PublishingMarketFee to @types/erc20.ts
2022-05-18 15:33:21 +03:00
mihaisc
471e3e503d
update max out ( #1475 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-17 22:34:09 +03:00
Alex Coseru
bf060948a8
bump contracts to alpha.33 ( #1472 )
...
* bump contracts
* remove getOPCCollector
2022-05-17 12:04:51 +03:00
Miquel A. Cabot
cab4d5b1a7
restore estApprove() function and add estTransfer() function
2022-05-16 15:48:40 +02:00
Miquel A. Cabot
0a0d96aa01
Merge branch 'v4main' into add-transfer-function-to-tokenutils
2022-05-16 15:23:39 +02:00
Miquel A. Cabot
6f74add54b
revert console.log estimateGas() result
2022-05-12 21:33:16 +02:00
Miquel A. Cabot
079a583041
console.log estimateGas() result
2022-05-12 19:02:44 +02:00
Miquel A. Cabot
f1f5792114
Merge branch 'v4main' into add-transfer-function-to-tokenutils
2022-05-12 17:49:16 +02:00
Miquel A. Cabot
fa6c27292c
Merge branch 'v4main' into issue-1391-generic-estimategas-function
2022-05-12 17:28:30 +02:00
Jamie Hewitt
c9b297a858
Removing console.logs
2022-05-12 18:10:02 +03:00
Jamie Hewitt
1de19f8e2b
Fixing deactivateMint estimate gas cost
2022-05-12 17:39:08 +03:00
Jamie Hewitt
b9e89bb335
Fixing estSetAllowedSwapper
2022-05-12 17:34:45 +03:00
Jamie Hewitt
caf83190b6
Fixing fixedRateContract undefined
2022-05-12 14:51:52 +03:00
Alex Coseru
6d9f9fed92
simple compute flow ( #1458 )
...
* refactor compute flow
2022-05-10 08:52:24 +03:00
Miquel A. Cabot
b66fffc635
add optional decimals parameter at joinswapExternAmountIn() and exitswapPoolAmountIn() ( #1461 )
2022-05-09 17:41:11 +03:00
Miquel A. Cabot
f8a42d9559
Issue-#1409: Excessive contract calls ( #1424 )
...
* add decimals parameter to unitsToAmount() and amountToUnits()
* unify use of amountToUnits() and unitsToAmount()
* use tokenDecimals in TokenUtils
* add tokenDecimals to functions in SideStaking
* add parameters to doc comments
* calculate amountToUnits and unitsToAmount using decimals in FixedRateExchange
* remove unused amountToUnits() function from SideStaking
* use decimals in unitsToAmount() function in Pool
* add tokenInDecimals and tokenOutDecimals to TokenInOutMarket interface
* use decimals in amountToUnits() function in Pool
* fix errors related to pool decimals
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-03 19:06:39 +03:00
mihaisc
2d744c3dd2
change param order
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-03 13:17:48 +03:00
mihaisc
c7dfe50b92
Merge branch 'v4main' into issue-1425-use-proper-config-in-constructors
2022-05-03 13:01:01 +03:00
Alex Coseru
77fe186949
bump to contracts alpha 31 ( #1448 )
...
* bump to contracts alpha 31
2022-04-29 16:25:42 +03:00
Miquel A. Cabot
5289996937
rewrite estimateGas for reuseOrder()
2022-04-28 17:37:08 +02:00
Miquel A. Cabot
0fb3b8ac40
Merge branch 'v4main' into issue-1391-generic-estimategas-function
2022-04-28 17:21:07 +02:00
Miquel A. Cabot
9ac87e9173
Merge branch 'v4main' into add-transfer-function-to-tokenutils
2022-04-28 17:20:13 +02:00
Jamie Hewitt
8c9e46a8dd
Adding estimate gas method and fixing tests
2022-04-21 15:14:32 +02:00