Miquel A. Cabot
1874804d99
revert fix error in number of parameters in deployERC721Contract()
2022-04-06 14:31:48 +02:00
Miquel A. Cabot
ea74e4fc38
use ZERO_ADDRESS constant
2022-04-06 14:25:34 +02:00
Miquel A. Cabot
b3e3cdce7f
remove GASLIMIT_DEFAULT constant from lib classes
2022-04-06 14:18:36 +02:00
Miquel A. Cabot
4cee7bb08c
use estimateGas() function in NFT
2022-04-06 14:17:03 +02:00
Miquel A. Cabot
f9aa47c4d2
use estimateGas() function in Datatoken
2022-04-06 13:44:52 +02:00
Miquel A. Cabot
8d9964448a
fix error in number of parameters in deployERC721Contract()
2022-04-06 13:44:36 +02:00
Miquel A. Cabot
e2a4c32a65
use estimateGas() function in FixedRateExchange
2022-04-05 23:37:54 +02:00
Miquel A. Cabot
47e47863b3
use estimateGas() function in Pool
2022-04-05 18:08:21 +02:00
Miquel A. Cabot
09d7683986
use estimateGas() function in Dispenser
2022-04-05 17:41:00 +02:00
Miquel A. Cabot
2c0f3ae108
use estimateGas() function in SideStaking
2022-04-05 17:29:55 +02:00
Miquel A. Cabot
652ec73892
solve lint errors
2022-04-05 17:21:41 +02:00
Miquel A. Cabot
1380661c97
use estimateGas() function in TokenUtils
2022-04-05 16:26:40 +02:00
Miquel A. Cabot
c936c47260
use estimateGas() function in Router
2022-04-05 16:21:43 +02:00
Miquel A. Cabot
00fc5d21e9
use estimateGas() function in NFTFactory
2022-04-05 15:29:00 +02:00
Miquel A. Cabot
2af104497a
change return type
2022-04-05 15:28:35 +02:00
Miquel A. Cabot
23101a185f
add generic estimateGas() function
2022-04-05 14:53:04 +02:00
Miquel A. Cabot
605812ee7f
estimate gas without using the function signature
2022-04-05 10:24:27 +02:00
Alex Coseru
005c2d9760
Feature/bump contracts to alpha 28 ( #1392 )
...
* bump contracts to alpha 28
2022-04-04 14:56:41 +03:00
Miquel A. Cabot
2fe89b476a
update comments
2022-04-04 10:22:03 +02:00
Miquel A. Cabot
f34573be44
create a generic estimateGas() function
2022-04-04 09:37:30 +02:00
Miquel A. Cabot
0735a4b4e3
update comments related to amount units
2022-04-01 16:31:37 +02:00
Miquel A. Cabot
02fa3b8912
remove unused parameters
2022-04-01 16:27:41 +02:00
Miquel A. Cabot
a4a7a7e469
add transfer() and estTransfer() functions
2022-04-01 12:49:38 +02:00
Soon Huat
9106a78646
default amountToUnits decimals to 18, FRE consumerMarketSwapFee witho… ( #1374 )
...
* default amountToUnits decimals to 18, FRE consumerMarketSwapFee without basetoken
* Revert "default amountToUnits decimals to 18, FRE consumerMarketSwapFee without basetoken"
This reverts commit 14ef599738a85d82f1268ed77a338b4ba1b9f668.
* FRE, web3 toWei for percentage based value
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-03-29 15:54:09 +01:00
Soon Huat
4c5da01d66
change address[1] to paymentCollector based on smart contract ( #1375 )
...
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-03-29 15:40:30 +01:00
Bogdan Fazakas
4157e1e473
update compute status query and jsdoc ( #1361 )
2022-03-29 15:40:01 +01:00
Miquel A. Cabot
a33bf42452
Issue-#1367: Fix error in NftFactory.disableTokenTemplate()
and NftFactory.reactivateTokenTemplate()
( #1368 )
...
* fix error in NftFactory.disableTokenTemplate() and NftFactory.reactivateTokenTemplate()
* add tests for nft and token templates
2022-03-29 15:37:50 +01:00
Miquel A. Cabot
52c8121b82
Merge pull request #1355 from oceanprotocol/issue-1292-fix-compute-test-timeout
...
Issue-#1246: Use confighelper instead of hardcoded endpoints
2022-03-24 16:06:40 +01:00
296a94be98
solve all typing warnings ( #1364 )
2022-03-24 13:33:03 +00:00
Miquel A. Cabot
d3246c5ae4
Merge branch 'v4main' into issue-1246-use-confighelper-in-tests
2022-03-22 15:43:48 +01:00
Alex Coseru
c01fb0756c
Feature/contracts alpha 25 ( #1358 )
...
* bump to contracts alpha 26
* update gasFeeMultiplier
2022-03-21 14:40:34 +02:00
Miquel A. Cabot
db0c9a6cdb
Merge branch 'v4main' into issue-1246-use-confighelper-in-tests
2022-03-16 14:30:24 +01:00
Norbi
a0e43235dd
Replace toWei/fromWei when base token conversion ( #1318 )
...
* replaced toWei inside FRE
* added amountToUnits for maxPrice inside pool
* replaced fromWei
* add web3 param to getPoolCreationParams
* added await before amountToUnits inside swapExactAmount
* swapExactAmount update
* add await to unitsToAmount inside setRate
* convert newRate to string
* replaced unitToAmounts with amountToUnits inside setRate
* replace unitToAmounts with amountToUnits
* added await
* replaced String() with toSting()
* replaced String() in Provider
* transform newRate into wei inside estimateSetRate
* replace toWei inside getFreCreationParams
* added web3 param to getFreCreationParams
* add amountToUnits inside getFreOrderParams
* added logs
* removed unitsToAmount from fixed rate
* removed amountToUnits inside marketFee
* removed logs
2022-03-16 12:44:53 +02:00
md0x
a4a3e8abb8
Make metadataProofs optional in setMetadataAndTokenURI ( #1336 )
...
* Make metadataProofs optional in setMetadataAndTokenURI
Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com>
* Add empty array if not metadataProofs
Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com>
2022-03-16 09:52:41 +00:00
Miquel A. Cabot
ac5bbf7922
use ip number instead of localhost in config file
2022-03-15 18:44:58 +01:00
mihaisc
d8a7d42a9e
fix moonbase urls ( #1337 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-03-14 16:56:55 +02:00
Alex Coseru
9b724d71bd
Feature/contracts alpha 22 ( #1334 )
...
* bump contracts to alpha 22
2022-03-14 14:23:16 +02:00
f97727dd36
update ServiceComputeOptions
( #1330 )
2022-03-11 11:05:08 +00:00
Norbi
bd32b950a8
dispenser creation: transform maxTokens and maxBalance to wei ( #1328 )
2022-03-11 11:04:55 +00:00
mihaisc
b1eb329a81
fix url ( #1325 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-03-03 19:43:54 +02:00
Soon Huat
dfb42e5464
services specific additional information ( #1311 )
...
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-02-24 03:15:39 -08:00
mihaisc
c930b59c24
fix export ( #1309 )
2022-02-23 00:56:01 -08:00
mihaisc
1a12a4bd89
Calculating max swap/liquidity ( #1306 )
...
* calc max
* more max checks
* fix description
2022-02-22 08:37:41 -08:00
Bogdan Fazakas
ba962c0805
fix estGas for setMetadata call ( #1303 )
2022-02-21 13:31:26 +00:00
mihaisc
6a70f48cfc
Update contracts ( #1297 )
...
* add categories to metadata
* update contracts
* fix
2022-02-17 11:17:02 +02:00
Alex Coseru
7932a845d5
bump to contracts alpha.20 ( #1295 )
...
* bump to contracts alpha.20
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2022-02-16 18:25:17 +02:00
mihaisc
cd3360135c
update config endpoint ( #1288 )
...
* update config endpoint
* Update src/utils/ConfigHelper.ts
Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
* Update src/utils/ConfigHelper.ts
Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
* remove celo
* remove catena
Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
2022-02-15 00:06:21 -08:00
Alex Coseru
91a4431938
update to contracts alpha.19 ( #1286 )
2022-02-14 18:36:15 +02:00
Bogdan Fazakas
bad1fd5504
Merge pull request #1281 from oceanprotocol/feature/update-pool-jsdocs
...
Update Pool class JSDoc comments
2022-02-14 18:14:05 +02:00
mihaisc
de4dde37b3
fix fixed order params ( #1287 )
2022-02-14 07:15:21 -08:00