2022-10-24 19:42:53 +00:00
|
|
|
import {
|
2023-04-03 13:02:43 +00:00
|
|
|
matchFilter,
|
2022-10-24 19:42:53 +00:00
|
|
|
liquidityProvisionsDataProvider,
|
|
|
|
LiquidityTable,
|
|
|
|
lpAggregatedDataProvider,
|
2023-01-09 14:39:03 +00:00
|
|
|
useCheckLiquidityStatus,
|
2022-10-24 19:42:53 +00:00
|
|
|
} from '@vegaprotocol/liquidity';
|
|
|
|
import { tooltipMapping } from '@vegaprotocol/market-info';
|
|
|
|
import {
|
2022-11-22 18:14:16 +00:00
|
|
|
addDecimalsFormatNumber,
|
2023-04-07 17:00:57 +00:00
|
|
|
createDocsLinks,
|
2023-01-09 14:39:03 +00:00
|
|
|
formatNumberPercentage,
|
2023-02-28 18:56:29 +00:00
|
|
|
} from '@vegaprotocol/utils';
|
|
|
|
import { t } from '@vegaprotocol/i18n';
|
2023-05-09 08:04:33 +00:00
|
|
|
import { updateGridData } from '@vegaprotocol/datagrid';
|
2023-02-28 18:56:29 +00:00
|
|
|
import {
|
2022-10-24 19:42:53 +00:00
|
|
|
NetworkParams,
|
2023-01-06 15:35:32 +00:00
|
|
|
useNetworkParams,
|
2023-05-08 01:01:07 +00:00
|
|
|
} from '@vegaprotocol/network-parameters';
|
|
|
|
import { useDataProvider } from '@vegaprotocol/data-provider';
|
2022-09-30 00:40:44 +00:00
|
|
|
import {
|
|
|
|
AsyncRenderer,
|
|
|
|
Tab,
|
|
|
|
Tabs,
|
2022-11-08 07:23:38 +00:00
|
|
|
Link as UiToolkitLink,
|
2023-01-09 14:39:03 +00:00
|
|
|
Indicator,
|
2023-04-07 17:00:57 +00:00
|
|
|
ExternalLink,
|
2022-09-30 00:40:44 +00:00
|
|
|
} from '@vegaprotocol/ui-toolkit';
|
feat: liquidity provisions view (#1133)
* feat(#473): add positions metrics data provider
* feat(#473) add positions stats
* feat(#473) add positions stats
* feat(#473): add positions stats
* feat(#473): add positions stats
* feat(#473): position metrics, test and refactoring
* feat(#473): add unit tests to positions table
* feat(#473): fix spelling, order positions by updated at desc
* feat(#473): protect from division by 0
* feat(#473): fix trading positions e2e tests
* feat(#473): fix e2e data mocks
* feat(#473): post code review clean up
* feat(#993): dependencies handling in data provider
* feat(#993): fix e2e tests data mocks
* feat(#993): remove position metrics mocks, add market data market id
* feat: #994 add price monitoring bounds and candles update interface
* fix: move best bid price to diff section
* feat(#993): add missing mocks, fix combine function
* fix: add insurance pool and calc volume 24h
* feat: display some oracle min info, asset id, insurance pool, move open interest and 24hVol
* fix: add market-info.cy.ts case
* fix: remove # from numbered price monitoring settings
* fix: add insurance pool test
* fix: format 24hvol
* feat(#993): set loading initially to true, add unit tests
* feat(#993): cleanup, add comments
* feat(#993): remove undefined from client type
* fix: remove indicativeVolume and oracleSpecBinding from market info
* feat(#993): cosmetic changes
* fix: add oracleSpecBinding back
* Update libs/deal-ticket/src/components/info-market.tsx
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* feat: add initial queries
* fix: memo yesterday's timestamp
* fix: add back info
* fix: update query
* fix: add view full oracle details link and update mappings
* fix: regen code, make link reactnode, fix index.ts
* feat: add liquidity lib, refactor info market
* fix: remove liquidity query from deal-ticket
* feat:(#993): pass informaton about update callback cause
* fix: small ui tweaks
* fix: display in grid
* feat: navigate to oracle by termination id
* feat: #491 add use liquidity provision merging
* fix: remove logs, add extra check on my liquidity provision
* fix: type number trivially inferred from a number literal, remove type annotation
* fix: cypress tests and formatting for market info
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* fix: use position decimal places for stake and market value proxy
* fix: #491 use size/position decimal places for obligation, supplied and commitment amount
* fix: add size component and use decimal places
* fix: update readme liquidity
* fix: #491 add correct asset decimal formatters
* Update libs/deal-ticket/src/components/market-info/tooltip-mapping.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* fix: make link instead of button to open liquidity
* fix: #491 add liquidity page, link to trading mode tooltip, tabs hidden or choose active
* fix: remove LP dialog, use only link to page
* fix: add market id in LP view
* fix: follow trade grid design
* fix: add one line tabs , remove link styling, remove any, add value formatters
* fix: remove falsy check LP undefined
* fix: keep date formatter in LP table
* fix: add generic type market info, hooks in body function
* fix: revert number formatters
* fix: use one param only in network params query
* fix: use network param in web3 lib
* fix: move lp container to trading app
* fix: remove resizable panel
* feat: add header component, remove isEstimate
* chore: remove unnecessary type cast
* fix: fix build with children map clone element
* chore: lint
* fix: move use network params to react helpers
* fix: add const for LP tabs
* fix: fix formatting on LP page
* fix: only show tilde for liquidity monitoring auction end date
* fix: market id being rendered twice in market info
* chore: fix lint
* fix: types for generate withdraw form query
* chore: fix intermittent failing withdrawal test
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* chore: add another wait for market
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
2022-09-07 11:05:28 +00:00
|
|
|
import { useVegaWallet } from '@vegaprotocol/wallet';
|
2023-04-03 13:02:43 +00:00
|
|
|
import { memo, useCallback, useEffect, useRef, useState } from 'react';
|
2022-10-24 19:42:53 +00:00
|
|
|
|
2023-01-19 22:15:55 +00:00
|
|
|
import { Header, HeaderStat, HeaderTitle } from '../../components/header';
|
2022-10-24 19:42:53 +00:00
|
|
|
|
|
|
|
import type { AgGridReact } from 'ag-grid-react';
|
2023-01-17 15:01:24 +00:00
|
|
|
import type { IGetRowsParams } from 'ag-grid-community';
|
|
|
|
|
2023-04-03 13:02:43 +00:00
|
|
|
import type { LiquidityProvisionData, Filter } from '@vegaprotocol/liquidity';
|
2022-11-08 07:23:38 +00:00
|
|
|
import { Link, useParams } from 'react-router-dom';
|
2022-12-22 14:24:20 +00:00
|
|
|
import { Links, Routes } from '../../pages/client-router';
|
2023-01-17 15:01:24 +00:00
|
|
|
|
|
|
|
import { useMarket, useStaticMarketData } from '@vegaprotocol/market-list';
|
2023-04-07 17:00:57 +00:00
|
|
|
import { useEnvironment } from '@vegaprotocol/environment';
|
2023-03-31 10:41:16 +00:00
|
|
|
|
|
|
|
const enum LiquidityTabs {
|
|
|
|
Active = 'active',
|
|
|
|
Inactive = 'inactive',
|
|
|
|
MyLiquidityProvision = 'myLP',
|
|
|
|
}
|
feat: liquidity provisions view (#1133)
* feat(#473): add positions metrics data provider
* feat(#473) add positions stats
* feat(#473) add positions stats
* feat(#473): add positions stats
* feat(#473): add positions stats
* feat(#473): position metrics, test and refactoring
* feat(#473): add unit tests to positions table
* feat(#473): fix spelling, order positions by updated at desc
* feat(#473): protect from division by 0
* feat(#473): fix trading positions e2e tests
* feat(#473): fix e2e data mocks
* feat(#473): post code review clean up
* feat(#993): dependencies handling in data provider
* feat(#993): fix e2e tests data mocks
* feat(#993): remove position metrics mocks, add market data market id
* feat: #994 add price monitoring bounds and candles update interface
* fix: move best bid price to diff section
* feat(#993): add missing mocks, fix combine function
* fix: add insurance pool and calc volume 24h
* feat: display some oracle min info, asset id, insurance pool, move open interest and 24hVol
* fix: add market-info.cy.ts case
* fix: remove # from numbered price monitoring settings
* fix: add insurance pool test
* fix: format 24hvol
* feat(#993): set loading initially to true, add unit tests
* feat(#993): cleanup, add comments
* feat(#993): remove undefined from client type
* fix: remove indicativeVolume and oracleSpecBinding from market info
* feat(#993): cosmetic changes
* fix: add oracleSpecBinding back
* Update libs/deal-ticket/src/components/info-market.tsx
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* feat: add initial queries
* fix: memo yesterday's timestamp
* fix: add back info
* fix: update query
* fix: add view full oracle details link and update mappings
* fix: regen code, make link reactnode, fix index.ts
* feat: add liquidity lib, refactor info market
* fix: remove liquidity query from deal-ticket
* feat:(#993): pass informaton about update callback cause
* fix: small ui tweaks
* fix: display in grid
* feat: navigate to oracle by termination id
* feat: #491 add use liquidity provision merging
* fix: remove logs, add extra check on my liquidity provision
* fix: type number trivially inferred from a number literal, remove type annotation
* fix: cypress tests and formatting for market info
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* fix: use position decimal places for stake and market value proxy
* fix: #491 use size/position decimal places for obligation, supplied and commitment amount
* fix: add size component and use decimal places
* fix: update readme liquidity
* fix: #491 add correct asset decimal formatters
* Update libs/deal-ticket/src/components/market-info/tooltip-mapping.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* fix: make link instead of button to open liquidity
* fix: #491 add liquidity page, link to trading mode tooltip, tabs hidden or choose active
* fix: remove LP dialog, use only link to page
* fix: add market id in LP view
* fix: follow trade grid design
* fix: add one line tabs , remove link styling, remove any, add value formatters
* fix: remove falsy check LP undefined
* fix: keep date formatter in LP table
* fix: add generic type market info, hooks in body function
* fix: revert number formatters
* fix: use one param only in network params query
* fix: use network param in web3 lib
* fix: move lp container to trading app
* fix: remove resizable panel
* feat: add header component, remove isEstimate
* chore: remove unnecessary type cast
* fix: fix build with children map clone element
* chore: lint
* fix: move use network params to react helpers
* fix: add const for LP tabs
* fix: fix formatting on LP page
* fix: only show tilde for liquidity monitoring auction end date
* fix: market id being rendered twice in market info
* chore: fix lint
* fix: types for generate withdraw form query
* chore: fix intermittent failing withdrawal test
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* chore: add another wait for market
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
2022-09-07 11:05:28 +00:00
|
|
|
|
2022-11-08 07:23:38 +00:00
|
|
|
export const Liquidity = () => {
|
|
|
|
const params = useParams();
|
2022-12-12 09:44:58 +00:00
|
|
|
const marketId = params.marketId;
|
|
|
|
return <LiquidityViewContainer marketId={marketId} />;
|
|
|
|
};
|
|
|
|
|
2023-01-17 15:01:24 +00:00
|
|
|
const useReloadLiquidityData = (marketId: string | undefined) => {
|
|
|
|
const { reload } = useDataProvider({
|
|
|
|
dataProvider: liquidityProvisionsDataProvider,
|
2023-03-09 10:03:50 +00:00
|
|
|
variables: { marketId: marketId || '' },
|
2023-03-31 10:41:16 +00:00
|
|
|
update: () => true,
|
2023-03-09 10:03:50 +00:00
|
|
|
skip: !marketId,
|
2023-01-17 15:01:24 +00:00
|
|
|
});
|
|
|
|
useEffect(() => {
|
2023-03-31 10:41:16 +00:00
|
|
|
const interval = setInterval(reload, 30000);
|
2023-01-17 15:01:24 +00:00
|
|
|
return () => clearInterval(interval);
|
|
|
|
}, [reload]);
|
|
|
|
};
|
|
|
|
|
2022-12-12 09:44:58 +00:00
|
|
|
export const LiquidityContainer = ({
|
|
|
|
marketId,
|
2023-04-03 13:02:43 +00:00
|
|
|
filter,
|
2022-12-12 09:44:58 +00:00
|
|
|
}: {
|
|
|
|
marketId: string | undefined;
|
2023-04-03 13:02:43 +00:00
|
|
|
filter?: Filter;
|
2022-12-12 09:44:58 +00:00
|
|
|
}) => {
|
feat: liquidity provisions view (#1133)
* feat(#473): add positions metrics data provider
* feat(#473) add positions stats
* feat(#473) add positions stats
* feat(#473): add positions stats
* feat(#473): add positions stats
* feat(#473): position metrics, test and refactoring
* feat(#473): add unit tests to positions table
* feat(#473): fix spelling, order positions by updated at desc
* feat(#473): protect from division by 0
* feat(#473): fix trading positions e2e tests
* feat(#473): fix e2e data mocks
* feat(#473): post code review clean up
* feat(#993): dependencies handling in data provider
* feat(#993): fix e2e tests data mocks
* feat(#993): remove position metrics mocks, add market data market id
* feat: #994 add price monitoring bounds and candles update interface
* fix: move best bid price to diff section
* feat(#993): add missing mocks, fix combine function
* fix: add insurance pool and calc volume 24h
* feat: display some oracle min info, asset id, insurance pool, move open interest and 24hVol
* fix: add market-info.cy.ts case
* fix: remove # from numbered price monitoring settings
* fix: add insurance pool test
* fix: format 24hvol
* feat(#993): set loading initially to true, add unit tests
* feat(#993): cleanup, add comments
* feat(#993): remove undefined from client type
* fix: remove indicativeVolume and oracleSpecBinding from market info
* feat(#993): cosmetic changes
* fix: add oracleSpecBinding back
* Update libs/deal-ticket/src/components/info-market.tsx
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* feat: add initial queries
* fix: memo yesterday's timestamp
* fix: add back info
* fix: update query
* fix: add view full oracle details link and update mappings
* fix: regen code, make link reactnode, fix index.ts
* feat: add liquidity lib, refactor info market
* fix: remove liquidity query from deal-ticket
* feat:(#993): pass informaton about update callback cause
* fix: small ui tweaks
* fix: display in grid
* feat: navigate to oracle by termination id
* feat: #491 add use liquidity provision merging
* fix: remove logs, add extra check on my liquidity provision
* fix: type number trivially inferred from a number literal, remove type annotation
* fix: cypress tests and formatting for market info
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* fix: use position decimal places for stake and market value proxy
* fix: #491 use size/position decimal places for obligation, supplied and commitment amount
* fix: add size component and use decimal places
* fix: update readme liquidity
* fix: #491 add correct asset decimal formatters
* Update libs/deal-ticket/src/components/market-info/tooltip-mapping.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* fix: make link instead of button to open liquidity
* fix: #491 add liquidity page, link to trading mode tooltip, tabs hidden or choose active
* fix: remove LP dialog, use only link to page
* fix: add market id in LP view
* fix: follow trade grid design
* fix: add one line tabs , remove link styling, remove any, add value formatters
* fix: remove falsy check LP undefined
* fix: keep date formatter in LP table
* fix: add generic type market info, hooks in body function
* fix: revert number formatters
* fix: use one param only in network params query
* fix: use network param in web3 lib
* fix: move lp container to trading app
* fix: remove resizable panel
* feat: add header component, remove isEstimate
* chore: remove unnecessary type cast
* fix: fix build with children map clone element
* chore: lint
* fix: move use network params to react helpers
* fix: add const for LP tabs
* fix: fix formatting on LP page
* fix: only show tilde for liquidity monitoring auction end date
* fix: market id being rendered twice in market info
* chore: fix lint
* fix: types for generate withdraw form query
* chore: fix intermittent failing withdrawal test
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* chore: add another wait for market
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
2022-09-07 11:05:28 +00:00
|
|
|
const gridRef = useRef<AgGridReact | null>(null);
|
2023-02-09 14:20:31 +00:00
|
|
|
const { data: market } = useMarket(marketId);
|
2022-12-12 09:44:58 +00:00
|
|
|
const dataRef = useRef<LiquidityProvisionData[] | null>(null);
|
feat: liquidity provisions view (#1133)
* feat(#473): add positions metrics data provider
* feat(#473) add positions stats
* feat(#473) add positions stats
* feat(#473): add positions stats
* feat(#473): add positions stats
* feat(#473): position metrics, test and refactoring
* feat(#473): add unit tests to positions table
* feat(#473): fix spelling, order positions by updated at desc
* feat(#473): protect from division by 0
* feat(#473): fix trading positions e2e tests
* feat(#473): fix e2e data mocks
* feat(#473): post code review clean up
* feat(#993): dependencies handling in data provider
* feat(#993): fix e2e tests data mocks
* feat(#993): remove position metrics mocks, add market data market id
* feat: #994 add price monitoring bounds and candles update interface
* fix: move best bid price to diff section
* feat(#993): add missing mocks, fix combine function
* fix: add insurance pool and calc volume 24h
* feat: display some oracle min info, asset id, insurance pool, move open interest and 24hVol
* fix: add market-info.cy.ts case
* fix: remove # from numbered price monitoring settings
* fix: add insurance pool test
* fix: format 24hvol
* feat(#993): set loading initially to true, add unit tests
* feat(#993): cleanup, add comments
* feat(#993): remove undefined from client type
* fix: remove indicativeVolume and oracleSpecBinding from market info
* feat(#993): cosmetic changes
* fix: add oracleSpecBinding back
* Update libs/deal-ticket/src/components/info-market.tsx
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* feat: add initial queries
* fix: memo yesterday's timestamp
* fix: add back info
* fix: update query
* fix: add view full oracle details link and update mappings
* fix: regen code, make link reactnode, fix index.ts
* feat: add liquidity lib, refactor info market
* fix: remove liquidity query from deal-ticket
* feat:(#993): pass informaton about update callback cause
* fix: small ui tweaks
* fix: display in grid
* feat: navigate to oracle by termination id
* feat: #491 add use liquidity provision merging
* fix: remove logs, add extra check on my liquidity provision
* fix: type number trivially inferred from a number literal, remove type annotation
* fix: cypress tests and formatting for market info
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* fix: use position decimal places for stake and market value proxy
* fix: #491 use size/position decimal places for obligation, supplied and commitment amount
* fix: add size component and use decimal places
* fix: update readme liquidity
* fix: #491 add correct asset decimal formatters
* Update libs/deal-ticket/src/components/market-info/tooltip-mapping.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* fix: make link instead of button to open liquidity
* fix: #491 add liquidity page, link to trading mode tooltip, tabs hidden or choose active
* fix: remove LP dialog, use only link to page
* fix: add market id in LP view
* fix: follow trade grid design
* fix: add one line tabs , remove link styling, remove any, add value formatters
* fix: remove falsy check LP undefined
* fix: keep date formatter in LP table
* fix: add generic type market info, hooks in body function
* fix: revert number formatters
* fix: use one param only in network params query
* fix: use network param in web3 lib
* fix: move lp container to trading app
* fix: remove resizable panel
* feat: add header component, remove isEstimate
* chore: remove unnecessary type cast
* fix: fix build with children map clone element
* chore: lint
* fix: move use network params to react helpers
* fix: add const for LP tabs
* fix: fix formatting on LP page
* fix: only show tilde for liquidity monitoring auction end date
* fix: market id being rendered twice in market info
* chore: fix lint
* fix: types for generate withdraw form query
* chore: fix intermittent failing withdrawal test
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* chore: add another wait for market
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
2022-09-07 11:05:28 +00:00
|
|
|
|
2023-01-17 15:01:24 +00:00
|
|
|
// To be removed when liquidityProvision subscriptions are working
|
|
|
|
useReloadLiquidityData(marketId);
|
2022-12-12 09:44:58 +00:00
|
|
|
|
|
|
|
const update = useCallback(
|
|
|
|
({ data }: { data: LiquidityProvisionData[] | null }) => {
|
2023-01-17 15:01:24 +00:00
|
|
|
return updateGridData(dataRef, data, gridRef);
|
2022-12-12 09:44:58 +00:00
|
|
|
},
|
|
|
|
[gridRef]
|
|
|
|
);
|
feat: liquidity provisions view (#1133)
* feat(#473): add positions metrics data provider
* feat(#473) add positions stats
* feat(#473) add positions stats
* feat(#473): add positions stats
* feat(#473): add positions stats
* feat(#473): position metrics, test and refactoring
* feat(#473): add unit tests to positions table
* feat(#473): fix spelling, order positions by updated at desc
* feat(#473): protect from division by 0
* feat(#473): fix trading positions e2e tests
* feat(#473): fix e2e data mocks
* feat(#473): post code review clean up
* feat(#993): dependencies handling in data provider
* feat(#993): fix e2e tests data mocks
* feat(#993): remove position metrics mocks, add market data market id
* feat: #994 add price monitoring bounds and candles update interface
* fix: move best bid price to diff section
* feat(#993): add missing mocks, fix combine function
* fix: add insurance pool and calc volume 24h
* feat: display some oracle min info, asset id, insurance pool, move open interest and 24hVol
* fix: add market-info.cy.ts case
* fix: remove # from numbered price monitoring settings
* fix: add insurance pool test
* fix: format 24hvol
* feat(#993): set loading initially to true, add unit tests
* feat(#993): cleanup, add comments
* feat(#993): remove undefined from client type
* fix: remove indicativeVolume and oracleSpecBinding from market info
* feat(#993): cosmetic changes
* fix: add oracleSpecBinding back
* Update libs/deal-ticket/src/components/info-market.tsx
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* feat: add initial queries
* fix: memo yesterday's timestamp
* fix: add back info
* fix: update query
* fix: add view full oracle details link and update mappings
* fix: regen code, make link reactnode, fix index.ts
* feat: add liquidity lib, refactor info market
* fix: remove liquidity query from deal-ticket
* feat:(#993): pass informaton about update callback cause
* fix: small ui tweaks
* fix: display in grid
* feat: navigate to oracle by termination id
* feat: #491 add use liquidity provision merging
* fix: remove logs, add extra check on my liquidity provision
* fix: type number trivially inferred from a number literal, remove type annotation
* fix: cypress tests and formatting for market info
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* fix: use position decimal places for stake and market value proxy
* fix: #491 use size/position decimal places for obligation, supplied and commitment amount
* fix: add size component and use decimal places
* fix: update readme liquidity
* fix: #491 add correct asset decimal formatters
* Update libs/deal-ticket/src/components/market-info/tooltip-mapping.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* fix: make link instead of button to open liquidity
* fix: #491 add liquidity page, link to trading mode tooltip, tabs hidden or choose active
* fix: remove LP dialog, use only link to page
* fix: add market id in LP view
* fix: follow trade grid design
* fix: add one line tabs , remove link styling, remove any, add value formatters
* fix: remove falsy check LP undefined
* fix: keep date formatter in LP table
* fix: add generic type market info, hooks in body function
* fix: revert number formatters
* fix: use one param only in network params query
* fix: use network param in web3 lib
* fix: move lp container to trading app
* fix: remove resizable panel
* feat: add header component, remove isEstimate
* chore: remove unnecessary type cast
* fix: fix build with children map clone element
* chore: lint
* fix: move use network params to react helpers
* fix: add const for LP tabs
* fix: fix formatting on LP page
* fix: only show tilde for liquidity monitoring auction end date
* fix: market id being rendered twice in market info
* chore: fix lint
* fix: types for generate withdraw form query
* chore: fix intermittent failing withdrawal test
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* chore: add another wait for market
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
2022-09-07 11:05:28 +00:00
|
|
|
|
2023-01-17 15:01:24 +00:00
|
|
|
const { data, loading, error } = useDataProvider({
|
2022-12-12 09:44:58 +00:00
|
|
|
dataProvider: lpAggregatedDataProvider,
|
|
|
|
update,
|
2023-04-03 13:02:43 +00:00
|
|
|
variables: { marketId: marketId || '', filter },
|
2023-03-09 10:03:50 +00:00
|
|
|
skip: !marketId,
|
2022-12-12 09:44:58 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
const assetDecimalPlaces =
|
2023-01-09 14:39:03 +00:00
|
|
|
market?.tradableInstrument.instrument.product.settlementAsset.decimals || 0;
|
2022-12-12 09:44:58 +00:00
|
|
|
const symbol =
|
2023-01-09 14:39:03 +00:00
|
|
|
market?.tradableInstrument.instrument.product.settlementAsset.symbol;
|
2022-12-12 09:44:58 +00:00
|
|
|
|
2023-01-06 15:35:32 +00:00
|
|
|
const { params } = useNetworkParams([
|
|
|
|
NetworkParams.market_liquidity_stakeToCcyVolume,
|
|
|
|
]);
|
|
|
|
const stakeToCcyVolume = params.market_liquidity_stakeToCcyVolume;
|
2023-01-17 15:01:24 +00:00
|
|
|
|
|
|
|
const getRows = useCallback(
|
|
|
|
async ({ successCallback, startRow, endRow }: IGetRowsParams) => {
|
|
|
|
const rowsThisBlock = dataRef.current
|
|
|
|
? dataRef.current.slice(startRow, endRow)
|
|
|
|
: [];
|
|
|
|
const lastRow = dataRef.current ? dataRef.current.length : 0;
|
|
|
|
successCallback(rowsThisBlock, lastRow);
|
|
|
|
},
|
|
|
|
[]
|
2022-12-12 09:44:58 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
return (
|
2023-01-17 15:01:24 +00:00
|
|
|
<div className="h-full relative">
|
2022-12-12 09:44:58 +00:00
|
|
|
<LiquidityTable
|
|
|
|
ref={gridRef}
|
2023-01-17 15:01:24 +00:00
|
|
|
datasource={{ getRows }}
|
|
|
|
rowModelType="infinite"
|
2022-12-12 09:44:58 +00:00
|
|
|
symbol={symbol}
|
|
|
|
assetDecimalPlaces={assetDecimalPlaces}
|
2023-01-06 15:35:32 +00:00
|
|
|
stakeToCcyVolume={stakeToCcyVolume}
|
2022-12-12 09:44:58 +00:00
|
|
|
/>
|
2023-01-17 15:01:24 +00:00
|
|
|
<div className="pointer-events-none absolute inset-0">
|
|
|
|
<AsyncRenderer
|
|
|
|
loading={loading}
|
|
|
|
error={error}
|
|
|
|
data={data}
|
|
|
|
noDataMessage={t('No liquidity provisions')}
|
|
|
|
noDataCondition={(data) => !data?.length}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-12 09:44:58 +00:00
|
|
|
);
|
|
|
|
};
|
|
|
|
|
2023-03-31 10:41:16 +00:00
|
|
|
const LiquidityViewHeader = memo(({ marketId }: { marketId?: string }) => {
|
|
|
|
const { data: market } = useMarket(marketId);
|
|
|
|
const { data: marketData } = useStaticMarketData(marketId);
|
|
|
|
const targetStake = marketData?.targetStake;
|
|
|
|
const suppliedStake = marketData?.suppliedStake;
|
|
|
|
const assetDecimalPlaces =
|
|
|
|
market?.tradableInstrument.instrument.product.settlementAsset.decimals || 0;
|
|
|
|
const symbol =
|
|
|
|
market?.tradableInstrument.instrument.product.settlementAsset.symbol;
|
2023-04-07 17:00:57 +00:00
|
|
|
const { VEGA_DOCS_URL } = useEnvironment();
|
2023-03-31 10:41:16 +00:00
|
|
|
|
|
|
|
const { params } = useNetworkParams([
|
|
|
|
NetworkParams.market_liquidity_stakeToCcyVolume,
|
|
|
|
NetworkParams.market_liquidity_targetstake_triggering_ratio,
|
|
|
|
]);
|
|
|
|
const triggeringRatio =
|
|
|
|
params.market_liquidity_targetstake_triggering_ratio || '1';
|
|
|
|
|
|
|
|
const { percentage, status } = useCheckLiquidityStatus({
|
|
|
|
suppliedStake: suppliedStake || 0,
|
|
|
|
targetStake: targetStake || 0,
|
|
|
|
triggeringRatio,
|
|
|
|
});
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Header
|
|
|
|
title={
|
|
|
|
market?.tradableInstrument.instrument.name &&
|
|
|
|
market?.tradableInstrument.instrument.code &&
|
|
|
|
marketId && (
|
|
|
|
<HeaderTitle
|
|
|
|
primaryContent={`${market.tradableInstrument.instrument.code} ${t(
|
|
|
|
'liquidity provision'
|
|
|
|
)}`}
|
|
|
|
secondaryContent={
|
|
|
|
<Link to={Links[Routes.MARKET](marketId)}>
|
|
|
|
<UiToolkitLink>{t('Go to trading')}</UiToolkitLink>
|
|
|
|
</Link>
|
|
|
|
}
|
|
|
|
/>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<HeaderStat
|
|
|
|
heading={t('Target stake')}
|
|
|
|
description={tooltipMapping['targetStake']}
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
{targetStake
|
|
|
|
? `${addDecimalsFormatNumber(
|
|
|
|
targetStake,
|
|
|
|
assetDecimalPlaces ?? 0
|
|
|
|
)} ${symbol}`
|
|
|
|
: '-'}
|
|
|
|
</div>
|
|
|
|
</HeaderStat>
|
|
|
|
<HeaderStat
|
|
|
|
heading={t('Supplied stake')}
|
|
|
|
description={tooltipMapping['suppliedStake']}
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
{suppliedStake
|
|
|
|
? `${addDecimalsFormatNumber(
|
|
|
|
suppliedStake,
|
|
|
|
assetDecimalPlaces ?? 0
|
|
|
|
)} ${symbol}`
|
|
|
|
: '-'}
|
|
|
|
</div>
|
|
|
|
</HeaderStat>
|
|
|
|
<HeaderStat heading={t('Liquidity supplied')} testId="liquidity-supplied">
|
|
|
|
<Indicator variant={status} />
|
|
|
|
|
|
|
|
{formatNumberPercentage(percentage, 2)}
|
|
|
|
</HeaderStat>
|
|
|
|
<HeaderStat heading={t('Market ID')}>
|
|
|
|
<div className="break-word">{marketId}</div>
|
|
|
|
</HeaderStat>
|
2023-04-07 17:00:57 +00:00
|
|
|
<HeaderStat heading={t('Learn more')}>
|
|
|
|
{VEGA_DOCS_URL && (
|
|
|
|
<ExternalLink href={createDocsLinks(VEGA_DOCS_URL).LIQUIDITY}>
|
|
|
|
{t('Providing liquidity')}
|
|
|
|
</ExternalLink>
|
|
|
|
)}
|
|
|
|
</HeaderStat>
|
2023-03-31 10:41:16 +00:00
|
|
|
</Header>
|
|
|
|
);
|
|
|
|
});
|
|
|
|
LiquidityViewHeader.displayName = 'LiquidityViewHeader';
|
|
|
|
|
2022-12-12 09:44:58 +00:00
|
|
|
export const LiquidityViewContainer = ({
|
|
|
|
marketId,
|
|
|
|
}: {
|
|
|
|
marketId: string | undefined;
|
|
|
|
}) => {
|
2023-04-03 13:02:43 +00:00
|
|
|
const [tab, setTab] = useState<string | undefined>(undefined);
|
2022-12-12 09:44:58 +00:00
|
|
|
const { pubKey } = useVegaWallet();
|
2022-10-24 19:42:53 +00:00
|
|
|
|
2023-04-03 13:02:43 +00:00
|
|
|
const { data } = useDataProvider({
|
2022-10-24 19:42:53 +00:00
|
|
|
dataProvider: lpAggregatedDataProvider,
|
2023-04-03 13:02:43 +00:00
|
|
|
skipUpdates: true,
|
2023-03-09 10:03:50 +00:00
|
|
|
variables: { marketId: marketId || '' },
|
|
|
|
skip: !marketId,
|
2022-10-24 19:42:53 +00:00
|
|
|
});
|
feat: liquidity provisions view (#1133)
* feat(#473): add positions metrics data provider
* feat(#473) add positions stats
* feat(#473) add positions stats
* feat(#473): add positions stats
* feat(#473): add positions stats
* feat(#473): position metrics, test and refactoring
* feat(#473): add unit tests to positions table
* feat(#473): fix spelling, order positions by updated at desc
* feat(#473): protect from division by 0
* feat(#473): fix trading positions e2e tests
* feat(#473): fix e2e data mocks
* feat(#473): post code review clean up
* feat(#993): dependencies handling in data provider
* feat(#993): fix e2e tests data mocks
* feat(#993): remove position metrics mocks, add market data market id
* feat: #994 add price monitoring bounds and candles update interface
* fix: move best bid price to diff section
* feat(#993): add missing mocks, fix combine function
* fix: add insurance pool and calc volume 24h
* feat: display some oracle min info, asset id, insurance pool, move open interest and 24hVol
* fix: add market-info.cy.ts case
* fix: remove # from numbered price monitoring settings
* fix: add insurance pool test
* fix: format 24hvol
* feat(#993): set loading initially to true, add unit tests
* feat(#993): cleanup, add comments
* feat(#993): remove undefined from client type
* fix: remove indicativeVolume and oracleSpecBinding from market info
* feat(#993): cosmetic changes
* fix: add oracleSpecBinding back
* Update libs/deal-ticket/src/components/info-market.tsx
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* feat: add initial queries
* fix: memo yesterday's timestamp
* fix: add back info
* fix: update query
* fix: add view full oracle details link and update mappings
* fix: regen code, make link reactnode, fix index.ts
* feat: add liquidity lib, refactor info market
* fix: remove liquidity query from deal-ticket
* feat:(#993): pass informaton about update callback cause
* fix: small ui tweaks
* fix: display in grid
* feat: navigate to oracle by termination id
* feat: #491 add use liquidity provision merging
* fix: remove logs, add extra check on my liquidity provision
* fix: type number trivially inferred from a number literal, remove type annotation
* fix: cypress tests and formatting for market info
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* fix: use position decimal places for stake and market value proxy
* fix: #491 use size/position decimal places for obligation, supplied and commitment amount
* fix: add size component and use decimal places
* fix: update readme liquidity
* fix: #491 add correct asset decimal formatters
* Update libs/deal-ticket/src/components/market-info/tooltip-mapping.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* fix: make link instead of button to open liquidity
* fix: #491 add liquidity page, link to trading mode tooltip, tabs hidden or choose active
* fix: remove LP dialog, use only link to page
* fix: add market id in LP view
* fix: follow trade grid design
* fix: add one line tabs , remove link styling, remove any, add value formatters
* fix: remove falsy check LP undefined
* fix: keep date formatter in LP table
* fix: add generic type market info, hooks in body function
* fix: revert number formatters
* fix: use one param only in network params query
* fix: use network param in web3 lib
* fix: move lp container to trading app
* fix: remove resizable panel
* feat: add header component, remove isEstimate
* chore: remove unnecessary type cast
* fix: fix build with children map clone element
* chore: lint
* fix: move use network params to react helpers
* fix: add const for LP tabs
* fix: fix formatting on LP page
* fix: only show tilde for liquidity monitoring auction end date
* fix: market id being rendered twice in market info
* chore: fix lint
* fix: types for generate withdraw form query
* chore: fix intermittent failing withdrawal test
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* chore: add another wait for market
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
2022-09-07 11:05:28 +00:00
|
|
|
|
2023-03-31 10:41:16 +00:00
|
|
|
useEffect(() => {
|
2023-04-03 13:02:43 +00:00
|
|
|
if (data) {
|
|
|
|
if (pubKey && data.some((lp) => matchFilter({ partyId: pubKey }, lp))) {
|
|
|
|
setTab(LiquidityTabs.MyLiquidityProvision);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (data.some((lp) => matchFilter({ active: true }, lp))) {
|
|
|
|
setTab(LiquidityTabs.Active);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
setTab(LiquidityTabs.Inactive);
|
2023-03-31 10:41:16 +00:00
|
|
|
}
|
2023-04-03 13:02:43 +00:00
|
|
|
}, [data, pubKey]);
|
2023-01-09 14:39:03 +00:00
|
|
|
|
feat: liquidity provisions view (#1133)
* feat(#473): add positions metrics data provider
* feat(#473) add positions stats
* feat(#473) add positions stats
* feat(#473): add positions stats
* feat(#473): add positions stats
* feat(#473): position metrics, test and refactoring
* feat(#473): add unit tests to positions table
* feat(#473): fix spelling, order positions by updated at desc
* feat(#473): protect from division by 0
* feat(#473): fix trading positions e2e tests
* feat(#473): fix e2e data mocks
* feat(#473): post code review clean up
* feat(#993): dependencies handling in data provider
* feat(#993): fix e2e tests data mocks
* feat(#993): remove position metrics mocks, add market data market id
* feat: #994 add price monitoring bounds and candles update interface
* fix: move best bid price to diff section
* feat(#993): add missing mocks, fix combine function
* fix: add insurance pool and calc volume 24h
* feat: display some oracle min info, asset id, insurance pool, move open interest and 24hVol
* fix: add market-info.cy.ts case
* fix: remove # from numbered price monitoring settings
* fix: add insurance pool test
* fix: format 24hvol
* feat(#993): set loading initially to true, add unit tests
* feat(#993): cleanup, add comments
* feat(#993): remove undefined from client type
* fix: remove indicativeVolume and oracleSpecBinding from market info
* feat(#993): cosmetic changes
* fix: add oracleSpecBinding back
* Update libs/deal-ticket/src/components/info-market.tsx
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* feat: add initial queries
* fix: memo yesterday's timestamp
* fix: add back info
* fix: update query
* fix: add view full oracle details link and update mappings
* fix: regen code, make link reactnode, fix index.ts
* feat: add liquidity lib, refactor info market
* fix: remove liquidity query from deal-ticket
* feat:(#993): pass informaton about update callback cause
* fix: small ui tweaks
* fix: display in grid
* feat: navigate to oracle by termination id
* feat: #491 add use liquidity provision merging
* fix: remove logs, add extra check on my liquidity provision
* fix: type number trivially inferred from a number literal, remove type annotation
* fix: cypress tests and formatting for market info
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* fix: use position decimal places for stake and market value proxy
* fix: #491 use size/position decimal places for obligation, supplied and commitment amount
* fix: add size component and use decimal places
* fix: update readme liquidity
* fix: #491 add correct asset decimal formatters
* Update libs/deal-ticket/src/components/market-info/tooltip-mapping.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* fix: make link instead of button to open liquidity
* fix: #491 add liquidity page, link to trading mode tooltip, tabs hidden or choose active
* fix: remove LP dialog, use only link to page
* fix: add market id in LP view
* fix: follow trade grid design
* fix: add one line tabs , remove link styling, remove any, add value formatters
* fix: remove falsy check LP undefined
* fix: keep date formatter in LP table
* fix: add generic type market info, hooks in body function
* fix: revert number formatters
* fix: use one param only in network params query
* fix: use network param in web3 lib
* fix: move lp container to trading app
* fix: remove resizable panel
* feat: add header component, remove isEstimate
* chore: remove unnecessary type cast
* fix: fix build with children map clone element
* chore: lint
* fix: move use network params to react helpers
* fix: add const for LP tabs
* fix: fix formatting on LP page
* fix: only show tilde for liquidity monitoring auction end date
* fix: market id being rendered twice in market info
* chore: fix lint
* fix: types for generate withdraw form query
* chore: fix intermittent failing withdrawal test
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* chore: add another wait for market
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
2022-09-07 11:05:28 +00:00
|
|
|
return (
|
2023-04-03 13:02:43 +00:00
|
|
|
<div className="h-full grid grid-rows-[min-content_1fr]">
|
|
|
|
<LiquidityViewHeader marketId={marketId} />
|
|
|
|
<Tabs value={tab || LiquidityTabs.Active} onValueChange={setTab}>
|
|
|
|
<Tab
|
|
|
|
id={LiquidityTabs.MyLiquidityProvision}
|
|
|
|
name={t('My liquidity provision')}
|
|
|
|
hidden={!pubKey}
|
|
|
|
>
|
|
|
|
<LiquidityContainer
|
|
|
|
marketId={marketId}
|
|
|
|
filter={{ partyId: pubKey || undefined }}
|
|
|
|
/>
|
|
|
|
</Tab>
|
|
|
|
<Tab id={LiquidityTabs.Active} name={t('Active')}>
|
|
|
|
<LiquidityContainer marketId={marketId} filter={{ active: true }} />
|
|
|
|
</Tab>
|
|
|
|
<Tab id={LiquidityTabs.Inactive} name={t('Inactive')}>
|
|
|
|
<LiquidityContainer marketId={marketId} filter={{ active: false }} />
|
|
|
|
</Tab>
|
|
|
|
</Tabs>
|
|
|
|
</div>
|
feat: liquidity provisions view (#1133)
* feat(#473): add positions metrics data provider
* feat(#473) add positions stats
* feat(#473) add positions stats
* feat(#473): add positions stats
* feat(#473): add positions stats
* feat(#473): position metrics, test and refactoring
* feat(#473): add unit tests to positions table
* feat(#473): fix spelling, order positions by updated at desc
* feat(#473): protect from division by 0
* feat(#473): fix trading positions e2e tests
* feat(#473): fix e2e data mocks
* feat(#473): post code review clean up
* feat(#993): dependencies handling in data provider
* feat(#993): fix e2e tests data mocks
* feat(#993): remove position metrics mocks, add market data market id
* feat: #994 add price monitoring bounds and candles update interface
* fix: move best bid price to diff section
* feat(#993): add missing mocks, fix combine function
* fix: add insurance pool and calc volume 24h
* feat: display some oracle min info, asset id, insurance pool, move open interest and 24hVol
* fix: add market-info.cy.ts case
* fix: remove # from numbered price monitoring settings
* fix: add insurance pool test
* fix: format 24hvol
* feat(#993): set loading initially to true, add unit tests
* feat(#993): cleanup, add comments
* feat(#993): remove undefined from client type
* fix: remove indicativeVolume and oracleSpecBinding from market info
* feat(#993): cosmetic changes
* fix: add oracleSpecBinding back
* Update libs/deal-ticket/src/components/info-market.tsx
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* feat: add initial queries
* fix: memo yesterday's timestamp
* fix: add back info
* fix: update query
* fix: add view full oracle details link and update mappings
* fix: regen code, make link reactnode, fix index.ts
* feat: add liquidity lib, refactor info market
* fix: remove liquidity query from deal-ticket
* feat:(#993): pass informaton about update callback cause
* fix: small ui tweaks
* fix: display in grid
* feat: navigate to oracle by termination id
* feat: #491 add use liquidity provision merging
* fix: remove logs, add extra check on my liquidity provision
* fix: type number trivially inferred from a number literal, remove type annotation
* fix: cypress tests and formatting for market info
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* fix: use position decimal places for stake and market value proxy
* fix: #491 use size/position decimal places for obligation, supplied and commitment amount
* fix: add size component and use decimal places
* fix: update readme liquidity
* fix: #491 add correct asset decimal formatters
* Update libs/deal-ticket/src/components/market-info/tooltip-mapping.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* fix: make link instead of button to open liquidity
* fix: #491 add liquidity page, link to trading mode tooltip, tabs hidden or choose active
* fix: remove LP dialog, use only link to page
* fix: add market id in LP view
* fix: follow trade grid design
* fix: add one line tabs , remove link styling, remove any, add value formatters
* fix: remove falsy check LP undefined
* fix: keep date formatter in LP table
* fix: add generic type market info, hooks in body function
* fix: revert number formatters
* fix: use one param only in network params query
* fix: use network param in web3 lib
* fix: move lp container to trading app
* fix: remove resizable panel
* feat: add header component, remove isEstimate
* chore: remove unnecessary type cast
* fix: fix build with children map clone element
* chore: lint
* fix: move use network params to react helpers
* fix: add const for LP tabs
* fix: fix formatting on LP page
* fix: only show tilde for liquidity monitoring auction end date
* fix: market id being rendered twice in market info
* chore: fix lint
* fix: types for generate withdraw form query
* chore: fix intermittent failing withdrawal test
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* chore: add another wait for market
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
2022-09-07 11:05:28 +00:00
|
|
|
);
|
|
|
|
};
|