+
+
+
+ {yourAccountMenu.category}
+
+ }
+ onClick={() => setIsExpand(false)}
+ >
+ HIDE
+
+
+
- ))}
-
+ {restNavMenu.map((item) => (
+
+ ))}
+
+
+
);
};
diff --git a/src/lib/pages/account-details/index.tsx b/src/lib/pages/account-details/index.tsx
index 02345878a..4e52921ca 100644
--- a/src/lib/pages/account-details/index.tsx
+++ b/src/lib/pages/account-details/index.tsx
@@ -26,6 +26,7 @@ import { CustomTab } from "lib/components/CustomTab";
import { CustomIcon } from "lib/components/icon";
import PageContainer from "lib/components/PageContainer";
import { InvalidState } from "lib/components/state";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import { useFormatAddresses } from "lib/hooks/useFormatAddresses";
import { useAccountData } from "lib/services/accountService";
import { useModulesByAddress } from "lib/services/move/moduleService";
@@ -401,12 +402,27 @@ const AccountDetailsBody = ({
)}
/>
)}
+
+
+
@@ -417,6 +433,11 @@ const AccountDetailsBody = ({
scrollComponentId={tableHeaderId}
refetchCount={refetchCounts}
/>
+
+
+
+
+
diff --git a/src/lib/pages/admin/index.tsx b/src/lib/pages/admin/index.tsx
index 038635a5d..3c96a0d2f 100644
--- a/src/lib/pages/admin/index.tsx
+++ b/src/lib/pages/admin/index.tsx
@@ -20,6 +20,7 @@ import { ErrorMessageRender } from "lib/components/ErrorMessageRender";
import { EstimatedFeeRender } from "lib/components/EstimatedFeeRender";
import type { FormStatus } from "lib/components/forms";
import { TextInput } from "lib/components/forms";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import WasmPageContainer from "lib/components/WasmPageContainer";
import { useTxBroadcast } from "lib/providers/tx-broadcast";
import { useContractDetailByContractAddress } from "lib/services/contractService";
@@ -169,9 +170,16 @@ const UpdateAdmin = () => {
return (
-
- Update Admin
-
+
+
+ Update Admin
+
+
+
{
const { currentChainId } = useCelatoneApp();
return (
-
- Block Info
-
+
+
+ Block Info
+
+
+
diff --git a/src/lib/pages/blocks/index.tsx b/src/lib/pages/blocks/index.tsx
index 2cbfbeb65..3bdfe9fed 100644
--- a/src/lib/pages/blocks/index.tsx
+++ b/src/lib/pages/blocks/index.tsx
@@ -1,9 +1,9 @@
-import { Heading, Text } from "@chakra-ui/react";
import { useRouter } from "next/router";
import { useEffect } from "react";
import { AmpEvent, track } from "lib/amplitude";
import PageContainer from "lib/components/PageContainer";
+import { PageHeader } from "lib/components/PageHeader";
import { BlocksTable } from "./components/BlocksTable";
@@ -16,12 +16,11 @@ const BlocksPage = () => {
return (
-
- Blocks
-
-
- This page displays all blocks on this network sorted by recency
-
+
);
diff --git a/src/lib/pages/code-details/index.tsx b/src/lib/pages/code-details/index.tsx
index b9b18b8bf..eb922eff5 100644
--- a/src/lib/pages/code-details/index.tsx
+++ b/src/lib/pages/code-details/index.tsx
@@ -14,6 +14,7 @@ import { CustomTab } from "lib/components/CustomTab";
import { Loading } from "lib/components/Loading";
import PageContainer from "lib/components/PageContainer";
import { ErrorFetching, InvalidState } from "lib/components/state";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import { useSchemaStore } from "lib/providers/store";
import { useCodeDataByCodeId } from "lib/services/codeService";
@@ -108,6 +109,11 @@ const CodeDetailsBody = observer(({ codeId, tab }: CodeDetailsBodyProps) => {
toJsonSchemaTab={handleTabChange(TabIndex.JsonSchema)}
/>
+
{
codeHash={code.hash}
jsonSchema={jsonSchema}
/>
+
diff --git a/src/lib/pages/codes/index.tsx b/src/lib/pages/codes/index.tsx
index a56d133f4..7651f8187 100644
--- a/src/lib/pages/codes/index.tsx
+++ b/src/lib/pages/codes/index.tsx
@@ -1,4 +1,4 @@
-import { Box, Heading, Text } from "@chakra-ui/react";
+import { Box } from "@chakra-ui/react";
import { observer } from "mobx-react-lite";
import { useRouter } from "next/router";
import { useEffect } from "react";
@@ -8,6 +8,7 @@ import { AmpEvent, track } from "lib/amplitude";
import { useWasmConfig } from "lib/app-provider";
import { FilterByPermission } from "lib/components/forms";
import PageContainer from "lib/components/PageContainer";
+import { PageHeader } from "lib/components/PageHeader";
import type { PermissionFilterValue } from "lib/hooks";
import { RecentCodesTable } from "./components/RecentCodesTable";
@@ -33,23 +34,20 @@ const RecentCodes = observer(() => {
return (
-
-
- Codes
-
-
- This page displays all codes on this network sorted by recency
-
-
- {
- if (newVal === permissionValue) return;
- setValue("permissionValue", newVal);
- }}
- />
-
+
+
+ {
+ if (newVal === permissionValue) return;
+ setValue("permissionValue", newVal);
+ }}
+ />
diff --git a/src/lib/pages/contract-details/index.tsx b/src/lib/pages/contract-details/index.tsx
index 6aa08da02..2fcc9f268 100644
--- a/src/lib/pages/contract-details/index.tsx
+++ b/src/lib/pages/contract-details/index.tsx
@@ -27,6 +27,7 @@ import { JsonInfo } from "lib/components/json/JsonInfo";
import { Loading } from "lib/components/Loading";
import PageContainer from "lib/components/PageContainer";
import { ErrorFetching, InvalidState } from "lib/components/state";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import { useBalances } from "lib/services/balanceService";
import type { BechAddr32 } from "lib/types";
import { jsonPrettify } from "lib/utils";
@@ -234,18 +235,43 @@ const ContractDetailsBody = observer(
+
+
+
+
+
diff --git a/src/lib/pages/contract-list/index.tsx b/src/lib/pages/contract-list/index.tsx
index e12a66f63..9d0d7cc92 100644
--- a/src/lib/pages/contract-list/index.tsx
+++ b/src/lib/pages/contract-list/index.tsx
@@ -9,6 +9,7 @@ import { CustomIcon } from "lib/components/icon";
import { CreateNewListModal } from "lib/components/modal";
import PageContainer from "lib/components/PageContainer";
import { AllContractLists } from "lib/components/select-contract";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import { useInstantiatedMockInfoByMe } from "lib/model/contract";
import { useContractStore } from "lib/providers/store";
@@ -50,6 +51,11 @@ const AllContractListsPage = observer(() => {
isReadOnly={false}
/>
+
);
});
diff --git a/src/lib/pages/contract-list/slug.tsx b/src/lib/pages/contract-list/slug.tsx
index 9acfdf83a..0804aa565 100644
--- a/src/lib/pages/contract-list/slug.tsx
+++ b/src/lib/pages/contract-list/slug.tsx
@@ -22,6 +22,7 @@ import {
} from "lib/components/modal";
import PageContainer from "lib/components/PageContainer";
import { ContractListDetail } from "lib/components/select-contract";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import { INSTANTIATED_LIST_NAME, SAVED_LIST_NAME } from "lib/data";
import { useInstantiatedByMe } from "lib/model/contract";
import { useContractStore } from "lib/providers/store";
@@ -106,7 +107,14 @@ const ContractsByList = observer(() => {
{contractListInfo.contracts.length}
-
+
+ {isInstantiatedByMe && (
+
+ )}
{isInstantiatedByMe ? (
}
@@ -165,6 +173,13 @@ const ContractsByList = observer(() => {
isLoading={isInstantiatedByMe ? isLoading : false}
onContractSelect={onContractSelect}
/>
+ {!isInstantiatedByMe && (
+
+ )}
);
});
diff --git a/src/lib/pages/contracts/index.tsx b/src/lib/pages/contracts/index.tsx
index ce3ea70a4..2695e7111 100644
--- a/src/lib/pages/contracts/index.tsx
+++ b/src/lib/pages/contracts/index.tsx
@@ -1,10 +1,10 @@
-import { Box, Heading, Text } from "@chakra-ui/react";
import { useRouter } from "next/router";
import { useEffect } from "react";
import { AmpEvent, track } from "lib/amplitude";
import { useWasmConfig } from "lib/app-provider";
import PageContainer from "lib/components/PageContainer";
+import { PageHeader } from "lib/components/PageHeader";
import { RecentContractsTable } from "./components/RecentContractsTable";
@@ -18,14 +18,11 @@ const RecentContracts = () => {
return (
-
-
- Contracts
-
-
- This page displays all contracts on this network sorted by recency
-
-
+
);
diff --git a/src/lib/pages/deploy/index.tsx b/src/lib/pages/deploy/index.tsx
index 5926c2ba8..3b7ad250d 100644
--- a/src/lib/pages/deploy/index.tsx
+++ b/src/lib/pages/deploy/index.tsx
@@ -1,12 +1,5 @@
import type { AlertProps } from "@chakra-ui/react";
-import {
- Alert,
- AlertDescription,
- Button,
- Flex,
- Heading,
- Text,
-} from "@chakra-ui/react";
+import { Alert, AlertDescription, Flex, Heading, Text } from "@chakra-ui/react";
import { useRouter } from "next/router";
import { useEffect } from "react";
@@ -22,6 +15,7 @@ import { ConnectWalletAlert } from "lib/components/ConnectWalletAlert";
import { CustomIcon } from "lib/components/icon";
import { Loading } from "lib/components/Loading";
import { Stepper } from "lib/components/stepper";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import WasmPageContainer from "lib/components/WasmPageContainer";
import { useUploadAccessParams } from "lib/services/proposalService";
import { AccessConfigPermission } from "lib/types";
@@ -92,9 +86,16 @@ const Deploy = () => {
DEPLOY NEW CONTRACT
-
- Select Deploy Option
-
+
+
+ Select Deploy Option
+
+
+
{
description="Input code ID or select from previously stored or saved codes"
onClick={() => navigate({ pathname: "/instantiate" })}
/>
-
-
-
);
};
diff --git a/src/lib/pages/execute/index.tsx b/src/lib/pages/execute/index.tsx
index 3087df681..d26489e75 100644
--- a/src/lib/pages/execute/index.tsx
+++ b/src/lib/pages/execute/index.tsx
@@ -1,4 +1,4 @@
-import { Box, Button, Flex, Heading } from "@chakra-ui/react";
+import { Button, Flex, Heading } from "@chakra-ui/react";
import type { Coin } from "@cosmjs/stargate";
import { useRouter } from "next/router";
import { useCallback, useEffect, useState } from "react";
@@ -9,6 +9,7 @@ import { ConnectWalletAlert } from "lib/components/ConnectWalletAlert";
import { ContractSelectSection } from "lib/components/ContractSelectSection";
import { CustomIcon } from "lib/components/icon";
import PageContainer from "lib/components/PageContainer";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import type { ContractDetail } from "lib/services/contractService";
import type { BechAddr32 } from "lib/types";
import {
@@ -98,24 +99,22 @@ const Execute = () => {
Execute Contract
-
-
+
-
{
sx={{ "& > div": { zIndex: 1 } }}
>
-
-
- {prettyName}
- {" "}
- Overview
-
+
+
+
+ {prettyName}
+ {" "}
+ Overview
+
+
+
{
DEPLOY NEW CONTRACT
-
- Instantiate new contract
-
+
+
+ Instantiate new contract
+
+
+
-
- Migrate Options
-
+
+
+ Migrate Options
+
+
+
+
{address && !isAllowed && (
{
return (
-
- Past Transactions
-
+
+
+ Past Transactions
+
+
+
{
return (
-
- Osmosis Pools
-
+
+
+
+ Osmosis Pools
+
+
+ This page displays liquidity pools on this network sorted by recency
+
+
+
+
{
+
);
};
diff --git a/src/lib/pages/proposal-details/index.tsx b/src/lib/pages/proposal-details/index.tsx
index 92fd55a59..e4f14ce88 100644
--- a/src/lib/pages/proposal-details/index.tsx
+++ b/src/lib/pages/proposal-details/index.tsx
@@ -8,6 +8,7 @@ import { CustomTab } from "lib/components/CustomTab";
import { Loading } from "lib/components/Loading";
import PageContainer from "lib/components/PageContainer";
import { ErrorFetching, InvalidState } from "lib/components/state";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import { useProposalVotesInfo } from "lib/services/proposalService";
import { ProposalOverview, ProposalTop, VoteDetails } from "./components";
@@ -77,6 +78,11 @@ const ProposalDetailsBody = ({ id, tab }: ProposalDetailsQueryParams) => {
params={params}
isLoading={isVotesInfoLoading || isParamsLoading}
/>
+
{
params={params}
isLoading={isVotesInfoLoading || isParamsLoading}
/>
+
diff --git a/src/lib/pages/proposals/index.tsx b/src/lib/pages/proposals/index.tsx
index 7e3edd249..d38c4c310 100644
--- a/src/lib/pages/proposals/index.tsx
+++ b/src/lib/pages/proposals/index.tsx
@@ -17,6 +17,7 @@ import { usePaginator } from "lib/components/pagination/usePaginator";
import { EmptyState, ErrorFetching } from "lib/components/state";
import { ProposalsTable } from "lib/components/table";
import { Tooltip } from "lib/components/Tooltip";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import { useDebounce } from "lib/hooks";
import { useProposals } from "lib/services/proposalService";
import type {
@@ -100,7 +101,14 @@ const Proposals = () => {
Proposals
- {!isMobile && }
+
+
+ {!isMobile && }
+
diff --git a/src/lib/pages/query/index.tsx b/src/lib/pages/query/index.tsx
index a5434cd23..01ff32a53 100644
--- a/src/lib/pages/query/index.tsx
+++ b/src/lib/pages/query/index.tsx
@@ -1,4 +1,4 @@
-import { Box, Button, Flex, Heading } from "@chakra-ui/react";
+import { Button, Flex, Heading } from "@chakra-ui/react";
import { observer } from "mobx-react-lite";
import { useRouter } from "next/router";
import { useCallback, useEffect, useState } from "react";
@@ -12,6 +12,7 @@ import {
import { ContractSelectSection } from "lib/components/ContractSelectSection";
import { CustomIcon } from "lib/components/icon";
import PageContainer from "lib/components/PageContainer";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import type { ContractDetail } from "lib/services/contractService";
import type { BechAddr32 } from "lib/types";
import {
@@ -79,20 +80,20 @@ const Query = observer(() => {
Query Contract
- {!isMobile && (
-
+
+
+ {!isMobile && (
Go To Execute
-
- )}
+ )}
+
{
) : (
} />
)}
+
);
});
diff --git a/src/lib/pages/saved-codes/index.tsx b/src/lib/pages/saved-codes/index.tsx
index 811eb9de1..01bc4d743 100644
--- a/src/lib/pages/saved-codes/index.tsx
+++ b/src/lib/pages/saved-codes/index.tsx
@@ -11,6 +11,7 @@ import { FilterByPermission } from "lib/components/forms";
import InputWithIcon from "lib/components/InputWithIcon";
import PageContainer from "lib/components/PageContainer";
import { MySavedCodesTable } from "lib/components/table";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import type { PermissionFilterValue } from "lib/hooks";
import { useMyCodesData } from "lib/model/code";
@@ -99,6 +100,11 @@ const SavedCodes = observer(() => {
isLoading={isSavedCodesLoading}
onRowSelect={onRowSelect}
/>
+
);
});
diff --git a/src/lib/pages/stored-codes/index.tsx b/src/lib/pages/stored-codes/index.tsx
index 92b44bd2e..21776b11a 100644
--- a/src/lib/pages/stored-codes/index.tsx
+++ b/src/lib/pages/stored-codes/index.tsx
@@ -15,6 +15,7 @@ import { FilterByPermission } from "lib/components/forms";
import InputWithIcon from "lib/components/InputWithIcon";
import PageContainer from "lib/components/PageContainer";
import { MyStoredCodesTable } from "lib/components/table";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import type { PermissionFilterValue } from "lib/hooks";
import { useMyCodesData } from "lib/model/code";
import { useUploadAccessParams } from "lib/services/proposalService";
@@ -81,25 +82,32 @@ const StoredCodes = observer(() => {
{storedCodesCount}
-
- {isPermissionedNetwork ? (
- <>
-
- {govConfig.enabled &&
- !(
- govConfig.disableStoreCodeProposal ||
- govConfig.hideOpenProposal
- ) && }
- >
- ) : (
-
- )}
-
+
+
+
+ {isPermissionedNetwork ? (
+ <>
+
+ {govConfig.enabled &&
+ !(
+ govConfig.disableStoreCodeProposal ||
+ govConfig.hideOpenProposal
+ ) && }
+ >
+ ) : (
+
+ )}
+
+
{
)}
+
);
};
diff --git a/src/lib/pages/txs/index.tsx b/src/lib/pages/txs/index.tsx
index 4dc77b6ef..ffa1c26a5 100644
--- a/src/lib/pages/txs/index.tsx
+++ b/src/lib/pages/txs/index.tsx
@@ -1,9 +1,9 @@
-import { Heading, Text } from "@chakra-ui/react";
import { useRouter } from "next/router";
import { useEffect } from "react";
import { AmpEvent, track } from "lib/amplitude";
import PageContainer from "lib/components/PageContainer";
+import { PageHeader } from "lib/components/PageHeader";
import { TxsTable } from "./components/TxsTable";
@@ -16,12 +16,12 @@ const Txs = () => {
return (
-
- Transactions
-
-
- This page displays all transactions on this network sorted by recency
-
+
);
diff --git a/src/lib/pages/upload/upload.tsx b/src/lib/pages/upload/upload.tsx
index 150b9d389..1ee85d6e1 100644
--- a/src/lib/pages/upload/upload.tsx
+++ b/src/lib/pages/upload/upload.tsx
@@ -1,4 +1,4 @@
-import { Heading, Text } from "@chakra-ui/react";
+import { Flex, Heading, Text } from "@chakra-ui/react";
import { useRouter } from "next/router";
import { useEffect } from "react";
@@ -8,6 +8,7 @@ import { useCurrentChain, useInternalNavigate } from "lib/app-provider";
import { ConnectWalletAlert } from "lib/components/ConnectWalletAlert";
import { Stepper } from "lib/components/stepper";
import { UploadSection } from "lib/components/upload/UploadSection";
+import { UserDocsLink } from "lib/components/UserDocsLink";
import WasmPageContainer from "lib/components/WasmPageContainer";
import { useUploadAccessParams } from "lib/services/proposalService";
import { AccessConfigPermission } from "lib/types";
@@ -42,9 +43,16 @@ export const Upload = ({
DEPLOY NEW CONTRACT
-
- Upload Wasm file
-
+
+
+ Upload Wasm file
+
+
+
{
return (
<>
-
-
- Validators
-
-
- This page displays all validators on this network
-
-
+