diff --git a/web/components/contract/contract-info-dialog.tsx b/web/components/contract/contract-info-dialog.tsx index 82c68f82..cb7b37b8 100644 --- a/web/components/contract/contract-info-dialog.tsx +++ b/web/components/contract/contract-info-dialog.tsx @@ -1,6 +1,7 @@ import { DotsHorizontalIcon } from '@heroicons/react/outline' import clsx from 'clsx' import dayjs from 'dayjs' +import _ from 'lodash' import { useState } from 'react' import { Contract } from '../../../common/contract' @@ -86,6 +87,13 @@ export function ContractInfoDialog(props: { contract: Contract }) { {formatMoney(contract.totalLiquidity)} )} + + {contract.mechanism === 'dpm-2' && ( + + Pool + {formatMoney(_.sum(Object.values(contract.pool)))} + + )}