1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-26 03:06:49 +02:00
market/src/components/Asset/AssetActions/Trade
claudiaHash 8a5bddbf6e
Restore trade tab (#1047)
* get swap fee, max values

* use baseToken instead of ocean

* build fixes

* set form trade tx - WIP

* use pool info

* logs deleted

* merge fixes

* use local ocean.js, get spot price

* handle value changes, logs deleted

* fixes after v4 merge

* valid user liquidity displayed

* get correct token amount

* more fixes

* form trade fixes

* positive input values fix

* use proper swap functions

* use appConfig's marketFeeAddress

* remove redundant setters

* use consumeMarketPoolSwapFee

* use poolInfo, remove log

* code fixes

* some more fixes

* fees fix

* use poolInfo data

* various fixes

* fixes and cleanup

* fix build

* partial decimal fix

* add swap fee

* fix sub updates

* remove console

* fix package

* fix package-lock

* remove ssh

* fix blockies and package

* fix comments

* remove unused var

Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
Co-authored-by: mihaisc <mihai@oceanprotocol.com>
2022-03-03 10:49:04 +00:00
..
_constants.ts Restore trade tab (#1047) 2022-03-03 10:49:04 +00:00
_types.ts Restore trade tab (#1047) 2022-03-03 10:49:04 +00:00
FormTrade.module.css reorganize all the things 2021-10-27 11:28:59 +01:00
FormTrade.tsx Restore trade tab (#1047) 2022-03-03 10:49:04 +00:00
index.tsx Restore trade tab (#1047) 2022-03-03 10:49:04 +00:00
Output.module.css reorganize all the things 2021-10-27 11:28:59 +01:00
Output.tsx Restore trade tab (#1047) 2022-03-03 10:49:04 +00:00
PriceImpact.module.css reorganize all the things 2021-10-27 11:28:59 +01:00
PriceImpact.tsx reorganize all the things 2021-10-27 11:28:59 +01:00
Slippage.module.css reorganize all the things 2021-10-27 11:28:59 +01:00
Slippage.tsx reorg Form components one level up 2021-11-15 18:29:20 +00:00
Swap.module.css reorganize all the things 2021-10-27 11:28:59 +01:00
Swap.tsx Restore trade tab (#1047) 2022-03-03 10:49:04 +00:00
TradeInput.module.css Restore trade tab (#1047) 2022-03-03 10:49:04 +00:00
TradeInput.tsx Restore trade tab (#1047) 2022-03-03 10:49:04 +00:00