8074a6143c
Refactor Asset context provider ( #1055 )
...
* refactor Asset context provider
* use useIsMounted hook
* typings and effect tweaks
* use chainId
* effect tweak
2022-02-03 14:31:43 +00:00
mihaisc
57be62a6b1
Refactor pricing and various components that are involved ( #1046 )
...
* update
* merge pr #1012
* fix header
* fix
* abort controller
* up next.8
* build fix
* update lock
* fix
* another fix
* ssh fix
* another ssh fix
* remove optional
* order mock
* small cleanup
* fix package
* price updates
* finish getPrice
* fix consume
* fix consume
* getConsumeDetails comments
* restore functionality after consumeDetails
* fix some compute typings
* more price fetching updates
* 'minor' refactors and fixed build
* package-lock fix
* minor comments
* minor naming changes
* fix
* fix pool badge
* remove console.log
2022-02-03 03:29:39 -08:00
ef6a5fda7f
calculate user liquidity with subgraph values ( #1053 )
2022-02-02 11:49:59 +00:00
1eaec10ea9
center single data point
2022-01-31 12:42:23 +00:00
d4b42bf7a4
generated typing fix
2022-01-31 12:42:23 +00:00
1e54a9d573
merge all the pool data subgraph queries into one
2022-01-31 12:42:23 +00:00
1e24972aa7
tooltip styling fixes
2022-01-31 12:42:23 +00:00
fde7449aad
typescript, yolo
2022-01-31 12:42:23 +00:00
5683d7b187
re-render fixes
2022-01-31 12:42:23 +00:00
7a5651e3a8
spacing, more file moving around
2022-01-31 12:42:22 +00:00
58f1c884de
split up fetching & data manipulation, refactor
2022-01-31 12:42:22 +00:00
1e4446116b
update and migrate to chart.js & react-chartjs new major versions
2022-01-31 12:42:22 +00:00
52437616f2
add volume graph
2022-01-31 12:42:22 +00:00
d43920548f
fix liquidity & price graph
2022-01-31 12:42:22 +00:00
9ce1f6f7d5
remove all the custom field change overwrites
2022-01-26 14:07:33 +00:00
a9aeed4aec
define token address & symbol only once
2022-01-26 12:41:21 +00:00
0db0bea3f6
more generic TokenApproval props, more logging
2022-01-26 12:06:09 +00:00
c10ca06dbc
fixes
2022-01-26 11:55:21 +00:00
08a691ceee
token approval & allowance fixes
2022-01-26 10:43:32 +00:00
8b31746e57
make remove output calculation work
2022-01-26 10:23:33 +00:00
bfdf7e1b24
prepare to use getAmountInExactOut
2022-01-26 10:23:33 +00:00
eaf29003c3
make remove work
2022-01-26 10:23:33 +00:00
a541cbcee0
refactor to use less hardcoded OCEAN
...
* ref #468
2022-01-26 10:23:33 +00:00
4dc188d3e4
add/remove baseToken only
2022-01-26 10:23:33 +00:00
c140cdc82c
restore submit methods, token approval workaround
2022-01-26 10:23:33 +00:00
0c5c8effde
restore live calculations
2022-01-26 10:23:33 +00:00
f55d8d9a91
Pool tab refactor ( #1009 )
...
* refactor and simplify
* fix user pool transaction section
* split up fetching and data manipulation
* restore refetch after add/remove, rename all the things
* more naming and logging
* new state structure unifying multiple data structures
* another response failsafe
* naming
2022-01-21 14:09:15 +00:00
0129806159
pregenerate warning fix
2022-01-17 17:06:46 +00:00
606654b533
more pool query refactor
2022-01-17 13:53:15 +00:00
5401390c44
simplify and refactor pool charts
2022-01-17 13:06:24 +00:00
4706029029
make datatoken balance work again in multiple places
2022-01-14 17:40:05 +00:00
c6011d29ef
fail safe against empty creator liquidity, just read out weights
2022-01-14 17:25:20 +00:00
8996722fcb
pool graph tinkering with poolSnapshots
2022-01-14 17:10:24 +00:00
1726fe1d0d
isolate apollo stuff into npm script, more generic folder name output
2022-01-13 23:50:47 +00:00
68ad4cc160
migrate most components using GraphQL queries
2022-01-13 22:03:36 +00:00
ca32de2dd7
migrate pool graph query
2022-01-13 19:26:15 +00:00
c5583c691c
migrate Pool index query
2022-01-13 19:08:34 +00:00
f6097bf158
remove OceanProvider ( #988 )
2022-01-13 13:15:15 +00:00
b5b0297ae4
refactor for new ocean.js, make the build work
2022-01-11 19:05:07 +00:00
mihaisc
4caf72d0c9
Fix/old lib dep ( #959 )
...
* fixes
* change aqua url
* update future v4 url
2021-12-10 03:33:47 -08:00
82951548ef
reorg Form components one level up
2021-11-15 18:29:20 +00:00
3d4b30c00f
new DDO ( #941 )
...
* type out new DDO
* remove all DDO ocean.js imports
* move over as much as possible to new DDO structure
* DDO/Asset split-up
* use Asset typing instead of DDO almost everywhere
* more typings
* more DDO refactor
* ddo typings updates
* more DDO updates
* updates
* ddo updates
2021-11-11 07:51:13 +00:00
3729c63581
migrate to Next.js ( #935 )
...
* migrate to Next.js
* migrate scripts
* generate markdown pages
* make all the markdown work
* fix profile, fix image loading
* git+ssh → git+https, again
* bump packages
* maybe windows build fix
* add public to gitignore
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* Next.js v12! Webpack 5! No build hacks anymore
* json import fixes
* fixes
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-10-27 11:30:32 +01:00
51785d54dd
more reorganization
2021-10-27 11:29:03 +01:00
f951910dc2
reorganize all the things
2021-10-27 11:28:59 +01:00