df587bb5b5
Merge branch 'main' into feature/compute
2021-03-17 12:58:13 +01:00
bdccb0966f
Web3/Ocean splitup + full Polygon/Matic support ( #433 )
2021-03-17 11:44:26 +01:00
e180ab0085
Merge branch 'main' into feature/compute
2021-03-09 19:18:47 +01:00
Bogdan Fazakas
a4f4de84fd
add sample file to edit metadata form ( #419 )
...
* add sample file to edit metada form
* bump oceanjs to 0.11.2
* retrigger checks
* added updated package-lock.json
* bump react hooks to 0.5.4
* bump ocean.js to 0.11.4 and react hooks to 0.5.5
2021-03-09 17:52:40 +01:00
Bogdan Fazakas
d1c4cdb29f
Merge branch 'main' into feature/compute
2021-03-05 13:51:26 +02:00
mihaisc
a261c35ec7
check order from the graph
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-03-04 15:53:34 +02:00
Bogdan Fazakas
32ff7af3ce
Merge branch 'feature/compute' into publish-algo
2021-03-03 16:13:03 +02:00
202d690fd5
Merge branch 'main' into feature/compute
2021-03-02 16:19:27 +01:00
f6f6c68428
more fine grained price issues display
2021-03-01 16:08:50 +01:00
Norbi
bee7c1ecbf
changed way to get accessType, asset type declaration
2021-02-25 13:46:20 +02:00
82a12a915d
refactor publish page for tab usage
2021-02-22 16:15:22 +01:00
Bogdan Fazakas
2f1bd399f8
refactor metadata types for publish forms
2021-02-19 17:51:40 +02:00
Norbi
14942b5785
use action view changes by asset type
2021-02-19 16:25:49 +02:00
Bogdan Fazakas
18cd6b6f01
WIP publish algorithm
2021-02-16 11:27:02 +02:00
Norby
b043eab047
Get pool shares using The Graph ( #360 )
...
* added graph query
* fixed negative liquidity value for input error
* used graph to get poolShares
* replaced total pool liquidity with user liquidity, get ddo on row
* get symbol from graph, calculate userLiquidity
* fixed userLiquidity price and sorted table by userLiquidity
* removed ordering by balance
* displayed pool and client liquidity, disabled table header hover
* order Your Liquidity before Pool Liquidity
* removed line height on asset title in pool shares table
* limit table to 5 rows, refactor liquidity comp, changed balance color
* code climate similar blocks fix
* changed lockedValue to valueLocked in pool shares query
* removed husky file
2021-02-10 17:16:24 +02:00
mihaisc
79715df435
Pool tx history ( #307 )
...
* graphql
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* ignore generated
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* delete generated
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix fetch
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix fetch
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update readme
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* pool creator liquidit& statistics
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* graph with the graph
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* cleanup
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update poll interval
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update graph url
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* ocean bump
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* run apollo codegen before starting gatsby
* put back graph loading state
* typing fix
* graph tweak, add error state
* readme update
* remove unused functions, move graph provider
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix package-lock
* fix graph when switching tabs
* generate apollo files into one folder
* fix loading
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* graph query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* tx query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix titles
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix text issues
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* local pagination
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* return refreshInterval to 10 sec
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* add
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix data set column
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-01-22 18:05:02 +01:00
Norby
a2fe2fdee0
Set, edit, and display timeout ( #324 )
...
* added timeout to publish asset
* add timeout to edit asses(wip)
* added timout to edit metadata form
* fixed wrong constant name
* fix options autosorting
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* Fixed autosorting in edit form
* Added "1 day" to timeout options
* Changed ternary operators to switch
* Feature/asset timeout (#325 )
* Compute asset timeout
* Code styled
* Deleted unused import
* Display timeout for buy/download
* Switch case for timeout values
* Moved mapping function to /utils/metadata
* display timeout option not matching defined ones, map seconds to string
* handle update with no predefined timeout value, add weeks to map method
* Display timeout on button
* consume button text logic change
* whoops, revert wrong change
* small millisecondsToStr refactor
* copy tweaks
* template literal logic restore
* keep tweaking help text logic
* abstract into method
* change whole condition logic
* tweak hasDatatoken/hasPreviousOrder combination condition
* Unified seconds to string conversion methods
* getHelpText tweaks, small refactor
* copy editing, limit hardcoded timeout list
* fix mixup of map & filter
* use Timeout as label and be done with it
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: claudiaHash <49017601+claudiaHash@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: Claudia Holhos <clawww1996@gmail.com>
2021-01-22 17:12:48 +01:00
mihaisc
273769388c
Pool statistics from the graph ( #288 )
...
* graphql
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* ignore generated
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* delete generated
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix fetch
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix fetch
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update readme
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* pool creator liquidit& statistics
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* graph with the graph
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* cleanup
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update poll interval
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update graph url
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* ocean bump
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* run apollo codegen before starting gatsby
* put back graph loading state
* typing fix
* graph tweak, add error state
* readme update
* remove unused functions, move graph provider
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix package-lock
* fix graph when switching tabs
* generate apollo files into one folder
* fix loading
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix codegen camelcase
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* bump apollo packages
* document subgraph usage, add example
* rewrite into Data Sources, add quick examples
* more data sources docs
* docs updates, typos
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-01-21 16:02:48 +01:00
b3b2ea9777
bump ocean.js & react hooks ( #327 )
...
* bump ocean.js
* adapt changes
* bump @oceanprotocol/react
* edit metadata tweaks
2021-01-19 14:34:52 +01:00
b2f1af6e87
package updates and fixes ( #296 )
...
* package updates and fixes
* yup update for edit form
2020-12-10 15:28:46 +01:00
960c5b3234
Update metadata, the proper way ( #292 )
...
* prototype view switching
* refactor, more UI
* formik form setup & data flow
* debug output, fixes, refactor
* description preview refactor
* publish/update date changes
* output created & updated date at top of asset
* use ddo.created & ddo.updated everywhere
* stop pushing metadata.main.datePublished
* owner check for edit link
* all the feedback states and switching between them: loading, error, success
* refactor feedback, one component for publish & edit
* action & date output fixes
* move all content, iterate form fields from it
* UI updates
* styling tweaks
* ddo dataflow refactor, more useAsset usage
* more useAsset usage
* form actions styling
* prepare edit history component
* metadata output tweaks
* copy
* safeguard against profile urls without protocol defined
* refetch ddo after edit
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* switch author for dataTokenOptions in metadata preview
* refactor
* copy
* showPricing fix
* validation: minimum characters for title & description
* disable submit button when validation fails
* form validation fixes
* manually trigger onChange validation in publish & edit forms
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-12-10 14:30:40 +01:00
f843641a45
More helpful output for Add Liquidity ( #277 )
...
* prototype
* add copy
* value update fixes
* calculation fun
* move copy
* move copy
* cleanup
* use Decimal
* fix
Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2020-12-02 12:44:07 +01:00
fdf518401c
fix cropped graph on mobile ( #276 )
2020-12-01 11:42:49 +01:00
mihaisc
35d9b6faec
price optimizations and bug fixes ( #274 )
...
* price optimizations and bug fixes
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* travis fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* rephrasing
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* bump react hooks, show price while checking if consumable
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
* fix travis
2020-11-26 16:02:42 +01:00
mihaisc
b5a11d6d0f
Handle price fetching better ( #265 )
...
* fix price refresh, add AssetProvider
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* price comment
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix trade
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix trade
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix pool liquidity
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix AssetProvider
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix import
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* pool refresh fix
* simplify, logging
* handle errors
* cleanup
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-20 14:31:28 +01:00
7325e093ad
refactor transaction titles ( #266 )
...
* refactor transaction titles
* refactor
* refactor
* bump @oceanprotocol/lib
* shorter getTitle
* remove util duplicate
* table tweaks
2020-11-20 11:29:42 +01:00
000a369fd2
Blink fixes ( #267 )
...
* badge fixes
* button fixes
2020-11-20 09:48:49 +01:00
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
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
mihaisc
35fd83de73
fix download button ( #213 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-05 12:56:41 +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
b48f3cc89d
mobile fixes
2020-10-31 00:56:03 +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
08e2a3f22d
unify TokenList styles
2020-10-30 15:27:14 +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
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
a9550e1331
add a debounce to remove liquidity slider
2020-10-29 12:42:19 +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
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
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
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
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
411923373a
disable add input by default
2020-10-26 18:31:54 +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
mihaisc
ec28ef546c
fix compute previous order
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-23 18:33:39 +03:00
mihaisc
7b0af5e062
Merge branch 'main' into feature/previousOrders
2020-10-23 16:40:01 +03:00
mihaisc
8f320c149e
fix
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-23 16:23:08 +03:00
6a7c6819e4
refactor EtherscanLink
2020-10-23 15:22:01 +02:00
6e589949b4
refactor network messaging
2020-10-23 13:38:12 +02:00
mihaisc
95c65b7461
update hooks, refactor
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-23 14:10:24 +03:00
mihaisc
f085ecd2ef
checking previous orders in consume and compute
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-23 12:57:12 +03:00
alexcos20
21257bba13
check previousValidOrders
2020-10-23 00:55:54 -07:00
Alex Coseru
0f092c6df3
Merge branch 'main' into feature/history-compute
2020-10-22 16:25:54 +03:00
mihaisc
829047cb71
reset values when switching from simple to advanced
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-22 15:37:26 +03:00
0b99155923
compute creation feedback fix
2020-10-22 13:22:32 +02:00
mihaisc
67cd26258c
Merge branch 'main' into feature/history-compute
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-22 12:28:28 +03:00
b48435788c
package updates
2020-10-21 14:37:18 +02:00
0497904bb5
compute & consume tweaks
2020-10-20 21:16:04 +02:00
8454bf9cc7
remove priceType from metadata, new hasPool check
2020-10-20 18:23:08 +02:00
a058af65f6
styling, content, datatoken info
2020-10-20 15:38:26 +02:00
28e5a06b60
refactor Compute flow
2020-10-19 13:23:44 +02:00
018a765a23
more consume refactor
2020-10-19 12:56:38 +02:00
a5815669c7
refactor consume
2020-10-19 12:14:57 +02:00
be9fde8827
get datatoken balance for use in consume/compute
2020-10-19 11:33:06 +02:00
mihaisc
6db26e3a69
Merge branch 'main' into feature/history-compute
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-19 12:11:37 +03:00
3a83bea511
remove liquidity: slider fixes, output user pool shares
2020-10-16 11:46:05 +02:00
f33b3bb023
all successes need confetti
2020-10-16 10:00:16 +02:00
c72e01c9ec
copy
2020-10-16 09:36:21 +02:00
006eef26e6
prefix display fixes
2020-10-16 09:11:16 +02:00
997db111bd
new coin selection
2020-10-16 09:00:16 +02:00
51493ef548
account for user balance for maximum check
2020-10-15 15:39:40 +02:00
f60163b54d
cleanup
2020-10-15 14:35:38 +02:00
823513d4ee
error fixes
2020-10-15 14:20:22 +02:00
d70ebba20d
error feedback
2020-10-15 14:09:02 +02:00
5a7955f7aa
refactor to use Formik for better live validation
2020-10-15 13:47:03 +02:00
8bec69986c
add max amount checks
2020-10-15 12:53:40 +02:00
48d5cd8765
copy
2020-10-14 20:19:03 +02:00
21f0e1fdc8
generic range input styling
2020-10-14 19:56:13 +02:00
287eea3c94
move all pool copy into content data file
2020-10-14 19:08:46 +02:00
abc70b9cae
bump ocean.js
2020-10-14 18:21:47 +02:00
959158d82a
refactor
2020-10-14 16:09:20 +02:00
2646e181cf
reset range slider on view switch
2020-10-14 16:02:26 +02:00
056b6e6c2c
max checks
2020-10-14 15:57:30 +02:00
5b7843d3d4
prepare max checks
2020-10-14 15:11:03 +02:00
0a248b36a1
refactor token checks
...
* requires https://github.com/oceanprotocol/ocean.js/pull/361
2020-10-14 15:03:44 +02:00
207b61933a
combine both flows
2020-10-14 15:03:44 +02:00
96ce7b518b
add help copy
2020-10-14 15:03:44 +02:00
1a71f0f66f
remove liquidity in OCEAN only
2020-10-14 15:03:44 +02:00
36d1289a8e
percentage is hard
2020-10-14 15:03:44 +02:00
89f4bf5aea
method changes
2020-10-14 15:03:44 +02:00
d7fed2deb5
make slider/output work
2020-10-14 15:03:44 +02:00
c068958513
use slider prototype
2020-10-14 15:03:44 +02:00
37b0f4f047
prototype
2020-10-14 15:03:43 +02:00
c1a0134c0a
bump ocean.js, totalSupply update
2020-10-14 10:36:16 +02:00
53188875c0
refactor
2020-10-12 13:29:18 +02:00
a629112ebb
cleanup
2020-10-12 12:40:14 +02:00
51ab425c35
refactor
2020-10-12 12:28:07 +02:00
80901b5bb4
new pool layout
2020-10-12 12:14:39 +02:00
753b5c2c9c
output pool shares by default
2020-10-12 11:41:05 +02:00
8fb1998b02
add marketFeeAddress to consume/compute
2020-10-09 21:31:57 +02:00
mihaisc
c49e0b1288
compute fix, compute history
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-09 16:04:55 +03:00
ed02d66609
output total pool liquidity
...
* convert everything in the pool to OCEAN, then convert to user currency
2020-10-08 17:56:26 +02:00
4b0f7c0042
typing fixes
2020-10-08 14:45:55 +02:00
50accc0065
refactor for new price
2020-10-08 14:32:59 +02:00
6949547043
coin selection todo
2020-10-07 13:59:20 +02:00
5eef2275fe
adding liquidity success output tweaks
2020-10-07 13:55:54 +02:00
231fdbb7fe
add method refactor
2020-10-07 13:38:55 +02:00
79ccff7905
output total pool liquidity value
2020-10-06 22:50:52 +02:00
6b901adf4e
handle user data token balance
2020-10-06 22:05:56 +02:00
f7f3a259f7
allow to add OCEAN or Datatoken
2020-10-06 21:53:06 +02:00
fb479a167f
remove liquidity screen styling
2020-10-06 19:07:33 +02:00
93b7b1b6c2
compute widget cleanup
2020-10-06 15:46:41 +02:00
eeda0f85ee
swapFee calculation fix
2020-10-05 22:07:16 +02:00
5a52d8fbe9
lib-js updates
2020-10-01 15:17:54 +02:00
3c44eac707
copy
2020-09-28 15:55:33 +00:00
ad714dc8c9
liquidityProviderFee → swapFee
2020-09-28 15:49:51 +00:00
b09c1dbc27
typing fixes
2020-09-23 14:54:56 +02:00
d7ff2694f7
consume fixes, tab fixes
2020-09-23 13:55:53 +02:00
b5356e6c42
test & storybook fixes
2020-09-23 11:21:04 +02:00
3260df17a9
add liquidity screen styling
2020-09-22 16:58:55 +00:00
711dd38a9f
output liquidity provider fee for given pool
2020-09-22 09:50:18 +00:00
041dfcee08
Data Token → Datatoken
2020-09-21 19:52:27 +02:00
b03955d618
pool badge for pool prices
2020-09-11 17:29:40 +02:00
a4510459f1
updates for new @oceanprotocol/react price model
2020-09-10 20:32:30 +02:00
cda52aef1c
safeguard against assets without attributes.additionalInformation
2020-09-10 19:54:32 +02:00