|
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 |
|
|
5b36da54d2
|
fixes
|
2020-09-10 19:33:11 +02:00 |
|
|
a8d8c95acb
|
show BPT only in debug mode
|
2020-09-10 14:33:38 +02:00 |
|
|
6c47b8e44e
|
fix publishing
|
2020-09-09 14:58:57 +02:00 |
|
|
d9a4b5697c
|
output liquidity provider fee from pool
|
2020-08-31 14:17:40 +02:00 |
|
|
56dc96a6c1
|
refactor
|
2020-08-31 11:34:56 +02:00 |
|
|
09edb9d42b
|
use totalPoolTokens as maximumPoolShares, removal UI
|
2020-08-31 10:55:12 +02:00 |
|
|
1d52702a87
|
remove todos
|
2020-08-28 18:57:46 +02:00 |
|
|
c16a7be099
|
output pool tokens for debugging
|
2020-08-28 18:14:27 +02:00 |
|
|
405a400a83
|
add todos
|
2020-08-28 17:39:41 +02:00 |
|
|
801d69d8f5
|
output tx id after adding liquidity
|
2020-08-28 17:24:59 +02:00 |
|
|
8fe4e2c77d
|
tweak balances, dt display
|
2020-08-28 17:18:57 +02:00 |
|
|
f9047f25d2
|
hide BPT
|
2020-08-28 10:04:02 +02:00 |
|
|
f54c461edf
|
adding todos
|
2020-08-26 20:59:11 +02:00 |
|
|
bd88f40d4d
|
input fixes
|
2020-08-26 20:46:34 +02:00 |
|
|
f8fd5bb76f
|
cleanup
|
2020-08-26 20:36:18 +02:00 |
|
|
ef8814b622
|
add cleanup
|
2020-08-26 10:43:17 +02:00 |
|
|
77d305ae2e
|
add/remove header visual tweaks
|
2020-08-26 10:12:43 +02:00 |
|
|
c6307c24bd
|
better number fallbacks
|
2020-08-26 09:42:11 +02:00 |
|
|
2a8f045efa
|
tweak all pool calculations, display on Add screen
|
2020-08-26 09:37:28 +02:00 |
|
|
5e61123669
|
add/remove inputs
|
2020-08-26 09:01:43 +02:00 |
|
|
63fe171dd7
|
hide pool for simple pricing
|
2020-08-26 08:50:09 +02:00 |
|
|
71e4afe42a
|
copy
|
2020-08-25 09:48:33 +02:00 |
|
|
2fd4b59adf
|
pool token updates
|
2020-08-20 18:37:12 +02:00 |
|
|
9e37127360
|
useMetadata fixes
|
2020-08-20 16:59:17 +02:00 |
|
|
e114c3f650
|
refactor for new useMetadata
|
2020-08-20 14:22:32 +02:00 |
|
|
0af06792e6
|
refactor
|
2020-08-20 12:54:54 +02:00 |
|
|
bfa0f3ba5c
|
etherscan link component, link up pool & data token
|
2020-08-20 11:51:50 +02:00 |
|
|
49bb90865b
|
add conversion
|
2020-08-20 10:55:17 +02:00 |
|
|
508e4f7165
|
place some tooltips
|
2020-08-19 22:12:28 +02:00 |
|
|
d80d6d7990
|
output pool share
|
2020-08-19 22:06:25 +02:00 |
|
|
8d51307852
|
refactor getting dtPrice
|
2020-08-19 18:17:18 +02:00 |
|
|
cd1c514ac0
|
basic error handling during add/remove
|
2020-08-19 17:38:14 +02:00 |
|
|
da23dd51da
|
restore user balance calculation
|
2020-08-19 17:37:50 +02:00 |
|
|
ab0996f168
|
change user balance calculation
|
2020-08-19 17:20:20 +02:00 |
|
|
7da13f314b
|
add interaction
|
2020-08-19 17:09:30 +02:00 |
|
|
069cf40202
|
action name change
|
2020-08-19 16:39:13 +02:00 |
|
|
db5783c356
|
add remove screen functionality
|
2020-08-19 15:59:50 +02:00 |
|
|
ef874fd837
|
prototype adding liquidity
|
2020-08-19 14:49:08 +02:00 |
|
|
0570d30596
|
lib updates
|
2020-08-19 14:39:33 +02:00 |
|
|
71e56e4344
|
prepare add/remove screens
|
2020-08-18 23:26:59 +02:00 |
|
|
2194b55753
|
add loading state
|
2020-08-18 19:20:25 +02:00 |
|
|
5a8c864d6c
|
refactor Price component to be more universal
|
2020-08-18 19:11:52 +02:00 |
|
|
ebdd46efe0
|
first cut at actual UI
|
2020-08-18 18:04:53 +02:00 |
|
|
297c6a1ab1
|
Trade → Pool
|
2020-08-18 17:14:54 +02:00 |
|
|
dd5a5995f7
|
more data output
|
2020-08-18 14:54:00 +02:00 |
|
|
e01b1c4fee
|
get pool reserve data
|
2020-08-18 14:25:27 +02:00 |
|
|
f82e98863e
|
use getBestPool
|
2020-08-18 13:29:47 +02:00 |
|
|
2d3e0e9681
|
make pool info work
|
2020-08-18 13:13:55 +02:00 |
|
|
7e10f2232c
|
get all the tokens
|
2020-08-18 12:56:37 +02:00 |
|
|
812322181f
|
start interacting with balancer
|
2020-08-18 12:56:37 +02:00 |
|
|
e3892143c5
|
more feedback fixes
|
2020-08-11 09:41:23 +02:00 |
|
|
5ce00c9ddc
|
use decimal.js for price comparison
|
2020-08-11 09:30:17 +02:00 |
|
|
e7b17a9d65
|
consolidate balance check
|
2020-08-11 08:20:40 +02:00 |
|
|
c8ab797e02
|
fix run order
|
2020-08-11 07:51:55 +02:00 |
|
|
8d8336d169
|
lift price up, handle balance check
|
2020-08-11 07:34:32 +02:00 |
|
|
76e14be730
|
refactor price component
|
2020-08-07 18:12:39 +02:00 |
|
|
a3d98477ee
|
package updates, handle empty price
|
2020-08-06 13:00:22 +02:00 |
|
|
82049e9446
|
handle all price output
|
2020-08-05 13:21:14 +02:00 |
|
|
8b4363a866
|
remove price conversion
|
2020-08-05 13:11:39 +02:00 |
|
|
bc30a13597
|
tabs component
|
2020-07-31 13:15:00 +02:00 |
|
|
a73fac1611
|
cleanup
|
2020-07-21 14:04:32 +02:00 |
|
|
f08b7da22a
|
fix asset display
|
2020-07-21 13:21:22 +02:00 |
|
|
5ebbb479fe
|
refactor Compute for new hooks
|
2020-07-20 12:57:26 +02:00 |
|
|
902c4eedca
|
refactor consume
|
2020-07-18 02:06:42 +02:00 |
|
|
c5a3715982
|
code splitting and cleanup
|
2020-07-18 01:52:08 +02:00 |
|
|
c19cdcd9da
|
fix most metadata typings
|
2020-07-16 13:39:02 +02:00 |
|
|
9991c5452f
|
comment out compute component for now
|
2020-07-15 13:54:36 +02:00 |
|
|
7b6cb91410
|
kick out squid-js, replace with lib
|
2020-07-15 13:54:35 +02:00 |
|
|
8b6d2d5f33
|
fix storybook typography display
|
2020-07-13 23:48:19 +02:00 |
|
|
cd88cb41e5
|
remove json-schema-form, replace with Formik
|
2020-07-09 15:31:47 +02:00 |
|
|
c73cc97e44
|
restore Ocean loader
|
2020-07-09 13:42:06 +02:00 |
|
|
2568256ece
|
new AssetActions component
|
2020-07-08 17:57:53 +02:00 |
|