1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 09:44:53 +01:00
Commit Graph

697 Commits

Author SHA1 Message Date
225613745c
hit Aquarius only when config is present (#258)
* hit Aquarius only when config is present

* more checks
2020-11-17 14:21:29 +01:00
7f2a5e7515
refresh interval tweaks (#257) 2020-11-17 13:10:12 +01:00
mihaisc
fa7de2eeb4
Fix trade (#253)
* oceanlib verbose

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* fix

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* round 20

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* round 10

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* round 5

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* round 5

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* round 5

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* round 5

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* debug

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* bump lib

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* decimal 15

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* fix

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove verbose

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-16 21:45:35 +02:00
3517ef845e
typo 2020-11-16 17:12:53 +01:00
mihaisc
bb80c4df78
Swap tokens (#204)
* swap

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* validation and calculation

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* refactor

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove unused effect

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* fix interval

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* increase refresh timer, remove optional params

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* make inputs show up without wallet

* style fixes

* restyling

* styling

* more styling

* fix refresh price

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove test effect

* fixes, get data as early as possible from DDO and initial state

* refactor

* refactor

* refactor

* label tweaks

* copy

* typo

* prototype output

* remove price header

* ouput swap fee

* fix

* spacing

* copy

* refactor pool transaction titles

* copy

* update math

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* use messaging tweaks

* tab tweaks, output refactor

* fix dark mode selection style

* prototype output

* method tweaks

* slippage to 1%, added warnig banner

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* form tweaks

* error fix

* empty inputs by default

* longer intervals

* maxOcean validation fix

* slippage tolerance UI

* modified slippage UI

* refactor, refresh ocean user balance

* move typings/models around

* typing fix

* fixed output values

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* bump oceanlib

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove console.log

* remove placeholder

* tweak

* non-web3 browser tweak

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-16 16:21:15 +01:00
461fcaf8ae
Liquidity & price history graph (#248)
* graph prototype

* switch items

* liquidity history graph prototype

* more graph styling

* epoch times conversion

* get data in root component

* redraw fix

* more graph styling

* loading fix

* re-render fixes

* re-render fixes

* new Aquarius responses

* price graph and switch buttons

* spacing tweaks
2020-11-16 15:10:33 +01:00
mihaisc
f8a0ff41c3
purgatory updates (#249)
* purgatory updates

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* format

* update react hooks

* alert style, copy changes

* remove inverse style

* disable remove for purgatory owner

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove buy button for purgatory assets

* hide remove liquidity for owner

* query change

* query rollback

* query change

* query change

* query change

* change frontpage queries

* typings

* query refactor, make `all data sets` link work again

* footer fix

* test endpoint for stats

* fix pagination

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* partner query tweaks

* switch back market-stats endpoint

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-14 15:02:54 +01:00
241f6c0df6
markdown render fixes (#239) 2020-11-11 19:00:07 +02:00
2190a8a9a5
move analytics id to environment variable (#238) 2020-11-10 16:52:26 +01:00
a19e7bca04
Default weight change to 70/30 (#211)
* dt weight tests

* update weights

* validation and defaults tweaks
2020-11-10 13:52:02 +01:00
eabb696f49
Remove slider quick wins (#222)
* make max display into max button

* effect refactor, get amountOcean as early as possible

* fix slider styles in Chrome

* max button fixes

* fix debounce

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove console.log

* lower threshold

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-10 09:50:05 +01:00
9f211a14d9
output weights in pool statistics (#218)
* output weights in pool statistics

* switch to more simple output

* output weights only when present
2020-11-09 17:49:09 +01:00
b3510230e9
More footer data (#224)
* output total datatoken liquidity in footer stats

* add build id to footer

* write out repo metadata before build

* build tweaks

* add title

* refactor
2020-11-09 14:31:04 +01:00
d47fd97536
fix pool share links (#220) 2020-11-06 16:56:22 +01:00
66984a575a
dark mode fixes (#216) 2020-11-05 21:49:31 +01:00
ad107c5415
Data Partners (#214)
* datapartners prototype

* output partner name on asset teasers

* badge, output partner data

* deprioritize pool badge

* teaser spacing tweaks

* styling

* carousel pattern

* carousel fixes

* styling tweaks

* cleanup, useDataPartner hook

* large screen fixes

* add partner badge to all data set list titles

* byline links tweaks

* byline tweaks

* switch list data source

* fixes, link to https://github.com/oceanprotocol/list-datapartners

* refactor

* refactor
2020-11-05 14:43:13 +01:00
mihaisc
b55362f309
incorrect link type (#215)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-05 13:12:45 +01:00
mihaisc
35fd83de73
fix download button (#213)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-05 12:56:41 +01:00
300aedc856
first aggregated stats (#203)
* first stats

* styling

* url change, error catching

* styling, more output

* refactor, refetch every 10 sec when in viewport

* copy

* add axios cancel token

* cancel token logging
2020-11-04 13:06:51 +01:00
3505db21da
Owner/publisher search (#187)
* make owner search work

* owner/publisher search from asset details

* copy & cleanup

* style tweaks

* timing

* make search combinations work again

* remove account search highjacking

* switch owner source

* search route fixes

* eth address truncation in text search titles
2020-11-03 14:57:40 +01:00
3974e4a9a3
Context warnings, more terms links (#199)
* move general banner to publish screen

* modify main banner

* move banner contents into content files

* simple footer links

* consistent links

* specificity
2020-11-03 14:17:21 +01:00
8f1cde9c90
icon tweaks (#200) 2020-11-03 13:19:47 +01:00
79e76dddb0
fix min validation input bug (#195)
* fix min validation input bug

* tweak pool transactions number output so 0.00001 shows up
2020-11-02 20:24:58 +01:00
be8307f34d
User pool transactions on asset details (#193)
* refactored pool transactions component, output pool transactions on asset details

* styling

* remove sticky around asset actions

* hasAddedLiquidity simplification

* owner from useMetadata

* refactor, styling, number formatting

* refactor

* toggle pattern
2020-11-02 19:18:21 +01:00
a5b7c66331
re-fetch pool numbers every 10 sec. (#191)
* re-fetch pool numbers every 10 sec.

* visual indicator

* refresh values on remove screen

* show indicator only when ocean connected

* put back await
2020-11-02 11:58:05 +01:00
0c2bc9ad4e
lower min amount for adding (#186) 2020-11-02 11:24:08 +01:00
5166480157
table display fixes 2020-11-02 01:02:53 +01:00
7a1d8ea0df
reactivate smooth scroll-behavior 2020-10-31 20:42:17 +01:00
84746b1027
refined conversion number formatting, add more currencies (#184)
* fix conversion number formatting
* switch to symbol formatting for fiat
* hack in consistent visual symbol formatting
* add more fiat currencies
* no need for custom isFiat regex
* consistent number column formatting
2020-10-31 20:18:45 +01:00
b48f3cc89d
mobile fixes 2020-10-31 00:56:03 +01:00
c92ec6bd94
search bar fixes 2020-10-31 00:55:39 +01:00
e95d8044c6
input size modifiers, add large 2020-10-31 00:55:00 +01:00
a670d3b2f1
default theme fix 2020-10-30 22:36:47 +01:00
983bc3a902
default theme fix 2020-10-30 22:34:39 +01:00
d655adb9f7
copy 2020-10-30 22:10:33 +01:00
74dc5b8081
logo fixes 2020-10-30 22:00:57 +01:00
cf3f406547
Dark Mode (#182)
* refactor CSS custom properties for dark mode

* dark mode style

* dark mode switching

* config tweaks
2020-10-30 21:28:20 +01:00
2063f594f6
disable walletconnect, metamask download fallback (#183) 2020-10-30 20:55:09 +01:00
08e2a3f22d
unify TokenList styles 2020-10-30 15:27:14 +01:00
8b3f16fac9
output owner on asset details (#180) 2020-10-30 14:58:36 +01:00
24cd36b2be
price display tweaks 2020-10-30 14:10:21 +01:00
0134610dbe
remove conversion display from pool price 2020-10-30 14:03:40 +01:00
22cb980207
fix remove screen styles 2020-10-30 13:46:52 +01:00
mihaisc
5b3002fd82
add creator liquidity (#178)
* add creator liquidity

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove comments

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* check price update

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-30 14:39:00 +02:00
e96d782917
Add warning to Add Liquidity screen (#177)
* refactor add form, warning component

* dismissable alert

* prototype default warning screen

* add copy, finalize styling

* remove dismiss x
2020-10-30 13:31:27 +01:00
mihaisc
290e43199c
change weights (#169)
* change weights

* new defaults

* your liquidity fix

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-10-30 11:50:50 +01:00
551f4ab7ee
add back balance check for all use actions (#166) 2020-10-29 21:34:53 +01:00
9d681fc594
bookmarks fix 2020-10-29 20:45:57 +01:00
2ec825d255
table display tweaks 2020-10-29 20:42:21 +01:00
8eb1023447
boomarks title fix 2020-10-29 19:25:51 +01:00
mihaisc
d8dfe88e2a
refresh price and pool info (#164)
* refresh price and pool info

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* lib update

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove unused dependencies

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove console.log

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-29 15:53:27 +01:00
0065d7b3da
Pool shares list (#163)
* refactor

* pool shares component

* bump ocean.js

* output shares and prices

* styling

* refactor

* bump ocean.js

* bump react hooks
2020-10-29 15:12:05 +01:00
a9550e1331
add a debounce to remove liquidity slider 2020-10-29 12:42:19 +01:00
eae81505f6
remove metadataCacheUri output from empty messages
* closes #134
2020-10-29 12:00:10 +01:00
c849fd0396
network agnostic bookmarks (#162)
* network agnostic bookmarks
* bookmark data structure migration
2020-10-29 11:39:42 +01:00
86ca66d2cb
add bookmark to beginning of array instead of end 2020-10-29 00:40:46 +01:00
a95a35bd7b
fix bookmarks empty state 2020-10-29 00:13:33 +01:00
0972944e03
Bookmarks (#159)
* handle pinned items in UserPreferencesProvider

* prototype add/remove pins

* output pins

* pins → bookmarks

* styling

* output datatoken info
2020-10-28 23:59:14 +01:00
a80c6ff5e8
output datatoken symbol on asset teaser 2020-10-28 23:43:04 +01:00
060862602b
markdown display tweaks 2020-10-28 19:11:34 +01:00
7af9ac6974
Merge pull request #152 from oceanprotocol/fix/paginationSearch
correct number of items on page
2020-10-28 13:08:35 +01:00
0695390c41
fix remove liquidity message 2020-10-28 13:02:24 +01:00
f01f885884
multiple remove liquidity fixes
* never go more than 100% in slider
* fix removing OCEAN
2020-10-28 12:57:06 +01:00
mihaisc
0540bad3fd
correct number of items on page
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-28 13:33:53 +02:00
8fb4f258db
refactor conversion to use PricesProvider 2020-10-28 11:00:06 +01:00
47bd08e7a9
create price provider 2020-10-28 10:32:56 +01:00
fd1a7f263a
cleanup 2020-10-27 21:05:09 +01:00
e57f675282
checkPreviousOrder fix 2020-10-27 20:58:20 +01:00
aff25b7954
lower allowed OCEAN amount to add 2020-10-27 19:16:59 +01:00
mihaisc
ae84db194c
fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-27 20:03:19 +02:00
mihaisc
70caeb5d80
fixed price and gas estimate
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-27 19:56:14 +02:00
b2cd4fc79e
fix etherscan links 2020-10-27 18:07:19 +01:00
a81d7b9d8b
disable whole effect 2020-10-27 17:34:22 +01:00
960d20d1ea
disable user balance check for buy
* quick hack for #145
2020-10-27 17:30:40 +01:00
mihaisc
b600e4cd44
remove copyright
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-27 14:01:52 +02:00
mihaisc
be005e0936
remove license
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-27 13:56:43 +02:00
a3c7e7abe7
update banner link 2020-10-27 12:16:37 +01:00
mihaisc
01d729b130
Merge pull request #139 from oceanprotocol/fix/addLiquidityEstimates
correct pool shares
2020-10-26 22:31:04 +02:00
mihaisc
599e11aed7
remove forgotten console
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-26 22:23:25 +02:00
mihaisc
adcef8d15e
fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-26 22:21:38 +02:00
5a7488fa04
refactor add form 2020-10-26 20:54:07 +01:00
ce9923f80c
another row of highest liquidity pools 2020-10-26 20:23:26 +01:00
mihaisc
478e18c68d
fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-26 21:12:07 +02:00
mihaisc
9973ba09b3
Merge branch 'main' into fix/addLiquidityEstimates 2020-10-26 21:05:21 +02:00
mihaisc
93d141f91f
correct pool shares
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-26 21:04:49 +02:00
d6e9e7f7c9
disable compute starting for now 2020-10-26 19:51:07 +01:00
2b6759c3a2
remove debug 2020-10-26 19:30:51 +01:00
a76fb0342b
Merge pull request #138 from oceanprotocol/feature/first-price
Display firstPrice helper upon dynamic price creation
2020-10-26 19:29:33 +01:00
30ebed4e29
firstPrice styling 2020-10-26 19:17:20 +01:00
2ac9a7cf1b
price output 2020-10-26 19:04:40 +01:00
0658b656b1
change swapFee calculation 2020-10-26 18:57:57 +01:00
4585fecb1f
effect dependencies 2020-10-26 18:49:16 +01:00
2c27d955d9
formula update 2020-10-26 18:48:08 +01:00
77e1d08a08
prepare displaying firstPrice 2020-10-26 18:44:32 +01:00
411923373a
disable add input by default 2020-10-26 18:31:54 +01:00
1fa6303850
fix fallback etherscan link 2020-10-26 18:27:34 +01:00
e14d4ad9e0
disabled buttons 2020-10-26 18:20:34 +01:00
99334f4d74
refactor pool data flow 2020-10-26 18:13:12 +01:00
8756a8e688
Merge pull request #136 from oceanprotocol/fix/pool-price
price refactor
2020-10-26 17:46:14 +01:00
0b5e7f27d2
remove debug 2020-10-26 17:41:27 +01:00