Bogdan Fazakas
aec4568412
remove logs
2022-05-26 08:38:38 +03:00
Bogdan Fazakas
565e7bfa31
compute jobs refetch and reuse order
2022-05-26 08:37:31 +03:00
Bogdan Fazakas
ea6a350796
merge v4 into v4-c2d
2022-05-20 08:20:49 +03:00
Bogdan Fazakas
f0b22ee8e4
fix forever timeout for assets ( #1445 )
2022-05-19 17:48:13 +01:00
Bogdan Fazakas
06e6290613
merge v4
2022-05-18 17:21:07 +03:00
mihaisc
4b6baa9cd5
Update contracts and math ( #1436 )
...
* update contracts and math
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* change fee name
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* bump to ocean.js v1.0.0-next.44
* rename consumeFee to orderFee
* prevent variable naming clash
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2022-05-18 14:38:08 +01:00
Bogdan Fazakas
6d7852672d
update compute status feedback messages
2022-05-17 11:45:37 +03:00
Bogdan Fazakas
feb1f41d5c
fix conditions and cleanups
2022-05-16 07:57:48 +03:00
Bogdan Fazakas
24aa157f92
fix lint
2022-05-13 10:53:38 +03:00
Bogdan Fazakas
be21be9559
order fixes
2022-05-13 10:27:41 +03:00
Bogdan Fazakas
936985a0f8
merge v4
2022-05-12 14:42:28 +03:00
Bogdan Fazakas
15af847a9c
wip compute initialize
2022-05-12 14:39:14 +03:00
5f3ee32ca2
Test setup tweaks ( #1415 )
...
* unused package cleanup
* make storybook use webpack 5
* see https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#webpack-5
* bump react, cleanup
* button story tweaks
* add Alert stories
* bump Jest to v28.1.0
* try original storyshots initialization
* split up build & test CI jobs
* stop testing Node.js v14
* set jest coverage flag
* downgrade paambaati/codeclimate-action again
* move jest config files, remove coverageReporter override
* collect coverage from `src/` only
* another paambaati/codeclimate-action bump test
* create additional button markup test
* downgrade paambaati/codeclimate-action again
* more downgrade
* render default button without optional style prop
* ignore some folders for Jest
* full coverage for Alert
* more package updates
* add eslint-plugin-testing-library & eslint-plugin-jest-dom
* bump ESLint packages, follow new rules
* start storybook in quiet mode
* update docs
* test storybook build as part of CI
* more testing docs clarification
* add jest:watch command
* add body background colors switch in toolbar
* TypeScript voodoo
* test codeclimate-action@v2.7.3 for default coverageCommand
* downgrade codeclimate-action and running in debug mode
* make coverage artifacts OS agnostic
* subgraph typings as artifact for coverage job
* disable coverage sending job for now
Co-authored-by: Enzo Vezzaro <enzo-vezzaro@live.it>
2022-05-12 11:35:07 +01:00
mihaisc
aa54795c2b
add decimals to pool calls ( #1393 )
...
* add decimals to pool calls
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix lock
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix ssh
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update ocean
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update ocean
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove screen fixes
* update lib, contracts
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix package-lock
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-05-10 14:19:41 +03:00
EnzoVezzaro
1fcc3b1356
sanitize urls as code scanning suggestions ( #1412 )
...
* sanitize url on DebugEditMetadata as code scanning suggestion
* sanitize urls
2022-05-10 10:11:53 +01:00
Bogdan Fazakas
e23e4b6b97
merge feature/v4 into feature/v4-c2d fix conflicts
2022-05-02 09:25:18 +03:00
mihaisc
2107eab979
Fix order and price ( #1375 )
...
* fix loading
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* add order fee
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix opc
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove cache from urql
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update urlq dep
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update urlq dep
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix lock
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix states
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-04-29 21:14:14 +02:00
Bogdan Fazakas
3ef91048b3
fix compute jobs infinite loading when no jobs found
2022-04-29 13:17:06 +03:00
Bogdan Fazakas
ad9ecd034c
fix conflicts
2022-04-28 14:59:30 +03:00
EnzoVezzaro
6ef2082724
restore order for assets with fixed pricing ( #1360 )
...
* restore button if there's not pool data
* restore order for fixed pricing and download button after purchase
* minor fixes
- avoid errors when providerFee is null
- fix disabled download/buy button when user is on different network as asset's
* added improvements
2022-04-28 13:35:00 +02:00
Bogdan Fazakas
787588f20b
fix fixed rate
2022-04-28 10:59:54 +03:00
Bogdan Fazakas
6bb4466d4a
merge feature/v4 into feature/v4-c2dr
2022-04-28 10:11:19 +03:00
mihaisc
d1e21b7f03
Various fixes in the pool component ( #1327 )
...
* remove legacy check to prevent rug pull
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* various fixes
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove old prop
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove old prop
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* add expected output to remove
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.logs
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix max calculations
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* refactors
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* temp fixes for build
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fixes
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* local calc for pice and liquidity
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove var
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix profile liquidity
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* global context, opc fee
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* comment
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* various fixes
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* refactor global context
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove nesting from market context
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix build
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix undefined appConfig
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* direct import of appConfig & siteContent
* this never changes on run time, so we should never have to wait for it and have it in js bundle at all times
* in utility methods, import directly
* for components, import directly in MarketMetadata context and pass through
* remove screen CSS fixes
* put back auto-fetching indicator, move manual refresh action behind debug
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-04-22 02:38:35 +02:00
Bogdan Fazakas
ef744c1a2c
Add reuse order in start compute flow ( #1352 )
...
* wip add reuse order logic
* add reuse order in start job
* added missing check if no jobs found
* update lib
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix lint
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-04-21 17:30:12 +03:00
Bogdan Fazakas
a0558efaab
some fixes
2022-04-20 12:32:04 +03:00
Bogdan Fazakas
0b1d9cc436
merge v4 into v4-c2d
2022-04-15 12:04:49 +03:00
Bogdan Fazakas
ffd1c3ebe1
bump ocean lib version and lint fixes
2022-04-15 09:25:55 +03:00
ced16eecc9
Ocean Asset NFT → Ocean Data NFT ( #1328 )
2022-04-06 16:38:43 +03:00
Bogdan Fazakas
1b744760ce
Merge branch 'feature/v4-c2d' into 'fix/compute-jobs'
2022-04-04 22:35:37 +03:00
Bogdan Fazakas
6e2e9875f1
Merge branch 'v4' into feature/v4-c2d
2022-04-04 22:26:13 +03:00
fc2681231b
fix transferable NFTs ( #1309 )
...
- send along `transferable` param when creating NFT
- new optional `transferable` param in our `generateNftCreateData()` helper, default to `true`. So we don't need to bother adding this to the publish tx fee component
- capture new key in form data, `metadata.transferable`, set to `true` by default. This prepares this to be added as a UI option later on
2022-04-04 20:13:39 +01:00
mihaisc
3dd21bd20d
update publish params for new contracts ( #1308 )
...
* fix params
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix params
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-04-04 18:16:04 +03:00
EnzoVezzaro
b574daee30
fix wrong TVL on pool tab ( #1281 )
...
* remove multiplier from totalLiquidityInOcean
* Revert "remove multiplier from totalLiquidityInOcean"
This reverts commit e6b5cc15d640e87569c8f87662f54fe318de8ba4.
* restore totalLiquidityInOcean calculation
* getting user / owner liquidity from calcSingleOutGivenPoolIn + some clean up
* removed web3 hook in favor of dummyWeb3 connection
* remove calc on user liquidity (YVL)
2022-04-04 14:29:31 +01:00
Bogdan Fazakas
84afa42903
update computeStatus signature to fix build and CI
2022-04-04 15:56:36 +03:00
Bogdan Fazakas
2dc12a2542
Merge branch 'feature/v4-c2d' into 'fix/compute-jobs'
2022-04-04 15:22:18 +03:00
Bogdan Fazakas
0c87abe24d
Merge branch 'v4' into feature/v4-c2d
2022-04-04 15:19:31 +03:00
claudiaHash
65f0c5c675
Price length and decimals number validation ( #1225 )
...
* price length and decimals number validation
* undefined parameter fix
* fixes
* use the decimals constant in regex
* validation added for moire fields
* cleanup
* swap fee decimals fixes
* constant fix
* use max 6 decimals for swap fee
* remove unused code
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-04-01 11:38:32 +03:00
Bogdan Fazakas
f36f3bcc14
wip get results
2022-03-31 11:49:42 +03:00
Bogdan Fazakas
72c7cc9f00
merge v4-c2d into compute-jobs
2022-03-30 14:58:20 +03:00
Bogdan Fazakas
d244b9b394
merge v4 into v4-c2d
2022-03-30 14:40:53 +03:00
Bogdan Fazakas
9171db8b6e
fix compute jobs section and your jobs
2022-03-30 09:12:14 +03:00
6e2e46d8ea
Disable pool fetching interval ( #1265 )
...
* disable pool fetching interval
* change requestPolicy
* trigger refetch on back button click for add/remove
* fix memory leak error
* refetch on refocus
* add manual refresh button
2022-03-29 14:32:45 +01:00
Bogdan Fazakas
70f181a595
removed to lowerCase on eth address
2022-03-28 18:36:52 +03:00
Bogdan Fazakas
c05fa7c7b2
Merge branch 'v4' into feature/v4-c2d and fix conflicts
2022-03-28 16:20:58 +03:00
Bogdan Fazakas
d42b0b6a2d
merge branch v4-c2d into fix/compute-jobs
2022-03-28 10:23:58 +03:00
Soon Huat
ba672e99ac
remove percentage fee from price sum, depends smart contract calculation ( #1249 )
...
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-03-24 16:56:09 +02:00
Luca Milanese
300b5b9ef3
fix: assign viewBox property to svg waves ( #1247 )
2022-03-24 12:11:41 +00:00
claudiaHash
5f174bca88
Remove collect tokens button ( #1235 )
...
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-03-23 13:30:03 +00:00
Bogdan Fazakas
4195e8df81
update provider compute status call
2022-03-22 08:16:54 +02:00
Bogdan Fazakas
51b882f256
fix aquarius call and added logs
2022-03-21 11:10:09 +02:00